APF Firewall for Ubuntu and ArchLinux
Following this article, I patched APF for use on Ubuntu and ArchLinux.
Hi guys! I’m sorry for the delay in the update in this matter but lately I had very little time for anything on the side. Anyway, I finally got around to it.
Some notes first:
- Since the first patch, I started working with ArchLinux (which is AWESOME) so I made a patch for it too.
- It seems that starting with version 0.9.6-3 APF completely replaced Antidos with something (internal) called RAB (we’ll see how that goes).
- Also I decided (as you’ll notice below) to also host the APF original tar.gz on my server as well the full patched versions, so that in the future, when a new version of APF is released the patches do not simply break out of the blue (since on the APF site there is no release history; even the downloadable file isn’t versioned, it’s just called apf-current.tar.gz which is confusing).
- I guess I could look into making patches for other Linux distros using qemu virtual machines. If you want that just say so and I’ll try.
So, here they are in all their glory (latest supported APF version comes first):
APF version 0.9.6-3 (download original APF):
- Ubuntu (tested on Gutsy but should work on most of them)
Patch: apf-0.9.6-3-ubuntu.patch
Patched APF: apf-0.9.6-3-ubuntu.tar.gz (this is what you sould download) - ArchLinux (tested on Don’t Panic but should work on all versions - at least starting from Core Dump)
Patch: apf-0.9.6-3-archlinux.patch
Patched APF: apf-0.9.6-3-archlinux.tar.gz (this is what you sould download)
APF version 0.9.6-2 (I no longer have this version; only the patch):
- Ubuntu (tested on Gutsy but should work on most of them)
Patch: apf-0.9.6-3-ubuntu.patch
Acknowledgments: Kudos to Cezar Spatariu for giving me some good tips to improve the patches :).
Enjoyed this post?, why not subscribe to the RSS feed!
March 4th, 2008 at 9:24 am
[…] See here for the […]
April 10th, 2008 at 5:47 pm
Thxs man! I really love APF but I don’t have the time to fix it for Ubuntu.
Keep up the good work. XD
Adrian Puente Z.
April 10th, 2008 at 5:53 pm
Glad to be of help, buddy!
:D
December 23rd, 2008 at 12:50 pm
Dude! Thxs again. It works on:
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy
I just have installed and works great.
Greets,
APZ
December 23rd, 2008 at 1:28 pm
That’s awesome to know thank you! :D
December 24th, 2008 at 11:21 am
Any thoughts about APF and Ubuntu Server Edition 8.10? APF has *always* been a rocking cool application.
April 6th, 2009 at 10:59 pm
Multam frumos!:)
May 7th, 2009 at 8:35 pm
Will APF be coming to Ubuntu 9.04 too?
April 1st, 2012 at 1:56 am
Hello Valeriu,
Thank you for your work. After running your modified script for Ubuntu I got this error:
Other Details:
cp: cannot stat `/etc/apf.bk.last/vnet/*.rules’: No such file or directory
Can I disregard it or it is important error and will effect the functionality of APF?
Also, will you update your script for the last version of APF?
Thanks again!