LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-15-2004, 02:20 AM   #1
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
Can't install iptables-p2p


I'm trying to install iptables-p2p. Unfortunately i cant seem to solve a problem im getting when running insmod.

[root@Hooter kernel]# uname -r
2.6.6-1.435.2.3
[root@Hooter kernel]# insmod ipt_p2p.ko
insmod: error inserting 'ipt_p2p.ko': -1 Invalid module format

and dmesg shows:

ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
No module found in object
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'

can someone tell me whats going on and how i can resolve this..plz
 
Old 10-15-2004, 08:37 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
First of all, don't use insmod, use modprobe. It resolves dependencies and loads other modules first if they are required. insmod doesn't do that.

Secondly, the message says that you have a version mismatch between kernel version and kernel module version. Your kernels were not compiled for the correct kernel version.
 
Old 01-12-2007, 08:37 AM   #3
baki
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
error installation

my kernel
Linux heartnet 2.6.11-1.1369_FC4
my iptables
iptables-1.3.0-2

root@heartnet Desktop]# cd iptables-p2p-0.3.0a
[root@heartnet iptables-p2p-0.3.0a]# make
make -C iptables
make[1]: Entering directory `/root/Desktop/iptables-p2p-0.3.0a/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"1.3.0\" -I../common -c -o libipt_p2p.o libipt_p2p.c
make[1]: gcc: Command not found
make[1]: *** [libipt_p2p.o] Error 127
make[1]: Leaving directory `/root/Desktop/iptables-p2p-0.3.0a/iptables'
make: *** [linux-2.6] Error 2

pls help for installtion, where i am wrong
thaks
 
Old 01-12-2007, 08:48 AM   #4
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
You are missing the GNU C Compiler.

Run: yum install gcc
 
Old 01-12-2007, 10:01 AM   #5
baki
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Thanks for ur reply, i use yum install gcc,not now try install ipp2p,
is it block p2p site,plz how to use this soft
 
Old 01-12-2007, 10:43 AM   #6
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
This one? http://www.ipp2p.org/
There is quite some documentation on their website.

The readers of this forum don't know which part you have problems with.
 
  


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
iptables how to block p2p (missing ipp2p) Neze Linux - Networking 1 02-01-2005 02:33 PM
Risk of Linux P2P vs. Windows P2P software snatale1 Linux - Software 2 12-04-2004 08:14 PM
iptables and p2p gcampos2 Linux - Newbie 3 10-09-2004 05:46 PM
LimeWire P2P and ipTables (Restrictive Firewall) win32sux Linux - Networking 1 10-09-2004 04:31 PM
iptables STRING and p2p patch? kernel 2.6.7 hugle Linux - Software 4 07-25-2004 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:07 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