I've set up proftpd v.1.2.7 on my mandrake 9.1 box. It works fine with most ftp clients, but
when somebody using IE tries to get in he is able only tox authenticate and his connection times out
while ie is trying to get the directory contents(LIST command).
When someone tries to download a file from the server with GetRight he is able to authenticate
and execute the RETR command but he is not actually able to download a single bit- the
connection just stays at 0kbps although there is no error Reported.
These problems were found out on WinXP machines.
Any help appreciated.
Here is my proftpd.conf file:
,----
| # This sample configuration file illustrates configuring two
| # anonymous directories, and a guest (same thing as anonymous but
| # requires a valid password to login)
|
| ServerName "ProFTPD Anonymous Server"
| ServerType inetd
|
| # Port 21 is the standard FTP port.
| Port 31
| PassivePorts 49152 65534
|
| # If you don't want normal users logging in at all, uncomment this
| # next section
| <Limit LOGIN>
| DenyAll
| </Limit>
|
| # Set the user and group that the server normally runs at.
| User nobody
| Group nogroup
|
| # To prevent DoS attacks, set the maximum number of child processes
| # to 30. If you need to allow more than 30 concurrent connections
| # at once, simply increase this value. Note that this ONLY works
| # in standalone mode, in inetd mode you should use an inetd server
| # that allows you to limit maximum number of processes per service
| # (such as xinetd)
| #MaxInstances 30
|
| # Set the maximum number of seconds a data connection is allowed
| # to "stall" before being aborted.
| TimeoutStalled 300
|
| #Logging
| ExtendedLog /var/log/proftpd/ftp.log AUTH,READ,WRITE mylogformat
| LogFormat mylogformat "%h %l %u %t \"%r\" %b; duration=%T"
|
| # Our "basic" anonymous configuration, including a single
| # upload directory ("uploads")
| <Anonymous ~username>
|
| User username
| Group username
| AnonRequirePassword on
| RequireValidShell off
|
| ShowSymlinks on
| LsDefaultOptions "-l"
| AllowRetrieveRestart on
|
| # Allow logins if they are disabled above.
| <Limit LOGIN>
| AllowAll
| </Limit>
|
| # Maximum clients with message
| MaxClients 3 "Sorry, max %m users -- try again later"
| MaxClientsPerHost 1 "Sorry, max %m connections allowed"
|
| # We want 'welcome.msg' displayed at login, and '.message' displayed
| # in each newly chdired directory.
| DisplayLogin welcome.msg
| DisplayFirstChdir .message
|
| # Limit WRITE everywhere in the anonymous chroot
| <Limit WRITE>
| DenyAll
| </Limit>
|
| <Directory *>
| HideFiles (^[.].*|^welcome.*[.]msg|^tmp$)
| <Limit READ DIRS>
| IgnoreHidden on
| </Limit>
| RateReadBPS 3072
| </Directory>
|
| # An upload directory that allows storing files but not retrieving
| # or creating directories.
| <Directory uploads/*>
| GroupOwner username
| Umask 007
| # <Limit READ>
| # DenyAll
| # </Limit>
|
| <Limit STOR MKD>
| AllowAll
| </Limit>
| </Directory>
|
| </Anonymous>
| #no-passwd anon login
| <Anonymous ~username>
|
| User ftp
| Group ftp
| AnonRequirePassword off
| RequireValidShell off
|
| ShowSymlinks on
| LsDefaultOptions "-l"
|
| # Allow logins if they are disabled above.
| <Limit LOGIN>
| AllowAll
| </Limit>
|
| # We want clients to be able to login with "anonymous" as well as "ftp"
| UserAlias anonymous ftp
|
|
| DisplayLogin welcome-anon.msg
|
| # Limit WRITE and RETR everywhere in the anonymous chroot
| <Limit WRITE RETR>
| DenyAll
| </Limit>
|
| <Directory *>
| HideFiles (^[.].*|^welcome.*[.]msg|^tmp$)
| <Limit READ DIRS>
| IgnoreHidden on
| </Limit>
| </Directory>
|
| </Anonymous>
`----
--
export AUTHOR=Alex\ Nikolov
echo $AUTHOR
|