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 2125 days 15 hours 24 min ago
Yes you should have permissions for packet capture.
I simply chown /dev/bpf* on osx/bsd instead of sudo.
Submitted by xristos 2122 days 6 hours 39 min ago
i added packet injection support (raw link layer frames) in git
Submitted by xristos 1950 days 2 hours 2 min ago