Здравствуйте.
Есть сервер на убунте, на нем настроен pure-ftpd.
Дело в том, что почему-то этот сервер отдает только 32.768 байт файлов. Банально пытаюсь вытащить с него текстовый документ - скачивается 32768 байт, а дальше filezilla рвет соединение по причине неактивности. Причем фокусы такие не только по FTP, с sftp творится та же самая ситуация.
syslog
root@vm667364:~# tail -n 100 /var/log/syslog
Jul 8 16:15:41 vm667364 pure-ftpd[22481]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:16:10 vm667364 pure-ftpd[22481]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:16:14 vm667364 pure-ftpd[22483]: (?@IP) [INFO] New connection from IP
Jul 8 16:16:14 vm667364 pure-ftpd[22483]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:16:21 vm667364 pure-ftpd[22485]: (?@IP) [INFO] New connection from IP
Jul 8 16:16:22 vm667364 pure-ftpd[22485]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:16:45 vm667364 pure-ftpd[22487]: (?@IP) [INFO] New connection from IP
Jul 8 16:16:46 vm667364 pure-ftpd[22487]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:17:01 vm667364 CRON[22490]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jul 8 16:17:16 vm667364 pure-ftpd[22492]: (?@IP) [INFO] New connection from IP
Jul 8 16:17:16 vm667364 pure-ftpd[22492]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:18:08 vm667364 pure-ftpd[22485]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:18:08 vm667364 pure-ftpd[22494]: (?@IP) [INFO] New connection from IP
Jul 8 16:18:08 vm667364 pure-ftpd[22494]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:19:12 vm667364 pure-ftpd[22496]: (?@IP) [INFO] New connection from IP
Jul 8 16:19:12 vm667364 pure-ftpd[22496]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:20:01 vm667364 pure-ftpd[22494]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:20:01 vm667364 pure-ftpd[22498]: (?@IP) [INFO] New connection from IP
Jul 8 16:20:02 vm667364 pure-ftpd[22498]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:20:06 vm667364 pure-ftpd[22496]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:20:06 vm667364 pure-ftpd[22500]: (?@IP) [INFO] New connection from IP
Jul 8 16:20:06 vm667364 pure-ftpd[22500]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:20:31 vm667364 pure-ftpd[22498]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:20:31 vm667364 pure-ftpd[22504]: (?@IP) [INFO] New connection from IP
Jul 8 16:20:31 vm667364 pure-ftpd[22504]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:20:33 vm667364 pure-ftpd[22506]: (?@IP) [INFO] New connection from IP
Jul 8 16:20:34 vm667364 pure-ftpd[22506]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:20:54 vm667364 pure-ftpd[22504]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:20:54 vm667364 pure-ftpd[22508]: (?@IP) [INFO] New connection from IP
Jul 8 16:20:54 vm667364 pure-ftpd[22508]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:20:57 vm667364 pure-ftpd[22506]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:20:57 vm667364 pure-ftpd[22510]: (?@IP) [INFO] New connection from IP
Jul 8 16:20:58 vm667364 pure-ftpd[22510]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:21:08 vm667364 pure-ftpd[22512]: (?@IP) [INFO] New connection from IP
Jul 8 16:21:08 vm667364 pure-ftpd[22512]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:21:11 vm667364 pure-ftpd[22508]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:21:12 vm667364 pure-ftpd[22514]: (?@IP) [INFO] New connection from IP
Jul 8 16:21:12 vm667364 pure-ftpd[22514]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:22:00 vm667364 pure-ftpd[22510]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:22:13 vm667364 pure-ftpd[22516]: (?@IP) [INFO] New connection from IP
Jul 8 16:22:14 vm667364 pure-ftpd[22516]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:26:10 vm667364 pure-ftpd[22451]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (5154282 bytes, 5.59KB/sec)
Jul 8 16:26:10 vm667364 pure-ftpd[22451]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:26:22 vm667364 systemd[1]: Started Session 587 of user root.
Jul 8 16:26:34 vm667364 pure-ftpd[22453]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (3292141 bytes, 3.57KB/sec)
Jul 8 16:26:34 vm667364 pure-ftpd[22453]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:27:13 vm667364 pure-ftpd[22455]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1729393 bytes, 1.88KB/sec)
Jul 8 16:27:13 vm667364 pure-ftpd[22455]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:27:33 vm667364 systemd[1]: Reloading.
Jul 8 16:27:34 vm667364 systemd[1]: message repeated 2 times: [ Reloading.]
Jul 8 16:27:34 vm667364 systemd[1]: Started Run certbot twice daily.
Jul 8 16:27:38 vm667364 pure-ftpd[22457]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1729393 bytes, 1.88KB/sec)
Jul 8 16:27:38 vm667364 pure-ftpd[22457]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:28:10 vm667364 pure-ftpd[22463]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (2328060 bytes, 2.52KB/sec)
Jul 8 16:28:10 vm667364 pure-ftpd[22463]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:28:19 vm667364 pure-ftpd[22465]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (2228224 bytes, 2.42KB/sec)
Jul 8 16:28:19 vm667364 pure-ftpd[22465]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:28:40 vm667364 pure-ftpd[22467]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (1835008 bytes, 1.99KB/sec)
Jul 8 16:28:41 vm667364 pure-ftpd[22467]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:29:02 vm667364 pure-ftpd[22469]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (2228224 bytes, 2.42KB/sec)
Jul 8 16:29:02 vm667364 pure-ftpd[22469]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:29:10 vm667364 pure-ftpd[22516]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:29:23 vm667364 pure-ftpd[22471]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (2228224 bytes, 2.42KB/sec)
Jul 8 16:29:23 vm667364 pure-ftpd[22471]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:29:36 vm667364 pure-ftpd[22514]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:29:36 vm667364 pure-ftpd[23323]: (?@IP) [INFO] New connection from IP
Jul 8 16:29:36 vm667364 pure-ftpd[23323]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:29:40 vm667364 pure-ftpd[23325]: (?@IP) [INFO] New connection from IP
Jul 8 16:29:41 vm667364 pure-ftpd[23325]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 16:29:44 vm667364 pure-ftpd[22473]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (1441792 bytes, 1.56KB/sec)
Jul 8 16:29:44 vm667364 pure-ftpd[22473]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:29:58 vm667364 pure-ftpd[23323]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:30:00 vm667364 systemd[1]: Started Session 588 of user root.
Jul 8 16:30:06 vm667364 pure-ftpd[22475]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (6684672 bytes, 7.25KB/sec)
Jul 8 16:30:06 vm667364 pure-ftpd[22475]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:30:13 vm667364 systemd[1]: Started Session 589 of user root.
Jul 8 16:30:27 vm667364 pure-ftpd[22479]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//05 07 2019.rar downloaded (1703936 bytes, 1.85KB/sec)
Jul 8 16:30:27 vm667364 pure-ftpd[22479]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:30:51 vm667364 systemd[1]: Started Session 590 of user root.
Jul 8 16:31:25 vm667364 pure-ftpd[22483]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1153107 bytes, 1.25KB/sec)
Jul 8 16:31:25 vm667364 pure-ftpd[22483]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:31:56 vm667364 pure-ftpd[22487]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (2340888 bytes, 2.54KB/sec)
Jul 8 16:31:56 vm667364 pure-ftpd[22487]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:31:57 vm667364 systemd[1]: Started Session 591 of user root.
Jul 8 16:33:12 vm667364 pure-ftpd[22492]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1729898 bytes, 1.88KB/sec)
Jul 8 16:33:12 vm667364 pure-ftpd[22492]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:35:08 vm667364 pure-ftpd[22500]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1628142 bytes, 1.77KB/sec)
Jul 8 16:35:08 vm667364 pure-ftpd[22500]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:36:13 vm667364 pure-ftpd[22512]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1933589 bytes, 2.10KB/sec)
Jul 8 16:36:13 vm667364 pure-ftpd[22512]: (USERNAME@IP) [INFO] Logout.
Jul 8 16:39:40 vm667364 systemd[1]: Started Session 592 of user root.
Jul 8 16:44:44 vm667364 systemd[1]: Started Session 593 of user root.
Jul 8 16:44:48 vm667364 pure-ftpd[23325]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (2560712 bytes, 2.78KB/sec)
Jul 8 16:56:45 vm667364 systemd[1]: Started Session 594 of user root.
Jul 8 16:59:48 vm667364 pure-ftpd[23325]: (USERNAME@IP) [INFO] Timeout - try typing a little faster next time
Jul 8 17:01:55 vm667364 kernel: [1792918.107842] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
Jul 8 17:03:11 vm667364 pure-ftpd[23690]: (?@IP) [INFO] New connection from IP
Jul 8 17:03:12 vm667364 pure-ftpd[23690]: (?@IP) [INFO] USERNAME is now logged in
Jul 8 17:03:20 vm667364 pure-ftpd[23692]: (?@IP) [INFO] New connection from IP
Jul 8 17:03:20 vm667364 pure-ftpd[23692]: (?@IP) [INFO] USERNAME is now logged in
Прошу помощи, не понимаю как можно это починить. Спасибо заранее.
UPD. Спустя несколько попыток, скачалось 297кб, значит по идее проблема не в ограничениях размера.
логи
Jul 8 18:00:12 vm667364 pure-ftpd[602]: (USERNAME@IP) [INFO] Timeout - try typing a little faster next time
Jul 8 18:00:19 vm667364 pure-ftpd[604]: (USERNAME@IP) [NOTICE] /home/pubftp/MYFOLDER//MYFILE.txt downloaded (1696011 bytes, 1.84KB/sec)
Jul 8 18:02:03 vm667364 pure-ftpd[614]: (?@IP) [INFO] New connection from IP
Ах да, такие фокусы только в одну сторону. На сервер файлы загружаются нормально.