Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* ftp logging - how ?
@ 2000-05-03  4:00 fred
  2000-05-03  4:00 ` Thommy M. Malmström
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: fred @ 2000-05-03  4:00 UTC (permalink / raw)


I need to be able to log all ftp accesses (including what files pulled)  to
both a Solaris 7 box and a tru64 4f box.

Can anyone help or point me in the right direction please

E-Mail asharris@ordsvy.gov.uk please





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ftp logging - how ?
  2000-05-03  4:00 ftp logging - how ? fred
  2000-05-03  4:00 ` Thommy M. Malmström
  2000-05-03  4:00 ` Logan Shaw
@ 2000-05-03  4:00 ` Gopala
  2000-05-03  4:00 ` Javier de Burgos
  3 siblings, 0 replies; 6+ messages in thread
From: Gopala @ 2000-05-03  4:00 UTC (permalink / raw)


on Tru64 box add this line:
to: /etc/syslog.conf
daemon.debug            /var/adm/syslog.dated/daemon.log
do some ftp and check that file.. it will work. Beware of the format of
the time. the Blankspace is two/three tabs..

Sun: Same as Tru64 ( read "man syslog.conf" ) destination file may
change to your taste.

Thanks
Gopi

n article <391046bf.0@nnrp1.news.uk.psi.net>,
  "fred" <asdasd> wrote:
> I need to be able to log all ftp accesses (including what files
pulled)  to
> both a Solaris 7 box and a tru64 4f box.
>
> Can anyone help or point me in the right direction please
>
> E-Mail asharris@ordsvy.gov.uk please
>
>

--
Gopala Molakaluri
Michigan


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ftp logging - how ?
  2000-05-03  4:00 ftp logging - how ? fred
  2000-05-03  4:00 ` Thommy M. Malmström
@ 2000-05-03  4:00 ` Logan Shaw
  2000-05-09  4:00   ` Lussan, Dung [MLV:0000:EXCH]
  2000-05-03  4:00 ` Gopala
  2000-05-03  4:00 ` Javier de Burgos
  3 siblings, 1 reply; 6+ messages in thread
From: Logan Shaw @ 2000-05-03  4:00 UTC (permalink / raw)


In article <391046bf.0@nnrp1.news.uk.psi.net>, fred <asdasd> wrote:
>I need to be able to log all ftp accesses (including what files pulled)  to
>both a Solaris 7 box and a tru64 4f box.
>
>Can anyone help or point me in the right direction please

You probably want to replace the vendor-supplied ftpd with
something that has the features you need.  Some choices are
wuftpd and proftpd.  Since I don't know the URL for wuftpd
and since proftpd is sort of wuftpd's successor anyway,
I'll just give its URL, which is http://www.proftpd.net/ .

Hope that helps.

  - Logan



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ftp logging - how ?
  2000-05-03  4:00 ftp logging - how ? fred
                   ` (2 preceding siblings ...)
  2000-05-03  4:00 ` Gopala
@ 2000-05-03  4:00 ` Javier de Burgos
  3 siblings, 0 replies; 6+ messages in thread
From: Javier de Burgos @ 2000-05-03  4:00 UTC (permalink / raw)


fred wrote:
 
> I need to be able to log all ftp accesses (including what files pulled)  to
> both a Solaris 7 box and a tru64 4f box.

Add the '-l' option in /etc/inetd.conf:  

ftp     stream  tcp     nowait  root    /usr/sbin/ftpd          ftpd -l




-- 
Regards,
Javier AKA jdeburgos@NOSPAMcanal21.com AKA jdeburgos@NOSPAMalehop.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ftp logging - how ?
  2000-05-03  4:00 ftp logging - how ? fred
@ 2000-05-03  4:00 ` Thommy M. Malmström
  2000-05-03  4:00 ` Logan Shaw
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Thommy M. Malmström @ 2000-05-03  4:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2408 bytes --]

fred wrote:
> 
> I need to be able to log all ftp accesses (including what files pulled)  to
> both a Solaris 7 box and a tru64 4f box.
> 
> Can anyone help or point me in the right direction please
> 
> E-Mail asharris@ordsvy.gov.uk please

You can try this (from sunsolve.sun.com INFODOC ID: 11991):

BTW, always try SunSolve first, it really has a lot of good information...

/Thommy M.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

   3.3: How to Start Logging with FTP?

  You can log ftpd connections, which tell you which
  hosts have connected to your system using this procedure.

  STEP 1: add the -l option to ftpd in the
  /etc/inetd.conf file as follows:

    ftp    stream  tcp  nowait  root  /usr/sbin/in.ftpd  in.ftpd -l

  (This is the line from the Solaris inetd.conf  SunOS is very
  similar, though the location of in.ftpd is different.)

  STEP 2:
  You will also need to modify syslog.conf by adding the following
  line (make sure you use TABs and not SPACES - especially if you cut
  and paste this line):

    daemon.info                   /var/adm/ftp.log

  STEP 3:
  Create the /var/adm/ftp.log file:
  touch /var/adm/ftp.log

  STEP 4:
  Restart both inetd and the syslogd:

    %%%% kill -HUP inetd-pid
    %%%% kill -HUP syslog-pid

  ftp should begin logging to /var/adm/ftp.log immediately.

  If you have other daemons which also log information messages, you
  will find that they get logged to this file as well. If this is the
  case, you will probably want to turn off informational messages on
  your other daemons  by default standard Solaris daemons will not log
  informational messages.

  You can view more detail on ftp logins to an FTP server.
  SunOS ftpd logs into /var/adm/wtmp.
  Solaris ftpd logs into /var/adm/wtmpx.
  You do NOT need to enable the ftpd logging described above.
  You can view this detailed info using the "last" command.
  Here is some example output from last   grep ftp on Solaris:

  hackley   ftp          mercedes         Tue Apr  2 10:52 - 10:52  (00:00)
  hackley   ftp          mercedes         Thu Mar 28 10:30 - 10:30  (00:00)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
Thommy M. Malmstr�m
Hardeberga Kyrkby 415
SE-247 91 S�dra Sandby, Sweden

http://home.swipnet.se/greco
mailto:Thommy.M.Malmstrom@swipnet.se

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Card for Thommy M. Malmstr�m --]
[-- Type: text/x-vcard; charset=us-ascii; name="Thommy.M.Malmstrom.vcf", Size: 270 bytes --]

begin:vcard 
n:Malmstr�m;Thommy M.
tel;home:046 990 57
x-mozilla-html:FALSE
url:http://home.swipnet.se/greco
adr:;;Hardeberga Kyrkby 415;S�dra Sandby;Scania;SE-247 91;Sweden
version:2.1
email;internet:Thommy.M.Malmstrom@swipnet.se
fn:Thommy M. Malmstr�m
end:vcard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ftp logging - how ?
  2000-05-03  4:00 ` Logan Shaw
@ 2000-05-09  4:00   ` Lussan, Dung [MLV:0000:EXCH]
  0 siblings, 0 replies; 6+ messages in thread
From: Lussan, Dung [MLV:0000:EXCH] @ 2000-05-09  4:00 UTC (permalink / raw)


Logan Shaw wrote:
> 
> In article <391046bf.0@nnrp1.news.uk.psi.net>, fred <asdasd> wrote:
> >I need to be able to log all ftp accesses (including what files pulled)  to
> >both a Solaris 7 box and a tru64 4f box.
> >
> >Can anyone help or point me in the right direction please
> 
> You probably want to replace the vendor-supplied ftpd with
> something that has the features you need.  Some choices are
> wuftpd and proftpd.  Since I don't know the URL for wuftpd
> and since proftpd is sort of wuftpd's successor anyway,
> I'll just give its URL, which is http://www.proftpd.net/ .
> 
try also on this site ftp://ftp.academ.com/pub/wu-ftpd



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-05-09  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-03  4:00 ftp logging - how ? fred
2000-05-03  4:00 ` Thommy M. Malmström
2000-05-03  4:00 ` Logan Shaw
2000-05-09  4:00   ` Lussan, Dung [MLV:0000:EXCH]
2000-05-03  4:00 ` Gopala
2000-05-03  4:00 ` Javier de Burgos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox