PureFTPD: Login ja, Datenübertragen nein

asg

push it, don´t hype
Moin,

grosses Problem.
Man kann sich auf unseren FTP einloggen, aber keine Daten ablegen:
Code:
tail -f /var/log/debug.log | grep 213.146.112.85
Aug 11 11:04:17 sffwd0 pure-ftpd: (?@213.146.112.85) [DEBUG] Command [user] [asg]
Aug 11 11:04:19 sffwd0 pure-ftpd: (?@213.146.112.85) [DEBUG] Command [pass] [<*>]
Aug 11 11:04:19 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [syst] []
Aug 11 11:04:19 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [feat] []
Aug 11 11:04:19 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [pwd] []
Aug 11 11:04:22 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [type] [I]
Aug 11 11:04:22 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [epsv] []
Aug 11 11:04:22 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [stor] [z1]
Aug 11 11:04:50 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [type] [A]
Aug 11 11:04:50 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [epsv] []
Aug 11 11:04:50 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [list]
[]
Aug 11 11:04:55 sffwd0 pure-ftpd: (asg@213.146.112.85) [DEBUG] Command [quit] []

Fehler beim übertragen:
Code:
ftp> put z1
local: z1 remote: z1
229 Extended Passive mode OK (|||65281|)
553-Can't open that file: Permission denied
553 Rename/move failure: No such file or directory

Zum Einsatz kommt PureFTPD wobei auch ftp-proxy mit von der Partie ist und via inetd.conf gestartet wird:
Code:
ftp-proxy       stream  tcp     nowait  root    /usr/libexec/ftp-proxy  ftp-proxy -D 1 -u proxy -m 55000 -M 65000 -t 180

Entsprechender Teil in der pf.conf:
Code:
rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 8021
pass log quick proto tcp from any to 127.0.0.1 port 8021 keep state
pass out log quick proto tcp from $sfwd_ip to any port > 1023 keep state
pass in log quick on $ext_if proto tcp from any port 20 to $ext_if port 55000 >< 65000 flags S/SA keep state
pass out log quick on $ext_if proto tcp from $ext_if to any port {20,21} flags S/AUPRFS modulate state
pass out log quick on $ext_if proto tcp from $ext_if port 55000 >< 65000 to any flags S/SAFR keep state

Die letzten Tage gab es immer Probleme die Daten abend von der AS/400 auf den FTP-Server abzulegen, mal ging es, mal nicht.
Mittlerweile werden die Probleme grösser, es geht gerade nichts mehr.

Any hints?
 
Arghs, vergesst es, Rechteproblem.

Es besteht aber das Problem das die AS/400 mal auf den FTP-Server draufkommt, dann wiederum nicht, so das log bei der AS/400.
 
Back
Top