Hallo nochmal,

wo ist hier das Problem:

# iptables --append INPUT --source $IP -j LOG --log-prefix \\ "ips-ssh: "
iptables: No chain/target/match by that name

# iptables --append INPUT --source $IP -j REJECT


Ich blick leider bei iptables (noch) nicht so ganz durch - irgendwas essentielles fehlt mir wohl noch :-))

Danke!

Andreas

Wolf Wiegand schrieb:
Hallo,

Andreas Brandl wrote:

Oder bietet iptables eine Moeglichkeit, REJECTs zu loggen?

Das müsste eigentlich durch zweimaliges Aufführen der Regel, einmal mit
Ziel LOG und einmal REJECT, funktionieren:

$IPT -A icmp_packets --fragment -p ICMP -j LOG --log-prefix "ICMP Frag.: "
$IPT -A icmp_packets --fragment -p ICMP -j REJECT

hth, Wolf


--
Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an