From owner-freebsd-net@FreeBSD.ORG Sun Sep 18 22:47:39 2005 Return-Path: <owner-freebsd-net@FreeBSD.ORG> X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B6A516A41F for <freebsd-net@freebsd.org>; Sun, 18 Sep 2005 22:47:39 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E732243D45 for <freebsd-net@freebsd.org>; Sun, 18 Sep 2005 22:47:38 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 3323C5E19; Sun, 18 Sep 2005 18:47:38 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07807-07; Sun, 18 Sep 2005 18:47:37 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-68-11.ny325.east.verizon.net [68.161.68.11]) by pi.codefab.com (Postfix) with ESMTP id E57985DE0; Sun, 18 Sep 2005 18:47:36 -0400 (EDT) Message-ID: <432DEE8E.2080902@mac.com> Date: Sun, 18 Sep 2005 18:47:42 -0400 From: Chuck Swiger <cswiger@mac.com> Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Milscvaer <millueradfa@yahoo.com> References: <20050918212110.61962.qmail@web54501.mail.yahoo.com> In-Reply-To: <20050918212110.61962.qmail@web54501.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-net@freebsd.org Subject: Re: UDP dont fragment bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 18 Sep 2005 22:47:39 -0000 Milscvaer wrote: > FreeBSD ought to add per-socket socket options to > allow a programmer to turn on and off the don't > fragment bit for UDP and the UDP checksum, on a per > socket basis. Sounds like a fine suggestion. > FreeBSD needs to implement this feature. We requested > this same feature years ago and I cannot believe such > a simple, basic feature is still not implemented, or > not documented in the setsockopt manpage anyhow. This > needs to be implemented. We need it. Trust me. Have you submitted a PR? Are you willing to work on it yourself? In the meantime, you can use libnet in advanced mode to create arbitrary UDP packets, altering any values you want including the checksum. Make sure you disable your NIC's hardware checksum capabilities, if it has them. -- -Chuck