From owner-freebsd-hackers Thu Jun 4 03:33:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14301 for freebsd-hackers-outgoing; Thu, 4 Jun 1998 03:33:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) 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 DAA14274; Thu, 4 Jun 1998 03:32:50 -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 NAA28371; Thu, 4 Jun 1998 13:32:01 +0300 (EEST) Received: (from serg@localhost) by bcs3.bcs.zaporizhzhe.ua (8.8.8/8.8.8) id NAA07952; Thu, 4 Jun 1998 13:32:02 +0300 (EEST) (envelope-from serg) From: Sergey Shkonda Message-Id: <199806041032.NAA07952@bcs3.bcs.zaporizhzhe.ua> Subject: netboot bug To: phk@FreeBSD.ORG, tegge@FreeBSD.ORG Date: Thu, 4 Jun 1998 13:32:02 +0300 (EEST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There are ERROR in tftp implementation in netboot program: TFTP_ACK must be sent to another port, not a default TFTP one. path: sys/i386/boot/netboot --- 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, -- Sergey Shkonda (serg@bcs.zaporizhzhe.ua) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message