From owner-freebsd-net Fri May 4 4:12: 7 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 9EC4237B422 for ; Fri, 4 May 2001 04:12:02 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f44BBpT85157; Fri, 4 May 2001 14:11:51 +0300 (EEST) (envelope-from ru) Date: Fri, 4 May 2001 14:11:51 +0300 From: Ruslan Ermilov To: Alexander Goller Cc: freebsd-net@FreeBSD.ORG Subject: Re: ICMP and large packets Message-ID: <20010504141151.B82045@sunbay.com> Mail-Followup-To: Alexander Goller , freebsd-net@FreeBSD.ORG References: <20010504130427.O27031@vivien.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010504130427.O27031@vivien.franken.de>; from alex@vivien.franken.de on Fri, May 04, 2001 at 01:04:27PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 04, 2001 at 01:04:27PM +0200, Alexander Goller wrote: > Hi, > > i stumbled about a question in a usenet group, asking why > ping -s 16384 doesn't work. I recalled that i sent out that > big ICMP packets some years ago on other platforms and was > interested where that limit hidden in the sources. sendto() > returns an EMSGSIZE error on anything bigger than 8184 bytes > (thank you sec), but i don't really see where this occurs. > If i understand it correctly it should be in raw_ip.c, but > i didn't find the place where that particular limit is wired > to in the sources. raw_ip.c returns EMSGSIZE on packets bigger > than MAXPACKET only and that's what i thought is correct behaviour. > > any pointers on where that EMSGSIZE is returned, i'm not having > a problem with that behaviour, just wanna know where it happens. > sysctl -w net.inet.raw.maxdgram=16392 Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message