From owner-freebsd-current@FreeBSD.ORG Sun Nov 2 05:11:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAD7916A4CE for ; Sun, 2 Nov 2003 05:11:07 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB3D343F85 for ; Sun, 2 Nov 2003 05:11:06 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) hA2DB2jZ034155; Sun, 2 Nov 2003 14:11:03 +0100 (CET) Received: from localhost (mime@localhost)hA2DB2Zw034152; Sun, 2 Nov 2003 14:11:02 +0100 (CET) Date: Sun, 2 Nov 2003 14:11:02 +0100 (CET) From: Michal Mertl To: Terry Lambert In-Reply-To: <3FA41782.8FB1DFF8@mindspring.com> Message-ID: <20031102140720.Q33518@prg.traveller.cz> References: <20031029183808.M99053@prg.traveller.cz> <200310300804.58296.sam@errno.com> <20031031151312.Y55560@prg.traveller.cz> <3FA41782.8FB1DFF8@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Barney Wolff cc: current@freebsd.org Subject: Re: jumbograms (& em) & nfs a no go X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 13:11:08 -0000 On Sat, 1 Nov 2003, Terry Lambert wrote: > I think at this point, you are going to have to look at the > sources; IMO, it's a problem in some code that calls the > ether_output() function directly with too large a packet, and > since NFS doesn't manually implement TCP, that's not it. > > Hmmm. Is this maybe UDP? If so, the easiest fix is "don't > use UDP"; FreeBSD's UDP fragment reassembly code sucks anyway, > and gives an excellent means of implementing a DOS attack on > the target system's available mbufs. > > If it's UDP, and you insist on it working, you might want to > make sure that the packet goes through the UDP fragmentation > and NFS rsize/wsize limitation code. > I noticed in src/sys/dev/em/README that there are problems with jumbograms and UDP so I use TCP. -- Michal Mertl