From 358c5baa72ee6f29f98b6978ad460c1f1513ed48 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 12 Apr 1997 17:17:34 +0000 Subject: [PATCH] echoping is a damn useful tool for checking reachability other than via icmp status, eg: tcp or udp. It speaks http as well, so it can "ping" a http server or a http proxy cache to make sure it's operating and not wedged. (Nearly all of our system lockups are not detected by icmp pings) --- net/echoping/Makefile | 18 ++++++++++++++++++ net/echoping/distinfo | 1 + net/echoping/files/patch-aa | 25 +++++++++++++++++++++++++ net/echoping/pkg-comment | 1 + net/echoping/pkg-descr | 16 ++++++++++++++++ net/echoping/pkg-plist | 2 ++ 6 files changed, 63 insertions(+) create mode 100644 net/echoping/Makefile create mode 100644 net/echoping/distinfo create mode 100644 net/echoping/files/patch-aa create mode 100644 net/echoping/pkg-comment create mode 100644 net/echoping/pkg-descr create mode 100644 net/echoping/pkg-plist diff --git a/net/echoping/Makefile b/net/echoping/Makefile new file mode 100644 index 000000000000..7aef1d3cae25 --- /dev/null +++ b/net/echoping/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: echoping +# Version required: 2.1-BETA +# Date created: 13 April 1997 +# Whom: peter +# +# $Id$ +# + +DISTNAME= echoping-2.1-BETA +PKGNAME= echoping-2.1b +CATEGORIES= net +MASTER_SITES= ftp://ftp.pasteur.fr/pub/Network/echoping/ + +MAINTAINER= peter@FreeBSD.ORG + +MAN1= echoping.1 + +.include diff --git a/net/echoping/distinfo b/net/echoping/distinfo new file mode 100644 index 000000000000..4748c5112a64 --- /dev/null +++ b/net/echoping/distinfo @@ -0,0 +1 @@ +MD5 (echoping-2.1-BETA.tar.gz) = 6d0355ba05c4ba9d8f730f0fd2748a6e diff --git a/net/echoping/files/patch-aa b/net/echoping/files/patch-aa new file mode 100644 index 000000000000..6d6c0a5cc468 --- /dev/null +++ b/net/echoping/files/patch-aa @@ -0,0 +1,25 @@ +--- Makefile.dist Thu Dec 19 21:58:15 1996 ++++ Makefile Sun Apr 13 00:54:03 1997 +@@ -1,5 +1,5 @@ + # Choose your C compiler +-CC = gcc ++#CC = gcc + #CC = cc + + # Possible options: +@@ -7,12 +7,12 @@ + # TTCP : supports the T/TCP protocol (few systems support it) + # USE_SIGACTION: uses sigaction instead of signal. Necessary on pure BSD + # machines because we need to change the semantic of signals. +-OPTIONS = -DHTTP -DUSE_SIGACTION ++OPTIONS = -DHTTP -DUSE_SIGACTION -DTTCP + + # Flags for gcc +-CFLAGS = -c -O3 $(OPTIONS) -Wall ++#CFLAGS = -c -O3 $(OPTIONS) -Wall + # Flags for cc +-#CFLAGS = -c -O $(OPTIONS) ++CFLAGS = -c -O $(OPTIONS) + + # Flags for the linker + LD = $(CC) diff --git a/net/echoping/pkg-comment b/net/echoping/pkg-comment new file mode 100644 index 000000000000..03f4202c68c2 --- /dev/null +++ b/net/echoping/pkg-comment @@ -0,0 +1 @@ +A ping-like program that uses tcp and/or http. diff --git a/net/echoping/pkg-descr b/net/echoping/pkg-descr new file mode 100644 index 000000000000..3689afee13a0 --- /dev/null +++ b/net/echoping/pkg-descr @@ -0,0 +1,16 @@ +"echoping" is a small program to test (approximatively) performances of a +remote host by sending it TCP "echo" (or other protocol) packets. + +- uses the protocols echo, discard, chargen or HTTP, +- uses UDP instead of TCP for the protocols which accept it (like echo), +- can repeat the test and display various measures about it, +- can use T/TCP on systems which support it. + +It's useful for checking that http servers are running and not wedged. + +The reference site for echoping is: + +ftp://ftp.pasteur.fr/pub/Network/echoping + +Stephane Bortzmeyer . October 1995 for the +first version. November 1996 for this one. diff --git a/net/echoping/pkg-plist b/net/echoping/pkg-plist new file mode 100644 index 000000000000..6b755fab27da --- /dev/null +++ b/net/echoping/pkg-plist @@ -0,0 +1,2 @@ +bin/echoping +man/man1/echoping.1.gz