From serg@bcs.zp.ua  Thu Jun  4 12:13:38 1998
Received: from relay1.bcs.zp.ua (bcs-ts33.zcn.net [195.123.8.74])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13299
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Jun 1998 12:13:00 -0700 (PDT)
          (envelope-from serg@bcs.zp.ua)
Received: from bcs3.bcs.zaporizhzhe.ua (bcs3.bcs.zp.ua [195.123.10.73])
	by relay1.bcs.zp.ua (8.8.5/8.8.5) with ESMTP id WAA03486
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Jun 1998 22:11:41 +0300 (EEST)
Received: (from serg@localhost)
	by bcs3.bcs.zaporizhzhe.ua (8.8.8/8.8.8) id WAA29935;
	Thu, 4 Jun 1998 22:11:36 +0300 (EEST)
	(envelope-from serg)
Message-Id: <199806041911.WAA29935@bcs3.bcs.zaporizhzhe.ua>
Date: Thu, 4 Jun 1998 22:11:36 +0300 (EEST)
From: serg@bcs.zp.ua
Reply-To: serg@bcs.zp.ua
To: FreeBSD-gnats-submit@freebsd.org
Subject: netboot error
X-Send-Pr-Version: 3.2

>Number:         6861
>Category:       misc
>Synopsis:       [PATCH] netboot error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun  4 12:20:00 PDT 1998
>Closed-Date:    Mon Aug 14 06:18:37 PDT 2000
>Last-Modified:  Mon Aug 14 06:20:00 PDT 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Jun 6 10:47:52 PDT 1998 
Responsible-Changed-Why:  
Misfiled PR. 
State-Changed-From-To: open->feedback 
State-Changed-By: johan 
State-Changed-When: Mon Aug 14 05:37:01 PDT 2000 
State-Changed-Why:  
Hi 
While browsing our PRs I found this PR and can not 
figure out what 'netboot' program you are talking 
about. 

Is this still a problem in more recent version of FreeBSD? 
If so can you please let us know where to find the 
netboot program you are refering to. 

Please send mail to 'FreeBSD-gnats-submit@FreeBSD.ORG' preserving  
the subject of this mail and let us know if this still is a problem. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=6861 
State-Changed-From-To: feedback->closed 
State-Changed-By: johan 
State-Changed-When: Mon Aug 14 06:18:37 PDT 2000 
State-Changed-Why:  
Fixed in rev 1.23. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=6861 
>Unformatted:
Description: 

There are ERROR in tftp implementation in netboot program:
TFTP_ACK must be sent to another port, not a default TFTP one.

Fix: 

--- main.c.orig	Thu Jun  4 13:24:06 1998
+++ main.c	Thu Jun  4 13:23:52 1998
@@ -464,6 +464,7 @@
 				return(0);
 			}			/* ACK PACKET */
 			if (tr->opcode != ntohs(TFTP_DATA)) return(0);
+			osocket = ntohs(tr->udp.src);
 			tp.opcode = htons(TFTP_ACK);
 			tp.u.ack.block = tr->u.data.block;
 			udp_transmit(arptable[ARP_SERVER].ipaddr, isocket,


