LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 04: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 07:52 AM
Iptables, invalid argument, problem with modprobe ivanatora Linux - Software 1 05-11-2005 05:55 AM
alsamixer invalid argument subaruwrx Linux - Software 1 03-12-2005 01:34 PM
[ Invalid Argument on 'iptables' ] benleung Linux - Security 1 09-23-2003 12:25 AM
xawtv - invalid argument liguorir Linux - Software 0 06-17-2003 08:55 PM


All times are GMT -5. The time now is 03:07 AM.

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