To adapt to the recent events, I am trying to package moblock (0.7) for debian.
I modified moblock to fork (detach from the console) to use it as a deamon and to create a pid file. I also changed the code to react to SIGHUP by reopening the logfile for automatic logfile rotation. The upstream maintainer is aware of these modifications and is including them in the next release.
At first glance, everything seems to work. The package installs on my system, guardian.p2p is updated and /etc/init.d/moblock inserts the appropriate rules via iptables.
You can point your apt to
Code:
deb http://mitglied.lycos.de/clessing/ unstable main contrib non-free
to have a first look.
This repository contains my latest work on peerguardnf and moblock.
It also includes debian packages for libnfnetlink and libnetlink_queue since I have not found them ready for debian anywhere. I tried to get moblock running with libnetlink_queue but did not succeed. The current package uses the old interface - which means that at the moment you should not need to modify your kernel to switch from peerguardnf.
You can also get the source for each of these packages and building them should work at least on debian etch and later.
If you want my gpg-key, you can copy it from
http://forums.phoenixlabs.org/t11294...or-debian.html
You can add it with
Code:
apt-key add path-to-file
to the apt keyring on your machine.
The key is also at
http://mitglied.lycos.de/clessing/ but fetching it there does not make any sense (You are aiming to trust this location using this key...).
If you experience any hiccups, you are welcome to report them or to send me a patch.
You can reach me via clessing at freenet.de (which is also the maintainer address in the debian packages.)
Please be aware of the fact that I may miss cool scripts or tweaks in other parts of this forum. If you want parts of them included - send me an email! (I would be delighted if it's a "diff -u" against any of the files that are included in my packages)