[syslinux] logging location of tftpd-hpa

Geert Stappers stappers at stappers.nl
Mon Aug 26 09:53:06 PDT 2013


Op 2013-08-26 om 09:35 schreef John McDonnell:
> On Behalf Of Geert Stappers
> Sent: Sunday, August 25, 2013 6:42 AM
> >
> > On my previous TFTP server I had logging. I did see all requests
> > in logfiles.
> >
> > On my current TFTP server I have also added the options '-v -v -v',
> > but no logging. At least I can't find it them in /var/log/*/*
> >
> > Where does tftpd-hpa writes it's logging?
> >
> 
> What OS are you running?

Debian GNU/Linux


> Did you build from source or use a pre-built package?

Packages are from Debian. Both of them, the logging one on previous server
and the none logging one on my current server.


> On my FreeBSD system, the logs for tftpd-hpa are in /var/log.
> Filename is xferlog.

Over here no  /var/log/xferlog


And with a fresh mindset did I more test. This time I found the requests \o/
They are in /var/log/syslog.  I also found TFTP request of last week.

Thanks for opening my eyes.


Groeten
Geert Stappers

Details

stappers op cazio:/var/log
$ 
stappers op cazio:/var/log
$ grep tftp /var/log/syslog
Aug 26 18:35:34 cazio tftplogtest: een twee test een twee
Aug 26 18:37:53 cazio in.tftpd[31958]: RRQ from 172.24.0.54 filename pxelinux.0
stappers op cazio:/var/log
$ grep in.tftpd /var/log/syslog
Aug 26 18:37:53 cazio in.tftpd[31958]: RRQ from 172.24.0.54 filename pxelinux.0
stappers op cazio:/var/log
$ zgrep in.tftpd /var/log/syslog.7.gz
Aug 19 20:11:23 cazio in.tftpd[3970]: RRQ from 127.0.0.1 filename pxelinux.0
Aug 19 20:12:24 cazio in.tftpd[3988]: RRQ from 127.0.0.1 filename pxelinux.0
Aug 19 20:12:40 cazio in.tftpd[3990]: RRQ from 127.0.0.1 filename pxelinux.0
Aug 19 20:13:26 cazio in.tftpd[4004]: RRQ from 172.24.0.49 filename pxelinux.0
Aug 19 20:29:51 cazio in.tftpd[4215]: RRQ from 172.24.0.21 filename pxelinux.0
Aug 19 20:29:51 cazio in.tftpd[4215]: sending NAK (2, Only absolute filenames allowed) to 172.24.0.21
Aug 19 20:31:26 cazio in.tftpd[4221]: RRQ from 172.24.0.21 filename pxelinux.0
Aug 19 20:31:26 cazio in.tftpd[4221]: sending NAK (2, Only absolute filenames allowed) to 172.24.0.21
Aug 19 20:34:41 cazio in.tftpd[4250]: RRQ from 172.24.0.21 filename pxelinux.0
Aug 19 20:34:57 cazio in.tftpd[4258]: RRQ from 172.24.0.21 filename pxelinux.0
Aug 19 20:47:04 cazio in.tftpd[4289]: RRQ from 172.24.0.54 filename pxelinux.0
Aug 19 20:47:38 cazio in.tftpd[4294]: RRQ from 172.24.0.54 filename pxelinux.cfg/default
stappers op cazio:/var/log
$ 



Leven en laten leven


More information about the Syslinux mailing list