Using UNIX sockets with Erlang (OT)

Torbjorn Tornkvist <>
Wed Sep 19 13:57:08 CEST 2001

> I would
> like to implement firewall-like behaviour via ipfilter, BPF or something
> like that. Is there any possibility of getting that close to the machine 
> in Erlang or is one bound to use TCP sockets?

Well, I've written some simple drivers in C, using BPF 
on FreeBSD and 'raw-packet' sockets on Linux, which 
delivers Ethernet frames upto Erlang. 
You'll find them here (among lots of other code):

Cheers /Tobbe

More information about the erlang-questions mailing list