Documentation

hping3 – TCP/IP packet assembler and network analyser

hping3 is a command-line network utility for constructing and sending customised TCP/IP packets. It is designed for examining network behaviour, testing firewalls and investigating how remote systems respond to different types of traffic.

Unlike conventional ping, hping3 is not limited to ICMP echo requests. It can generate TCP and UDP packets, manipulate protocol fields and inspect the responses returned by remote hosts.

The application is particularly useful for network administrators, security researchers and students learning about TCP/IP. Its extensive packet controls make it possible to investigate routing, filtering and protocol behaviour at a lower level than ordinary connectivity tools.

This is free and open source software.

Key Features

  • Generate TCP, UDP, ICMP and raw IP packets.
  • Configure TCP flags, source and destination ports and packet payloads.
  • Customise IP time-to-live, type-of-service and other header fields.
  • Probe firewall rules and investigate packet filtering.
  • Perform TCP-based port scanning and examine returned flags.
  • Traceroute mode using different supported protocols.
  • Investigate network paths using customised TTL values.
  • Construct fragmented packets for protocol testing.
  • Control packet sizes, transmission intervals and repetition.
  • Examine TCP sequence numbers, acknowledgements and window sizes.
  • Assist with operating-system fingerprinting and TCP/IP stack analysis.
  • Test path maximum transmission unit behaviour.
  • Scripting facilities for automating more complex packet experiments.

Website: github.com/antirez/hping
Support:
Developer: Salvatore Sanfilippo and contributors
License: GNU General Public License v2.0

hping in action

hping is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Alternatives to ping
pingnooOffers a graphical representation for traceroute and ping output (GUI)
hping3Supports TCP, UDP, ICMP and RAW-IP protocols with traceroute mode
gpingPing but with a graph
GNOME NettoolPerforms ping, netstat, traceroute, port scans, lookup, and whois (GUI)
mtrCombines 'traceroute' and 'ping' programs in a single network tool
pingtopPing multiple servers and show the result in a top like terminal UI
pinguCommand implementation in Go but with colorful output and pingu ascii art
2pingBi-directional ping tool using 3-way pings (akin to TCP SYN, SYN/ACK, ACK)
BWPingMeasures bandwidth and response times between two hosts using ICMP
cnpingMinimal graphical IPv4 Ping / HTTP tool
fpingSend ICMP echo probes to network hosts
SmokePingMeasure, store and display latency, latency distribution and packet loss
tcpingICMP ping but for TCP
alivePeriodic ping
ping3Python3 version of ICMP ping
echopingTesting tool for network protocols
xpingContinuously probe multiple hosts using icmp-echo
ompingTest IPv4/IPv6 multicast connectivity on a LAN
TrippyNetwork diagnostic tool combining the functionality of ping & traceroute
EchoSimple GUI GTK4 utility to ping websites
pingstatMulti-server ping logging
mypingPing multiple hosts at the same time
mtr085Fork of mtr adding functionality such as Unicode histograms
mtr-gtkGUI frontend
Ping MonitorDisplays real-time ping times (GUI)
split pingSee the direction of loss or latency
ringping rewritten in Rust

Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted