Anonymous | Login | Signup for a new account | 11-10-2008 11:11 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001202 | [BusyBox] Documentation | major | always | 02-06-07 21:09 | 02-08-07 12:42 | ||||
Reporter | regunkov | View Status | public | ||||||
Assigned To | BusyBox | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 1.4.x | ||||||
Summary | 0001202: tftp not work | ||||||||
Description |
http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/networking/tftp.c?rev=17749&r1=16980&r2=17749&diff_format=h [^] See Line 294 Line 273 #if ENABLE_FEATURE_IPV6 if (from->sa_family == AF_INET6) if (((struct sockaddr_in6*)from)->sin6_port != port) goto recv_again; #endif if (from->sa_family == AF_INET) if (((struct sockaddr_in*)from)->sin_port != port) goto recv_again; timeout = 0; It is not equivalent if (sa.sin_port == port) { sa.sin_port = from.sin_port; } if (sa.sin_port == from.sin_port) { break; } In exampe. 1474 != 69 |
||||||||
Additional Information |
tftp client 10.0.54.254/8 tftp server 10.0.0.54/8 root@nsg tmp # tftp -g -r nftlroot-ppc.tar.gz 10.0.0.54 tftp: timeout tftp: timeout tftp: timeout tftp: timeout tftp: timeout tftp: last timeout roman ~ # tcpdump host 10.0.54.254 and \! port nfs tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 07:51:23.730535 IP 10.0.54.254.1024 > roman.nsg.tftp: 28 RRQ nftlroot-ppc.tar.gz" octet 07:51:23.737704 IP roman.nsg.1474 > 10.0.54.254.1024: UDP, length 516 07:51:28.732612 IP 10.0.54.254.1024 > roman.nsg.tftp: 28 RRQ "nftlroot-ppc.tar.gz" octet 07:51:28.735137 IP roman.nsg.1474 > 10.0.54.254.1024: UDP, length 516 07:51:28.735570 IP roman.nsg.1476 > 10.0.54.254.1024: UDP, length 516 07:51:33.729570 arp who-has roman.nsg tell 10.0.54.254 07:51:33.729591 arp reply roman.nsg is-at 00:10:dc:4f:ef:b8 (oui Unknown) 07:51:33.730894 IP 10.0.54.254.1024 > roman.nsg.tftp: 28 RRQ "nftlroot-ppc.tar.gz" octet 07:51:33.732963 IP roman.nsg.1478 > 10.0.54.254.1024: UDP, length 516 07:51:33.738930 IP roman.nsg.1476 > 10.0.54.254.1024: UDP, length 516 07:51:38.731085 arp who-has 10.0.54.254 tell roman.nsg 07:51:38.731432 arp reply 10.0.54.254 is-at 00:09:56:12:00:06 (oui Unknown) 07:51:38.739121 IP roman.nsg.1478 > 10.0.54.254.1024: UDP, length 516 07:51:43.740591 IP 10.0.54.254.1024 > roman.nsg.tftp: 28 RRQ "nftlroot-ppc.tar.gz" octet 07:51:43.743256 IP roman.nsg.1479 > 10.0.54.254.1024: UDP, length 516 07:51:48.740654 IP 10.0.54.254.1024 > roman.nsg.tftp: 28 RRQ "nftlroot-ppc.tar.gz" octet 07:51:48.743262 IP roman.nsg.1480 > 10.0.54.254.1024: UDP, length 516 07:51:48.747518 IP roman.nsg.1479 > 10.0.54.254.1024: UDP, length 516 07:51:53.747728 IP roman.nsg.1480 > 10.0.54.254.1024: UDP, length 516 19 packets captured 38 packets received by filter 0 packets dropped by kernel |
||||||||
Attached Files |
![]() |
||||||||
|
Copyright © 2000 - 2006 Mantis Group |