From owner-freebsd-net Tue May 1 15: 1: 4 2001 Delivered-To: freebsd-net@freebsd.org Received: from CPE-61-9-164-106.vic.bigpond.net.au (CPE-61-9-166-240.vic.bigpond.net.au [61.9.166.240]) by hub.freebsd.org (Postfix) with ESMTP id 3408F37B423 for ; Tue, 1 May 2001 15:01:01 -0700 (PDT) (envelope-from darrenr@reed.wattle.id.au) Received: (from root@localhost) by CPE-61-9-164-106.vic.bigpond.net.au (8.11.0/8.11.0) id f41M0sF21813; Wed, 2 May 2001 08:00:54 +1000 (EST) From: Darren Reed Message-Id: <200105012200.IAA22724@avalon.reed.wattle.id.au> Subject: Re: (KAME-snap 4587) The future of ALTQ, IPsec & IPFILTER playing together ... In-Reply-To: <3AEF0A8D.83847A19@aurora.regenstrief.org> from Gunther Schadow at "May 1, 1 07:12:13 pm" To: gunther@aurora.regenstrief.org (Gunther Schadow) Date: Wed, 2 May 2001 08:00:40 +1000 (EST) Cc: snap-users@kame.net, freebsd-net@freebsd.org, ipfilter@coombs.anu.edu.au, altq@csl.sony.co.jp X-Mailer: ELM [version 2.4ME+ PL37 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In some email I received from Gunther Schadow, sie wrote: > Gunther Schadow wrote: > [snip] > > .... to make things even more complicated, we also have the > berkeley packet filter (BPF) mechanism. Heck! How could > so many things evolve that all do essentially the same > thing? The interesting thing about the BPF mechanism is > that it is very generic. Filter rules are instructions > of a virtual von-Neumann-machine (reminds me of 6502 > assembler :-). Tcpdump uses BPF, at least on FreeBSD. > But I think BPF is available on all 4.4 BSD derivatives. > > where does this fit in the crowd? BPF uses a byte-code language, like Java, to tell the matching routine what bits to compare and return a "true or false". i.e. you need to build things around it if you want to use it for packet matching, etc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message