Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 1999 12:06:11 -0800
From:      David Greenman <dg@root.com>
To:        Terry Glanfield <terry@program-products.co.uk>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: FIN not sent on socket close() 
Message-ID:  <199903292006.MAA09583@implode.root.com>
In-Reply-To: Your message of "Mon, 29 Mar 1999 16:57:57 -0000." <9903291557.AA21054@program-products.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I'm having trouble getting an FTP proxy working on 3.1-STABLE.  The
>proxy is a PASV aware version of the FTWK ftp-gw.  When trying to STOR
>a file through the proxy the receiving end hangs waiting for a FIN
>packet that is never sent.  The ktrace output below shows the socket
>being closed.  I've also included some short packet traces - sorry
>about the line length - and dumps of a pftp session for comparison.
>
>The only difference I can see is that the proxy is being launched from
>inetd.  Any help would be greatly appreciated.  Source code available
>on request.

   Hmmm, inetd opens the network connection on stdin/stdout/stderr (descriptors
0, 1, and 2) for the server that it execs. If this is the same socket that
your application is using, then those would have to be closed, too.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903292006.MAA09583>