Package: curl
Version: 7.13.2-2sarge5
Severity: grave


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages curl depends on:
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libcurl3              7.13.2-2sarge5     Multi-protocol file transfer libra
ii  libidn11              0.5.13-1.0         GNU libidn library, implementation
ii  libssl0.9.7           0.9.7e-3sarge4     SSL shared libraries
ii  zlib1g                1:1.2.2-4.sarge.2  compression library - runtime

-- no debconf information

Apt-get upgrade last night and now curl is timing out on
hostname resolution.  Other applications are working fine.  

I found this thread which describes a problem with AF_INET being used
by curl instead of PF_INET: 

http://curl.haxx.se/mail/archive-2002-02/0106.html

To confirm, I ran straces on curl and host - indeed, curl looks to be
using AF_INET while host (which is working fine), uses PF_INET: 

rockenboxen:/etc# strace curl -O http://somehost.com/this.php 2>&1 |grep -i inet
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not 
supported by protocol)
read(3, "search rockenboxen.com\nnameserver 20"..., 4096) = 69
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, 
sin_port=htons(80),sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EI PROGRESS 
(Operation now in progress)

[...]

rockenboxen:/etc# strace host somehost.com 2>&1 |grep -i inet
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not 
supported by protocol)
read(7, "search rockenboxen.com\nnameserver 20"..., 4096) = 69
rockenboxen:/etc#


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to