LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



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

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


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

I followed the instructions from http://l7-filter.sourceforge.net/L7-HOWTO-Netfilter
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:


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

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

Rep: Reputation: 57
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?
 
  


Reply


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 05:53 AM
iptables -m layer7 - RPM ddaas Fedora 1 08-02-2005 09:31 AM
cat layer7 pattern to /proc/net/layer7_protocols joirnange Linux - Newbie 1 12-29-2004 03:58 AM
enable Layer7 Classifier? joirnange Linux - Networking 2 12-28-2004 11:22 PM
Error :patch layer7 in 2.6 joirnange Linux - Networking 2 12-28-2004 11:46 AM


All times are GMT -5. The time now is 08:51 AM.

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