Hallo zusammen,
erstma vorab, die suche im Forum war leider erfolglos.Ich benötige den FXP Transfer, von ausserhalb wird eine Datei erstellt mit 0 Byte und dann is schluss, disconnect.Wenn ich das ganze von Rechner A mache, dann startet mein Router neu(bei 2 verschiedene Router das gleiche).Bei einem normalen login funktioniert alles bestens, von aussen und auch von innen.Das ganze wird über eine dyndns gemacht.
Benutze 2 Rechner, auf Rechner B läuft proftp.
Port 21 am router freigegeben
PassivePorts: 49152 65534
proftpd.conf:
ServerName "FTP"
ServerType standalone
DefaultServer on
AllowForeignAddress on
PassivePorts 49152 65534
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
MaxInstances 4
User nobody
Group nogroup
UseReverseDNS off
IdentLookups off
DefaultRoot /files/dl/usr/
# Normally, we want files to be overwriteable.
<Directory /files/dl/usr/>
<LIMIT ALL>
DenyAll
</LIMIT>
<LIMIT STOR STOU MKD CDUP CWD XCWD XCUP PWD LIST NLST PASV PORT>
AllowAll
</LIMIT>
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
</Directory>
#######################################
#######################################
ScoreboardFile /var/run/proftpd.scoreboard
debug.logOct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Config for FTP:
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - /files/dl/usr
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Limit
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - AllowAll
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Limit
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - DenyAll
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - AllowOverwrite
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - AllowRetrieveRestart
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - AllowStoreRestart
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - AllowForeignAddress
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Umask
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - DefaultServer
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - AllowForeignAddress
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - PassivePorts
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Umask
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - UserID
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - UserName
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - GroupID
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - GroupName
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - IdentLookups
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - DefaultRoot
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - CURRENT-CLIENTS
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - USER
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Preparing to chroot() the environment, path = '/files/dl/usr'
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Environment successfully chroot()ed.
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - unable to chdir to /home/knecht (No such file or directory), defaulting to chroot directory /files/dl/usr
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - in dir_check_full(): path = '/', fullpath = '/files/dl/usr/'.
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching POST_CMD command 'PASS (hidden)' to mod_log
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ls
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching POST_CMD command 'PASS (hidden)' to mod_auth
Oct 30 13:14:49 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_log
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'SYST' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'SYST' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'SYST' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'SYST' to mod_log
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'REST 100' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'REST 100' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'REST 100' to mod_xfer
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'REST 100' to mod_log
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'REST 0' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'REST 0' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'REST 0' to mod_xfer
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'REST 0' to mod_log
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PWD' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PWD' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'PWD' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'PWD' to mod_log
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'TYPE A' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'TYPE A' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'TYPE A' to mod_xfer
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'TYPE A' to mod_log
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PASV' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PASV' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'PASV' to mod_core
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Entering Passive Mode (192,168,2,103,227,190).
Oct 30 13:14:50 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'PASV' to mod_log
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'LIST' to mod_core
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'LIST' to mod_core
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'LIST' to mod_ls
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - passive data connection opened - local : 192.168.2.103:58302
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - passive data connection opened - remote : 172.177.189.130:28779
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'LIST' to mod_log
Oct 30 13:14:51 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'LIST' to mod_ls
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'SIZE 110' to mod_core
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'SIZE 110' to mod_core
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'SIZE 110' to mod_core
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD_ERR command 'SIZE 110' to mod_log
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'TYPE I' to mod_core
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'TYPE I' to mod_core
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'TYPE I' to mod_xfer
Oct 30 13:15:00 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'TYPE I' to mod_log
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PORT 172,177,189,130,112,116' to mod_core
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PORT 172,177,189,130,112,116' to mod_core
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'PORT 172,177,189,130,112,116' to mod_core
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'PORT 172,177,189,130,112,116' to mod_log
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'STOR 110' to mod_core
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'STOR 110' to mod_core
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'STOR 110' to mod_xfer
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - in dir_check(): setting umask to 0022 (was 0022)
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'STOR 110' to mod_xfer
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Transfer aborted after 0 bytes in 0.00 seconds
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'STOR 110' to mod_log
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'STOR 110' to mod_xfer
Oct 30 13:15:01 knecht proftpd[19413]: knecht.home.com (172.177.189.130[172.177.189.130]) - Transfer completed: 0 bytes in 0.00 seconds
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - FTP session requested from unknown class
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - connected - local : 192.168.2.103:21
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - connected - remote : 172.177.189.130:28893
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'USER knecht' to mod_core
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'USER knecht' to mod_core
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'USER knecht' to mod_auth
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'USER knecht' to mod_auth
Oct 30 13:18:27 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching LOG_CMD command 'USER knecht' to mod_log
Oct 30 13:18:28 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Oct 30 13:18:28 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Oct 30 13:18:28 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
Oct 30 13:18:28 knecht proftpd[19422]: knecht.home.com (172.177.189.130[172.177.189.130]) - dispatching CMD command 'PASS (hidden)' to mod_auth
tetst[quote][/quote]