Skip to main content

The PASV and SOCK Commands

The proposed solution to this problem was a command called PASSIVE (PASV?). The following is our conclusion as to the meaning of the command and how it would be used.

Third party connections would be established using the SOCK command, which says "Be prepared to use socket S at Host H to establish your data connection", and the PASV command which says "open your data socket for listening, and upon receipt of a transfer command wait for an RFC rather than initiating one."

A positive acknowledgement to the PASV command indicates that the data socket has been opened for listening. When an RFC for its data socket arrives after it has positively acknowledged a PASV command, the server should respond with a matching RFC to open the data connection (assuming, of course, that the incoming RFC is consistent with the previous SOCK commands, if any).