Date: Mon, 11 Dec 2000 22:44:28 +0100 From: Stefan Esser <se@freebsd.org> To: Loris Degioanni <loris@netgroup-serv.polito.it> Cc: Guy Harris <gharris@flashcom.net>, Matt Dillon <dillon@earth.backplane.com>, Dragos Ruiu <dr@kyx.net>, tcpdump-workers@tcpdump.org, ethereal-dev@ethereal.com, snort-devel@lists.sourceforge.net, freebsd-hackers@FreeBSD.org, tech@openbsd.org, Stefan Esser <se@freebsd.org> Subject: Re: R: [tcpdump-workers] Re: Re: [Ethereal-dev] Re: Fwd: kyxtech: freebsd outsniffed by wintendo !!?!? Message-ID: <20001211224428.A73017@StefanEsser.FreeBSD.org> In-Reply-To: <004001c06358$37cc9480$016464c8@lorix>; from loris@netgroup-serv.polito.it on Mon, Dec 11, 2000 at 10:49:48AM %2B0100 References: <0012072118150Q.09615@smp.kyx.net> <200012080547.eB85lKc17216@earth.backplane.com> <20001207233958.C352@quadrajet.flashcom.com> <20001208003839.A352@quadrajet.flashcom.com> <20001209142132.A822@StefanEsser.FreeBSD.org> <004001c06358$37cc9480$016464c8@lorix>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2000-12-11 10:49 +0100, Loris Degioanni <loris@netgroup-serv.polito.it> wrote: > > # sysctl -w debug.bpf_bufsize=32768 debug.bpf_maxbufsize=4194304 > > > > makes the default buffer size 32K and limits the size to 4MB, for > > example. > > Notice however that in pcap-bpf.c, pcap_open_live() forces the buffer > size to 32K through an IOCTL. This means that the sysctl is overridden > if BPF is used throug libpcap. Yes, you are of course correct mentioning that ! The override used to up the buffer size from the kernel default of 4KB to 32KB, but now that the default has become 32KB, we probably should use the default as is and leave the user the option of choosing a different default by means of sysctl ... Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001211224428.A73017>