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

Re: logs iptables



Rudy -sh from <stone_head@linuxmail.org> wrote this at 23/12/2002 at 21:35

Estp es un error mio por hacerlo rapido XD, los parametros/comandos
exactos son:

> si, ya se dijo antes en la lista, debes poner en el syslog.conf
> *.debug /var/log/iptables.log

kern.debug /var/log/fichero.log

> 
> y en la directiva de iptables LOG poner log-level=debug
> 

LOG --log-level DEBUG --log-prefix "firewall: "
El --log-prefix añade un prefijo, en este caso el texto "firewall: " a
cada entrada del log, cosa que puedes filtrar de alguna manera las
entradas provenientes del netfilter.

saludos

-- 

  +--------------------------------------------------------------------+
  | "GNU/Linux and free software are like women, there are many        |
  |  flavors and you can try them until found the right one" -sh       |
  +--------------------------------------------------------------------+
  |  running Debian GNU/Linux "sid" - http://debian.org                | 
  +--------------------------------------------------------------------+
  | GPG FP: 0D12 8537 607E 2DF5 4EFB  35A7 550F 1A00 3433 BD21         |
  +--------------------------------------------------------------------+

Attachment: pgpxjAFwk5NEi.pgp
Description: PGP signature


Reply to: