Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
49 lines (34 sloc) 1.77 KB
Carnivore has been tested on Ubuntu (64bit). Note that you must launch
Processing as root:
sudo ./processing
Running as root is necessary for Carnivore to put your network adaptors
in promiscuous mode. But be warned that running applications as root is
risker and can introduce security problems. Please proceed with caution.
We're trying to test on other flavors of Linux as much as we can. If the
jpcap library ( isn't working for you, here are
instructions on how to build it from source:
1) Download jpcap-0.01.16.tar.gz from
2) change the variables in scripts/env_jpcap per instructions in
3) run scripts/env_jpcap
4) edit lines 66 and 67 of
jpcap-0.01.16/src/java/net/sourceforge/jpcap/capture/makefile so they
look like this:
LIBS = -lnsl /usr/lib/x86_64-linux-gnu/
You might need to use different paths if your system has a different
configuration. For the first line, you want the directory where jni.h
lives. For the second line you want the path to On your
system it might just be inside /usr/lib.
5) edit line 678 of
jpcap-0.01.16/src/java/net/sourceforge/jpcap/capture/jpcap.c and comment
out "(char*)" like this:
for(;ifr < last; /*(char*)*/ifr += ifrSize) {
6) cd back to the top level jpcap-0.01.16 directory and run `make` (you
might need to run `make clean` first). This will create
inside jpcap-0.01.16/src/java/net/sourceforge/jpcap/capture.
7) Rename to and copy it over to the
carnivore/library folder in your Processing library folder (ex: