www.ProFTPD.de
13. März 2007, 19:53:39 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
  Übersicht Hilfe Suche Login Registrieren  
  Zeige Beiträge
Seiten: [1]
1  ProFTPD / ProFTPD - Deutsch / Verbindungsproblem von aussen durch Router 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 Traurig, 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

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?
2  ProFTPD / ProFTPD - Deutsch / Verbindungsproblem von aussen durch Router am: 24. März 2005, 16:04:15
da guck na,

und schon gehts L&auml;chelnd
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.
3  ProFTPD / ProFTPD - Deutsch / Verbindungsproblem von aussen durch Router 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) 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.
4  ProFTPD / ProFTPD - Deutsch / Kleine Konfigurationsprobleme am: 22. September 2004, 21:54:46
habe noch en bischen rum probiert. jetzt funktioniert "mount --rbind" optimal L&auml;chelnd, nur mein Anonymous geht noch nicht. Als anonymous soll man im verzeichniss "/stuff/ftproot/" landen und nur auf den "public" ordner zugriff haben. die restlichen ordner soll man sehen aber nicht zugreifen.
theoretisch sollt das so funktionieren. nur kommt beim login als anomymous folgendes.

client:
Code:

USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS (hidden)
530-Unable to set anonymous privileges.
530 Login incorrect.
Connection failed


proftpd -nd9:
Code:

sanni (10.84.0.2[10.84.0.2]) - ident lookup disabled
sanni (10.84.0.2[10.84.0.2]) - ROOT PRIVS at main.c:977
sanni (10.84.0.2[10.84.0.2]) - SETUP PRIVS at main.c:982
sanni (10.84.0.2[10.84.0.2]) - performing module session initializations
sanni (10.84.0.2[10.84.0.2]) - ROOT PRIVS at mod_auth.c:130
sanni (10.84.0.2[10.84.0.2]) - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
sanni (10.84.0.2[10.84.0.2]) - RELINQUISH PRIVS at mod_auth.c:150
sanni (10.84.0.2[10.84.0.2]) - connected - local  : 10.84.0.1:21
sanni (10.84.0.2[10.84.0.2]) - connected - remote : 10.84.0.2:1276
sanni (10.84.0.2[10.84.0.2]) - FTP session opened.
sanni - FS: using system lstat()
sanni - FS: using system lstat()
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'USER anonymous' to mod_tls
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'USER anonymous' to mod_auth
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endpwent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endpwent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endgrent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endgrent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching CMD command 'USER anonymous' to mod_auth
sanni (10.84.0.2[10.84.0.2]) - dispatching LOG_CMD command 'USER anonymous' to mod_log
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
sanni (10.84.0.2[10.84.0.2]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endpwent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endpwent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endgrent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endgrent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching CMD command 'PASS (hidden)' to mod_auth
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "getpwnam" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "getpwnam" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "gid_name" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "gid_name" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "getgroups" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "getgroups" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "setgrent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "setgrent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - ROOT PRIVS at mod_auth.c:550
sanni (10.84.0.2[10.84.0.2]) - RELINQUISH PRIVS at mod_auth.c:552
sanni (10.84.0.2[10.84.0.2]) - ROOT PRIVS at mod_auth.c:1002
sanni (10.84.0.2[10.84.0.2]) - SETUP PRIVS at mod_auth.c:1017
sanni (10.84.0.2[10.84.0.2]) - ROOT PRIVS at mod_auth.c:1034
sanni (10.84.0.2[10.84.0.2]) - SETUP PRIVS at mod_auth.c:1049
sanni (10.84.0.2[10.84.0.2]) - ftp: Directory /stuff/ftproot/ is not accessible.
sanni (10.84.0.2[10.84.0.2]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
sanni (10.84.0.2[10.84.0.2]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endpwent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endpwent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endgrent" to module mod_auth_file
sanni (10.84.0.2[10.84.0.2]) - dispatching auth request "endgrent" to module mod_auth_unix
sanni (10.84.0.2[10.84.0.2]) - FTP session closed.


"sanni (10.84.0.2[10.84.0.2]) - ftp: Directory /stuff/ftproot/ is not accessible."
keine ahnung warum das kommt, obwohl die rechte von "/stuff/ftproot" auf 777 stehen. das ist das letzte problem was ich noch habe.

_____________________________________________________________
so mounte ich jetzt:
Code:

mount --bind /stuff/medien/ /stuff/ftproot/medien/
mount --rbind /stuff/movies/ /stuff/ftproot/movies/  #submounts
mount --bind /stuff/daten/programme/ /stuff/ftproot/programme/
mount --bind /stuff/spiele/ /stuff/ftproot/spiele/
mount --bind /stuff/public/ /stuff/ftproot/public/
mount --rbind /stuff/todo/ /stuff/ftproot/todo/  #submounts
mount --bind /stuff/daten/upload/ /stuff/ftproot/upload/


hier nochmal meine neue config:
Code:

ServerName                      "sanni"
ServerType                      standalone
ServerIdent on "Sanni's Ftp Server"
DefaultServer                   on
Port                            21
PassivePorts 49152 65534
Umask                           022
MaxInstances                    30
User                            nobody
Group                           nobody
AllowOverwrite                  off
AllowRetrieveRestart            on
AllowStoreRestart               on
IdentLookups off
UseReverseDNS off

####################
## Global Section ##
####################
<Global>
DefaultRoot /stuff/ftproot
MaxClients                      20 "too many users"
MaxClientsPerHost               2 "too many connections from your host"
DeleteAbortedStores             off
HiddenStor                      off
RootLogin                       off
IdentLookups                    off
AllowForeignAddress             on
RequireValidShell               on

<Limit LOGIN>
DenyGroup !ftpuser
</Limit>
</Global>


#######################
## Anonymous Section ##
#######################

<Anonymous /stuff/ftproot>
User                            ftp
Group                           ftp
UserAlias                       anonymous ftp
MaxClients                      4
MaxClientsPerHost               1
AnonRequirePassword             off
DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
DefaultChdir                    /stuff/ftproot
<Limit write>
DenyAll
</Limit>
<Limit LOGIN>
AllowAll
</Limit>
</Anonymous>

#######################
## Directory Section ##
#######################

<Directory /stuff/ftproot/programme>
<Limit read appe retr list rest cwd>
DenyGroup !ftpuser
</Limit>
<Limit stor dele mkd write site feat help rmd rnfr rnto>
DenyAll
</Limit>
</Directory>

<Directory /stuff/ftproot/medien>
<Limit read appe retr list rest cwd>
DenyGroup !ftpuser
</Limit>
<Limit stor dele mkd write site feat help rmd rnfr rnto>
DenyAll
</Limit>
</Directory>

<Directory /stuff/ftproot/movies>
<Limit read appe retr list rest cwd>
DenyGroup !ftpuser
</Limit>
<Limit stor dele mkd write site feat help rmd rnfr rnto>
DenyAll
</Limit>
</Directory>

<Directory /stuff/ftproot/spiele>
<Limit read appe retr list rest cwd>
DenyGroup !ftpuser
</Limit>
<Limit stor dele mkd write site feat help rmd rnfr rnto>
DenyAll
</Limit>
</Directory>

<Directory /stuff/ftproot/todo>
<Limit read appe retr list rest cwd>
DenyGroup !ftpuser
</Limit>
<Limit stor dele mkd write site feat help rmd rnfr rnto>
DenyAll
</Limit>
</Directory>

<Directory /stuff/ftproot/upload>
<Limit read appe retr list rest cwd stor mkd site feat help rnfr rnto>
DenyGroup !ftpuser
</Limit>
<Limit dele rmd>
DenyAll
</Limit>
</Directory>

<Directory /stuff/ftproot/public>
<Limit read appe retr list rest cwd>
AllowAll
</Limit>
<Limit stor dele mkd write site feat help rmd rnfr rnto>
DenyAll
</Limit>
</Directory>
Seiten: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.85 Sekunden mit 16 Zugriffen.