Bug 106013 - traceroute gives "Icmp checksum is wrong" for packets larger than 484
Summary: traceroute gives "Icmp checksum is wrong" for packets larger than 484
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: traceroute (Show other bugs)
(Show other bugs)
Version: 9
Hardware: athlon Linux
Target Milestone: ---
Assignee: Radek Vokal
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2003-10-01 23:24 UTC by Andre
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-23 08:44:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Andre 2003-10-01 23:24:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
The traceroute program is giving me an "Icmp checksum is wrong" error message
when run with a packet length of greater than 484 bytes.  As far as I can tell
the packet is fine (at least ethereal doesn't seem to complain). 
/proc/sys/net/ipv6/conf/eth0/mtu shows 1500.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. traceroute -n -q 1 bc 485

Actual Results:  traceroute to bc (, 30 hops max, 485 byte packets
Icmp checksum is wrong
 1  4.916 ms

Expected Results:  No error message

Additional info:

I don't think this is a security issue, but note that traceroute is setuid root.
(my kernel is kernel-2.4.20-20.9)

Comment 1 Per Steinar Iversen 2004-06-17 08:19:57 UTC
This one is still present in AS3, FC1 and FC2 on the i686 platform.

Tested with traceroute-1.4a12-20, traceroute-1.4a12-20.1 and

Strangely the error message seems only to appear when tracerouting to
linux servers.

Comment 2 Phil Knirsch 2004-07-08 13:56:57 UTC
I've reproduce the bug here.

The wierd thing is that even if i use the checksum code of Ethereal i
get the error message, so my guess would be that the Linux router
doesn't calculate the checksum correctly on the server side (which
would be very wierd, but possible).

I'll see if i can nail it down some more, but i don't have high hopes
in the near future.

Read ya, Phil

Comment 3 Radek Vokal 2005-02-09 14:04:22 UTC
Correct me if I'm wrong but shouldn't be icmp cheksums counted only
when traceroute uses ICMP ECHOs eg. -I option? 

Comment 4 Radek Vokal 2005-03-23 08:44:12 UTC
Patch included in the latest rawhide version of traceroute

Note You need to log in before you can comment on or make changes to this bug.