On 2000-12-08 00:38 -0800, Guy Harris <[EMAIL PROTECTED]> wrote: > (Both FreeBSD and OpenBSD have the maximum buffer size for BPF as 512KB > in the top of the CVS tree; NetBSD still has it as 32K.) You can change both the default and maximum BPF buffer sizes at run time (affecting an subsequent open()) in FreeBSD: # sysctl -w debug.bpf_bufsize=32768 debug.bpf_maxbufsize=4194304 makes the default buffer size 32K and limits the size to 4MB, for example. There were further changes to the BPF kernel code suggested by the NFR folks, which do not seem to have made it into FreeBSD, though. The original patches were for FreeBSD-2.2.x, I ported them to 3.x, but there have been many changes to bpf.c since then ... I can dig out the old patch and accompanying rationale, if anybody is interested, since it has been removed from the NFR download area. Regards, STefan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: [tcpdump-workers] Fwd: kyxtech: freebsd outsniff... Guy Harris
- Re: Fwd: kyxtech: freebsd outsniffed by wintendo !!?... Mike Smith
- Re: Fwd: kyxtech: freebsd outsniffed by wintendo !!?... Matt Dillon
- Re: [Ethereal-dev] Re: Fwd: kyxtech: freebsd ou... Guy Harris
- Re: [Ethereal-dev] Re: Fwd: kyxtech: freebs... Matt Dillon
- Re: [Ethereal-dev] Re: Fwd: kyxtech: fr... Guy Harris
- Re: [Ethereal-dev] Re: Fwd: kyxtech: freebsd ou... Guy Harris
- Re: [Ethereal-dev] Re: Fwd: kyxtech: freebs... Guy Harris
- R: [tcpdump-workers] Re: Re: [Ethereal-... Stefan Esser
- R: [tcpdump-workers] Re: Re: [Ether... Loris Degioanni
- Re: R: [tcpdump-workers] Re: R... Stefan Esser
- R: [Ethereal-dev] Fwd: kyxtech: freebsd outsniffed b... Loris Degioanni
- Re: Fwd: kyxtech: freebsd outsniffed by wintendo !!?... opentrax
- R: [Ethereal-dev] Re: Fwd: kyxtech: freebsd out... Fulvio Risso
- Re: R: [Ethereal-dev] Re: Fwd: kyxtech: fre... Michael T. Stolarchuk
- R: [tcpdump-workers] Re: R: [Ethereal-d... Loris Degioanni
- Re: R: [tcpdump-workers] Re: R: [Et... Michael T. Stolarchuk
- R: R: [tcpdump-workers] Re: R:... Loris Degioanni
- Re: R: [Ethereal-dev] Re: Fwd: kyxtech: fre... Wes Peters