Re: Bug#175034: apt/dpkg ipv6 ftp problem (EPTR)
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.
It's possible that your ftpd has mangled, there is a debug option that
makes apt print out what it sends as well. -o Debug::Acquire::Ftp=true
will enable it.
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?
Jason
Reply to: