Subject: User level packet filtering
To: None <netbsd-users@netbsd.org, tech-kern@netbsd.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: netbsd-users
Date: 02/17/2005 11:00:04
Hi all,

for research purposes I'd like to pass *all* IP packets
via user space in a NetBSD router. Not just getting a copy
of the packet but I'd like to change/drop some packets
before forwarding them. Now my question is, how should/could
this be done in NetBSD? I know that it's quite easy
with ipfw in FreeBSD, using a divert socket. There seems
to be no ipfw any more in NetBSD-current, which I am
using. What should I use then? ipfilter? pf? bpf?
libpcap? And how? Any help/links most appreciated.

Best regards,
Teemu

P.S. Could you please cc: my e-mail address too..

-- 
teemu@rinta-aho.org -+- http://www.rinta-aho.org