*** Probes *** +TCPPing binary = /usr/bin/tcpping # mandatory forks = 5 offset = 50% step = 300 timeout = 15 # The following variables can be overridden in each target section pings = 5 port = 80 # [...] *** Targets *** probe = TCPPing # if this should be the default probe # [...] + mytarget # probe = TCPPing # if the default probe is something else host = my.host pings = 5 port = 80
Integrates TCPPing as a probe into smokeping. The variable binary must point to your copy of the TCPPing program. If it is not installed on your system yet, you can get it from http://www.vdberg.org/~richard/tcpping. You can also get it from http://www.darkskies.za.net/~norman/scripts/tcpping.
The (optional) port option lets you configure the port for the pings sent. The TCPPing manpage has the following to say on this topic:
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.
It is worth noting that tcptraceroute never completely establishes a TCP connection with the destination host. If the host is not listening for incoming connections, it will respond with an RST indicating that the port is closed. If the host instead responds with a SYN|ACK, the port is known to be open, and an RST is sent by the kernel tcptraceroute is running on to tear down the connection without completing three-way handshake. This is the same half-open scanning technique that nmap(1) uses when passed the -sS flag.
Supported probe-specific variables:
Supported target-specific variables:
Norman Rasmussen <email@example.com> Patched for Smokeping 2.x compatibility by Anton Chernev <firstname.lastname@example.org>