using erlang to sniff network

Matthias Lang matthias@REDACTED
Tue Apr 27 18:59:58 CEST 2004


Geib, Mark writes:
 > Is it possible to use erlang to open a network device for sniffing...in
 > order to analyze traffic, etc. I need to see all the traffic on a
 > device, and I can run as root. This is on linux.
 > 
 > I want to do something like tcpdump | parser > logfile in a single
 > erlang program.

You'd need a driver (either a port program or a linked-in driver). As
far as I know, nobody has written such a driver.

Matt



More information about the erlang-questions mailing list