www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: sanni am 24. März 2005, 14:27:26



Titel: Verbindungsproblem von aussen durch Router
Beitrag von: sanni am 24. März 2005, 14:27:26
Hi,

ich habe folgendens Problem bei connecten vom Internet auf den Ftp Server.
Bisher war der Rechner auf dem Proftp(proftpd.conf (www.san-joe.de/stuff/proftpd.conf)) läuft auch der Router, da hat alles prima funktioniert. Jetzt habe ich mir einen Linksys BEFSX41 gekauft und forwardings eingerichtet.
Code:

Port                    Ziel
21                      10.84.0.1
20                      10.84.0.1
49152-65534             10.84.0.1

Die Verbindung kommt zustande im aktive und passive mode(hier jetzt mit passive). Bis zum LIST Befehl, danach bricht Filezilla mit der Meldung
Code:

Status: Verbinden mit 217.93.190.40...
Status: Verbunden mit 217.93.190.40. Warten auf Willkommens-Meldung...
Antwort: 220 Sanni's Ftp Server
Befehl: USER anonymous
Antwort: 331 Anonymous login ok, send your complete email address as your password.
Befehl: PASS *****
Antwort: 230 Anonymous access granted, restrictions apply.
Befehl: FEAT
Antwort: 211-Features:
Antwort: MDTM
Antwort: REST STREAM
Antwort: SIZE
Antwort: 211 End
Befehl: SYST
Antwort: 215 UNIX Type: L8
Status: Verbindung hergestellt
Status: Verzeichnisinhalt wird abgeholt...
Befehl: PWD
Antwort: 257 "/" is current directory.
Befehl: PASV
Antwort: 227 Entering Passive Mode (10,84,0,1,210,37).
Befehl: TYPE A
Antwort: 200 Type set to A
Befehl: LIST
Fehler: Transferkanal konnte nicht geöffnet werden. Grund: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht ordnungsgemäß reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.
Fehler: Dateiliste konnte nicht empfangen werden
Befehl: REST 0
Fehler: Timeout entdeckt!

ab. In der Debug log steht:
Code:

sanni - FS: using system lstat()
sanni - ROOT PRIVS at main.c:1150
sanni - RELINQUISH PRIVS at main.c:1154
sanni - FS: using system lstat()
sanni (193.27.220.80[193.27.220.80]) - ident lookup disabled
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at main.c:977
sanni (193.27.220.80[193.27.220.80]) - SETUP PRIVS at main.c:982
sanni (193.27.220.80[193.27.220.80]) - performing module session initializations
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:130
sanni (193.27.220.80[193.27.220.80]) - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
sanni (193.27.220.80[193.27.220.80]) - RELINQUISH PRIVS at mod_auth.c:150
sanni (193.27.220.80[193.27.220.80]) - connected - local  : 10.84.0.1:21
sanni (193.27.220.80[193.27.220.80]) - connected - remote : 193.27.220.80:27829
sanni (193.27.220.80[193.27.220.80]) - FTP session opened.
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endpwent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endpwent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endgrent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endgrent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'USER anonymous' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'USER anonymous' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endpwent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endpwent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endgrent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "endgrent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'PASS (hidden)' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getpwnam" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getpwnam" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "gid_name" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "gid_name" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getgroups" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getgroups" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "setgrent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "setgrent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:550
sanni (193.27.220.80[193.27.220.80]) - RELINQUISH PRIVS at mod_auth.c:552
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:1002
sanni (193.27.220.80[193.27.220.80]) - SETUP PRIVS at mod_auth.c:1017
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:1034
sanni (193.27.220.80[193.27.220.80]) - SETUP PRIVS at mod_auth.c:1049
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getgrnam" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getgrnam" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) -
sanni (193.27.220.80[193.27.220.80]) - Config for sanni:
sanni (193.27.220.80[193.27.220.80]) - /stuff/.ftproot/public
.
. <configteil>
.
sanni (193.27.220.80[193.27.220.80]) - IdentLookups
sanni (193.27.220.80[193.27.220.80]) - AllowForeignAddress
sanni (193.27.220.80[193.27.220.80]) - RequireValidShell
sanni (193.27.220.80[193.27.220.80]) - CURRENT-CLIENTS
sanni (193.27.220.80[193.27.220.80]) - USER
sanni (193.27.220.80[193.27.220.80]) - ANON anonymous: Login successful.
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:1174
sanni (193.27.220.80[193.27.220.80]) - opening TransferLog '/var/log/xferlog'
sanni (193.27.220.80[193.27.220.80]) - RELINQUISH PRIVS at mod_auth.c:1203
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "setpwent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "setpwent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "setgrent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "setgrent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getpwent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getpwent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getgrent" to module mod_auth_file
sanni (193.27.220.80[193.27.220.80]) - dispatching auth request "getgrent" to module mod_auth_unix
sanni (193.27.220.80[193.27.220.80]) - Preparing to chroot() the environment, path = '/stuff/.ftproot'
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:62
sanni (193.27.220.80[193.27.220.80]) - FS: using system chroot()
sanni (193.27.220.80[193.27.220.80]) - RELINQUISH PRIVS at mod_auth.c:69
sanni (193.27.220.80[193.27.220.80]) - Environment successfully chroot()ed.
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS at mod_auth.c:1246
sanni (193.27.220.80[193.27.220.80]) - SETUP PRIVS at mod_auth.c:1253
sanni (193.27.220.80[193.27.220.80]) - FS: using system chdir()
sanni (193.27.220.80[193.27.220.80]) - in dir_check_full(): path = '/', fullpath = '/stuff/.ftproot/'.
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - FS: using system open()
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_cap
sanni (193.27.220.80[193.27.220.80]) - mod_cap/1.0: capabilities '= cap_chown,cap_net_bind_service+ep'
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_readme
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ls
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - ROOT PRIVS: ID switching disabled
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'FEAT' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'FEAT' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'FEAT' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'FEAT' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'FEAT' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'SYST' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'SYST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'SYST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'SYST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'SYST' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PWD' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PWD' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PWD' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'PWD' to mod_core
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - FS: using system stat()
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'PWD' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASV' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASV' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASV' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'PASV' to mod_core
sanni (193.27.220.80[193.27.220.80]) - Entering Passive Mode (10,84,0,1,244,135).
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'PASV' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'TYPE A' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'TYPE A' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'TYPE A' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'TYPE A' to mod_xfer
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'TYPE A' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'LIST' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'LIST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'LIST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'LIST' to mod_ls
sanni - scrubbing scoreboard
sanni - ROOT PRIVS at mod_core.c:194
sanni - RELINQUISH PRIVS at mod_core.c:201
sanni - ROOT PRIVS at mod_core.c:223
sanni - RELINQUISH PRIVS at mod_core.c:251
sanni - FS: using system lstat()


so und jetzt das komische! Versuche ich vom gleichen PC aus mit FlashFXP   zu verbinden komme ich durch, kann hoch und runterladen ohne Probleme.
Code:

Connecting to 217.93.190.40
Connected to 217.93.190.40 -> IP=217.93.190.40 PORT=21
220 Sanni's Ftp Server
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS (hidden)
230 Anonymous access granted, restrictions apply.
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
PWD
257 "/" is current directory.
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (10,84,0,1,237,32).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
List Complete: 442 bytes in 1,17 (0,37 KBps)

debug proftpd:
Code:

sanni - ProFTPD 1.2.9 (stable) (built Tue Jun 22 10:32:46 EDT 2004) standalone mode STARTUP
sanni (193.27.220.80[193.27.220.80]) - connected - local  : 10.84.0.1:21
sanni (193.27.220.80[193.27.220.80]) - connected - remote : 193.27.220.80:35318
sanni (193.27.220.80[193.27.220.80]) - FTP session opened.
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'USER anonymous' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'USER anonymous' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'USER anonymous' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'PASS (hidden)' to mod_auth
sanni (193.27.220.80[193.27.220.80]) -
sanni (193.27.220.80[193.27.220.80]) - Config for sanni:
sanni (193.27.220.80[193.27.220.80]) - /stuff/.ftproot/public
.
. <configteil>
.
sanni (193.27.220.80[193.27.220.80]) - RequireValidShell
sanni (193.27.220.80[193.27.220.80]) - CURRENT-CLIENTS
sanni (193.27.220.80[193.27.220.80]) - USER
sanni (193.27.220.80[193.27.220.80]) - ANON anonymous: Login successful.
sanni (193.27.220.80[193.27.220.80]) - Preparing to chroot() the environment, path = '/stuff/.ftproot'
sanni (193.27.220.80[193.27.220.80]) - Environment successfully chroot()ed.
sanni (193.27.220.80[193.27.220.80]) - in dir_check_full(): path = '/', fullpath = '/stuff/.ftproot/'.
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_cap
sanni (193.27.220.80[193.27.220.80]) - mod_cap/1.0: capabilities '= cap_chown,cap_net_bind_service+ep'
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_readme
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ls
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'PASS (hidden)' to mod_auth
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'SYST' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'SYST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'SYST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'SYST' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'SYST' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'REST 100' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'REST 100' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'REST 100' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'REST 100' to mod_xfer
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'REST 100' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'REST 0' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'REST 0' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'REST 0' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'REST 0' to mod_xfer
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'REST 0' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'CWD /' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'CWD /' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'CWD /' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'CWD /' to mod_core
sanni (193.27.220.80[193.27.220.80]) - in dir_check_full(): path = '/', fullpath = '/stuff/.ftproot/'.
sanni (193.27.220.80[193.27.220.80]) - dispatching POST_CMD command 'CWD /' to mod_readme
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'CWD /' to mod_log
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PWD' to mod_tls
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PWD' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching PRE_CMD command 'PWD' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching CMD command 'PWD' to mod_core
sanni (193.27.220.80[193.27.220.80]) - dispatching LOG_CMD command 'PWD' to mod_log


Jetzt frag ich mich, ist das jetzt ein problem vom Filezilla oder vom Router. Denn z.B. von www2ftp.de komm ich auch nicht drauf, was aber ohne router ging.

Weiss grad echt nimmer weiter, aber vllt kennt jemand das problem.


Titel: Re: Verbindungsproblem von aussen durch Router
Beitrag von: stonki am 24. März 2005, 15:51:45
Zitat von: "sanni"

Code:

Port                    Ziel
21                      10.84.0.1
20                      10.84.0.1
49152-65534             10.84.0.1


Antwort:   227 Entering Passive Mode (10,84,0,1,210,37).


naja, da liegt ja schon das Problem. Du benoetigst einmal die "MasqueradAdress Anweisung" und am besten noch "PassivePorts". Siehe auch http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.html

cu
stonki


Titel: Verbindungsproblem von aussen durch Router
Beitrag von: sanni am 24. März 2005, 16:04:15
da guck na,

und schon gehts :D
hab jetzt bei
Code:

MasqueradeAddress ftp.mydomain.com

den dyndns namen angegeben.

Super echt klasse  :thx)

Aber wieso ging es dann mit FlashFXP? Macht wohl irgendwas anders.
Kann ja sein FlashFXP die Adresse benutzt auf die verbunden wird und nicht die welche proftpd liefert.


Titel: Verbindungsproblem von aussen durch Router
Beitrag von: sanni am 06. April 2005, 09:06:08
Hallo,

jetzt hab ich noch ein Problem, und zwar:
Da ich Dsl habe werde ich ja nach 24 h zwangsgetrennt :(, mein router wählt sich gleich neu ein, holt sich eine neue ip und gleicht diese mit dyndns.org ab. Aber danach geht die verbindung zu proftpd nicht mehr.
Hier nochmal die Config proftpd.conf (http://www.san-joe.de/stuff/proftpd.conf)

Code:

Connecting to x_sanni
Connected to x_sanni -> IP=217.93.177.216 PORT=21                     <----- neue ip
220 Sanni's Ftp Server
USER connect
331 Password required for connect.
PASS (hidden)
230 User connect logged in.
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
PWD
257 "/" is current directory.
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (84,136,236,234,250,198).                   <----- alte ip
Data Socket Error: Connection timed out
List Error


Wenn ich dann proftpd neustarte bzw einen reload mache funktioniert es wieder. So wie ich das sehe sendet proftpd noch die alte ip an den client.
Wie kann ich das am besten beheben? cronjob der zu ner bestimmten zeit nen reload macht vllt?


Titel: Verbindungsproblem von aussen durch Router
Beitrag von: stonki am 06. April 2005, 09:28:09
a) ProFTPD im INETD Modus laufen lassen. Dann wird naemlich fuer jede neue Verbindung die Config neu eingelesen, ergo die IP neu aufgeloest

b) http://www.castaglia.org/proftpd/modules/mod_dynmasq.html