As seen in the last comments there seem to be issues with more recent kernels and the current tarball although it compiles without issues. I just uploaded an updated tarball which should take care of this. Big thanks to Sergey I'linykh who provided a patch for this.

As usual you can get it here.

With the arrival of 3.7 yet another round of fixup patches are needed. The Netfilter code now also supports IPV6 NAT so some APIs changed. Thanks a lot to Fab for providing the neccessary patches. For anyone downloading this, please test it and tell me if it works. Right now I cannot even compile time test it.

As usual you can get it here.

Apparently another small change is needed to compile the module with 3.3 onwards. This patch is a little bit special since I do not have the infrastructure available to even compile time test it. So just drop me a line if it compiles or not.

As usual you can get it here.

Just for all the people looking for newer rtsp kernel patches. If not otherwise noted the latest patch always works with kernel versions >= its own version. Right now 2.6.26 which is the latest works with kernels all the way up to the 2.6.32-rc series.

Just a quick heads-up for everyone using the new tarball. Alexandre noted that the current version was not compiling at all with his setup. The problem occurs if NF_CONNTRACK support is compiled statically in the kernel. Instead of obj-m, obj-y is set and no module is compiled. I changed the Makefile and put up a new tarball.

Wow, I should blog more often. I just was told that you can no longer post comments on my site which steems from the fact that I am using the no_old_comments plugin which makes sure, that there are no posts to old comments. Since I am not writing new entries that often nowadays, you cannot post at all. Well I fixed this for now, so if you were not able to post, well try again.

As for the RTSP patch, the latest one still works with a recent kernel, I have it running with 2.6.28.2 that's why there is no release of a new tarball.

Hello everyone,

Starting with 2.6.26 the format of the patch I provide will differ. With the former patch you had to patch your kernel by hand and enable the module in the configuration. A few people remakred that this was a little bit difficult to handle.

From now on the patch is setup as an external module. Just extract the tarball, enter the directory and call:

  • make
  • make install

You need to have NF_CONNTRACK_NAT enabled in your kernel configuration though. For more information consult the README file. You can get the source here.

The name starts with rtsp-module.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

BTW this code also works with 2.7.27 so do not look for a tarball.

So there is a patch for 2.6.26 now. As usual you can get it here. Some more changes to the API this time but it works for me.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

If anyone is interested I also updated the POM repository for the RTSP patch. You can find it here as well.

Finally 2.6.25 is out. As usual you can get the RTSP patch here. There has been no change between this and the latest RC.

On a side note. I am curious who is actually using this patch. Of course I could read my apache logs but having a comment like "Yes, I am using it for ...." is so much nicer.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Im am not dead ...yet. Just to inform the guys downloading the RTSP from here as soon as 2.6.25 proper is out I will put a patch online. The current -RC kernel works here but changes to the code might happen before the final release.

On a side note. I recently started playing around with a RAID-5 setup for my file server. After finishing it up, I'll probably post an entry or two.

As promised here is the patch for 2.6.24-rc1. It should also work with rc2 but I haven't tested it myself yet. Debugging also changed. I now use pr_debug for output. This means you need to compile the modules with "-DDEBUG" to get the debug output.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Ok, after finding out rather late that the rtsp patch did not work with 2.6.22, I downloaded 2.6.23-rc2 and ported it yet again. As always you can find the code here. I really hope that this patch will survive 2.6.23-final.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Since some changes happened to the netfilter code in 2.6.22 a new version of the rtsp patch is online. Big thanks go out to Jan Engeldhardt who really helped me getting this patch done in such a short time.

The location of the patch is still the same so go and grab it.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

An update to this site is really needed but in the mean time I proudly present my stab at linux kernel hacking. I ported the rtsp conntrack module to the new 2.6.20 netfilter API. I mostly did it because I need it to watch the Apple screencasts that appear every now and then.

So without much further ado I present the patch for the latest kernel releases.

NB: This code works for me, it might open a huge security hole on your firewall or kill your cat.