-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the netfilterqueue wiki! netfilterqueue, for now, does not work with py3.7,3.8, 3.9, but it works with py3.6
As of 01/21/22, BMFI Tried to use the pip install code on pypi.org by copying and pasting and netfilterqueue is still throwing errors. NetfilterQueue may run with an altinstall of py3.6 if you have upgraded to py3.9(2.7) if you are still having difficulty with the module.
I noticed a lot of persons having difficulty with netfilterqueue. A good place to do some research is:
installing it = https://github.com/kti/python-netfilterqueue :
Debian or Ubuntu:
apt-get install build-essential python-dev libnetfilter-queue-dev
git clone https://github.com/kti/python-netfilterqueue.git
cd python-netfilterqueue
python setup.py install
BMFI said, "Python has changed a bit since netfilterqueue produced the above instructions. As of 01/21/22 these changes for: git clone https://github.com/kti/python-netfilterqueue.git For example, apt-get install build-essential python-dev libnetfilter-queue-dev Package python-dev is not available but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However, the following packages replace it: python2 python2-dev python-dev-is-python3.
I was installing in win10 cmd kali on windows, so I have every version of py installed on the machine with py2.7 on the path. So, I next ran:
sudo git clone https://github.com/kti/python-netfilterqueue.git Cloning into 'python-netfilterqueue'... remote: Enumerating objects: 429, done. remote: Counting objects: 100% (168/168), done. remote: Compressing objects: 100% (121/121), done. remote: Total 429 (delta 93), reused 108 (delta 40), pack-reused 261 Receiving objects: 100% (429/429), 490.11 KiB | 2.75 MiB/s, done. Resolving deltas: 100% (266/266), done. "
BMFI said, "The thing I wanted to talk about was kali 2021 and persons with py 2.7 and py3.9 on their system. Security and sha ckecksum are on you. I am not your security enforcer here, so be warned. Perhaps netfilterqueue may work better for you with an altinstall of py3.6 and running it or the program or package you create with netfilterqueue with py 3.6. So you can download the compressed tar file of python3.6.13 to your Desktop unzip it there. So:
kali$ cd Desktop
kali/Desktop$ cd Python-3.6.13
kali/Desktop/Python3.6.13$ ls
look for the configure
kali/Desktop/Python3.6.13$ sudo ./configure --enable-optimizations
let it run type y for yes
$ sudo make altinstall
Don't make install. It will mess most everyone up. Now you should have three versions of python installed side by side assuming you started with py2.7 and py3.9 or whatever two versions you may or may not have had to start with. Check versions: kali/Desktop/Python3.6.13$ cd
kali$ python
kali$ quit()
kali$ python3
kali$ quit()
kali$ python3.6
kali$ quit()
$ python3.9
$ quit()
I hope some of the information here helps with your research and problems if any?
Here is a link for py3.6 if you decide to do the alt install alongside py3.9(2.7): https://www.python.org/downloads/release/python-360/
BMFI valid binding permanent arbitration agreement and warranty disclaimer: Warranty Disclaimer: Use at your own risk! BMFI or any person associated, affiliated or part of BMFI is not accountable or responsible for any harm done by you for using this code.