[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [LUGAr-gral] iptables-p2p: problema de instalacion en mi Debian



Hola Christian, gracias por ayudarme...

Te comento que voy a empezar usando iptables-p2p para meterme en tema y
layer-7 quizas mas adelante el dia que tenga mas experiencia para compilar
un kernel y que ademas tenga un hardware conmayor poder de procesamiento
(layer-7 inspecciona paquetes a nivel aplicacion por lo que vi).

Con iptables-p2p, lo tengo en el directorio /root/varios/iptables-p2p-0.3.0a
y alli mismo ejecuto make y me da los siguientes errores:

mi_host:~/varios/iptables-p2p-0.3.0a# make
make -C iptables
make[1]: Entering directory `/root/paquetes/iptables-p2p-0.3.0a/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"1.2.11\" -I../common  -c -o libipt_p2p.o
libipt_p2p.c
libipt_p2p.c:23:22: iptables.h: No such file or directory
libipt_p2p.c:53: warning: `struct ipt_entry_match' declared inside parameter
list
libipt_p2p.c:53: warning: its scope is only this definition or declaration,
which is probably not what you want
libipt_p2p.c:56: warning: `struct ipt_entry_match' declared inside parameter
list
libipt_p2p.c:56: warning: `struct ipt_entry' declared inside parameter list
libipt_p2p.c:59: warning: `struct ipt_entry_match' declared inside parameter
list
libipt_p2p.c:59: warning: `struct ipt_ip' declared inside parameter list
libipt_p2p.c:60: warning: `struct ipt_entry_match' declared inside parameter
list
libipt_p2p.c:60: warning: `struct ipt_ip' declared inside parameter list
libipt_p2p.c:69: error: variable `p2p' has initializer but incomplete type
libipt_p2p.c:71: warning: excess elements in struct initializer
libipt_p2p.c:71: warning: (near initialization for `p2p')
libipt_p2p.c:72: warning: excess elements in struct initializer
libipt_p2p.c:72: warning: (near initialization for `p2p')
libipt_p2p.c:73: warning: excess elements in struct initializer

Quizas instalando iptables-dev pueda solucionarse mi problema ??? Que opinas
???

Mil gracias !!!!!!!!

Alejandro

----- Original Message ----- 
From: "Cristian Hoffmann" <inforh@yahoo.com.ar>
To: "Alejandro" <alejandritox@ciudad.com.ar>; "Lista de temas generales del
LUGAr y de Linux" <lugar-gral@linux.org.ar>
Sent: Wednesday, February 01, 2006 11:24 AM
Subject: Re: [LUGAr-gral] iptables-p2p: problema de instalacion en mi Debian


Hola?
Pero que errores te tira?
Seguro que te faltan algunos headers no recuerdo bien cuales necesita.

Igual... a mi mucho el iptables_p2p no me convencio...
me parece mucho mejor ipp2p pero no me bloquea el ares
Lo maximo es layer7 que hace de todo jeje pero ahi tenes que parchear el
kernel.

Saludos
Cristian

El Mar 31 Ene 2006 23:09, Alejandro escribió:
>Estoy tratando de instalar el modulo iptables-p2p en mi firewall Debian con
>Iptables para bloquear o shapear el trafico P2P. Baje el archivo .tar del
>sitio oficial del proyecto iptables-p2p y alli viene la explicacion muy
>breve de la instalacion, pero para mis conocimientos de Linux no me
alcanza,
>por eso recurro a ustedes:
>
> 1. Copy the iptables headers to an appropriate place (/usr/include) or
>install the iptables-dev package if your distro has one. (see Installing
>iptables headers)
> 2. Run make in order to compile iptables-p2p.
> 3. Insert the kernel/ipt_p2p.o module directly using insmod or copy it
into
>your modules directory. If you are using a 2.6 kernel, the module is named
>kernel/ipt_p2p.ko.
> 4. Insert the iptables library libipt_p2p.so into the iptables lib
>directory (usually /lib/iptables).
>
>Si yo corro make desde el directorio iptables-p2p me da muchos errores, por
>eso no se si es esencial instalar el paquete iptables-dev (que segun lei
>tiene documentacion, librerias y headers files).
>
>Alguno que haya instalado el iptables-p2p puede orientarme en como proceder
>para la instalacion ????
>
>Mil gracias.
>
>
>Alejandro





___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar




-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 31/01/2006




Reply to: