using erlang to sniff network

Matthias Lang <>
Tue Apr 27 18:59:58 CEST 2004

Geib, Mark writes:
 > Is it possible to use erlang to open a network device for
 > 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.


More information about the erlang-questions mailing list