evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.91k stars 509 forks source link

Install Instructions #42

Closed SeaDude closed 7 years ago

SeaDude commented 7 years ago

Hello,

I must be missing something in the install instructions:

Using:

sudo apt-get install build-essential python-dev python-setuptools libnetfilter-queue-dev python-pyqt5

does not result in an opensnitch directory to cd into. Can't seem to find any opensnitch command on my machine after issuing these commands.

Advice?

Thanks

arielf commented 7 years ago

The instructions are missing the cloning of this git repository: You need to have git installed and then do:

git clone https://github.com/evilsocket/opensnitch

before you can do the cd opensnich

arielf commented 7 years ago

Just found out that even with the repository and the full linux-source package installed, I get this error in the last step (on Ubuntu 16.04.2 vanilla):

# python is python 2.7.12
$ sudo python setup.py install

...

netfilterqueue.c:437:42: fatal error: libnfnetlink/linux_nfnetlink.h: No such file or directory

My linux headers have a few similar files, but not by this name:

0:05 xx 547 ~/src/opensnitch> locate nfnetlink.h
/usr/include/linux/netfilter/nfnetlink.h
/usr/src/linux-headers-4.4.0-72/include/linux/netfilter/nfnetlink.h
/usr/src/linux-headers-4.4.0-72/include/uapi/linux/netfilter/nfnetlink.h
/usr/src/linux-headers-4.4.0-75/include/linux/netfilter/nfnetlink.h
/usr/src/linux-headers-4.4.0-75/include/uapi/linux/netfilter/nfnetlink.h
/usr/src/linux-headers-4.4.0-77/include/linux/netfilter/nfnetlink.h
/usr/src/linux-headers-4.4.0-77/include/uapi/linux/netfilter/nfnetlink.h

More dependencies seem to be missing.