[erlang-questions] IP packet manipulation within Erlang

Leon de Rooij leon@REDACTED
Thu Jan 7 09:35:34 CET 2010


I didn't try it myself yet, but I as I understand it, you can use  
tuntap to route ip traffic into erlang:




On Jan 7, 2010, at 9:15 AM, Martti Kuparinen wrote:

> Hi,
> How suitable is Erlang for a small project where I'd like to
> - grab all incoming IP packets
> - perform some IP header manipulation
> - send out the modified packets
> I'm aware I need some kind of bpf/pcap driver to get the packets  
> into Erlang (or does Erlang now have something in this front).
> Do you guys have any idea how fast this whole thing would be  
> compared to doing same in normal userland C program? Or even  
> compared to doing the manipulation within Linux kernel.
> Martti
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

More information about the erlang-questions mailing list