Hallo miteinander,
ich betreibe auf einer Debian Sarge 2.4 Plattforf einen Proftpd Server Ver. 1.210 und möchte, das die registrierten User auf dem System vom LAN aus via http Browser auf den FTP Server zugreifen können. Da ich KEINEN anonymus Modus habe, sollen die User sich mit Benutzernamen und Passwort einloggen, um Zugriff auf den freigegebenen Bereich haben. So jetz zu meiner Frage: Was muss ich konfigurieren , damit die User ein kleines Anmeldefenster mit Benutzername/Passworteingabe bekommen, wenn sie über ihren Browser auf den Server zugreifen wollen.
Zur Info: Via FTP Client kann ich/die User problemlos zugreifen, der Server läuft auch zufriedenstellend. Obwohl ich erst vor kurzem damit angefangen habe und ich mich mit Linux noch recht wenig auskenne.
Ich habe schon die FAQ durchgelesen und geraume Zeit im Forum gestöbert, treffe aber immer nur auf anonymus Login. Da ich ja ein artiger "wie muss ich mich in diesem Forum verhalten" Leser bin, hier noch meine proftp.conf und der proftpd -nd 9 Aufruf:
ServerName "Agamemnon FTP Server"
ServerType standalone
DeferWelcome on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 120
TimeoutIdle 600
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Uncomment this if you would use TLS module:
#TLSEngine on
# Uncomment this if you would use quota module:
#Quotas on
# Uncomment this if you would use ratio module:
#Ratios on
# Port 21 is the standard FTP port.
Port 21
# 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 30
# Set the user and group that the server normally runs at.
User xxxxxxxx (Hier steht schon was richtiges!)
Group xxxxxxxx (hier auch!)
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
# Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Delay engine reduces impact of the so-called Timing Attack described in
#
http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02# It is on by default.
#DelayEngine off
<Global>
AllowForeignAddress on
AllowStoreRestart on
DeleteAbortedStores on
HiddenStor off
WtmpLog on
RootLogin off
AuthAliasOnly off
DefaultRoot /srv/ftp leiberstung
# DefaultRoot /home
IdentLookups on
ServerIdent on "Agamemnon FTP Server"
AccessGrantMsg "willkommen auf meinem FTP Server - this server can resume broken downloads"
DefaultChdir /srv/ftp
DeleteAbortedStores on
RequireValidShell off
AllowRetrieveRestart on
LoginPasswordPrompt on
</Global>
TimesGMT on
UseReverseDNS on
SocketBindTight on
agamemnon:~# proftpd -nd 9
- mod_tls/2.0.7: using OpenSSL 0.9.7g 11 Apr 2005
- parsing '/etc/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'ServerName' to module mod_core
- dispatching directive 'ServerType' to module mod_core
- dispatching directive 'DeferWelcome' to module mod_core
- dispatching directive 'MultilineRFC2228' to module mod_core
- dispatching directive 'DefaultServer' to module mod_core
- dispatching directive 'ShowSymlinks' to module mod_ls
- dispatching directive 'TimeoutNoTransfer' to module mod_xfer
- dispatching directive 'TimeoutStalled' to module mod_xfer
- dispatching directive 'TimeoutIdle' to module mod_core
- dispatching directive 'DisplayLogin' to module mod_core
- dispatching directive 'DisplayFirstChdir' to module mod_core
- dispatching directive 'ListOptions' to module mod_ls
- dispatching directive 'DenyFilter' to module mod_core
- Compiling deny regex '\*.*/'.
- Allocated deny regex at location 0x81178f8.
- dispatching directive 'Port' to module mod_core
- FS: using system read()
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching auth request "getpwnam" to module mod_radius
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching directive 'Group' to module mod_core
- dispatching auth request "getgrnam" to module mod_radius
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive '<Global>' to module mod_core
- dispatching directive 'AllowForeignAddress' to module mod_core
- dispatching directive 'AllowStoreRestart' to module mod_xfer
- dispatching directive 'DeleteAbortedStores' to module mod_xfer
- dispatching directive 'HiddenStor' to module mod_xfer
- dispatching directive 'WtmpLog' to module mod_core
- dispatching directive 'RootLogin' to module mod_auth
- dispatching directive 'AuthAliasOnly' to module mod_auth
- dispatching directive 'DefaultRoot' to module mod_auth
- dispatching directive 'IdentLookups' to module mod_core
- dispatching directive 'ServerIdent' to module mod_core
- dispatching directive 'AccessGrantMsg' to module mod_auth
- dispatching directive 'DefaultChdir' to module mod_auth
- FS: using system read()
- dispatching directive 'DeleteAbortedStores' to module mod_xfer
- dispatching directive 'RequireValidShell' to module mod_auth
- dispatching directive 'AllowRetrieveRestart' to module mod_xfer
- dispatching directive 'LoginPasswordPrompt' to module mod_auth
- dispatching directive '</Global>' to module mod_core
- dispatching directive 'TimesGMT' to module mod_core
- dispatching directive 'UseReverseDNS' to module mod_core
- dispatching directive 'SocketBindTight' to module mod_core
- FS: using system read()
- FS: using system read()
- FS: using system close()
agamemnon - SocketBindTight in effect, ignoring DefaultServer
agamemnon -
agamemnon - Config for Agamemnon FTP Server:
agamemnon - DeferWelcome
agamemnon - DefaultServer
agamemnon - ShowSymlinks
agamemnon - TimeoutNoTransfer
agamemnon - TimeoutStalled
agamemnon - TimeoutIdle
agamemnon - DisplayLogin
agamemnon - DisplayFirstChdir
agamemnon - ListOptions
agamemnon - DenyFilter
agamemnon - UserID
agamemnon - UserName
agamemnon - GroupID
agamemnon - GroupName
agamemnon - AllowOverwrite
agamemnon - TimesGMT
agamemnon - AllowForeignAddress
agamemnon - AllowStoreRestart
agamemnon - DeleteAbortedStores
agamemnon - HiddenStores
agamemnon - WtmpLog
agamemnon - RootLogin
agamemnon - AuthAliasOnly
agamemnon - DefaultRoot
agamemnon - IdentLookups
agamemnon - ServerIdent
agamemnon - AccessGrantMsg
agamemnon - DefaultChdir
agamemnon - DeleteAbortedStores
agamemnon - RequireValidShell
agamemnon - AllowRetrieveRestart
agamemnon - LoginPasswordPrompt
agamemnon - ROOT PRIVS at ../../../modules/mod_delay.c:295
agamemnon - FS: using system open()
agamemnon - RELINQUISH PRIVS at ../../../modules/mod_delay.c:297
agamemnon - FS: using system fstat()
agamemnon - FS: using system close()
agamemnon - dispatching auth request "getgroups" to module mod_radius
agamemnon - dispatching auth request "getgroups" to module mod_auth_file
agamemnon - dispatching auth request "getgroups" to module mod_auth_unix
agamemnon - SETUP PRIVS at ../../../src/main.c:2736
agamemnon - ROOT PRIVS at ../../../src/main.c:1970
agamemnon - RELINQUISH PRIVS at ../../../src/main.c:1977
agamemnon - ROOT PRIVS at ../../../src/main.c:2325
agamemnon - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
agamemnon - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
agamemnon - RELINQUISH PRIVS at ../../../src/main.c:2351
agamemnon - ROOT PRIVS at ../../../src/inet.c:322
agamemnon - RELINQUISH PRIVS at ../../../src/inet.c:362
agamemnon - Failed binding to X.X.X.X, port 21: Address already in use
agamemnon - Check the ServerType directive to ensure you are configured correctl
y.
agamemnon - ROOT PRIVS at ../../../modules/mod_delay.c:683
agamemnon - FS: using system open()
agamemnon - RELINQUISH PRIVS at ../../../modules/mod_delay.c:685
agamemnon - FS: using system write()
agamemnon - FS: using system close()
Kleine Frage am Rande: Gibt es ein Buch (schwererGenstandmitBildernvornedraufundSeitenohneBilderinnendrinnurmitSchrift) über diesen FTP Server, das irgentwo käuflich zu erwerben ist?
Habt Dank im Voraus für Eure Hilfe
Michael