PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit resum und proftp



gasometer
15.12.02, 17:30
Ich habe folgendes Problem:

Der Anonymous-Zugang kann Downloads resumen.
Aber die angelegten User können nicht resumen.
Ich hab keine Ahnung wiso, hier sind die Log-Dateien von wsftp und die proftpd.conf
Kann mir jemand sagen wiso das so ist?

Log Anonymous:
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS (hidden)
230 Anonymous access granted, restrictions apply.
PWD
257 "/" is current directory.
SYST
215 UNIX Type: L8
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (192,168,0,3,134,254).
connecting to 192.168.0.3:34558
- -
connecting to 192.168.0.3:34558
Connected to 192.168.0.3 port 34558
LIST
150 Opening ASCII mode data connection for file list
Received 122 bytes in 0.1 secs, (1.19 KBps), transfer succeeded
226 Transfer complete.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (192,168,0,3,134,255).
connecting to 192.168.0.3:34559
- -
connecting to 192.168.0.3:34559
Connected to 192.168.0.3 port 34559
REST 113963008
350 Restarting at 113963008. Send STORE or RETRIEVE to initiate transfer.
RETR /pub/DJ BIRD/DJ-Bird_schräg_und_durchgedreht-18.09.02.mp3
150 Opening BINARY mode data connection for /pub/DJ BIRD/DJ-Bird_schräg_und_durchgedreht-18.09.02.mp3 (1416072 bytes).
Received 1416072 bytes in 0.2 secs, (8.44 MBps), transfer succeeded
226 Transfer complete.

Log User:
USER gasometer
331 Password required for gasometer.
PASS (hidden)
230 User gasometer logged in.
PWD
257 "/" is current directory.
Host type (I): UNIX (standard)
PASV
227 Entering Passive Mode (192,168,0,3,135,6).
connecting to 192.168.0.3:34566
- -
connecting to 192.168.0.3:34566
Connected to 192.168.0.3 port 34566
LIST
150 Opening ASCII mode data connection for file list
Received 122 bytes in 0.1 secs, (1.19 KBps), transfer succeeded
226 Transfer complete.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (192,168,0,3,135,7).
connecting to 192.168.0.3:34567
- -
connecting to 192.168.0.3:34567
Connected to 192.168.0.3 port 34567
REST 58948608
501 REST not compatible with server configuration.
+ Cannot restart at requested location, starting over.
RETR /pub/DJ BIRD/DJ-Bird_schräg_und_durchgedreht-18.09.02.mp3
150 Opening BINARY mode data connection for /pub/DJ BIRD/DJ-Bird_schräg_und_durchgedreht-18.09.02.mp3 (115379080 bytes
Received 23403080 bytes in 2.7 secs, (8.32 MBps), transfer failed

proftpd.conf:
# This is a basic ProFTPD configuration file. It establishes a single
# server and a single anonymous login. It assumes that you have a
# user/group "nobody"/"nogroup" for normal operation and anon.

# !!! PLEASE read the documentation of proftpd !!!
#
# You can find the documentation in /usr/doc/packages/proftpd/,
# http://www.proftpd.org/ and don't forget to read carefully
# and _follow_ hints on http://www.proftpd.net/security.html.

ServerName GAZOMEL
#ServerType inetd
ServerType standalone
ServerAdmin gazo@gazomel.ch
#
# uncomment, if you want to hide the servers name:
#
#ServerIdent on "FTP Server ready"
DeferWelcome off
DefaultServer on

# Enable PAM for authentication...
#
#AuthPAM on

# Setting this directive to on will cause authentication to fail
# if PAM authentication fails. The default setting, off, allows
# other modules and directives such as AuthUserFile and friends
# to authenticate users.
#
#AuthPAMAuthoritative off

# This directive allows you to specify the PAM service name used
# in authentication (default is "proftpd" on SuSE Linux).
# You have to setup the service in the /etc/pam.d/<other_name>.
#
#AuthPAMConfig proftpd

# Port 21 is the standard FTP port.
Port 21

# disable listen on 0.0.0.0:21 - the port (and IP) should
# be specified explicitly in each VirtualHost definition
#
#Port 0

# listen for each (additional) address explicitly that is
# specified (via Bind and Port) in a VirtualHost definition
#
#SocketBindTight on


# Umask 022 is a good standard umask to prevent new dirs
# and files from being group and world writable.
Umask 022

# Set the user and group that the server normally runs at.
User ftp
Group nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
HiddenStor on
HideGroup root
#HideNoAccess on
</Directory>

# protect .ftpaccess and similar - see also PathDenyFilter
#<Directory /*.ftp*>
# <Limit ALL>
# DenyAll
# IgnoreHidden on
# </Limit>
#</Directory>

# It is a very good idea to allow only filenames containing normal
# alphanumeric characters for uploads (and not shell code...);
# see also the PathDenyFilter option
#PathAllowFilter ".*/[a-zA-Z0-9]+$"
#PathAllowFilter ".*/[a-zA-Z0-9~ \*\/,_.-]+$"

# Do not allow to pass printf-Formats (see also AllowFilter option):
#DenyFilter "%"

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 10

# Performance: skip DNS resolution when we process the logs...
UseReverseDNS off

# Turn off Ident lookups
IdentLookups off

# Set the maximum number of seconds a data connection is allowed
# to "stall" before being aborted.
#TimeoutStalled 300

# Where do we put the pid files?
ScoreboardPath /var/run/proftpd

#
# Logging options
#
TransferLog /var/log/xferlog

# Some logging formats
#
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"

# Log file/dir access
ExtendedLog /var/log/proftpd.access_log WRITE,READ write

# Record all logins
ExtendedLog /var/log/proftpd.auth_log AUTH auth

# Paranoia logging level....
ExtendedLog /var/log/proftpd.paranoid_log ALL default

#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
DefaultRoot /usr/local/ftp

# Limit login attempts
#MaxLoginAttempts 3

# Users needs a valid shell
#RequireValidShell yes

#
# Use special Auth files instead....
#
#AuthUserFile /var/proftpd/authfiles/passwd
#AuthGroupFile /var/proftpd/authfiles/group

#
# Use LDAP server - see README.LDAP
#
#LDAPServer "localhost"
#LDAPPrefix "dc=your,dc=domain,dc=top"
#LDAPDN "cn=YourDNUser,dc=your,dc=domain,dc=top"
#LDAPDNPass "YourDNUserPassword"


# The ratio directives take four numbers: file ratio, initial file
# credit, byte ratio, and initial byte credit. Setting either ratio
# to 0 disables that check.
#
# The directives are HostRatio (matches FQDN -- wildcards are allowed
# in this one), AnonRatio (matches password entered in an anon login,
# usually an email address), UserRatio (accepts "*" for 'any user'),
# and GroupRatio. Matches are looked for in that order.
#
# Some examples:
#
# Ratios on # enable module
# UserRatio ftp 0 0 0 0
# HostRatio anyhost.domain.top 0 0 0 0 # leech access (default)
# GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred
# AnonRatio auser@domain.top 1 0 1 0 # 1:1 ratio, no credits
# UserRatio * 5 5 5 50000 # special default case
#
# Setting "Ratios on" without configuring anything else will enable
# leech mode: it logs activity and sends status messages to the ftp
# client, but doesn't restrict traffic.


#
# uncomment for anonymous...:
#
<Anonymous ~ftp>
AnonRequirePassword off
RequireValidShell off
# After anonymous login, daemon runs as:
User ftp
Group nogroup

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 3 "Too many connections! Please try again later!"

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin /usr/local/ftp/msgs/welcome.msg
DisplayFirstChdir .message

# Deny write operations to all directories, underneath root-dir
# Default is to allow, so we don't need a <Limit> for read operations.
<Directory *>
HideGroup root
<Limit WRITE>
DenyAll
</Limit>
</Directory>


# Only uploads into incomming directory are allowed...

<Directory /usr/local/ftp/pub/incoming/*>

Umask 017

# ... so deny read/write
<Limit DELE WRITE>
DenyAll
</Limit>


# ... allow file storing, but not other writes
<Limit STOR CWD CDUP MKD>
AllowAll
</Limit>

</Directory>
MaxClientsPerHost 1 "Maximal connections per client reached!"


</Anonymous>

RootLogin off
DefaultChdir / ftp
DisplayConnect /usr/local/ftp/msgs/welcome.msg

AllowRetrieveRestart on

AllowStoreRestart on

<Limit SITE_CHMOD>
Deny all
</Limit>

<Limit LOGIN>
Order deny,allow
Deny from 195.101.229.41
Allow from all
</Limit>

MaxClientsPerHost 2 "Maximal connections per client reached!"
MaxClients 7 "Too many connections! Please try again later!"
DefaultTransferMode binary

#UseHostsDenyFile /etc/ftp.deny

<Global>
AllowRetrieveRestart on
AllowStoreRestart on
DefaultTransferMode binary
</Global>


Ich hoffe jemand kann mir helfen.

yasuo
29.10.04, 20:57
AllowStoreRestart on
AllowRetrieveRestart on

hast du ja wohl drin, probier es mal weier oben in die config zu schreiben!

und noch was:


ich habe folgende Ausgabe erhalten:

[ quote]
error: no error
[ /quote]

meine config sieht so aus:
[ code]
mario_is_a_fat_plumber = true
[ /code]


erzeugt folgenden, ÜBERSICHTLICHEN Text:


ich habe folgende Ausgabe erhalten:


error: no error

meine config sieht so aus:

mario_is_a_fat_plumber = true


natürlich nicht die Leerzeichen in [ TAG] mitschreiben