FTP session opened.
Posted: 2004-02-09 21:55
Was heisst oben genannte Meldung aus der /var/log/messages?
Habe nämlich einen Eintrag da mit einer IP aus Asien :?
Habe nämlich einen Eintrag da mit einer IP aus Asien :?
Resources for System-Administrators
https://www.rootforum.org/forum/
Code: Select all
[Datum] proftpd[14725]: meinserver.de ([IP-aus-Asien]) - FTP session opened.
Die sieht so aus:Steffz wrote:Es könnte auch eine Fehlkonfiguration sein. Afaik loggt der ProFTPd von sich aus überhaupt nur unvollständig mit, wenn du ihm keine expliziten Anweisungen gibst. Wie sieht denn deine proftpd.conf aus?
Code: Select all
# 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
# 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 nobody
Group nobody
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
AllowOverwrite on
#
# 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 ~
# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>
Dieses Verzeichnis existiert aber gar nicht. :oops:TransferLog /var/log/xferlog
Code: Select all
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"Code: Select all
ExtendedLog /var/spool/syslog/proftpd/access.log WRITE,READ writeSo wie ich das verstehe hätte ich nur weitere Angaben machen müssen, wenn ich ein spezielles Logformat haben möchte. Oder?Das Transferlog kann ohne weitere Parameter aktiviert werden:
TransferLog /var/log/proftpd.xferlog
In der angegeben Datei (hier eben: /var/log/proftpd.xferlog) werden folgende Werte geloggt:
...