LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-21-2007, 04:18 PM   #1
mrtcn
LQ Newbie
 
Registered: Jan 2007
Location: London
Distribution: CentOS
Posts: 20

Rep: Reputation: 0
iptables problem


i am trying to use string matching with iptables but everytime it says no chain target match by that name...
i've copied libipt_string.so from another place and my iptables version is iptables v1.2.11
Code:
[root@memati ~]# iptables -I INPUT -m string -p udp --dport 27015 --string '""\"' -j DROP
iptables: No chain/target/match by that name


i also cannot update my iptables to v1.3.7
Code:
[root@memati iptables-1.3.7]# make
Extensions found: IPv4:recent IPv6:esp
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.9-42.0.3.ELsmp/build"/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.7\"  -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
In file included from /lib/modules/2.6.9-42.0.3.ELsmp/build/include/linux/netfilter_ipv4.h:8,
                 from /lib/modules/2.6.9-42.0.3.ELsmp/build/include/linux/netfilter_ipv4/ip_tables.h:26,
                 from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_ah.c:8:
/lib/modules/2.6.9-42.0.3.ELsmp/build/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] Error 1
any help =)
 
Old 01-21-2007, 04:26 PM   #2
mrtcn
LQ Newbie
 
Registered: Jan 2007
Location: London
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
my kernel version is 2.6.9 and my dist. is centos 4
 
  


Reply



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
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
Iptables problem satimis Linux From Scratch 4 10-01-2005 06:57 AM
Problem of iptables 80mail Linux - Networking 5 07-29-2005 12:17 AM
iptables problem bhagat_panwar Linux - Software 0 08-27-2003 06:45 AM
iptables problem chandra Linux - Newbie 4 03-26-2002 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:16 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
Open Source Consulting | Domain Registration