[KULUA] file descriptor question

Erwin Harte kulua at spam.is-here.com
Thu Nov 29 22:47:09 CST 2001


On Thu, Nov 29, 2001 at 04:33:59PM -0600, David Nicol wrote:
> "Torchia, Jeff" wrote:
> > 
> > >>it is possible to pass an open file descriptor from one >> process to
> > another and if so how?
> > 
> > If the two processes are parent/child, then you have all the info needed to
> > open a pipe for communication between the two processes.  There is probably
> > a better/simplier solution, but it is coming to me at the moment.
> > 
> > Jeff T.
> 
> the two processes are not parent/child.  I want to have a non-root
> process respond to TCP connections to a low port (okay, port 80) without
> the process doing a change of UID.

It might help to know what unix version you're doing this on, my first
thoughts would be to use firewall software that transparently redirects
one port to another (high) port?

Erwin.
-- 
Erwin Harte <kulua at spam.is-here.com>




More information about the Kclug mailing list