Discussion:
Kernel, iptables and layer7 filtering
Jaroslav Vrbicky
2007-07-04 21:16:43 UTC
Permalink
Hi list,

i'd like to ask, if there's anyone using layer7 (iptables module)
filtering with sucsess on recent Trustix 3.0.5 version (swup to date) ?

Yesterday i tried to use some iptables rules with -m layer7 option, but it
alwayed failed like this:

***@server2 /# iptables -A FORWARD -m layer7 --l7proto bittorrent -j ACCEPT
iptables: Invalid argument

Then i searched the google a bit and found out, that there is a problem
with this iptables module and kernel 2.6.19.x, but no info found whether
it's already fixed in the next - either iptables or kernel version... Only
confirmation, that it worked OK with kernels up to 2.6.18.x

Few info about the system i run:

***@server2 /# uname -r
2.6.19.7-1trsmp

***@server2 /# rpm -qa |egrep "iptables|l7"
l7-protocols-2006.06.03-2tr
iptables-1.3.7-2tr
iptables-devel-1.3.7-2tr

***@server2 /# lsmod |grep layer7
ipt_layer7 11524 0

Did iptables layer7 module ever work for anyone running TSL 3.0.5 with
kernel 2.6.19.x ?

I've already filled a bug report that new iptables package is available,
but i think we are a bit behind with the kernel package... The latest
stable kernel on www.kernel.org is 2.6.21.5. Is there any important reason
for not upgrading the kernel package(s) ?

Comments are wellcome ;-)

Many thanks in advance.
--
Jaroslav Vrbicky
Nived Gopalan
2007-07-06 08:03:17 UTC
Permalink
Post by Jaroslav Vrbicky
Hi list,
Yesterday i tried to use some iptables rules with -m layer7 option, but it
iptables: Invalid argument
Then i searched the google a bit and found out, that there is a problem
with this iptables module and kernel 2.6.19.x, but no info found whether
it's already fixed in the next - either iptables or kernel version... Only
confirmation, that it worked OK with kernels up to 2.6.18.x
Did iptables layer7 module ever work for anyone running TSL 3.0.5 with
kernel 2.6.19.x ?
The issue is fixed in kernel 2.6.19.7-2tr ( TSL 3.0.5) and iptables
1.3.8. Should be out there is public repos after sometime.
Post by Jaroslav Vrbicky
I've already filled a bug report that new iptables package is available,
but i think we are a bit behind with the kernel package... The latest
stable kernel on www.kernel.org is 2.6.21.5. Is there any important reason
for not upgrading the kernel package(s) ?
There have been major changes from kernel 2.6.20.. and i'm not sure how
much it would effect after upgrade. But will definitely consider
updating it... you can expect a new kernel very soon.. ;)

- Nived
Jaroslav Vrbicky
2007-07-11 20:04:25 UTC
Permalink
Hello,
Post by Nived Gopalan
Post by Jaroslav Vrbicky
Did iptables layer7 module ever work for anyone running TSL 3.0.5 with
kernel 2.6.19.x ?
The issue is fixed in kernel 2.6.19.7-2tr ( TSL 3.0.5) and iptables
1.3.8. Should be out there is public repos after sometime.
Thanks a lot for the update and hopefully for the fix, however you
answered 5 days ago but no upgrade available until now. Is there anything
wrong with the public repository ?

Thanks in advance
--
Jaroslav Vrbicky
Nived Gopalan
2007-07-12 10:56:05 UTC
Permalink
Post by Jaroslav Vrbicky
Hello,
Post by Nived Gopalan
Post by Jaroslav Vrbicky
Did iptables layer7 module ever work for anyone running TSL 3.0.5 with
kernel 2.6.19.x ?
The issue is fixed in kernel 2.6.19.7-2tr ( TSL 3.0.5) and iptables
1.3.8. Should be out there is public repos after sometime.
Thanks a lot for the update and hopefully for the fix, however you
answered 5 days ago but no upgrade available until now. Is there anything
wrong with the public repository ?
Yes, there is some issue with one of our servers. It should be back
online soon.

- Nived

Continue reading on narkive:
Loading...