LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 07-25-2005, 07:28 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 452

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, 09: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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:21 PM.

Main Menu
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