Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-25-2005, 07:28 AM   #1
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Rep: Reputation: 30
iptables -m layer7 - doesn't work (after patching)

I've tried to patch the kernel in order to use the iptables -m layer7 classifier.

I followed the instructions from
1. download the kernel
2. apply the patch to the kernel
3. Compile + install the kernel
4. Boot with the new kernel
5. Download, patch and install iptables

Now when I try something like:

iptables -t mangle -A POSTROUTING -m layer7 --l7proto http -j MARK --set-mark 1
I get:
iptables v1.3.2: Couldn't load match `layer7':/usr/local/lib/iptables/ cannot open shared object file: No such file or directory
I've searched on my system and there is no file (or *layer7*).
What did I do wrong? The distro in slackware 10.1

Thanks for your help.
Old 07-28-2005, 09:53 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Did you enable the "Experimental layer7 match" option in the kernel configuration step?
Did you use the right patches? (kernels older than 2.6.9 use different patches)
Did all the compile steps (kernel and iptables) work cleanly?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patching IPTABLES ?? Need Help?? Sevensins Linux - Security 2 09-06-2005 04:53 AM
iptables -m layer7 - RPM ddaas Fedora 1 08-02-2005 08:31 AM
cat layer7 pattern to /proc/net/layer7_protocols joirnange Linux - Newbie 1 12-29-2004 02:58 AM
enable Layer7 Classifier? joirnange Linux - Networking 2 12-28-2004 10:22 PM
Error :patch layer7 in 2.6 joirnange Linux - Networking 2 12-28-2004 10:46 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration