Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 22, 2012, 04:59:34 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
ECOMs and ECOM100s
>
ecom100 icmp ttl problem
Pages: [
1
]
« previous
next »
Print
Author
Topic: ecom100 icmp ttl problem (Read 587 times)
keith
Jr. Member
Posts: 18
ecom100 icmp ttl problem
«
on:
May 08, 2011, 02:01:45 am »
I discovered a bug in the ecom100. When replying to an icmp echo packet,
it does not reset the ttl in the reply packet.
This makes things like traceroute (using the icmp option) not work right.
You only decrease ttl when forwarding a packet. When replying to a packet, ttl
should be reset to a high starting value.
boot 4.0.165
os 4.0.1473
$ ping -t 5 192.168.22.1
PING 192.168.22.1 (192.168.22.1) 56(84) bytes of data.
64 bytes from 192.168.22.1: icmp_seq=1 ttl=1 time=69.6 ms
$ ping -t 15 192.168.22.1
PING 192.168.22.1 (192.168.22.1) 56(84) bytes of data.
64 bytes from 192.168.22.1: icmp_seq=1 ttl=11 time=70.1 ms
[ -t sets the ttl in the outgoing packet. Note that the ttl in the
reply is dependent on the ttl in the outgoing packet. Actually, it
just uses the remaining ttl for the reply, which is wrong ]
# traceroute --icmp 192.168.22.1
traceroute to 192.168.22.1 (192.168.22.1), 30 hops max, 60 byte packets
1 (192.168.225.254) 0.856 ms 0.857 ms 0.913 ms
2 (192.168.227.237) 68.157 ms 73.306 ms 77.479 ms
3 * * *
4 * * *
5 (192.168.22.1) 91.714 ms 93.531 ms 97.067 ms
See how is interacts wrongly with traceroute.
Other host engineering ethernet devices such as EBCs handle this properly.
I think that H2-ECOMs also handle this properly.
Perhaps it is just a feature of this version, or it is specific to H2-ECOM100s.
I could do more testing on other devices, but I will wait and see how you respond.
Keith
«
Last Edit: May 08, 2011, 02:17:19 am by keith
»
Logged
Greg
HOS†ech
Host Moderator
Posts: 320
Hmmm...
Re: ecom100 icmp ttl problem
«
Reply #1 on:
June 08, 2011, 09:45:13 am »
keith, sorry to miss this post.
I have forwarded this info to our ECOM/ECOM100 engineers and I'll let you know the response ASAP.
Logged
"You have to believe in free will. You have no choice." -Isaac Bashevis-Singer
Greg
HOS†ech
Host Moderator
Posts: 320
Hmmm...
Re: ecom100 icmp ttl problem
«
Reply #2 on:
June 15, 2011, 01:07:12 pm »
keith, this was an issue that had been found & fixed i a newer release of the 3rd-party stack code we utilize. We're quite hesitant to switch to the new release at this point, so we basically copied what should be the fix for this issue from that code into our ECOM100 firmware code.
Also, our Windows implementation of ping uses the -i instead of the -t for the TTL time.
I sent you some BETA firmware for you to try. Did you get it?
Logged
"You have to believe in free will. You have no choice." -Isaac Bashevis-Singer
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...