urllib/ftpwrapper

Kent Polk kent at tiamat.goathill.org
Tue May 23 14:55:12 EDT 2000


On Tue, 23 May 2000 09:10:38 +0200, Michael Ströder wrote:
>Kent Polk wrote:
>> 
>> What would be a suggested method to allow outgoing port 20 connections
>> from a Python setuid'd server such as Medusa?
>
>Isn't it possible to bind to the privileged port 20 and do a setuid
>afterwards?

If you use connect, since it doesn't create a new socket, but you
could use it for only one connection as the first one would have
to be closed to terminate the connection. I think...




More information about the Python-list mailing list