Re: Liberating locked up ports
Re: Liberating locked up ports
- Subject: Re: Liberating locked up ports
- From: Bernd Löhr <email@hidden>
- Date: Mon, 27 Jan 2003 09:46:56 +0100
Am Freitag, 24.01.03 um 15:06 Uhr schrieb Quinn:
Our FTP server is tightly integrated into our communication app and
we cannot make it a separate tool. And we do not want to have the
complete app run as root for security reasons, as well.
Does your server use sockets or OT?
Unfortunately yes...
If you're using the OT APIs, there is no good solution to this problem.
We are thinking about using the sockets implementation from our linux
port now - I think that would be the best solution...
... and then I'll ask Rich about the sample...
Am Freitag, 24.01.03 um 16:10 Uhr schrieb Peter Lovell:
The best idea is to have a small tool which creates the listening port
and then passes the socket back to the ftp server. Only the small tool
needs to be privileged, not the server itself. The scheme is ddescribed
in Stevens' "UNIX Network Programming" Vol 1 (2nd edition) about page
381.
I'm having a look.
Thanks very much
Bernd
------------------------------------------------------------------------
-------------
If a vegetarian eats vegetables, what does a humanitarian eat?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.