* Funky PING messages
@ 1999-08-16 4:00 Oscar Miranda
1999-08-16 4:00 ` Xiaozhou Qiu
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Oscar Miranda @ 1999-08-16 4:00 UTC (permalink / raw)
Hello,
I have a MULTIA with RH 6 and when I ping my SUN (Solaris 2.6) or my
Linux (RH 5.2 x86) box I get the following messages. I don't
understand why the AXP is expecting X and getting Y instead. Thanks In
advance.
Oscar
[root@axp .gnome-desktop]# ping candela
PING candela.foo.net (172.16.1.5): 56 data bytes
64 bytes from 172.16.1.5: icmp_seq=0 ttl=255 time=2.2 ms
wrong data byte #8 should be 0x8 but was 0xe7
c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
22 23 24 25 26 27 28 29 2a 2b
2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 172.16.1.5: icmp_seq=1 ttl=255 time=1.8 ms
wrong data byte #8 should be 0x8 but was 0x67
c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
22 23 24 25 26 27 28 29 2a 2b
2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 172.16.1.5: icmp_seq=2 ttl=255 time=1.6 ms
wrong data byte #8 should be 0x8 but was 0x6a
c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
22 23 24 25 26 27 28 29 2a 2b
2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 172.16.1.5: icmp_seq=3 ttl=255 time=1.9 ms
wrong data byte #8 should be 0x8 but was 0x40
c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
22 23 24 25 26 27 28 29 2a 2b
2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 172.16.1.5: icmp_seq=4 ttl=255 time=1.9 ms
wrong data byte #8 should be 0x8 but was 0xd
c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
22 23 24 25 26 27 28 29 2a 2b
2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 172.16.1.5: icmp_seq=5 ttl=255 time=1.7 ms
wrong data byte #8 should be 0x8 but was 0xc0
c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
22 23 24 25 26 27 28 29 2a 2b
2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
--- candela.foo.net ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 1.6/1.8/2.2 ms
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Funky PING messages
1999-08-16 4:00 Funky PING messages Oscar Miranda
1999-08-16 4:00 ` Xiaozhou Qiu
@ 1999-08-16 4:00 ` Alex Rhomberg
1999-08-16 4:00 ` Thank you Alex and Xiaozhou for the 411. Long live LINUXAXP ;-) Oscar Miranda
2 siblings, 0 replies; 5+ messages in thread
From: Alex Rhomberg @ 1999-08-16 4:00 UTC (permalink / raw)
To: Oscar Miranda
Oscar Miranda wrote:
>
> Hello,
>
> I have a MULTIA with RH 6 and when I ping my SUN (Solaris 2.6) or my
> Linux (RH 5.2 x86) box I get the following messages. I don't
> understand why the AXP is expecting X and getting Y instead. Thanks In
> advance.
Get the newest ping rpm in the 6.0 updates section.
- Alex
--
_________________________________________________________________
/ \
| Alex Rhomberg Tel: +41 1 632 49 18 |
| Institut fuer Elektronik Fax: +41 1 632 12 10 |
| ETH Zuerich Zentrale: +41 1 632 11 11 |
| Gloriastrasse 35 |
| 8092 Zuerich email: rhomberg@ife.ee.ethz.ch |
\_________________________________________________________________/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Funky PING messages
1999-08-16 4:00 Funky PING messages Oscar Miranda
@ 1999-08-16 4:00 ` Xiaozhou Qiu
1999-08-17 4:00 ` Alex Rhomberg
1999-08-16 4:00 ` Alex Rhomberg
1999-08-16 4:00 ` Thank you Alex and Xiaozhou for the 411. Long live LINUXAXP ;-) Oscar Miranda
2 siblings, 1 reply; 5+ messages in thread
From: Xiaozhou Qiu @ 1999-08-16 4:00 UTC (permalink / raw)
It is a very small bug in ping for Alpha. It assumes the size of struct
timeval as 8, while it is 16 in Alpha. I just revised it several days
ago. If interested, please come to the following site to get the updated
source code and binary and try it.
ftp://mars.iol.unh.edu/pub/linux/applications/
Xiaozhou Qiu
Linux Consorsium
Interoperability Lab
UNH
Oscar Miranda wrote:
> Hello,
>
> I have a MULTIA with RH 6 and when I ping my SUN (Solaris 2.6) or my
> Linux (RH 5.2 x86) box I get the following messages. I don't
> understand why the AXP is expecting X and getting Y instead. Thanks In
> advance.
>
> Oscar
>
> [root@axp .gnome-desktop]# ping candela
> PING candela.foo.net (172.16.1.5): 56 data bytes
> 64 bytes from 172.16.1.5: icmp_seq=0 ttl=255 time=2.2 ms
> wrong data byte #8 should be 0x8 but was 0xe7
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
> 22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
> 64 bytes from 172.16.1.5: icmp_seq=1 ttl=255 time=1.8 ms
> wrong data byte #8 should be 0x8 but was 0x67
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
> 22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
> 64 bytes from 172.16.1.5: icmp_seq=2 ttl=255 time=1.6 ms
> wrong data byte #8 should be 0x8 but was 0x6a
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
> 22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
> 64 bytes from 172.16.1.5: icmp_seq=3 ttl=255 time=1.9 ms
> wrong data byte #8 should be 0x8 but was 0x40
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
> 22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
> 64 bytes from 172.16.1.5: icmp_seq=4 ttl=255 time=1.9 ms
> wrong data byte #8 should be 0x8 but was 0xd
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
> 22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
> 64 bytes from 172.16.1.5: icmp_seq=5 ttl=255 time=1.7 ms
> wrong data byte #8 should be 0x8 but was 0xc0
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
> 22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>
> --- candela.foo.net ping statistics ---
> 6 packets transmitted, 6 packets received, 0% packet loss
> round-trip min/avg/max = 1.6/1.8/2.2 ms
^ permalink raw reply [flat|nested] 5+ messages in thread
* Thank you Alex and Xiaozhou for the 411. Long live LINUXAXP ;-)
1999-08-16 4:00 Funky PING messages Oscar Miranda
1999-08-16 4:00 ` Xiaozhou Qiu
1999-08-16 4:00 ` Alex Rhomberg
@ 1999-08-16 4:00 ` Oscar Miranda
2 siblings, 0 replies; 5+ messages in thread
From: Oscar Miranda @ 1999-08-16 4:00 UTC (permalink / raw)
On Mon, 16 Aug 1999 07:19:53 GMT, jesterosb@hotmail.noSpAm.com (Oscar
Miranda) wrote:
>Hello,
>
>I have a MULTIA with RH 6 and when I ping my SUN (Solaris 2.6) or my
>Linux (RH 5.2 x86) box I get the following messages. I don't
>understand why the AXP is expecting X and getting Y instead. Thanks In
>advance.
>
>Oscar
>
>
>[root@axp .gnome-desktop]# ping candela
>PING candela.foo.net (172.16.1.5): 56 data bytes
>64 bytes from 172.16.1.5: icmp_seq=0 ttl=255 time=2.2 ms
>wrong data byte #8 should be 0x8 but was 0xe7
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
>22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>64 bytes from 172.16.1.5: icmp_seq=1 ttl=255 time=1.8 ms
>wrong data byte #8 should be 0x8 but was 0x67
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
>22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>64 bytes from 172.16.1.5: icmp_seq=2 ttl=255 time=1.6 ms
>wrong data byte #8 should be 0x8 but was 0x6a
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
>22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>64 bytes from 172.16.1.5: icmp_seq=3 ttl=255 time=1.9 ms
>wrong data byte #8 should be 0x8 but was 0x40
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
>22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>64 bytes from 172.16.1.5: icmp_seq=4 ttl=255 time=1.9 ms
>wrong data byte #8 should be 0x8 but was 0xd
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
>22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>64 bytes from 172.16.1.5: icmp_seq=5 ttl=255 time=1.7 ms
>wrong data byte #8 should be 0x8 but was 0xc0
> c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21
>22 23 24 25 26 27 28 29 2a 2b
> 2c 2d 2e 2f 0 0 0 0 0 0 0 0 0 0 0 0
>
>--- candela.foo.net ping statistics ---
>6 packets transmitted, 6 packets received, 0% packet loss
>round-trip min/avg/max = 1.6/1.8/2.2 ms
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Funky PING messages
1999-08-16 4:00 ` Xiaozhou Qiu
@ 1999-08-17 4:00 ` Alex Rhomberg
0 siblings, 0 replies; 5+ messages in thread
From: Alex Rhomberg @ 1999-08-17 4:00 UTC (permalink / raw)
To: Xiaozhou Qiu
Xiaozhou Qiu wrote:
>
> It is a very small bug in ping for Alpha. It assumes the size of struct
> timeval as 8, while it is 16 in Alpha. I just revised it several days
> ago. If interested, please come to the following site to get the updated
> source code and binary and try it.
> ftp://mars.iol.unh.edu/pub/linux/applications/
>
> Xiaozhou Qiu
Dear Mister Qiu
Please note that your fix for ping introduces new bugs and leaves old
ones intact:
You exchanged 8 for 16 which is as evil as using 8 instead of
sizeof(struct timeval) in the first place (line 711)
In line 596, you exchanged "datalen + 8" with "datalen + sizeof(struct
timeval)", even though the 8 is the size of the ICMP portion and NOT a
timeval
In line 665, the tvsub() call should still give an unaligned trap error
The new redhat rpm removes some but not all bug.
The fix that removes all bugs related to timeval I know of was
contributed to by (IIRC) Helmut Katzengraber and myself and can be found
at
http://www.ife.ee.ethz.ch/~rhomberg/files/ping.c
It is based on netkit 0.11 while redhat ships netkit 0.10
Regards
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-08-17 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-16 4:00 Funky PING messages Oscar Miranda
1999-08-16 4:00 ` Xiaozhou Qiu
1999-08-17 4:00 ` Alex Rhomberg
1999-08-16 4:00 ` Alex Rhomberg
1999-08-16 4:00 ` Thank you Alex and Xiaozhou for the 411. Long live LINUXAXP ;-) Oscar Miranda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox