Hi

Ivan Voras ivoras at freebsd.org
Wed Dec 10 02:37:04 PST 2008


pugal pugal wrote:
> Hi all
> I will explain the scenario clearly.
> 
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081210/5233e32f/signature.pgp


More information about the freebsd-questions mailing list