Project

General

Profile

Bug #1714

Traceroute doesn't work on Windows

Added by Luke Murphey almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/01/2017
Due date:
% Done:

100%


Related issues

Related to Network Tools - Bug #2208: Ping indicates host is live when it is not (Windows) Closed 02/14/2018

Associated revisions

Revision 78 (diff)
Added by lmurphey almost 8 years ago

Having the traceroute command run the Windows version of the command

Reference #1714

Revision 91 (diff)
Added by lukemurphey almost 8 years ago

Making traceroute work on Windows

Replacing the tracerouteparser module that didn't support Windows and didn't fully parse OSX traces

Reference #1714

Revision 92 (diff)
Added by lukemurphey almost 8 years ago

Adding comments to tests

Reference #1714

Revision 93 (diff)
Added by lukemurphey almost 8 years ago

Fixing parsing of strange OSX traceroutes

Reference #1714

Revision 98 (diff)
Added by lukemurphey almost 8 years ago

Enhancing support for Windows traceroutes

Reference #1714

Revision 99 (diff)
Added by lukemurphey almost 8 years ago

Making traceroute parses work with trailing spaces

Reference #1714

History

#1 Updated by Luke Murphey almost 8 years ago

Here is the output:

[OrderedDict([('hop', 1), ('rtt', ['14.0', '14.0', '28.0']), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 2), ('rtt', []), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 3), ('rtt', ['35.0', '33.0', '34.0']), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 4), ('rtt', ['37.0', '35.0', '35.0']), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 5), ('rtt', ['528.0', '35.0', '43.0']), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 6), ('rtt', ['36.0', '34.0', '35.0']), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 7), ('rtt', []), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 8), ('rtt', ['35.0', '44.0', '54.0']), ('ip', []), ('name', [])]),
 OrderedDict([('hop', 9), ('rtt', ['38.0', '22.0', '25.0']), ('ip', []), ('name', [])])]

#2 Updated by Luke Murphey almost 8 years ago

Here is Windows output:


Tracing route to att.com [144.160.155.43]
over a maximum of 30 hops:

  1    18 ms    <1 ms    <1 ms  10.0.0.1
  2    14 ms    14 ms    14 ms  192.168.1.254
  3     *        *        *     Request timed out.
  4    34 ms    34 ms    47 ms  71.145.65.194
  5     *        *       44 ms  71.145.64.128
  6    40 ms    36 ms    38 ms  12.83.43.45
  7   107 ms    84 ms    83 ms  gar2.placa.ip.att.net [12.122.110.5]
  8    86 ms    86 ms    86 ms  12.91.205.18
  9    87 ms    73 ms    73 ms  att.com [144.160.155.43]

Trace complete.

#3 Updated by Luke Murphey almost 8 years ago

  • Target version changed from 0.5 to 0.6

#4 Updated by Luke Murphey almost 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#5 Updated by Luke Murphey almost 8 years ago

  • Status changed from Closed to In Progress

#6 Updated by Luke Murphey almost 8 years ago

  • % Done changed from 100 to 90

#7 Updated by Luke Murphey almost 8 years ago

Need to parse output like this:

Tracing route to att.com [144.160.36.42]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  10.0.0.1
  2    15 ms    14 ms    14 ms  192.168.1.254
  3     *        *        *     Request timed out.
  4    34 ms    33 ms    33 ms  71.145.65.194
  5    43 ms    58 ms    92 ms  12.83.43.49
  6    88 ms    66 ms    90 ms  ggr1.chail.ip.att.net [12.122.132.181]
  7   125 ms    42 ms    41 ms  12.249.81.194
  8  att.com [144.160.36.42]  reports: Destination protocol unreachable.

Trace complete.

#8 Updated by Luke Murphey almost 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

#9 Updated by Luke Murphey almost 7 years ago

  • Related to Bug #2208: Ping indicates host is live when it is not (Windows) added

Also available in: Atom PDF