iptables - gerar log
All
Estou tentando fazer com que o meu script de firewall gere log. Até agora
fiz o seguinte:
# Seguintes opções foram ativadas no kernel 2.4.32
Networking options
IP: Netfilter Configuration
<*> LOG target support
<*> ULOG target support
# Gerar o arquivo de log
$ vi /etc/syslog.conf
*.=alert -/var/log/iptables
# Software para gerenciar o log
$ aptitude install wflogs
Acrescentei a seguinte linha, vide abaixo, no script de firewall.
# ftp - for remote support
$IPTABLES -A INPUT -i eth0 -p $PROTO --dport 21 -j LOG_ACCEPT
Quando vou treinicializar o script de firewall aparece a seguinte mensagem
de erro:
# /etc/init.d/rc.firewall.squid
iptables v1.2.11: Couldn't load target
`LOG_ACCEPT':/lib/iptables/libipt_LOG_ACCEPT.so: cannot open shared object
file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.11: Couldn't load target
`LOG_ACCEPT':/lib/iptables/libipt_LOG_ACCEPT.so: cannot open shared object
file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
Alguem por acaso tem alguma idéia do que eu estou fazendo de errado ?
--
.''`. Caio Abreu Ferreira
: :' : GNU/Linux Debian
`. `'` Gnupg ID 0x01186BE1
`- Linux Couter 327834
Reply to: