LARTC
[Top] [All Lists]

Re: [LARTC] ipp2p problems

To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] ipp2p problems
From: Luciano Ruete <luciano@lugmen.org.ar>
Date: Fri, 16 Mar 2007 00:06:57 -0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <45F7FC91.8010503@menta.net>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <45F7FC91.8010503@menta.net>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: KMail/1.9.5
On Wednesday 14 March 2007 10:45, J.E. wrote:
> Hello list,
>
> I'm newbie in this list. Well, i'm going crazy with ipp2p.
> Googling i find a mini-howto but i've got problems.
>
> 1) Download:
> * iptables-dev (apt-get)
> * kernel-headers-2.x.x (your kernel, "uname -r")
> * src of your iptables (iptables -V and apt-get source)
> * ipp2p-0.8.0.tar.gz (stable)
> 2) untar ipp2p and cd ipp2p
> 3) Edit Makefile, if it's necesary:
> * IPTABLES_SRC = /usr/src/iptables
> * In my case, the headers are detected automaticaly.
> 4) make (WITHOUT ERRORS!!! ;) )
> 5) cp libipt_ipp2p.so /lib/iptables
> 6) cp ipt_ipp2p.ko /lib/modules/`uname -r`/kernel/net/ipv4/netfilter
> 7) depmod -A
> 8) insmod ipt_ipp2p.ko (or modprobe)
> 9) lsmod | grep ipp2p
> 10) iptables -m ipp2p --help
>
> root@servidor:/usr/src/ipp2p-0.8.0# make
> make -C /lib/modules/2.6.15-28-386/build SUBDIRS=/usr/src/ipp2p-0.8.0
> modules
> make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.15-28-386'
>    CC [M]  /usr/src/ipp2p-0.8.0/ipt_ipp2p.o
>    Building modules, stage 2.
>    MODPOST
>    CC      /usr/src/ipp2p-0.8.0/ipt_ipp2p.mod.o
>    LD [M]  /usr/src/ipp2p-0.8.0/ipt_ipp2p.ko
> make[1]: se sale del directorio `/usr/src/linux-headers-2.6.15-28-386'
> gcc -O3 -Wall -DIPTABLES_VERSION=\"\" -I/usr/src/iptables-1.3.3/include
> -fPIC -c  libipt_ipp2p.c
> ld -shared -o libipt_ipp2p.so libipt_ipp2p.o
>
> Seems that all it's ok...
> .
> .
> .
> But ...
>
> root@servidor:/usr/src/ipp2p-0.8.0# iptables -m ipp2p --help
> iptables: match `ipp2p' v (I'm v1.3.1).
>
> Only i get this line, iptables: match `ipp2p' v (I'm v1.3.1)
>
> root@servidor:/usr/src/ipp2p-0.8.0# iptables -A FORWARD -m ipp2p --ipp2p
> -j DROP
> iptables: match `ipp2p' v (I'm v1.3.1).

ipp2p wasn't able to detect your current iptables versión number at compile 
time, that's why you see a 'v' character with nothing behind. 
Edit the ipp2p Makefile, and make shure that it finds your iptables versión 
number. 

Do a make clean and rebuild.

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

<Prev in Thread] Current Thread [Next in Thread>