Haskell lib for libpcap

Hi all, I am interested in finding a library or some code in Haskell that can parse network packets from a network trace dump file generated by tcpdump (libpcap). Is anyone aware of such a library? Thanks for your help. -- Pete Tucker (503) 748-4057 http://www.cse.ogi.edu/~ptucker

Hi all,
I am interested in finding a library or some code in Haskell that can parse network packets from a network trace dump file generated by tcpdump (libpcap). Is anyone aware of such a library?
Thanks for your help.
I have written some OCaml code to do this, which you are welcome to translate to Haskell. I've written it in a pure-functional style, so translation should be straightforward. No claims for efficiency, though! Email me if you are interested. --KW 8-)

ptucker
I am interested in finding a library or some code in Haskell that can parse network packets from a network trace dump file generated by tcpdump (libpcap). Is anyone aware of such a library?
There's QForeign by Marcin Kowalczyk, which includes bindings for bzlib, curses, glob, libgr, pcap, readline, and zlib. http://sourceforge.net/projects/qforeign/ Regards, Malcolm
participants (3)
-
Keith Wansbrough
-
Malcolm Wallace
-
ptucker