Mam taką dziwną sprawę z proftpd. Wszystko skonfigurowane, użytkownicy łączą się itp. ale mam problem z prędkością. Po LAN-ie:
- Pobieranie (ang.download) - maksymalnie 9 MB/s - czyli tak jak powinno.
- Wysyłanie (ang. upload) - maksymalnie 100 KB/s.
- Pobieranie (ang.download) - maksymalny możliwy 500 KB/s.
- Wysyłanie (ang. upload) - również maksymalnie możliwy dla klienta - 200 KB/s.
Mój konfig:
Kod: Zaznacz cały
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off
ServerName "Debian"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
# Use this to jail all users in their homes
DefaultRoot ~
# Port 21 is the standard FTP port.
Port 21
# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
#PassivePorts 49152 65534
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>
MaxInstances 30
User proftpd
Group nogroup
Umask 022 022
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>
<Directory />
AllowOverwrite on # Zezwalamy na nadpisywanie plikow w obrebie katalogu do ktorego uzytkownik się zaloguje.
AllowStoreRestart on # Zezwalamy na wznawianie transferu
</Directory>
IdentLookups off
UseReverseDNS off
ListOptions "" maxdepth 3
ListOptions "" maxdirs 10
ListOptions "" maxfiles 1000
#AllowOverride off
AllowForeignAddress on
AllowStoreRestart on
ExtendedLog /var/log/proftp.log