LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 03-15-2007, 05:32 AM   #1
pk_kala
Member
 
Registered: Feb 2006
Posts: 34

Rep: Reputation: 15
iptables: Invalid argument


I try to install ipp2p on Ubuntu.
after compile kernel to 2.6.20.1, i follow this
#### IPTABLES Block ipt_ipp2p Network ####
1. Download & Compile
# tar xvfz ipp2p.08.tar.gz
# cd ipp2*
# make
# cp ipt_ipp2p.ko /lib/modules/2.6.20.1/kernel/net/ipv4/
# echo "/lib/modules/2.6.20.1/kernel/net/ipv4/ipt_ipp2p.ko" >> /lib/modules/2.6.20.1/modules.dep
# echo "ipt_ipp2p" >> /etc/modules
# modprobe ipt_ipp2p
# depmod -a
# cp libipt_ipp2p.so /lib/iptables/


2. Check IPTABLES + P2P
# iptables -m ipp2p --help

3. Make rules
default rules
# iptables -A FORWARD -p tcp -m ipp2p --ipp2p -j DROP
iptables: Invalid argument

How I resolve ?

Thank you
 
  


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
Invalid Argument Error ahmedb72 Red Hat 1 02-25-2006 08:52 AM
Iptables, invalid argument, problem with modprobe ivanatora Linux - Software 1 05-11-2005 06:55 AM
alsamixer invalid argument subaruwrx Linux - Software 1 03-12-2005 02:34 PM
[ Invalid Argument on 'iptables' ] benleung Linux - Security 1 09-23-2003 01:25 AM
xawtv - invalid argument liguorir Linux - Software 0 06-17-2003 09:55 PM


All times are GMT -5. The time now is 08:04 PM.

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