Package: streamripper Version: 1.64.6-1 Severity: important Streamripper seems to have problems getting the DNS lookup done although the DNS server does send and answer as verified by tcpdump:
------------------------------------ $ streamripper "http://streamer-dtc-aa03.somafm.com/stream/1021" Connecting... error -33 [HTTP:404 Not Found] bye.. shutting down ---------------------------------- Using tcpdump I see the following: $ sudo tcpdump -n -l -s0 -i any host localhost or port domain tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes 13:37:15.743783 IP 192.168.42.2.55891 > 192.168.42.1.53: 7648+ AAAA? streamer- dtc-aa03.somafm.com. (46) 13:37:15.747782 IP 192.168.42.1.53 > 192.168.42.2.55891: 7648 0/0/0 (46) 13:37:15.747993 IP 192.168.42.2.45453 > 192.168.42.1.53: 45772+ AAAA? streamer- dtc-aa03.somafm.com.localdomain. (58) 13:37:15.752009 IP 192.168.42.1.53 > 192.168.42.2.45453: 45772 NXDomain 0/0/0 (58) 13:37:15.752192 IP 192.168.42.2.54913 > 192.168.42.1.53: 30730+ A? streamer- dtc-aa03.somafm.com. (46) 13:37:15.757146 IP 192.168.42.1.53 > 192.168.42.2.54913: 30730 1/0/0 A 205.188.234.3 (62) 13:37:15.757336 IP 127.0.0.1.32889 > 127.0.0.1.80: Flags [S], seq 649657510, win 32792, options [mss 16396,sackOK,TS val 10234776 ecr 0,nop,wscale 7], length 0 13:37:15.757357 IP 127.0.0.1.80 > 127.0.0.1.32889: Flags [S.], seq 650574047, ack 649657511, win 32768, options [mss 16396,sackOK,TS val 10234776 ecr 10234776,nop,wscale 7], length 0 13:37:15.757379 IP 127.0.0.1.32889 > 127.0.0.1.80: Flags [.], ack 1, win 257, options [nop,nop,TS val 10234776 ecr 10234776], length 0 13:37:15.757439 IP 127.0.0.1.32889 > 127.0.0.1.80: Flags [P.], seq 1:173, ack 1, win 257, options [nop,nop,TS val 10234776 ecr 10234776], length 172 13:37:15.757475 IP 127.0.0.1.80 > 127.0.0.1.32889: Flags [.], ack 173, win 265, options [nop,nop,TS val 10234776 ecr 10234776], length 0 13:37:15.757968 IP 127.0.0.1.80 > 127.0.0.1.32889: Flags [P.], seq 1:484, ack 173, win 265, options [nop,nop,TS val 10234776 ecr 10234776], length 483 13:37:15.758025 IP 127.0.0.1.32889 > 127.0.0.1.80: Flags [.], ack 484, win 265, options [nop,nop,TS val 10234776 ecr 10234776], length 0 13:37:15.758040 IP 127.0.0.1.80 > 127.0.0.1.32889: Flags [F.], seq 484, ack 173, win 265, options [nop,nop,TS val 10234776 ecr 10234776], length 0 13:37:15.758256 IP 127.0.0.1.32889 > 127.0.0.1.80: Flags [R.], seq 173, ack 485, win 265, options [nop,nop,TS val 10234776 ecr 10234776], length 0 And with strace: [pid 29166] stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=76, ...}) = 0 [pid 29166] socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 6 [pid 29166] connect(6, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.42.1")}, 16) = 0 [pid 29166] poll([{fd=6, events=POLLOUT}], 1, 0) = 1 ([{fd=6, revents=POLLOUT}]) [pid 29166] sendto(6, "\323C\1\0\0\1\0\0\0\0\0\0\21streamer-dtc-aa03\6s"..., 46, MSG_NOSIGNAL, NULL, 0) = 46 [pid 29166] poll([{fd=6, events=POLLIN}], 1, 5000) = 1 ([{fd=6, revents=POLLIN}]) [pid 29166] ioctl(6, FIONREAD, [46]) = 0 [pid 29166] recvfrom(6, "\323C\201\200\0\1\0\0\0\0\0\0\21streamer-dtc- aa03\6s"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.42.1")}, [16]) = 46 [pid 29166] close(6) = 0 [pid 29166] socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 6 [pid 29166] connect(6, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.42.1")}, 16) = 0 [pid 29166] poll([{fd=6, events=POLLOUT}], 1, 0) = 1 ([{fd=6, revents=POLLOUT}]) [pid 29166] sendto(6, "\263\354\1\0\0\1\0\0\0\0\0\0\21streamer-dtc-aa03\6s"..., 58, MSG_NOSIGNAL, NULL, 0) = 58 [pid 29166] poll([{fd=6, events=POLLIN}], 1, 5000) = 1 ([{fd=6, revents=POLLIN}]) [pid 29166] ioctl(6, FIONREAD, [58]) = 0 [pid 29166] recvfrom(6, "\263\354\201\203\0\1\0\0\0\0\0\0\21streamer-dtc- aa03\6s"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.42.1")}, [16]) = 58 [pid 29166] close(6) = 0 [pid 29166] socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 6 [pid 29166] connect(6, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.42.1")}, 16) = 0 [pid 29166] poll([{fd=6, events=POLLOUT}], 1, 0) = 1 ([{fd=6, revents=POLLOUT}]) [pid 29166] sendto(6, "{N\1\0\0\1\0\0\0\0\0\0\21streamer-dtc-aa03\6s"..., 46, MSG_NOSIGNAL, NULL, 0) = 46 [pid 29166] poll([{fd=6, events=POLLIN}], 1, 5000) = 1 ([{fd=6, revents=POLLIN}]) [pid 29166] ioctl(6, FIONREAD, [62]) = 0 [pid 29166] recvfrom(6, "{N\201\200\0\1\0\1\0\0\0\0\21streamer-dtc-aa03\6s"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.42.1")}, [16]) = 62 [pid 29166] close(6) = 0 [pid 29166] connect(5, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 [pid 29166] sendto(5, "GET /stream/1021 HTTP/1.1\r\nAccep"..., 172, 0, NULL, 0) = 172 So streamripper seems to connect to 0.0.0.0 instead of the IP adresse returned by the DNS server. Could it be that it gets confused by the IPv6 AAAA answer? When specifying the IPv4 address directly, it works: $ streamripper "http://205.188.234.3/stream/1021" Connecting... stream: Secret Agent: The soundtrack for your stylish, mysterious, dangerous life. For Spys and P.I.'s too! [SomaFM] server name: SHOUTcast/Linux v2.6.0 declared bitrate: 128 meta interval: 16384 ... -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (1001, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages streamripper depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libmad0 0.15.1b-5 MPEG audio decoder library ii libogg0 1.2.0~dfsg-1 Ogg bitstream library ii libvorbis0a 1.3.1-1 The Vorbis General Audio Compressi streamripper recommends no packages. Versions of packages streamripper suggests: ii kstreamripper 0.3.4.debian1-2 kde frontend for streamripper pn streamtuner <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

