plokami

2016-02-08

PLOKAMI is a lispy interface to libpcap built on top of a CFFI portability layer. Complete bindings to every function in libpcap are in pcap.lisp and a higher level interface in plokami.lisp.

Features

  • Realtime network packet capture
  • Injection
  • PCAP dumpfile read/write
  • BPF
  • Timeouts and operation in non-blocking mode
  • Full support for Windows through WinPCAP

The library has been tested on SBCL (linux/darwin), ClozureCL and LispWorks (darwin/win32) but should work on every platform that CFFI supports.

Performance

Minimal overhead over plain libpcap.

License

The code comes with a BSD-style license so you can basically do with it whatever you want.

Documentation

http://atomontage.github.com/plokami

Author

xristos (AT) sdf (DOT) lonestar (DOT) org

Author
xristos@sdf.lonestar.org
Categories
networking