ipp2p Problem
Hello,
can anybody interpret what the following means:
[root@funke ipp2p-0.8.0]# iptables -t mangle -A MarkList0x666-ipp2p -p
tcp -m ipp2p --edk -j MarkSet0x666
iptables: Unknown error 4294967295
-----
I have installed ipp2p-0.8.0 via:
make
copied ipt_ipp2p.ko to my kernel lib dir
copied libipt_ipp2p.so to my iptables lib dir
insmod ipt_ipp2p gives the following in dmesg:
IPP2P v0.8.0 loading
iptables -m ipp2p --help shows as expected the help for ipp2p
But the command given at the beginning does not work. It give in dmesg:ip_tables: ipp2p match: invalid size 0 != 8
Thanks for the help!
Regards,
Arik
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Dnia ¶roda, 13 grudnia 2006 18:55, Arik Raffael Funke napisa³(a):
Quoted 2 lines
But the command given at the beginning does not work. It give in dmesg:
ip_tables: ipp2p match: invalid size 0 != 8
I had same problems when I had too new kernel with too old ipp2p. Try 0.8.2.
Signature · 8 lines
| pozdrawiam / greetings | powered by Trustix, Gentoo and FreeBSD | | Kajetan Staszkiewicz | jabber,email,www: vegeta()tuxpowered net | | Vegeta | IMQ devnames: http://tuxpowered.net | `------------------------^------------------------------------------' _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 6 lines · Kajetan Staszkiewicz
Dnia środa, 13 grudnia 2006 18:55, Arik Raffael Funke napisał(a):
Quoted 2 lines
But the command given at the beginning does not work. It give in dmesg:
ip_tables: ipp2p match: invalid size 0 != 8I had same problems when I had too new kernel with too old ipp2p. Try 0.8.2.
Solved it via upgrade to 0.8.2 as well
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] IPP2P Problem
In reply to Arik Raffael FunkeHi Guys,
I am currently using linux kernel 2.6.18.6 + l7filter patch, iptables 1.3.7 and have managed to compile the ipp2p shared object which is now sitting in /lib/iptables.
However when I run the following I get this following error
[root@ngen-ap ~]# iptables -m ipp2p --help
iptables v1.3.7: Couldn't load match `ipp2p'
Try `iptables -h' or 'iptables --help' for more information.
I can verify that the shared object is in /lib/iptables
[root@ngen-ap ~]# ls /lib/iptables/ | grep pp2p
libipt_ipp2p.so
I have checked the permissions on the file
[root@ngen-ap ~]# ls /lib/iptables/ -l | grep pp2p
-rwxr-xr-x 1 root root 8448 Jan 11 02:00 libipt_ipp2p.so
The system is a CentOS 4.4 system with all the latest updates applied
Any help would be appreciated
Regards,
Rangi
PS. The module was loading perfectly fine before upgrading to iptables 1.3.7
- and yes I recompiled the ipp2p module again after upgrading to iptables 1.3.7
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Re: [LARTC] IPP2P Problem
In reply to Arik Raffael FunkeOn Thu, 11 Jan 2007 16:26:18 +1300, Rangi Biddle wrote
Quoted 1 line
Hi Guys,
Hi Rangi.
Quoted 11 lines
I am currently using linux kernel 2.6.18.6 + l7filter patch, iptables 1.3.7 and have managed to compile the ipp2p shared object which is now sitting in
/lib/iptables.However when I run the following I get this following error
[root@ngen-ap ~]# iptables -m ipp2p --help
iptables v1.3.7: Couldn't load match `ipp2p'
Try `iptables -h' or 'iptables --help' for more information.
In ipp2p Makefile find libipt_ipp2p.so make definition and make sure you've got:
$(CC) -shared -o libipt_ipp2p.so libipt_ipp2p.o
Probably there's
ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
over there and it's mistake.
Quoted 2 lines
Regards,
Rangi
Bests, Tomasz.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
RE: [LARTC] IPP2P Problem
In reply to Arik Raffael FunkeOn Fri, 12 Jan 2007 08:33:17 +1300, Rangi Biddle wrote
Quoted 1 line
Hi Tomasz,
Hi Rangi.
Quoted 8 lines
Thank you for the reply.
I have checked the
Makefileand unfortunately it is using the respective gcc. Output ofMakefilebelow:libipt_ipp2p.so:
libipt_ipp2p.cipt_ipp2p.h$(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC-c
libipt_ipp2p.c
What about line below?! ;-)
*************
ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
*************
Replace ld by $(CC).
Quoted 1 line
Any other suggestions?
As above ;-)
Quoted 1 line
Rangi
Bests, Tomasz.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
RE: [LARTC] IPP2P Problem
In reply to Arik Raffael FunkeHi Tomasz,
I got the original post that you made regarding the solution below, but by the looks of things the Thank you mail didn't get posted.
I took another look at the Makefile and sure enough that was the line that was causing the problem.
So ... many thanks to you again and here's hoping you receive this Thank you mail again.
Regards,
Rangi
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tomasz Chilinski
Sent: Friday, 12 January 2007 10:34 a.m.
To: Rangi Biddle
Cc: [email protected]
Subject: RE: [LARTC] IPP2P Problem
On Fri, 12 Jan 2007 08:33:17 +1300, Rangi Biddle wrote
Quoted 1 line
Hi Tomasz,
Hi Rangi.
Quoted 8 lines
Thank you for the reply.
I have checked the
Makefileand unfortunately it is using the respective gcc. Output ofMakefilebelow:libipt_ipp2p.so:
libipt_ipp2p.cipt_ipp2p.h$(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC-c
libipt_ipp2p.c
What about line below?! ;-)
*************
ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
*************
Replace ld by $(CC).
Quoted 1 line
Any other suggestions?
As above ;-)
Quoted 1 line
Rangi
Bests, Tomasz.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Signature · 9 lines
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.16.13/634 - Release Date: 17/01/2007 _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc