Hi Ben,

Ben Collver wrote:
> I am using stateful filtering on NetBSD/3.0.
> 
> I would like to log the header of every packet that:
> goes out interface X, from network A, to anywhere except network B
> goes in inetface X, from anywhere except network B, to network A
> 
> I tried to write rules to do this, but they only log the first packet
> before state is established.
> 
> Are ipfilter/ipmon the right tools for the job?  How can I log all
> packets?

Did you try tcpdump?? It allows you to specify in a very detailed
manner what packets you want logged..

Best,

Koen Martens

-- 
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, hosting, embedded systems, unix, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/

Reply via email to