Re: sudo /sbin/iptables -v -t filter -A INPUT -p tcp --dport 22 -s 124.225.122.167 -j REJECT does not stop ssh attack

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

 



On Wednesday 2010-10-13 19:59, Red Cricket wrote:

>Sorry for the long subject.
>
>But I execute this on my system ...
>
>sudo /sbin/iptables -v -t filter -A INPUT -p tcp --dport 22 -s
>124.225.122.167 -j REJECT does not stop ssh attack

Standard user problem: -A appends, and most likely in a place
(namely, at the end, by the very definition of append) where
no further rules have effect because all packets have been
handled by previous ones.

>Is there something wrong with my version of iptables or is my iptables
>command no good?

The latter, I suspect.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux