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

Re: [cobalt-users] Blocking Spam How to block IP blocks



On Wed, 14 Nov 2001 20:39:21 -0800, "Wayne Sagar"
<shortfork@xxxxxxxxxxx> wrote:

:>What would be the method to block a string of IP's from a spammer?
:>
:>First.ip.address - last.ip.address ?
:>
:>I'm entering these in the control panel email parameters.
:>

I put such blocks in the firewall and block everything from ranges of ip
addresses. I.e., to block all traffic from

inetnum:     202.96.0.0 - 202.96.63.255
netname:     CHINANET-BJ
descr:       CHINANET Beijing province network
descr:       Data Communication Division
descr:       China Telecom

I do a 

./sbin/ipfwadm -I -a deny -W $EXTERNAL_INTERFACE -S 202.96.0.0/16

$EXTERNAL_INTERFACE="eth0"

Actually, Portsentry catches them and eventually I put them in
portsentry.init and restart portsentry.

Why just block their email - block everything from them.

Mike.