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 2333 days 21 hours 20 min ago
Yes you should have permissions for packet capture.
I simply chown /dev/bpf* on osx/bsd instead of sudo.
Submitted by xristos 2330 days 12 hours 35 min ago
i added packet injection support (raw link layer frames) in git
Submitted by xristos 2158 days 7 hours 58 min ago