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

Bug#175034: apt/dpkg ipv6 ftp problem (EPTR)



On Sun, Jan 05, 2003 at 05:37:27PM -0700, Jason Gunthorpe wrote:
> On Thu, 2 Jan 2003, Hajo Noerenberg wrote:
> > The server log file shows that apt sends the clients IP-adresse as raw
> > binary data and not ASCII-encoded. That's wrong.
> > 
> > 2003-01-02 10:46:40 [31245]: 3ffe:400:123:0:0:0:0:123!4280: < EPRT |2|<A0>*'@<E4><F6><FF><BF>|<BC><EE><FF><BF>,<E9><FF><BF>1|
> 
> I'm afraid you are going to have to try to debug this, the code in
> question can only generate this output if a call to getnameinfo to convert
> the address to text fails. This should be impossible since it is just a
> simple binary to string conversion and cannot fail.. The code in question
> in ftp.cc, look for EPRT.
[...]
> This same code essentially drives the IPv4 method as well, and in IPv6
> mode I have observered it to work correctly in the past, thus I'm fearful
> that something in glibc has changed. Perhaps the getnameinfo calls are
> erronous now?

Hajo, are you running a 2.2 kernel? If so, this looks like another
instance of #82468/#164768 (ignore the bit at the end of #82468 claiming
it was fixed). Check those bug reports for the gory details.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: