Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2008 11:36:53 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Hi
Message-ID:  <gho646$qcd$1@ger.gmane.org>
In-Reply-To: <fdbdc4330812100227i55eadea8r86611447c7d6f1ab@mail.gmail.com>
References:  <fdbdc4330812100144w9cd634en1a050239cc2874eb@mail.gmail.com>	<991123400812100213p3b14ab83rbdc9798993fc19d@mail.gmail.com> <fdbdc4330812100227i55eadea8r86611447c7d6f1ab@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig476C0EC7A56870DDB42F2B36
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

pugal pugal wrote:
> Hi all
> I will explain the scenario clearly.
>=20
> I have a server program say server.c listening on some XXX port-number.=
I
> accepts all the client.
> Now i want to DENY only the particular client say x.x.x.x/16 .

It looks like you are writing a server, therefore you can check the
addresses yourself if you don't want to use libwrap. It's easy to do.

Either that, or read host_access(3), or use some other library from the
ports that does the same thing.


--------------enig476C0EC7A56870DDB42F2B36
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJP5vIldnAQVacBcgRAggRAJ9V7eSxSHeHkyQD+Co5rLUigN6bgACg+8Oc
ZatP4eAS57CUO7gUdmtWGR8=
=bb6y
-----END PGP SIGNATURE-----

--------------enig476C0EC7A56870DDB42F2B36--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gho646$qcd$1>