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 2654 days 22 hours 32 min ago
Yes you should have permissions for packet capture.
I simply chown /dev/bpf* on osx/bsd instead of sudo.
Submitted by xristos 2651 days 13 hours 47 min ago
i added packet injection support (raw link layer frames) in git
Submitted by xristos 2479 days 9 hours 10 min ago