P
P
Pavel K2015-12-31 07:01:22
FTP
Pavel K, 2015-12-31 07:01:22

Why does proftpd filezilla get a list of files every other time?

In general, I installed proftp 1.3.6

include /etc/proftpd/modules.conf
UseIPv6				off
IdentLookups			off
ServerName			"PavelK"
ServerType  standalone
DeferWelcome			off
MultilineRFC2228 on
DefaultServer			on
ShowSymlinks			on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin                    welcome.msg
DisplayChdir               	.message true
ListOptions                	"-l"
DeleteAbortedStores on
requireValidShell	off
DenyFilter			\*.*/
DefaultRoot			~
RequireValidShell		off
Port				21
MaxInstances 30
User				proftpd
Group				nogroup
Umask				022  022
AllowOverwrite			on
UseSendFile			on

TransferLog /var/log/proftpd/xferlog
SystemLog   /var/log/proftpd/proftpd.log

<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>

<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine        off
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

Include /etc/proftpd/conf.d/


#<IfModule mod_facts.c> 
#FactsAdvertise Off 
#</IfModule>

<Global>
</Global>

I try through FileZilla says that it can’t get a list of files, before that it writes a 500 error
, the PWD command gives 257 "/" already the current directory,
but the reconnect gets a list of files O_O every 20-30 times and then everything goes well ...
In the logs, of course, nothing no i.e. nothing at all (except for unsuccessful password entries)
Googled about
#<IfModule mod_facts.c> 
#FactsAdvertise Off 
#</IfModule>

So this does not help (the module is definitely there and loaded)
Where to dig at least ??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chernykh, 2015-12-31
@PavelK

I would start by removing
the extra just in case I give my conf. I have virtual user authorization through mysql + encrypted connection to the server

ServerName              "my.ftp.host"
ServerType              standalone
ServerIdent             on "Ftp Server ready"
DefaultServer           on
AllowForeignAddress     off
ScoreboardFile          /var/run/proftpd/proftpd.scoreboard
Port                    2101
Umask                   022
MaxInstances            30
CommandBufferSize       512
User                    nobody
Group                   nogroup
DefaultRoot             ~
AllowOverwrite          on

#LoadModule             mod_geoip.c
LoadModule              mod_sql.c
LoadModule              mod_sql_mysql.c
LoadModule              mod_tls.c

<Limit SITE_CHMOD>
  DenyAll
</Limit>

#SQLEngine              on
#SQLBackend             mysql
SQLAuthTypes            Backend
SQLAuthenticate         users
SQLConnectInfo          [email protected]:3306 usrFtpd pwdOFusrFtpd
SQLUserInfo             `users_table` `username` `password` `uid` `gid` \
                        `homedir` `shell`
RequireValidShell       off
SQLLogFile              /var/log/ftpd/ftpd.log

#UseReverseDNS          off
#IdentLookups           off

<Directory ~>
 AllowOverwrite          on
  <Limit Write>
   AllowAll
  </Limit>
  <Limit READ>
   AllowAll
  </Limit>
</Directory>

TLSEngine               on
TLSServerCipherPreference on
TLSLog                  /var/log/ftpd/tls.log
#TLSProtocol            TLSv1 TLSv1.1 TLSv1.2
TLSProtocol             TLSv1.2
#TLSOptions             NoCertRequest
TLSOptions              NoSessionReuseRequired
TLSRenegotiate none
TLSRSACertificateFile   /etc/ssl/certs/proftpd/ftp.pem
TLSRSACertificateKeyFile /etc/ssl/certs/proftpd/ftp.key
TLSVerifyClient         off
TLSRequired             on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question