Skip to content

CCIE23050.com CCIE Network blog HTTP://1806971003

CCIE23050.com

  • Home
  • About Me
  • Contact Me

Linux tcptraceroute

Posted on November 1, 2016 by admin

To install tcptraceroute:

ubuntu:~$ sudo apt-get install tcptraceroute

[sudo] password for xxxx:

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages were automatically installed and are no longer required:

linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic

Use ‘apt-get autoremove’ to remove them.

The following NEW packages will be installed:

tcptraceroute

0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded.

Need to get 31.1kB of archives.

After this operation, 119kB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/universe tcptraceroute i386 1.5beta7+debian-4 [31.1kB]

Fetched 31.1kB in 0s (43.0kB/s)

Selecting previously deselected package tcptraceroute.

(Reading database … 217123 files and directories currently installed.)

Unpacking tcptraceroute (from …/tcptraceroute_1.5beta7+debian-4_i386.deb) …

Processing triggers for man-db …

Setting up tcptraceroute (1.5beta7+debian-4) …

update-alternatives: renaming tcptraceroute link from /usr/sbin/tcptraceroute to /usr/bin/tcptraceroute.

update-alternatives: using /usr/bin/tcptraceroute.mt to provide /usr/bin/tcptraceroute (tcptraceroute) in auto mode.

ubuntu:~$

Now you can do traceroutes on TCP port 80.

ubuntu:~$ tcptraceroute www.yahoo.com

Selected device eth0, address 10.11.11.11, port 56878 for outgoing packets

Tracing the path to www.yahoo.com (209.191.122.70) on TCP port 80 (www), 30 hops max

1 10.11.11.12 8.097 ms 0.309 ms 0.243 ms

2 155.105.58.51 1.579 ms 1.873 ms 2.109 ms

3 h209.125.23.38.static.ip.eam.net (38.23.125.209) 0.395 ms 0.409 ms 0.551 ms

4 h181.125.23.38.static.ip.eam.net (38.23.125.181) 1.635 ms 1.423 ms 1.869 ms

5 h32.240.240.172.static.ip.eam.net (172.240.240.32) 8.033 ms 8.922 ms 9.428 ms

6 h128.254.213.151.static.ip.eam.net (153.213.254.128) 11.278 ms 8.652 ms 8.030 ms

7 xe-8-3-0.edge3.dallas1.level3.net (5.71.198.25) 9.216 ms 8.862 ms 7.992 ms

8 yahoo-inc.edge3.dallas1.level3.net (5.79.182.2) 10.001 ms 9.275 ms 9.124 ms

9 ae-1-d121.msr1.mud.yahoo.com (216.115.104.83) 10.341 ms 10.205 ms 10.587 ms

10 te-8-1.fab2-a-gdc.mud.yahoo.com (209.191.78.141) 10.580 ms 9.557 ms 9.649 ms

11 te-8-2.bas-c1.mud.yahoo.com (209.191.78.173) 10.358 ms 9.563 ms 9.661 ms

12 ir1.fp.vip.mud.yahoo.com (209.191.122.70) [open] 11.026 ms 10.533 ms 10.748 ms

ubuntu:~$

ubuntu:~$ tcptraceroute -help

tcptraceroute 1.5beta7

Copyright (c) 2001-2006 Michael C. Toren

Updates are available from http://michael.toren.net/code/tcptraceroute/

Usage: tcptraceroute [-n NFSAE no names] [-i ] [-f ]

[-l ] [-q ] [-t ]

[-m ] [-pP]] [-s]

[-w ] [destination port] [packet length]

ubuntu:~$ tcptraceroute -n www.ccie23050.com

Posted in IP, LinuxTagged Linux

Post navigation

Linux tcpdump
Linux hping3

Follow Me

  • YouTube
  • LinkedIn

Location

  • 10809 Executive Center Dr, Little Rock, AR 72211
Proudly powered by WordPress | Theme: micro, developed by DevriX.