pyctd 0.4.2 (pyctd branch)

This is a really neat application, however I was not able to get it to run on Debian Testing. I was getting a strange error message after installing “python-ctypes” “libnetfilter-conntrack1” through apt-get: Traceback (most recent call last): File "/usr/bin/pyctd", line 27, in ? import pyctd File "/usr/lib/python2.4/site-packages/pyctd/__init__.py", line 2, in ? from pyctd.conntracking import DataCollector File "/usr/lib/python2.4/site-packages/pyctd/conntracking.py", line 31, in ? import pynetfilter_conntrack as nfct File "build/bdist.linux-i686/egg/pynetfilter_conntrack/__init__.py", line 4, in ? File "build/bdist.linux-i686/egg/pynetfilter_conntrack/func.py", line 32, in ? File "/usr/lib/python2.4/site-packages/ctypes-1.0.2-py2.4-linux-i686.egg/ctypes/__init__.py", line 353, in __getattr__ func = self.__getitem__(name)

This is a really neat application, however I was not able to get it to run on Debian Testing. I was getting a strange error message after installing “python-ctypes” “libnetfilter-conntrack1” through apt-get:


Traceback (most recent call last):
File "/usr/bin/pyctd", line 27, in ?
import pyctd
File "/usr/lib/python2.4/site-packages/pyctd/__init__.py", line 2, in ?
from pyctd.conntracking import DataCollector
File "/usr/lib/python2.4/site-packages/pyctd/conntracking.py", line 31, in ?
import pynetfilter_conntrack as nfct
File "build/bdist.linux-i686/egg/pynetfilter_conntrack/__init__.py", line 4, in ?
File "build/bdist.linux-i686/egg/pynetfilter_conntrack/func.py", line 32, in ?
File "/usr/lib/python2.4/site-packages/ctypes-1.0.2-py2.4-linux-i686.egg/ctypes/__init__.py", line 353, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.4/site-packages/ctypes-1.0.2-py2.4-linux-i686.egg/ctypes/__init__.py", line 358, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libnetfilter_conntrack.so.1: undefined symbol: nfct_new

I will most likely have to come back to this and see if I can get it working.

pyctd 0.4.2 (pyctd branch)Screenshot
pyctd is a XML-RPC service for monitoring and
altering Netfilter connections for network admins.
It features connections listing (with the byte
rate of connections), entries removal, and
modification of connmark and timeout. By using
XML-RPC, frontends can be easily built. A PHP
frontend is already available.


License: GNU General Public License (GPL)


Changes:
This release adds filtering of unwanted
connections.
[FreshMeat]


Did you like this article?


0 Shares:
You May Also Like