hping3 192.168.1.1Sends TCP NULL packets to target port 0.
Tests reachability without setting specific flags (default tool behavior).
A packet crafter for TCP, UDP and ICMP: test firewall rules, perform idle scans, trace paths with custom packets and measure latency.
sudo apt install hping3hping3 192.168.1.1Sends TCP NULL packets to target port 0.
Tests reachability without setting specific flags (default tool behavior).
hping3 -p 80 192.168.1.1Sends TCP packets to a specific port (-p).
Used to probe specialized services or common ports like 80.
hping3 -p ++80 192.168.1.1Increments the destination port by 1 for each packet (++80).
Iterates through a sequence of ports starting from the specified base.
hping3 -p 80++ 192.168.1.1Increments the port after every received response (80++).
Automatically traverses ports until a successful interaction occurs.
hping3 -8 1-1000 192.168.1.1Scans a range of ports using TCP SYN mode (-8).
Identifies open ports by attempting half-open connections.
hping3 --scan 80,443,8080 192.168.1.1Scans specifically listed ports in SYN mode.
Allows granular targeting of specific services on the host.
hping3 -8 known 192.168.1.1Scans a predefined list of common ports.
Quickly checks for the most frequently used network services.
hping3 -S -p 80 192.168.1.1Sends TCP SYN packets for half-open scanning (-S).
Probes a port to see if it responds with SYN-ACK without completing the handshake.
hping3 -A -p 80 192.168.1.1Sends TCP ACK packets (-A).
Used to map firewall rules and determine if ports are filtered or unfiltered.
hping3 -F -p 80 192.168.1.1Sends TCP FIN packets (-F).
Tests firewall filtering behavior or cleanly requests connection termination.
hping3 -R -p 80 192.168.1.1Sends TCP RST (Reset) packets (-R).
Forcefully terminates a connection or tests the target's reset logic.
hping3 -P -p 80 192.168.1.1Sends TCP PSH (Push) packets (-P).
Instructs the receiver to pass data directly to the application without buffering.
hping3 -U -p 80 192.168.1.1Sends TCP URG (Urgent) packets (-U).
Signals that the packet contains data that should be processed immediately.
hping3 -X -p 80 192.168.1.1Sends TCP Xmas scan packets (-X).
Sets FIN, URG, and PSH flags to elicit specific stack responses for OS detection.
hping3 -Y -p 80 192.168.1.1Sends TCP Ymas scan packets (-Y).
Sets FIN, URG, PSH, and ACK flags to probe advanced filtering responses.
hping3 -S -A -p 80 192.168.1.1Sends TCP SYN-ACK packets (-S -A).
Crafts a response typically sent by a server to a client SYN request.
hping3 -c 3 192.168.1.1Sends exactly 3 packets and stops (-c 3).
Useful for controlled connectivity checks without infinite looping.
hping3 -i 5 192.168.1.1Sets a 5-second interval between packets (-i 5).
Slows down the probe rate to reduce network load or avoid detection.
hping3 -i u1000 192.168.1.1Sets a 1-millisecond interval between packets (-i u1000).
Increases the scanning speed for high-performance network testing.
hping3 --fast 192.168.1.1Sends 10 packets per second (--fast).
Balances speed and network stability for general discovery.
hping3 --faster 192.168.1.1Sends 100 packets per second (--faster).
High-speed mode for rapid port scanning and network stress analysis.
hping3 --flood -c 1000 192.168.1.1Sends packets as fast as possible (--flood).
Generates massive traffic for saturation testing and firewall stress analysis.
hping3 -d 120 192.168.1.1Sets the packet data payload size (-d 120).
Adds arbitrary data to the packet to test MTU or application handling.
hping3 -E /etc/issue -d 100 192.168.1.1Loads data from a file into the payload (-E).
Sends specific binary or text content from local storage within the packets.
hping3 -e 'signature' 192.168.1.1Fills the payload with a specific string (-e).
Customizes the data section to include signatures or identifying markers.
hping3 -f -d 1000 192.168.1.1Splits packets into fragments (-f).
Tests how target stacks and firewalls handle fragmented IP traffic.
hping3 -x -d 1000 192.168.1.1Sets the 'More Fragments' (MF) IP flag (-x).
Indicates that subsequent fragments follow, part of fragmentation testing.
hping3 -y -d 1000 192.168.1.1Sets the 'Don't Fragment' (DF) IP flag (-y).
Prevents intermediate routers from fragmenting the packet, used for MTU discovery.
hping3 -g 8 192.168.1.1Sets the fragment offset value (-g 8).
Manually controls the placement of data within the fragmented sequence.
hping3 -M 1000 192.168.1.1Sets the TCP Sequence Number explicitly (-M 1000).
Manually specifies the packet's identification in a TCP stream.
hping3 -L 2000 192.168.1.1Sets the TCP Acknowledgement (ACK) Number (-L 2000).
Used to craft specific responses for stream analysis or session hijacking tests.
hping3 -w 64 192.168.1.1Sets the TCP Window size (-w 64).
Controls the amount of data the sender is willing to receive without acknowledgement.
hping3 -N 5555 192.168.1.1Sets the IP Identification field (-N 5555).
Provides a unique ID for the packet, useful for tracking fragments or OS fingerprinting.
hping3 -q 192.168.1.1Runs in quiet mode (-q).
Suppresses standard packet summary output for cleaner results.
hping3 -V 192.168.1.1Runs in verbose mode (-V).
Shows detailed packet fields and headers for in-depth analysis.
hping3 -D 192.168.1.1Runs in debug mode (-D).
Displays internal debugging information sent by the hping3 process.
hping3 -I eth0 192.168.1.1Sends packets via a specific interface (-I eth0).
Ensures traffic exits through the correct network adapter.
hping3 -1 -C 13 192.168.1.1Sends ICMP Timestamp Request packets (-C 13).
Used to query the target host's current system time.
hping3 -1 -K 0 192.168.1.1Sets the ICMP Code field (-K 0).
Granularly controls the sub-type of the ICMP message being sent.
hping3 --icmp-ts 192.168.1.1Alias for sending ICMP Timestamp requests (--icmp-ts).
Specifically probes for time synchronization data.
hping3 --icmp-addr 192.168.1.1Sends ICMP Address Mask Request packets (--icmp-addr).
Attempts to discover the subnet mask used by the target host.
hping3 -r 192.168.1.1Displays incremental ID field relativity (-r).
Estimates target host traffic levels based on IP ID field progression.
hping3 -b 192.168.1.1Sends packets with invalid checksums (-b).
Tests whether the target stack correctly drops corrupted traffic.
hping3 -O 192.168.1.1Sends packets with a fake TCP Timestamp option (-O).
Probes how the target handles modern TCP extensions.
hping3 --tcpoff 192.168.1.1Sets the TCP data offset manually (--tcpoff).
Used in advanced packet crafting to test stack boundary conditions.
hping3 --tcpseq 123456789 192.168.1.1Sets a specific 32-bit TCP sequence number (--tcpseq).
Forces a particular stream position for traffic analysis.
hping3 -V -p 80 -S -y -d 1472 192.168.1.1Tests for MTU issues on port 80.
Sends max-sized frames with SYN and Don't Fragment set for path testing.
hping3 --ts 192.168.1.1Adds a timestamp to the packet log (--ts).
Provides exact timing for each packet event in the output stream.
hping3 --helpDisplays the help menu (--help).
Provides a quick reference for hping3 usage and flags.
hping3 --versionDisplays the hping3 version info (--version).
Identifies the current software build and capabilities.
hping3 -S -p 80 --flood -c 100 192.168.1.1Performs a limited TCP SYN flood on port 80.
Sends 100 packets quickly to validate firewall rate limiting rules.
hping3 -S -P -U -p 80 192.168.1.1Sends packets with multiple TCP flags set simultaneously.
Crafts complex combinations of SYN, PUSH, and URG to probe stack handling.
hping3 -F -R -p 80 192.168.1.1Sends packets with FIN and RST flags set.
Used to test stateless filters that may allow illegal combined flags.
hping3 --beep 192.168.1.1Plays an audible alert for every response (--beep).
Provides a sound-based indicator of host connectivity during testing.
hping3 --lsrr 10.0.0.1 192.168.1.1Uses Loose Source Record Route option (--lsrr).
Attempts to route packets through specific intermediate hop addresses.
hping3 --ssrr 10.0.0.1 192.168.1.1Uses Strict Source Record Route option (--ssrr).
Forces packets to take an exact, predefined path through the network.
hping3 --rroute 192.168.1.1Uses Record Route option (--rroute).
Traces the route by having hops add their IPs to the packet header.
hping3 -a 192.168.1.254 -S 192.168.1.1Spoofs traffic from the gateway IP address.
Simulates incoming traffic originating from the local network exit point.
hping3 -W 192.168.1.1Uses sliding window ID analysis (-W).
Analyzes flow control mechanisms and window scaling on the target host.
hping3 -k -s 3000 -p 80 192.168.1.1Forces source port to remain constant (-k).
Ensures all probes originate from exactly the same port for policy testing.
hping3 -n 192.168.1.1Displays numeric IP addresses (-n).
Prevents time-consuming DNS reverse lookups during scanning.
hping3 --u1000 192.168.1.1Sets timing in microseconds (--u1000).
Legacy alias for nanosecond-precision interval configuration.
hping3 --end 192.168.1.1Indicates end of file transfer (--end).
Signals that the packet stream for a file transmission is complete.
hping3 -e 'TEST' -p 80 192.168.1.1Adds custom signature to the payload (-e).
Checks if Deep Packet Inspection (DPI) or IDS triggers on specific content.
hping3 -p 80 192.168.1.1Sends a TCP packet with no flags set (Null Scan).
Probes ports to elicit a response according to standard stack behavior.
hping3 -I eth0 -9 signatureListens in promiscuous mode for signature on eth0.
Captures matching packets passing through the interface, regardless of destination.
hping3 -f -p 53 -d 100 -E payload.bin 192.168.1.1Transfers file data via DNS tunnel simulation.
Sends fragmented packets to port 53 to test exfiltration detection.
hping3 -6 2001:db8::1Enables IPv6 mode (-6).
Allows testing reachability and protocol interactions on IPv6 addresses.
hping3 -2 -p 53 192.168.1.1Sends UDP packets to DNS port 53.
Verifies if UDP services are responding on the target host.
hping3 -f -m 24 192.168.1.1Forces extreme fragmentation with 24-byte MTU.
Aggressively tests stack fragmentation reassembly and IDS evasion.
hping3 --rand-source -S -p 80 --flood 192.168.1.1Simulates a DDoS flood with random sources.
Aggressive stress test for network infrastructure and security controls.
hping3 -f -t 24 -P -p 80 192.168.1.1Combines fragmentation, evasion TTL, and PUSH flags.
A sophisticated probe designed to bypass simple security monitoring.
The standard network scanner: discovers hosts, open ports, running services and versions, operating systems, and runs NSE scripts for deeper checks.
Pings many hosts in parallel and reports which are alive — a faster, script-friendly alternative to looping over ping.
Sends ICMP echo requests to test reachability and measure round-trip time.