[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] /sbin/route and troublesome IP's
- Subject: Re: [cobalt-users] /sbin/route and troublesome IP's
- From: Zhang Shiping <zhangshiping@xxxxxxxxx>
- Date: Fri Jul 12 10:32:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> block a troublesome IP:
> /sbin/route add -host 211.162.79.21 reject
> Is that correct, and would
> /sbin/route add -host 211.162.79 reject
> block that entire /24 from accessing my server in
> any way?
211.162.79.21 is not a host, it's a NET. So it's
supposed to be
/sbin/route add -net 211.162.79.0 netmask
255.255.255.0 reject
Stanley
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com