All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] ipp2p Problem
@ 2006-12-13 17:55 Arik Raffael Funke
  2006-12-13 18:24 ` Kajetan Staszkiewicz
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Arik Raffael Funke @ 2006-12-13 17:55 UTC (permalink / raw)
  To: lartc

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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] ipp2p Problem
  2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
@ 2006-12-13 18:24 ` Kajetan Staszkiewicz
  2006-12-15  8:27 ` Ow Mun Heng
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Kajetan Staszkiewicz @ 2006-12-13 18:24 UTC (permalink / raw)
  To: lartc

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.

-- 
| 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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] ipp2p Problem
  2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
  2006-12-13 18:24 ` Kajetan Staszkiewicz
@ 2006-12-15  8:27 ` Ow Mun Heng
  2007-01-11  3:26 ` [LARTC] IPP2P Problem Rangi Biddle
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ow Mun Heng @ 2006-12-15  8:27 UTC (permalink / raw)
  To: lartc

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


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [LARTC] IPP2P Problem
  2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
  2006-12-13 18:24 ` Kajetan Staszkiewicz
  2006-12-15  8:27 ` Ow Mun Heng
@ 2007-01-11  3:26 ` Rangi Biddle
  2007-01-11  9:01 ` Tomasz Chilinski
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Rangi Biddle @ 2007-01-11  3:26 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

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

 

 


[-- Attachment #1.2: Type: text/html, Size: 6368 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] IPP2P Problem
  2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
                   ` (2 preceding siblings ...)
  2007-01-11  3:26 ` [LARTC] IPP2P Problem Rangi Biddle
@ 2007-01-11  9:01 ` Tomasz Chilinski
  2007-01-11 21:34 ` Tomasz Chilinski
  2007-01-18 19:51 ` Rangi Biddle
  5 siblings, 0 replies; 7+ messages in thread
From: Tomasz Chilinski @ 2007-01-11  9:01 UTC (permalink / raw)
  To: 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,
> Rangi

Bests, Tomasz.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [LARTC] IPP2P Problem
  2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
                   ` (3 preceding siblings ...)
  2007-01-11  9:01 ` Tomasz Chilinski
@ 2007-01-11 21:34 ` Tomasz Chilinski
  2007-01-18 19:51 ` Rangi Biddle
  5 siblings, 0 replies; 7+ messages in thread
From: Tomasz Chilinski @ 2007-01-11 21:34 UTC (permalink / raw)
  To: lartc

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.c

What about line below?! ;-)
*************
        ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
*************
Replace ld by $(CC).

> Any other suggestions?

As above ;-)

> Rangi

Bests, Tomasz.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [LARTC] IPP2P Problem
  2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
                   ` (4 preceding siblings ...)
  2007-01-11 21:34 ` Tomasz Chilinski
@ 2007-01-18 19:51 ` Rangi Biddle
  5 siblings, 0 replies; 7+ messages in thread
From: Rangi Biddle @ 2007-01-18 19:51 UTC (permalink / raw)
  To: lartc


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.c

What about line below?! ;-)
*************
        ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
*************
Replace ld by $(CC).

> Any other suggestions?

As above ;-)

> Rangi

Bests, 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


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-18 19:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 17:55 [LARTC] ipp2p Problem Arik Raffael Funke
2006-12-13 18:24 ` Kajetan Staszkiewicz
2006-12-15  8:27 ` Ow Mun Heng
2007-01-11  3:26 ` [LARTC] IPP2P Problem Rangi Biddle
2007-01-11  9:01 ` Tomasz Chilinski
2007-01-11 21:34 ` Tomasz Chilinski
2007-01-18 19:51 ` Rangi Biddle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.