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
Dnia środa, 13 grudnia 2006 18:55, Arik Raffael Funke napisał(a):> 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. -- | pozdrawiam / greetings | powered by Trustix, Gentoo and FreeBSD | | Kajetan Staszkiewicz | jabber,email,www: vegeta()tuxpowered net | | Vegeta | IMQ devnames: http://tuxpowered.net | `------------------------^------------------------------------------''
On Wed, 2006-12-13 at 19:24 +0100, Kajetan Staszkiewicz wrote:> Dnia środa, 13 grudnia 2006 18:55, Arik Raffael Funke napisał(a): > > > 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.Solved it via upgrade to 0.8.2 as well
Kajetan Staszkiewicz wrote:> Dnia środa, 13 grudnia 2006 18:55, Arik Raffael Funke napisał(a): > >> 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.Thanks. That was indeed the solution. Regards, Arik
Hi 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 LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
On Thu, 11 Jan 2007 16:26:18 +1300, Rangi Biddle wrote> Hi Guys,Hi Rangi.> 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.> Regards, > RangiBests, Tomasz.
On Fri, 12 Jan 2007 08:33:17 +1300, Rangi Biddle wrote> Hi Tomasz,Hi Rangi.> Thank you for the reply. > > I have checked the Makefile and unfortunately it is using the respective > gcc. Output of Makefile below: > > libipt_ipp2p.so: libipt_ipp2p.c ipt_ipp2p.h > $(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC > -c libipt_ipp2p.cWhat about line below?! ;-) ************* ld -shared -o libipt_ipp2p.so libipt_ipp2p.o ************* Replace ld by $(CC).> Any other suggestions?As above ;-)> RangiBests, Tomasz.
Hi 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: lartc-bounces@mailman.ds9a.nl [mailto:lartc-bounces@mailman.ds9a.nl] On Behalf Of Tomasz Chilinski Sent: Friday, 12 January 2007 10:34 a.m. To: Rangi Biddle Cc: lartc@mailman.ds9a.nl Subject: RE: [LARTC] IPP2P Problem On Fri, 12 Jan 2007 08:33:17 +1300, Rangi Biddle wrote> Hi Tomasz,Hi Rangi.> Thank you for the reply. > > I have checked the Makefile and unfortunately it is using the respective > gcc. Output of Makefile below: > > libipt_ipp2p.so: libipt_ipp2p.c ipt_ipp2p.h > $(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC > -c libipt_ipp2p.cWhat about line below?! ;-) ************* ld -shared -o libipt_ipp2p.so libipt_ipp2p.o ************* Replace ld by $(CC).> Any other suggestions?As above ;-)> RangiBests, Tomasz. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc -- 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