Selecting TLS leads to Illegal Port Command
|Reported by:||anonymous||Owned by:|
|Keywords:||Cc:||t8000, Tim Kosse|
|Component version:||Operating system type:|
|Operating system version:|
I was informed that our ftp server has now added
support for TLS. i tried to connect via TLS and
recieved an error message. the server admin told me he
never saw that port-command before, so it could be bug
of some kind.
the command sent is:
the response is:
500 Illegal PORT command
followed by the error:
Could not retrieve directory listing
please note this only happens while TLS is used to connect.
Status: Connecting to (my ftp-server) ...
Status: Connected with (my ftp-server), negotiating SSL
Response: 220 ProFTPD 1.2.9 Server (Debian) [my ftp-server]
Command: AUTH TLS
Response: 234 AUTH TLS successful
Status: SSL connection established. Waiting for welcome
Command: PBSZ 0
Response: 200 PBSZ 0 successful
Command: PROT P
Response: 200 Protection set to Private
Command: USER (my username)
Response: 331 Password required for (my username).
Command: PASS (*)
Response: 230 User (my username) logged in.
Status: Retrieving directory listing...
Response: 257 "/" is current directory.
Command: PORT 192,168,2,162,4,108
Response: 500 Illegal PORT command
Error: Could not retrieve directory listing