How to Install and Uninstall tcptraceroute Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 09,2024

1. Install "tcptraceroute" package

This is a short guide on how to install tcptraceroute on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install tcptraceroute

2. Uninstall "tcptraceroute" package

This guide covers the steps necessary to uninstall tcptraceroute on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove tcptraceroute $ sudo apt autoclean && sudo apt autoremove

3. Information about the tcptraceroute package on Ubuntu 21.10 (Impish Indri)

Package: tcptraceroute
Architecture: amd64
Version: 1.5beta7+debian-4.1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Martin Zobel-Helas
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 71
Depends: libc6 (>= 2.15), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8)
Filename: pool/universe/t/tcptraceroute/tcptraceroute_1.5beta7+debian-4.1_amd64.deb
Size: 25624
MD5sum: 78def49266ab401e412c578c0619b2cf
SHA1: 80dda97bb99d3be4e7cbc2a211f324906ae5b1d6
SHA256: ea9d44c7530f14d3ab1b4c59927820ebc32d23554c847d7fd88c1291aae0507e
SHA512: 9fe9a7627a311d17a0deb024a88dbac3e3904fb3225c128be8ad96c90c358b95b163d1610327e309ab9039a367cc4d1b079493ff396b2ea6c8e5c49062584b4c
Homepage: https://github.com/mct/tcptraceroute
Description-en: traceroute implementation using TCP packets
The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets
with a TTL of one, and increments the TTL until the destination has been
reached. By printing the gateways that generate ICMP time exceeded messages
along the way, it is able to determine the path packets are taking to reach the
destination.
.
The problem is that with the widespread use of firewalls on the modern
Internet, many of the packets that traceroute(8) sends out end up being
filtered, making it impossible to completely trace the path to the destination.
However, in many cases, these firewalls will permit inbound TCP packets to
specific ports that hosts sitting behind the firewall are listening for
connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO
packets, tcptraceroute is able to bypass the most common firewall filters.
Description-md5: 52688cf3dab46988f23b14303f40fc5a