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 2457 days 10 hours 15 min ago
Yes you should have permissions for packet capture.
I simply chown /dev/bpf* on osx/bsd instead of sudo.
Submitted by xristos 2454 days 1 hour 31 min ago
i added packet injection support (raw link layer frames) in git
Submitted by xristos 2281 days 20 hours 54 min ago