PLOKAMI is a lispy interface to libpcap/winpcap built on top of a CFFI portability layer.
Realtime network packet capture, injection, dumpfile reading/writing, filtering with BPF, timeouts and operation in non-blocking mode.
Tested on: SBCL (darwin/linux), OpenMCL, LispWorks (windows/darwin). Should work on every platform that CFFI supports.
|OS compatibility||Linux, Windows, OSX, BSD|
|Source code repository||http://github.com/atomontage/plokami|
You must be logged to add a note
You must be logged to add a comment
It may be obvious, but when I tried this library at the first time, I missed the point that the process that used libpcap must have had enough privileges to read from device. So in my case I needed to run sbcl with sudo to just get the list of devices with find-all-devs.
Submitted by ilowry 3002 days 16 hours 45 min ago
Yes you should have permissions for packet capture.
I simply chown /dev/bpf* on osx/bsd instead of sudo.
Submitted by xristos 2999 days 8 hours ago
i added packet injection support (raw link layer frames) in git
Submitted by xristos 2827 days 3 hours 23 min ago