Package: sing Version: 1.1-15 Severity: normal Hi,
sing apparently doesn't work correctly on 64bit computers. # sing 152.66.0.1 SINGing to 152.66.0.1 (152.66.0.1): 24 data bytes 24 bytes from 152.66.0.1: seq=0 ttl=251 TOS=0 time=-1262314644832256.000 ms 24 bytes from 152.66.0.1: seq=1 ttl=251 TOS=0 time=8197210835517440.000 ms 24 bytes from 152.66.0.1: seq=2 ttl=251 TOS=0 time=7181930495737856.000 ms 24 bytes from 152.66.0.1: seq=3 ttl=251 TOS=0 time=910386836537344.000 ms 24 bytes from 152.66.0.1: seq=4 ttl=251 TOS=0 time=910386836537344.000 ms --- 152.66.0.1 sing statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = -1262314644832256.000/3187520179273728.000/8197210835517440.000 ms Response times are actually in the 10-60ms range. uname -a: Linux hellgate 2.6.19.2-vs2.2.0-rc8.7-hellgate #1 PREEMPT Mon Jan 29 01:07:58 CET 2007 x86_64 GNU/Linux On a different computer, sing reports that it can't find an interface to route packets out through, but ping works and there is only one eth interface anyway: # sing 152.66.0.1 SING: Unable to select an interface to route throughout # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 152.66.245.64 0.0.0.0 255.255.255.192 U 0 0 0 eth0 0.0.0.0 152.66.245.110 0.0.0.0 UG 0 0 0 eth0 The relevant part of an strace looks like this: mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab261000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab262000 mprotect(0x2aaaab245000, 86016, PROT_READ) = 0 arch_prctl(ARCH_SET_FS, 0x2aaaab261e00) = 0 munmap(0x2aaaaaac4000, 27433) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 setsockopt(3, SOL_SOCKET, SO_BROADCAST, [140733193388033], 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(26731), sin_addr=inet_addr("152.66.0.1")}, 16) = 0 getsockname(3, {sa_family=AF_INET, sin_port=htons(32780), sin_addr=inet_addr("152.66.245.90")}, [18423573472471941136]) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIFCONF, {80, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("152.66.245.90")}}}}) = 0 ioctl(3, SIOCGIFADDR, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0 ioctl(3, SIOCGIFMTU, {ifr_name="lo", ifr_mtu=16436}) = 0 ioctl(3, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIFCONF, {80, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("152.66.245.90")}}}}) = 0 ioctl(3, SIOCGIFADDR, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0 ioctl(3, SIOCGIFMTU, {ifr_name="lo", ifr_mtu=16436}) = 0 ioctl(3, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0 close(3) = 0 write(2, "SING: ", 6SING: ) = 6 write(2, "Unable to select an interface to route throughout", 49Unable to select an interface to route throughout) = 49 write(2, "\n", 1 ) = 1 exit_group(1) = ? ltrace: __libc_start_main(0x405570, 2, 0x7ffffffc5598, 0x4085a0, 0x408560 <unfinished ...> memset(0x51f820, '\000', 75000) = 0x51f820 getopt_long_only(2, 0x7ffffffc5598, "hUGBOqQnRVv", 0x50c120, 0x7ffffffc545c) = -1 inet_aton("152.66.0.1", 0x7ffffffc5300) = 1 socket(2, 2, 0 <unfinished ...> SYS_socket(2, 2, 0, 0, 0) = 3 <... socket resumed> ) = 3 setsockopt(3, 1, 6, 0x7ffffffc5288, 4 <unfinished ...> SYS_setsockopt(3, 1, 6, 0x7ffffffc5288, 4) = 0 <... setsockopt resumed> ) = 0 connect(3, 0x50d010, 16, 0x2aaaab0ef6fc, 4 <unfinished ...> SYS_connect(3, 0x50d010, 16, 0, 4) = 0 <... connect resumed> ) = 0 getsockname(3, 0x7ffffffc5270, 0x7ffffffc528c, 0x2aaaab0ef172, 4 <unfinished ...> SYS_getsockname(3, 0x7ffffffc5270, 0x7ffffffc528c, 0, 4) = 0 <... getsockname resumed> ) = 0 close(3 <unfinished ...> SYS_close(3) = 0 <... close resumed> ) = 0 socket(2, 2, 0 <unfinished ...> SYS_socket(2, 2, 0, 0, 4) = 3 <... socket resumed> ) = 3 ioctl(3, 35090, 0x7ffffffc5280 <unfinished ...> SYS_ioctl(3, 35090, 0x7ffffffc5280, 0, 4) = 0 <... ioctl resumed> ) = 0 strncpy(0x7ffffffc5250, "lo", 16) = 0x7ffffffc5250 strncpy(0x7ffffff28df0, "lo", 16) = 0x7ffffff28df0 ioctl(3, 35093, 0x7ffffff28df0 <unfinished ...> SYS_ioctl(3, 35093, 0x7ffffff28df0, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 strncpy(0x7ffffff28df0, "lo", 16) = 0x7ffffff28df0 ioctl(3, 35105, 0x7ffffff28df0 <unfinished ...> SYS_ioctl(3, 35105, 0x7ffffff28df0, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 strncpy(0x7ffffff28df0, "lo", 16) = 0x7ffffff28df0 ioctl(3, 35091, 0x7ffffff28df0 <unfinished ...> SYS_ioctl(3, 35091, 0x7ffffff28df0, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 close(3 <unfinished ...> SYS_close(3) = 0 <... close resumed> ) = 0 socket(2, 2, 0 <unfinished ...> SYS_socket(2, 2, 0, 4, 0x7ffffff28df2) = 3 <... socket resumed> ) = 3 ioctl(3, 35090, 0x7ffffffc5280 <unfinished ...> SYS_ioctl(3, 35090, 0x7ffffffc5280, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 strncpy(0x7ffffffc5250, "lo", 16) = 0x7ffffffc5250 strncpy(0x7ffffff28df0, "lo", 16) = 0x7ffffff28df0 ioctl(3, 35093, 0x7ffffff28df0 <unfinished ...> SYS_ioctl(3, 35093, 0x7ffffff28df0, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 strncpy(0x7ffffff28df0, "lo", 16) = 0x7ffffff28df0 ioctl(3, 35105, 0x7ffffff28df0 <unfinished ...> SYS_ioctl(3, 35105, 0x7ffffff28df0, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 strncpy(0x7ffffff28df0, "lo", 16) = 0x7ffffff28df0 ioctl(3, 35091, 0x7ffffff28df0 <unfinished ...> SYS_ioctl(3, 35091, 0x7ffffff28df0, 4, 0x7ffffff28df2) = 0 <... ioctl resumed> ) = 0 close(3 <unfinished ...> SYS_close(3) = 0 <... close resumed> ) = 0 fprintf(0x2aaaab25b680, "%s: ", "SING" <unfinished ...> SYS_write(2, "SING: ", 6SING: ) = 6 <... fprintf resumed> ) = 6 vfprintf(0x2aaaab25b680, "Unable to select an interface to route throughout", 0x7ffffffc51d0 <unfinished ...> SYS_write(2, "Unable to select an interface to route throughout", 49Unable to select an interface to route throughout) = 49 <... vfprintf resumed> ) = 49 fputc('\n', 0x2aaaab25b680 <unfinished ...> SYS_write(2, "\n", 1 ) = 1 <... fputc resumed> ) = 10 exit(1 <unfinished ...> SYS_exit_group(1 <unfinished ...> +++ exited (status 1) +++ uname -a: Linux cador 2.6.15-1-amd64-generic #2 Tue Mar 7 06:24:40 UTC 2006 x86_64 GNU/Linux -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (1200, 'unstable'), (500, 'feisty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.19.2-vs2.2.0-rc8.7-hellgate (PREEMPT) Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages sing depends on: ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii libc6 2.5-0ubuntu9 GNU C Library: Shared libraries ii libnet0 1.0.2a-7 library for the construction and h ii libpcap0.8 0.9.5-1 System interface for user-level pa sing recommends no packages. -- debconf information excluded Best regards, Andras -- Andras Korn <korn at chardonnay.math.bme.hu> <http://chardonnay.math.bme.hu/~korn/> QOTD: Mind Like A Steel Trap - Rusty And Illegal In 37 States. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]