Busindre » Blog Archive » Como compilar Iplog sin errores (Parche)

Como compilar Iplog sin errores (Parche)

October 19th, 2007 by Busindre

Iplog es una aplicaci贸n capaz de detectar varios tipos de escaneos (incluso falsear su respuesta) y de ataques (spoofing y DoS), mostrando un informe de lo ocurrido de tal forma que el usuario no tiene que mirar miles de lineas en los ficheros de logs buscando el ataque. Una aplicaci贸n muy interesante pero que puede darnos alg煤n problema a la hora de querer compilarla con los actuales versiones de GCC, veamos como se parchea y compila esta herramienta.

Paquete: http://prdownloads.sourceforge.net/ojnk/iplog-2.2.3.tar.gz

Parche (Mirror1): http://gd.tuwien.ac.at/opsys/linux/lunar/patches/iplog-2.2.3-gcc3.3.patch
Parche (Mirror2): http://www.busindre.com/archivos/iplog-2.2.3-gcc3.3.patch

Compilar / Instalar iplog

$ tar -zxvf iplog-2.2.3.tar.gz
$ cd iplog-2.2.3
$ wget http://gd.tuwien.ac.at/opsys/linux/lunar/patches/iplog-2.2.3-gcc3.3.patch
$ patch -Np1 -i iplog-2.2.3-gcc3.3.patch src/iplog_options.c
$ ./configure --prefix=/usr
$ make
# make install 贸 checkinstall

Error al compilar (make) sin parchear:

make all-recursive
make[1]: se ingresa al directorio `/home/capito/programas/iplog-2.2.3'
Making all in src
make[2]: se ingresa al directorio `/home/capito/programas/iplog-2.2.3/src'
Making all in gnu
make[3]: se ingresa al directorio `/home/capito/programas/iplog-2.2.3/src/gnu'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/capito/programas/iplog-2.2.3/src/gnu'
make[3]: se ingresa al directorio `/home/capito/programas/iplog-2.2.3/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_config.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_dns.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_icmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_ident.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_input.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_lockfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c iplog_options.c
iplog_options.c:443:19: aviso: falta el car谩cter de terminaci贸n "
iplog_options.c: En la funci贸n 'print_help':
iplog_options.c:443: error: falta el car谩cter terminando "
iplog_options.c:444: error: se requiere un l-valor como un operando de decremento
iplog_options.c:444: error: expected ')' before 'user'
iplog_options.c:478:59: aviso: falta el car谩cter de terminaci贸n '
iplog_options.c:478: error: falta el car谩cter terminando '
iplog_options.c:493:65: aviso: falta el car谩cter de terminaci贸n "
iplog_options.c:493: error: falta el car谩cter terminando "
make[3]: *** [iplog_options.o] Error 1
make[3]: se sale del directorio `/home/capito/programas/iplog-2.2.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/capito/programas/iplog-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/capito/programas/iplog-2.2.3'
make: *** [all-recursive-am] Error 2

Manual de IPLog: http://www.busindre.com/detectar-escaneos-de-puertos...linux-bsd/

Posted in Linux |

One Response

  1. Busindre » Blog Archive » Detectar escaneos de puertos y ataques DOS con IPlog (GNU/Linux / *BSD) Says:

    [...] Instalar IPLog: http://www.busindre.com/como-compilar-iplog-sin-errores-parche/ [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.