Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 20:40:52 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Ed Maste <emaste@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: tftpd: avoid logging error for pxeboot option negotiation?
Message-ID:  <7DCFF8A0-D54F-4846-97BE-BA6BE33C92C7@lists.zabbadoz.net>
In-Reply-To: <20120220200910.GA46212@sandvine.com>
References:  <20120220200910.GA46212@sandvine.com>

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

On 20. Feb 2012, at 20:09 , Ed Maste wrote:

> After upgrading a diskless boot server from FreeBSD 6 to 8 I see an =
error
> message logged each time a diskless client boots:
>=20
> Feb 20 00:56:38 TPC-D4-35 tftpd[55229]: Got ERROR packet: TFTP Aborted
>=20
> It turns out that the pxeboot client (from Intel) first performs a =
TFTP
> read request with the tsize option to which it receives an =
acknowledgement
> containing the size of the file to be transferred.  Then it sends back
> an error response to abort the transfer, and sends the read request =
again
> (without the tsize option).
>=20
> The sequence of packets is:
>=20
> 1. C->S TFTP Read Request, File: pxeboot, Transfer type: octet, =
tsize=3D0
> 2. S->C TFTP Option Acknowledgement, tsize=3D239616
> 3. C->S TFTP Error Code, Code: Not defined, Message: TFTP Aborted
> 4. C->S TFTP Read Request, File: pxeboot, Transfer type: octet, =
blksize=3D1456
> 5. S->C TFTP Option Acknowledgement, blksize=3D1456
> 6. C->S TFTP Acknowledgement, Block: 0
> 7. S->C TFTP Data Packet, Block: 1
>   ...
>=20
> I'd like to avoid logging the error here, for the sake of this pxeboot
> client and any other tftp clients that might check options without =
actually
> starting a transfer.  Anyone opposed to removing it?  (A proposed =
patch is
> at http://people.freebsd.org/~emaste/tftpd.diff).

Rather than completely ignoring it, can we log it in a different =
category,
so that one would actually still have a chance to see real "abort" =
errors?

--=20
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DCFF8A0-D54F-4846-97BE-BA6BE33C92C7>