View previous topic :: View next topic |
Author |
Message |
joe1031 n00b
Joined: 12 Jun 2005 Posts: 17
|
Posted: Sun Jul 10, 2005 9:09 pm Post subject: [Proftpd] Internal (LAN) access capped at 2MB/S? |
|
|
Hey all
I have a 100Mbit/s home lan. One box is set up with proftpd. Downloading and uploading from/to proftpdbox (from other computers IN LAN ie internal) is capped at ~2000kb/s. The speed should be 4-5x that!
Code: | ServerName "joe's ftp running on gentoo"
Bind "192.168.1.102"
ServerType standalone
DefaultServer on
Port 7001
PassivePorts 60000 61000
MasqueradeAddress 70.25.246.53
Umask 022
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 30
TimeoutNoTransfer 60
TimeoutIdle 60
User proftpd
Group proftpd
DefaultRoot ~
RequireValidShell off
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
TransferRate RETR 0
TransferRate STOR 0
TransferRate STOU 0
TransferRate APPE 0
AllowOverwrite on
<Limit SITE_CHMOD>
DenyAll
</Limit>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#<Anonymous ~ftp>
# User ftp
# Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
# MaxClients 10
# 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>
#</Anonymous>
<Anonymous ~big>
User big
Group ftp
AnonRequirePassword on
MaxClients 10 "The server is full, hosting %m users"
UserAlias private big
UserAlias upload big
AllowOverwrite on
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit WRITE>
Deny from all
</Limit>
<Directory incoming>
<Limit READ WRITE DIRS STOR CWD CDUP>
AllowAll
</Limit>
</Directory>
</Anonymous> |
Any help would be appreciated. |
|
Back to top |
|
|
Quincy Apprentice
Joined: 02 Jun 2005 Posts: 201 Location: Germany
|
Posted: Sun Jul 10, 2005 10:38 pm Post subject: |
|
|
Are you running a firewall on the client?
Is the server hardware fast enough (CPU/HDD)?
Is there perhaps a bottleneck in the network? |
|
Back to top |
|
|
joe1031 n00b
Joined: 12 Jun 2005 Posts: 17
|
Posted: Sun Jul 10, 2005 11:17 pm Post subject: |
|
|
Thanks for responding...
No firewalls, all hardware CAN handle 'full speed' transfers
All other network activity (samba sharing, ftp'ing into an xbox) has been clocked at appropriate 100Mbit/s speeds... the only affected program by this 'cap' is proftpd... |
|
Back to top |
|
|
Quincy Apprentice
Joined: 02 Jun 2005 Posts: 201 Location: Germany
|
Posted: Tue Jul 12, 2005 12:06 am Post subject: |
|
|
I'm not recognizing such a limit in my setup, but i'm not using one of the following settings:
Code: | PassivePorts 60000 61000
MasqueradeAddress 70.25.246.53
Umask 022
RequireValidShell off
DefaultTransferMode binary
AllowForeignAddress on
TransferRate RETR 0
TransferRate STOR 0
TransferRate STOU 0
TransferRate APPE 0 |
Maybe there is one of them responsible for the bottleneck.... |
|
Back to top |
|
|
|