so also :
1) proftpd -vv
debian:/usr/proftpd-1.2.9# ./proftpd -vv
- Version: 1.2.9 (stable)
- Scoreboard Version: 01040002
- Build Stamp: Thu Jul 8 00:57:23 CEST 2004
2) proftpd -l
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_sql.c
mod_sql_mysql.c
mod_cap.c
Debian Woody 3.0 2.4.26er Kernel
4) proftpd -nd9 starten und versuchen anzumelden
debian - FS: using system lstat()
debian - FS: using system lstat()
debian - ROOT PRIVS at main.c:1150
debian - RELINQUISH PRIVS at main.c:1154
debian - FS: using system lstat()
debian (pD9E13D2F.dip.t-dialin.net[217.225.61.47]) - performing ident lookup
debian (pD9E13D2F.dip.t-dialin.net[217.225.61.47]) - ident connection failed: Connection refused
debian (pD9E13D2F.dip.t-dialin.net[217.225.61.47]) - ident lookup returned 'UNKNOWN'
debian (pD9E13D2F.dip.t-dialin.net[217.225.61.47]) - performing module session initializations
debian (pD9E13D2F.dip.t-dialin.net[217.225.61.47]) - ProFTPD terminating (signal 11)
debian (pD9E13D2F.dip.t-dialin.net[217.225.61.47]) - FTP session closed.
debian - FS: using system lstat()
debian - scrubbing scoreboard
debian - ROOT PRIVS at mod_core.c:194
debian - RELINQUISH PRIVS at mod_core.c:201
debian - ROOT PRIVS at mod_core.c:223
debian - RELINQUISH PRIVS at mod_core.c:251
debian - FS: using system lstat()
Zeigt er mir auf dem Server nachdem ich mich versuche einzuloggen.
die Config:
ServerName "powerServer -<( To Be Continued )>-"
ServerType standalone
ServerAdmin
admin@cs-tbc.de ServerIdent on "ftp.cs-tbc.de"
DeferWelcome on
DefaultServer on
Port 21
Umask 022
MaxInstances 30
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
#
# FXP Unterstuetzung
#
AllowForeignAddress on
# Maximal Werte setzen
MaxClientsPerHost 2 "Nicht mehr als %m Verbindungen"
MaxClients 8 "Leider sind schon %m Clients verbunden"
MaxLoginAttempts 3
#
# Restart erlauben
#
AllowStoreRestart on
AllowRetrieveRestart on
#
# Jail all users into their virtual home dir
#
DefaultRoot ~
RequireValidShell off
#
# Logging options
#
TransferLog /var/log/proftpd.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
#------------------------mysql Modul: 4.x
#
# Zugangskontrolle
#
SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLConnectInfo test @localhost MEINUSER MEINPW < geändert keine Angst
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID 100
SQLMinUserUID 500
SQLUserInfo users username password uid gid homedir shell
#
# aktive SQL Kommandos, ab hier passiert etwas :-)
#
SQLLog PASS counter
SQLNamedQuery counter UPDATE "letzter_zugriff=now(), count=count+1 WHERE username='%u'" users
# xfer Log in mysql
SQLLog RETR,STOR transfer1
SQLNamedQuery transfer1 INSERT "'%u', '%f', '%b', '%h', '%a', '%m', '%T',now(), 'c', NULL" xfer_stat
SQLLOG ERR_RETR,ERR_STOR transfer2
SQLNamedQuery transfer2 INSERT "'%u', '%f', '%b', '%h', '%a', '%m', '%T',now(), 'i', NULL" xfer_stat
#
# mod_quota tab
ist eigentlich die gleiche wie man sie bei euch runterladen kann nur halt Benutzernamen und PW geändert für die DB
Die SQL DB sieht so aus:
Users:
userid passwd uid gid homedir shell
test MEINPW 501 101 /home/test NULL
Ich hoffe das reicht so
Gruss Kev