BSD Ports

net/hping 3.0.0pre1p2 OpenBSD

command-line oriented TCP/IP packet assembler/analyzer

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
net

Description

hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired by the ping(8) unix command, but hping isn't just for sending ICMP echo requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files in a covert channel, and many other features. While hping was mainly used as a security tool in the past, it can be used in many ways by people that don't care about security to test networks and hosts. A subset of the stuff you can do using hping:

  • Firewall testing Advanced port scanning
  • Network testing, using different protocols, TOS, fragmentation
  • Manual path MTU discovery
  • Advanced traceroute, under all the supported protocols
  • Remote OS fingerprinting
  • Remote uptime guessing
  • TCP/IP stacks auditing

N.B. the message "[send_ip] sendto: No route to host" often indicates that sending a packet has been blocked by PF on the local machine.

In the other systems

SystemPortVersion
OpenBSDnet/hping3.0.0pre1p2
NetBSDnet/hping2.0.0.3nb2
MidnightBSDnet/hping2.0.0r3_2,1

Install

Binary package:

pkg_add hping

From the ports tree:

cd /usr/ports/net/hping && make install

Dependencies

No port depends on this one.