Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Proftpd] Internal (LAN) access capped at 2MB/S?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
joe1031
n00b
n00b


Joined: 12 Jun 2005
Posts: 17

PostPosted: Sun Jul 10, 2005 9:09 pm    Post subject: [Proftpd] Internal (LAN) access capped at 2MB/S? Reply with quote

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
View user's profile Send private message
Quincy
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 201
Location: Germany

PostPosted: Sun Jul 10, 2005 10:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
joe1031
n00b
n00b


Joined: 12 Jun 2005
Posts: 17

PostPosted: Sun Jul 10, 2005 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Quincy
Apprentice
Apprentice


Joined: 02 Jun 2005
Posts: 201
Location: Germany

PostPosted: Tue Jul 12, 2005 12:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum