Re: Port Scanner

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

 



On Wednesday 05 November 2003 3:15 pm, hare ram wrote:

> Hi
>
> iam using p-o-m with PSD patch
>
> right now iam running this
>
> iptables -A INPUT -m psd -j DROP
>
> how do i run the script like this
> Log the Portscanner IP and Drop them

How about:

iptables -N log-and-drop

iptables -A INPUT -m psd -j log-and-drop

iptables -A log-and-drop -j LOG --log-level=....etc
iptables -A log-and-drop -j DROP

Antony.

-- 

Documentation is like sex:
when it's good, it's very very good;
when it's bad, it's still better than nothing.
                                                     Please reply to the list;
                                                           please don't CC me.


[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