[BusyBox 0001245]: tftp client doesn't work

bugs at busybox.net bugs at busybox.net
Fri Mar 2 12:46:51 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1245 
====================================================================== 
Reported By:                dibacco73
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1245
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-02-2007 00:36 PST
Last Modified:              03-02-2007 04:46 PST
====================================================================== 
Summary:                    tftp client doesn't work
Description: 
I have an embedded system with busybox-1.4.0, connected in a LAN where
there is an tftp server (tftp32). I can ping the tftp server but when I
try to do an tftp session using the tftp client embedded in busybox I
receive a timeout.
====================================================================== 

---------------------------------------------------------------------- 
 razzor - 03-02-07 04:46  
---------------------------------------------------------------------- 
At least tftp-hpa (http://www.kernel.org/pub/software/network/tftp/)
replies from a different port than udp/69.
So these checks in networking/tftp.c (1.4.1) are invalid:

if (from->sa_family == AF_INET6)
	if (((struct sockaddr_in6*)from)->sin6_port != port)
		goto recv_again;

if (from->sa_family == AF_INET)
	if (((struct sockaddr_in*)from)->sin_port != port)
		goto recv_again; 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-02-07 00:36  dibacco73      New Issue                                    
03-02-07 00:36  dibacco73      Status                   new => assigned     
03-02-07 00:36  dibacco73      Assigned To               => BusyBox         
03-02-07 04:46  razzor         Note Added: 0002194                          
======================================================================




More information about the busybox-cvs mailing list