plokami icon indicating copy to clipboard operation
plokami copied to clipboard

Common Lisp PCAP Interface

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 [[https://atomontage.github.io/plokami]]

  • Author xristos (AT) sdf (DOT) org