From 90bcb19f4df9fa7c022a30b346d7c7f56c9c669f Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 23 Jan 2008 16:50:54 +0000 Subject: prepare for the release of smokeping-2.3.0 --- lib/Smokeping/probes/TCPPing.pm | 50 ++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'lib/Smokeping') diff --git a/lib/Smokeping/probes/TCPPing.pm b/lib/Smokeping/probes/TCPPing.pm index a6da253..9e1508b 100644 --- a/lib/Smokeping/probes/TCPPing.pm +++ b/lib/Smokeping/probes/TCPPing.pm @@ -1,21 +1,31 @@ package Smokeping::probes::TCPPing; -=head1 NAME +=head1 301 Moved Permanently -probes::TCPPing - TCPPing Probe for SmokePing +This is a Smokeping probe module. Please use the command -=head1 SYNOPSIS +C - *** Probes *** - + TCPPing - binary = /usr/bin/tcpping - forks = 10 +to view the documentation or the command - *** Targets *** - port = 80 +C -=head1 DESCRIPTION +to generate the POD document. +=cut + +use strict; +use base qw(Smokeping::probes::basefork); +use IPC::Open3; +use Symbol; +use Carp; + +sub pod_hash { + return { + name => < < 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. @@ -39,24 +49,14 @@ 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. - -=item forks - -The number of concurrent processes to be run. See probes::basefork(3pm) -for details. - -=head1 AUTHOR - +DOC + authors => <<'DOC', Norman Rasmussen Patched for Smokeping 2.x compatibility by Anton Chernev +DOC + } +} -=cut - -use strict; -use base qw(Smokeping::probes::basefork); -use IPC::Open3; -use Symbol; -use Carp; sub new($$$) { -- cgit v1.2.3-24-g4f1b