OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: CIDR blocks & relay security...
From: sthaugnethelp.no
Date: Sun Dec 10 2000 - 02:15:39 CST


> i'm not interested in opinion. i wanted a specific answer to a specific
> technical question. i.e. why isn't it possible to read the netmask along
> with the IP address?

It's possible, but not necessarily easy or portable. See getnetconf() in
the BIND 8 sources (file src/bin/named/ns_main.c) for the contortions
BIND goes through in order to get the interface configuration for lots
of different systems.

Steinar Haug, Nethelp consulting, sthaugnethelp.no