Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 1998 10:07:56 +0300 (EEST)
From:      serg@bcs.zp.ua
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/7442: tftp implementation error in netboot
Message-ID:  <199807300707.KAA12208@bcs3.bcs.zp.ua>

next in thread | raw e-mail | index | archive | help

>Number:         7442
>Category:       i386
>Synopsis:       TFTP_ACK goes to port 69
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 30 00:10:00 PDT 1998
>Last-Modified:
>Originator:     Sergey Shkonda
>Organization:
Business Computer Service
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

	

Description: 

	<Precise description of the problem (multiple lines)>
	TFTP_ACK goes to port 69 (default tftp port) and
	tftpd says 'Timeout'.
	It will be sent to source port of received packet.

>Description:
>How-To-Repeat:

	

Fix: 
	
	<How to correct or work around the problem, if known (multiple lines)>

--- main.c.orig	Tue Mar 31 11:09:50 1998
+++ main.c	Tue Mar 31 11:13:27 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,
>Fix:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807300707.KAA12208>