SUMMARY Wu-FTP logging please...

From: Michel Pilon (pilonm@CCG.RNCan.gc.ca)
Date: Mon Apr 15 1996 - 10:04:45 CDT


Hello everybody,

First the original question:

> Hello Sun Gurus,
>
> I am trying to install wu-ftp 2.4 on our server. Everything is fine but I am
> not able to activate the logging facility.
>
> ckconfig gives me:
>
> " Checking _PATH_XFERLOG :: /opt/local/dino/ftpd/log/xferlog
> ok. "
>
> which is where my log file resides.
>
>
>
> There is a line in my inetd.conf saying:
>
> " ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -lio -t600 "
>
> (When I activates ftp it says that wu-ftp 2.4 is running).
>
>
>
> In my ftpaccess file I have:
>
> # Logging facility!
> #
> log commands anonymous real guest
> log transfer anonymous outbound,inbound
> And the log file remains at 0 block :-(
>
> Where is my error? What do I check?
>
>
> Thank you very much in advance! I will summarize.

And now the answer (a great THANK YOU to Mick Morgan that pointed out
the solution):

First of all, do not trust any books (even O'Reilly ones)!

At page 86 of Managing Internet Informations Services of O'Reilly, the author
says:

        To enable transfer logging, use the log transfer command:

        log transfer type [type ...] direction [,direction]

The book should say instead:

        To enable transfer logging, use the log transfers command:

        log transfers type [,type ...] direction [,direction]

So transfers with an 's' and coma separating types.

That's all!

Mick found the missing 's' problem by looking into the source access.c - it does a
strcasecmp on transfers with an 's'.

And I found the missing coma.

Thanks also to the following people which took time to help me on that topic :-)

maillist@ccta.gov.uk Mick Morgan
tkevans@eplrx7.es.dupont.com (Tim Evans)
nleroy@norland.idcnet.com (Nicholas R LeRoy)
glenn@caesar.atm.ch.cam.ac.uk Dr. Glenn Carver
maillist@ccta.gov.uk Mick Morgan

--
			      \\~ ~//
		              ( o o )
---------------------------o00o--0--o00o-------------------------
Michel Pilon                        E-mail: michel.pilon@CCG.RNCan.gc.ca
Administrateur de systemes Unix     Tel:    (819) 564-4819
Centre Canadien de Geomatique       Fax:    (819) 564-5698
2144 King Ouest, suite 010, Sherbrooke, Quebec, Canada, J1J 2E8



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:57 CDT