cyneox
10.11.05, 06:01
Hallo! Ich versuche seit Tagen auf meinem vServer die iptables-Rules richtig zu setzen..Das klappt wunderbar, aber ich möchte auch ein paar Logs dazu haben in /var/log/messages.
bash~: iptables -j LOG --help
...
LOG v1.3.1 options:
--log-level level Level of logging (numeric or see syslog.conf)
--log-prefix prefix Prefix log messages with this prefix.
--log-tcp-sequence Log TCP sequence numbers.
--log-tcp-options Log TCP options.
--log-ip-options Log IP options.
--log-uid Log UID owning the local socket.
Also das Target LOG ist da.
bash~: iptables -A INPUT -j LOG --log-level 3
iptables: No chain/target/match by that name
??? Kann mir da einer helfen ?
bash~: iptables -j LOG --help
...
LOG v1.3.1 options:
--log-level level Level of logging (numeric or see syslog.conf)
--log-prefix prefix Prefix log messages with this prefix.
--log-tcp-sequence Log TCP sequence numbers.
--log-tcp-options Log TCP options.
--log-ip-options Log IP options.
--log-uid Log UID owning the local socket.
Also das Target LOG ist da.
bash~: iptables -A INPUT -j LOG --log-level 3
iptables: No chain/target/match by that name
??? Kann mir da einer helfen ?