FTP-Traffic bei Confixx/Pure-FTP

Backup, Restore und Transfer von Daten
Post Reply
rincy
Posts: 6
Joined: 2004-03-28 22:30
 

FTP-Traffic bei Confixx/Pure-FTP

Post by rincy »

Hallo!

Wir haben unseren Rootserver auf Pure-FTP umgestellt.
Eigentlich klappt alles, allerdings zeigt Confixx den FTP-Traffic nicht mehr an. In der /var/log/xferlog steht der Traffic nach folgendem Format:

Code: Select all

123.23.123.102 - web40 [13/Dec/2004:16:04:45 +0100] "PUT /home/www/web40/html/images/autogen/a_bluebutton_3.gif" 200 2000
123.23.123.102 - web40 [13/Dec/2004:16:04:45 +0100] "PUT /home/www/web40/html/images/autogen/a_bluebutton_17.gif" 200 1800

Vorschläge wieso die Auswertung nicht klappt?

Gruß
antondollmaier
Posts: 485
Joined: 2004-03-30 10:06
 

Re: FTP-Traffic bei Confixx/Pure-FTP

Post by antondollmaier »

ja ...


pure-ftpd, statuslog auf "xfer" umstellen ... dann klappts wieder ...
rincy
Posts: 6
Joined: 2004-03-28 22:30
 

Re: FTP-Traffic bei Confixx/Pure-FTP

Post by rincy »

Hm.

Entschuldige, aber meinst du in der pure-ftpd.conf?
"Statuslog" find ich leider nirgends.

Oder muss ich die confixx_main.conf annpassen?

Danke schonmal...
antondollmaier
Posts: 485
Joined: 2004-03-30 10:06
 

Re: FTP-Traffic bei Confixx/Pure-FTP

Post by antondollmaier »

seid wann hat der PURE-ftpd ne config?

der wird doch über start-parameter einstellt ...

http://www.pureftpd.org/README wrote:
- '-O <format>:<log file>': Record all file transfers into a specific log
file, in an alternative format. Currently, four formats are supported: CLF
(Apache-like), Stats, W3C and xferlog.

If you add '-O clf:/var/log/pureftpd.log' to your starting options,
Pure-FTPd will log transfers in /var/log/pureftpd.log in a format similar to
the Apache web server in default configuration.

If you use '-O stats:/var/log/pureftpd.log' to your starting options,
Pure-FTPd will create log files in a special format, designed for statistical
reports. The Stats format is compact, more efficient and more accurate that
CLF and the old broken "xferlog" format.

The Stats format is:
<date> <session id> <user> <ip> <U or D> <size> <duration> <file>

<date> is a GMT timestamp (time()) and <session id> identifies the current
session. <file> is unquoted, but it's always the last element of a log line.
"U" means "Upload" and "D" means "Download".

Warning: the session id is only designed for statistics purposes. While it's
always an unique string in the real world, it's theoretically possible to have
it non unique in very rare conditions. So don't rely on it for critical
missions.

A command called "pure-statsdecode" can be used to convert timestamps into
human-readable dates.

The W3C format is enabled with '-O w3c:/var/log/pureftpd.log' .

For security purposes, the path must be absolute (eg. /var/log/pureftpd.log
, not ../log/pureftpd.log) . If this log file is stored on a NFS volume, don't
forget to start the lock manager (often called "lockd" or "rpc.lockd").
Post Reply