Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-08, 03:08 PM
boynas boynas is offline
Member
 
Join Date: Oct 2008
Posts: 34
TFTP server logs (need ideas)
Well, here's a question:

I have used the tftp (atftpd) server that comes with trixbox, and it comes configured so it drops its logs into /var/log/atftpd.log (or something like that).

Now, that I have converted to PIAF, I can't seem to find that log file. Obviously, I've found that we are using a different daemon (tftp not advanced, I guess!) and it has different server_args in the /etc/xinetd.d/tftp conf...

I really like to be able to trace the behaiviour of the tftp traffic, and I think that installing tshark (wireshark) to trace port 69 is overkilling.

Any ideas? Ohhh, BTW, the xinet.d log doesn't give any info other than: "tftp is being used" but nothing about commands or files being transmitted.

Thanks!
Reply With Quote
  #2  
Old 10-11-08, 04:30 PM
bluetrepidation bluetrepidation is offline
Member
 
Join Date: Mar 2008
Posts: 95
I ran into the same issue when trying to fix a booting issue on Cisco phones. I'd also like to know where the log saves or if you need to turn on more detailed logging.
Reply With Quote
  #3  
Old 10-12-08, 03:50 AM
tel0p tel0p is offline
Guru
 
Join Date: Nov 2007
Location: Seattle, WA
Posts: 195
same issue here. the 'new version' of tftpd in place doesn't seem to log (or have logging enabled.)
Reply With Quote
  #4  
Old 10-12-08, 09:05 AM
euser4life euser4life is online now
Guru
 
Join Date: Dec 2007
Location: Shreveport, LA
Posts: 174
When you are troubleshooting you can use "tcpdump" to get the output from your tftp server for what information is requested and handed out. Do the following from the console or SSH session:

Code:
tcpdump port 69 -v
Then when you have the information you need just hit "ctrl c" to cancel out.
Reply With Quote
  #5  
Old 10-13-08, 08:52 AM
TomS TomS is offline
Senior Member
 
Join Date: Oct 2007
Posts: 175
From an earlier post on troubleshooting
This is from my notes about troubleshooting:
To log to: /var/log/messages
cd /etc/xinetd.d
edit file 'tftp' (see next line)
add '-vv' to the end of the line with 'server_args = -s /tftpboot -vv' (no single quotes).
save the file and restart tftp: /etc/init.d/xinetd restart
Then:
cd /var/log
tail -0f messages - to see phone activity real time
If you place a number other than zero in the command, you will see that many lines of the file before the real time viewing occurs.
control-c to stop the tail command
Remove the -vv and restart to STOP the logging overhead
Hope this helps!
TomS
Reply With Quote
  #6  
Old 10-13-08, 06:55 PM
boynas boynas is offline
Member
 
Join Date: Oct 2008
Posts: 34
Thanks!
Thank you... I couldn't find that -vv arg for that TFTP server.

Which by the way tel0p, is a different tftp server than ATFTPD... Right?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:59 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates