Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 16:35:07 +0200
From:      "Karsten W. Rohrbach" <karsten@rohrbach.de>
To:        default013 - subscriptions <default013subscriptions@hotmail.com>
Cc:        freebsd-security@freebsd.org
Subject:   Re: blocking I.P. addresses/ranges
Message-ID:  <20010719163507.D39506@mail.webmonster.de>
In-Reply-To: <OE6369RKLpgTFur2iz20000025c@hotmail.com>; from default013subscriptions@hotmail.com on Thu, Jul 19, 2001 at 07:49:40AM -0500
References:  <OE6369RKLpgTFur2iz20000025c@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Km1U/tdNT/EmXiR1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

default013 - subscriptions(default013subscriptions@hotmail.com)@2001.07.19 =
07:49:40 +0000:
> Hello,
>=20
> I know there is a way to block I.P. addresses/I.P. ranges in Linux by usi=
ng
> something like 'route add 24.198.54.0 deny' etc... I assume that there mu=
st
> be a similar way to do this in FreeBSD... Is anyone familiar with this? H=
ow
> would I do it?

in your kernel config:
pseudo-device	disc	# discard network interface support

ifconfig ds0 inet <private address> netmask <some netmask>
route add <whatever> <private address>

this is cleaner than routing it onto lo0 127.0.0.1 IMVHO...

/k

--=20
> "I didn't change a thing and from the moment I didn't change it,
> it didn't work anymore." --Anonymous
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n=
et/
karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- catch@spam.de
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 B=
F46
Please do not remove my address from To: and Cc: fields in mailing lists. 1=
0x

--Km1U/tdNT/EmXiR1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7VvAbM0BPTilkv0YRAjPRAJwOMgQpkQ3VRAzea+HyZzMeCTdT4QCfSezU
q8UhkEcuOuR9ImlRLMLNsl4=
=nQia
-----END PGP SIGNATURE-----

--Km1U/tdNT/EmXiR1--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010719163507.D39506>