Subject: Re: building a userland interface to a kernel structure
To: Dustin Sallings <dustin@spy.net>
From: UNIX hacker and security officer <greywolf@starwolf.com>
List: current-users
Date: 01/12/1999 19:25:14
OOOOhhhhh, I get it now.
What you want is for some way to let the kernel know that "Hey, it's
_okay_ for this guy to get to these ports."
There appears to be no easily definable solution short of (pardon the
pseudocode):
#ifdef PORT_DEBUG
if (sysctl(net.allowresvports)) {
/* grant the port */
}
else
#endif
{
/* refuse the port */
}
somewhere in the networking code.
--*greywolf;
--
Microsoft:
"Just click on the START button and your journey to the Dark Side
will be complete!"