Hallo ,
Nun muß ich ich wohl doch an dieses Forum schreiben. Versuche seit einiger Zeit meinen Proftp Server mit mod_tls zum laufen zu bringen. Das funktioniert auch schon soweit so, daß ich mich im lokalen Netzwerk einloggen kann. Das klappt auch schon alles wunderbar. Nur bekomme ich übers Netz von außen keinen Zugang.
Ich habe meines erachtens, durchs durchfortsten des Forums, die Standart-Fehlerquellen ausgeschlossen.
DefaultServer on
ServerType standalone
RequireValidShell off
In meiner Config steht folgendes:
# (C) www.proftpd.de
# updated 2003-05-12
# by Stonki
ServerName "X-Files-Server"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# Note that this ONLY works in standalone mode
MaxInstances 30
#Homer Bild anzeigen
DisplayLogin Homer.txt
DelayEngine off
RequireValidShell off
#für schnelle Login
UseReverseDNS off
IdentLookups off
# Set the user and group under which the server will run.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
# Normally, we want files to be overwriteable.
AllowOverwrite on
TransferLog /var/log/proftpd/proftpd.xferlog
ExtendedLog /var/log/proftpd/proftpd.auth_log AUTH auth
#Hide all Files with .blabla
<Directory />
PathDenyFilter "(^|/)[-.]"
ListOptions "+a"
HideFiles "((^|/)[-.]|(profile)$|Homer.txt|Events)"
<Limit All>
IgnoreHidden On
</Limit>
</Directory>
# TLS
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/proftpd_tls.log
TLSProtocol TLSv1
TLSRequired off
TLSVerifyClient off
TLSRSACertificateFile /usr/local/etc/ftpcert/host.cert
TLSRSACertificateKeyFile /usr/local/etc/ftpcert/host.key
</IfModule>
und hier auch mein Debugmodus:
root@0[root]# proftpd -d9 -n
- mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004
- 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 'DefaultServer' to module mod_core
- dispatching directive 'Port' to module mod_core
- dispatching directive 'Umask' to module mod_core
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'DisplayLogin' to module mod_core
- dispatching directive 'DelayEngine' to module mod_delay
- dispatching directive 'RequireValidShell' to module mod_auth
- dispatching directive 'UseReverseDNS' to module mod_core
- dispatching directive 'IdentLookups' 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 'DefaultRoot' to module mod_auth
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive 'TransferLog' to module mod_core
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive '<Directory>' to module mod_core
- <Directory />: adding section for resolved path '/'
- dispatching directive 'PathDenyFilter' to module mod_core
- Compiling deny regex '(^|/)[-.]'.
- Allocated deny regex at location 0x8129050.
- dispatching directive 'ListOptions' to module mod_ls
- FS: using system read()
- dispatching directive 'HideFiles' to module mod_core
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'IgnoreHidden' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive '</Directory>' to module mod_core
- dispatching directive '<IfModule>' to module mod_core
- <IfModule>: found 'mod_tls.c' module
- dispatching directive 'TLSEngine' to module mod_tls
- dispatching directive 'TLSLog' to module mod_tls
- dispatching directive 'TLSProtocol' to module mod_tls
- dispatching directive 'TLSRequired' to module mod_tls
- dispatching directive 'TLSVerifyClient' to module mod_tls
- dispatching directive 'TLSRSACertificateFile' to module mod_tls
- FS: using system lstat()
- dispatching directive 'TLSRSACertificateKeyFile' to module mod_tls
- FS: using system lstat()
- dispatching directive '</IfModule>' to module mod_core
- FS: using system read()
- FS: using system close()
box -
box - Config for X-Files-Server:
box - /
box - Limit
box - IgnoreHidden
box - PathDenyFilter
box - ListOptions
box - HideFiles
box - Umask
box - DisplayLogin
box - RequireValidShell
box - AllowOverwrite
box - TransferLog
box - TLSRequired
box - DefaultServer
box - Umask
box - DisplayLogin
box - DelayEngine
box - RequireValidShell
box - IdentLookups
box - UserID
box - UserName
box - GroupID
box - GroupName
box - DefaultRoot
box - AllowOverwrite
box - TransferLog
box - ExtendedLog
box - TLSEngine
box - TLSLog
box - TLSRequired
box - TLSVerifyClient
box - TLSRSACertificateFile
box - TLSRSACertificateKeyFile
box - ROOT PRIVS at ../../../modules/mod_tls.c:584
box - RELINQUISH PRIVS at ../../../modules/mod_tls.c:586
box - ROOT PRIVS at ../../../modules/mod_tls.c:632
box - mod_tls/2.0.7: passphrase locked into memory
box - RELINQUISH PRIVS at ../../../modules/mod_tls.c:638
box - dispatching auth request "getgroups" to module mod_radius
box - dispatching auth request "getgroups" to module mod_auth_file
box - dispatching auth request "getgroups" to module mod_auth_unix
box - SETUP PRIVS at ../../../src/main.c:2736
box - ROOT PRIVS at ../../../src/main.c:1970
box - RELINQUISH PRIVS at ../../../src/main.c:1977
box - ROOT PRIVS at ../../../src/main.c:2325
box - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
box - RELINQUISH PRIVS at ../../../src/main.c:2351
box - ROOT PRIVS at ../../../src/inet.c:322
box - RELINQUISH PRIVS at ../../../src/inet.c:380
box - ProFTPD 1.2.10 (stable) (built do mrt 22 18:28:32 CET 2001) standalone mode STARTUP
box - ROOT PRIVS at ../../../src/main.c:2188
box - RELINQUISH PRIVS at ../../../src/main.c:2190
box - FS: using system lstat()
box - scrubbing scoreboard
box - ROOT PRIVS at ../../../modules/mod_core.c:130
box - RELINQUISH PRIVS at ../../../modules/mod_core.c:132
box - ROOT PRIVS at ../../../modules/mod_core.c:160
box - RELINQUISH PRIVS at ../../../modules/mod_core.c:189
box - FS: using system lstat()
Ich könnte mir vorstellen, das es was mit den Rechten zu tun haben muß "ROOT PRIVS at ../../../modules/mod_tls.c:584"

??
Das sieht mir sehr nach einem Fehler aus. Ich kann mir auch vorstellen, da der Server als User und Group nobody läuft und Rootrechte braucht, da es an dieser Stelle Probleme klemmt?

??
Ich bin nun nicht der große Linux Guru, aber wenn mir da jemand weiterhelfen könnte, dann wäre ich da schon sehr dankbar.
dann wünsche ich noch eine angenehme Nachtruhe

da Björn