Date: Tue, 21 Aug 2001 13:56:32 -0500 From: Steve Price <steve@havk.org> To: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> Cc: questions@FreeBSD.ORG Subject: Re: null route Message-ID: <20010821135632.H70621@bsd.havk.org> In-Reply-To: <20010821155035.M44387-100000@cactus.fi.uba.ar>; from fgleiser@cactus.fi.uba.ar on Tue, Aug 21, 2001 at 03:51:55PM -0300 References: <20010821132909.E70621@bsd.havk.org> <20010821155035.M44387-100000@cactus.fi.uba.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 21, 2001 at 03:51:55PM -0300, Fernando Gleiser wrote: > On Tue, 21 Aug 2001, Steve Price wrote: > > > What's the easiest way to setup a null route for an IP address? > > I have a box in the same datacenter as one of my machines that > > is blasting me with the Code Red II virus. I thought I could > > do something like 'route add x.x.x.x 127.0.0.1' but that didn't > > work. > > You can use ipf or ipfw to block connections from the offending machine. Thanks for the quick reply. I ended up using the following which seems to have done the trick. route add -host x.x.x.x 127.0.0.1 -reject -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010821135632.H70621>