Michael Green
2017-02-24 18:45:39 UTC
Hello collective wisdom,
We have here:
* Server version: 1.3.5~rc3-2.1ubuntu2.1
* Client version: ncftp-3.2.5-7.el7.x86_64
My concern is the response to “rstatus” command from ncftp which shows the name of the server software:
ftp> debug <— Turned on debugging to see what command the client sends.
Debugging on (debug=1).
ftp> rstatus
---> STAT <— STAT is sent
211-Status of ‘ProFTPD’ <— somehow the client knows it is ProFTPD
211-Connected from XXX.XXX.XXX.XX (XXX.XXX.XXX.XX)
211-Logged in as ftp
211-TYPE: ASCII, STRUcture: File, Mode: Stream
211-Total bytes transferred for session: 126
211-No data connection
211 End of status
ftp> stat
I consider this a security risk.
My configuration has these directives among the rest:
#ServerName "Debian"
ServerIdent on "--------------------------------------------------------------------------------"
Any idea when exactly the server responds to the client with “ProFTPD” string? Is it immediately in response to STAT or some time earlier in the session?
How to eliminate?
—
Regards,
Michael
We have here:
* Server version: 1.3.5~rc3-2.1ubuntu2.1
* Client version: ncftp-3.2.5-7.el7.x86_64
My concern is the response to “rstatus” command from ncftp which shows the name of the server software:
ftp> debug <— Turned on debugging to see what command the client sends.
Debugging on (debug=1).
ftp> rstatus
---> STAT <— STAT is sent
211-Status of ‘ProFTPD’ <— somehow the client knows it is ProFTPD
211-Connected from XXX.XXX.XXX.XX (XXX.XXX.XXX.XX)
211-Logged in as ftp
211-TYPE: ASCII, STRUcture: File, Mode: Stream
211-Total bytes transferred for session: 126
211-No data connection
211 End of status
ftp> stat
I consider this a security risk.
My configuration has these directives among the rest:
#ServerName "Debian"
ServerIdent on "--------------------------------------------------------------------------------"
Any idea when exactly the server responds to the client with “ProFTPD” string? Is it immediately in response to STAT or some time earlier in the session?
How to eliminate?
—
Regards,
Michael