Your message dated Sat, 29 Dec 2012 15:36:50 +0530
with message-id 
<capdygewu33t_8k+gr-m8z752e1r1z+-8kvbbnmeht5fvzew...@mail.gmail.com>
and subject line Fixed
has caused the Debian Bug report #645293,
regarding doesn't allow for an IPv6 HTTP proxy 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
645293: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645293
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aria2
Version: 1.12.1-2
Tags: ipv6

        Apparently, aria2c(1) doesn't allow for an IPv6 HTTP proxy.

        I've identified the following two cases:

        • should the HTTP proxy's host name (as per, e. g., the
          http_proxy environment variable) resolve to both IPv6 and
          legacy IPv4 addresses (IOW, has both AAAA and A DNS records),
          aria2c(1) will try to use the IPv4 address unconditionally,
          like:

$ http_proxy=http://httpproxy.example.net:3128/ \
      strace -t -- \
      aria2c --log= http://www.google.com/ \
      2>&1 | grep -F -A1 -- connect\( 
05:02:29 connect(6, {sa_family=AF_INET6, sin6_port=htons(53), 
inet_pton(AF_INET6, "2001:db8::d:17:5", &sin6_addr), sin6_flowinfo=0, 
sin6_scope_id=0}, 28) = 0
05:02:29 sendto(6, "}I\1\0\0\1\0\0\0\0\0\0\thttpproxy\7example\3ne"..., 39, 
MSG_NOSIGNAL, NULL, 0) = 39
--
05:02:29 connect(6, {sa_family=AF_INET, sin_port=htons(3128), 
sin_addr=inet_addr("192.0.2.34")}, 16) = -1 EINPROGRESS (Operation now in 
progress)
05:02:29 epoll_ctl([…]) = 0
--
05:02:29 connect(6, {sa_family=AF_INET6, sin6_port=htons(53), 
inet_pton(AF_INET6, "2001:db8::d:17:5", &sin6_addr), sin6_flowinfo=0, 
sin6_scope_id=0}, 28) = 0
05:02:29 sendto(6, "\303v\1\0\0\1\0\0\0\0\0\0\thttpproxy\7example\3ne"..., 39, 
MSG_NOSIGNAL, NULL, 0) = 39
--
05:02:29 connect(6, {sa_family=AF_INET, sin_port=htons(3128), 
sin_addr=inet_addr("192.0.2.34")}, 16) = -1 EINPROGRESS (Operation now in 
progress)
05:02:29 epoll_ctl([…]) = 0
--
[…]
$ 

        • should the HTTP proxy paramenter be set to reference an IPv6
          address directly, aria2c(1) will simply silently (the only
          message would be in the log file, not created by default, and
          at the level of DEBUG) ignore it, and will try to contact the
          server hosting the resource specified directly:

$ http_proxy=http://\[2001:db8::222\]:3128/ \
      strace -t -- \
      aria2c --log= http://www.google.com/ \
      2>&1 | grep -F -A1 -- connect\( 
05:11:08 connect(6, {sa_family=AF_INET6, sin6_port=htons(53), 
inet_pton(AF_INET6, "2001:db8::d:17:5", &sin6_addr), sin6_flowinfo=0, 
sin6_scope_id=0}, 28) = 0
05:11:08 sendto(6, 
"\203\247\1\0\0\1\0\0\0\0\0\0\3www\6google\3com\0\0\1\0\1"..., 32, 
MSG_NOSIGNAL, NULL, 0) = 32
--
05:11:08 connect(6, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("209.85.169.99")}, 16) = -1 EINPROGRESS (Operation now in 
progress)
05:11:08 epoll_ctl(5, EPOLL_CTL_ADD, 6, {EPOLLIN, {u32=69847744, 
u64=140497040034496}}) = 0
--
05:11:09 connect(7, {sa_family=AF_INET6, sin6_port=htons(53), 
inet_pton(AF_INET6, "2001:db8::d:17:5", &sin6_addr), sin6_flowinfo=0, 
sin6_scope_id=0}, 28) = 0
05:11:09 sendto(7, "o\223\1\0\0\1\0\0\0\0\0\0\3www\6google\2ru\0\0\1\0\1"..., 
31, MSG_NOSIGNAL, NULL, 0) = 31
$ 

-- 
FSF associate member #7257



--- End Message ---
--- Begin Message ---
Package: aria2
Version: 1.16.1-1

This bug has been fixed with latest aria2 upload.

-- 
Kartik Mistry | IRC: kart_
{0x1f1f, kartikm}.wordpress.com

--- End Message ---

Reply via email to