bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] [RFC]: Tftpd fails with IPv4 mapped as IPv6.


From: Mats Erik Andersson
Subject: Re: [bug-inetutils] [RFC]: Tftpd fails with IPv4 mapped as IPv6.
Date: Mon, 10 Oct 2011 20:01:30 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Dear all,

this is an important matter that must be decided before
making a new release.

söndag den 11 september 2011 klockan 02:02 skrev Mats Erik Andersson detta:
> Hello there,
> 
> This message is primarily caused by the observation that the
> present implementation 'src/tftpd.c' fails in GNU/kFreeBSD
> when the inetd server (our version 1.8) is running dual stacked,
> in the sense of mapping IPv4 to IPv6.
> 
> The only solution I have found as of yet is a deviation from
> the legacy mode of using a connected UDP socketr:
> 
>   * remove server side call to connect(),
> 
>   * replace all send() by sendto().

The original message [1] must be read for the full picture,
but coding with sendto() and without connect() is in
accordance with the practice taught by Richard Stevens
in his classics from 1993.

In spite of several attempts and experiments I have no
clue to pass on as to the reasons that OpenSolaris is unable
to transfer more than one block with present libinetutils.
Neither BSD, nor GNU/* display this failure.

I want to encourage all of you to take GNU/Linux, GNU/kFreeBSD,
or FreeBSD, set "bindv6only=0" using sysctl(), start tftps using
a dual stacked super server, and the use IPv4 in the TFTP client.
This message of mine is that it fails for GNU/kFreeBSD, thus
requires a modification.

Regards,
  Mats

[1] http://lists.gnu.org/archive/html/bug-inetutils/2011-09/msg0002.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]