OK, I found out something rather interesting.
I saw an anomaly using the -r switch.
IF the server's description text is more than 3 characters, then the reply would fail.
It would appear that the buffer is too small to hold this string.
For verbosity, I have made the reply name 1234567890, then reducing each name as we go on
Here are the results:
<-- <-- 220 ProFTPD 1.3.1 Server (1234567890) [192.16<-- 8.0.6] send_reply(0x80868b8), failed=1 (Invalid reply) no more connections left, exiting...Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (123456789) [192.168<-- .0.6] send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (12345678) [192.168.<-- 0.6] send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (1234567) [192.168.0<-- .6] send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (123456) [192.168.0.<-- 6] send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (12345) [192.168.0.6<-- ] send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (1234) [192.168.0.6]<-- send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp) Queued new job 0x807bc18 (GVfsJobMount) <-- 220 ProFTPD 1.3.1 Server (123) [192.168.0.6] --> USER xxx <-- 331 Password required for xxx
OK, I found out something rather interesting.
I saw an anomaly using the -r switch.
IF the server's description text is more than 3 characters, then the reply would fail.
It would appear that the buffer is too small to hold this string.
For verbosity, I have made the reply name 1234567890, then reducing each name as we go on
Here are the results:
<-- <-- 220 ProFTPD 1.3.1 Server (1234567890) [192.16<-- 8.0.6] 0x80868b8) , failed=1 (Invalid reply)
send_reply(
no more connections left, exiting...Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (123456789) [192.168<-- .0.6]
send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (12345678) [192.168.<-- 0.6]
send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (1234567) [192.168.0<-- .6]
send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (123456) [192.168.0.<-- 6]
send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (12345) [192.168.0.6<-- ]
send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (1234) [192.168.0.6]<--
send_reply, failed: 1
Added new job source 0x807a800 (GVfsBackendFtp)
Queued new job 0x807bc18 (GVfsJobMount)
<-- 220 ProFTPD 1.3.1 Server (123) [192.168.0.6]
--> USER xxx
<-- 331 Password required for xxx