aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-18 09:18:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-18 09:18:21 +0000
commit98e3b66265917fba0497a91b580762acf1883218 (patch)
treeeecfb349543adf9995dda49d9118dce28a635429 /net
parent7637ed5b3a66780677ffdaefcc035f2a8bab41df (diff)
downloadports-98e3b66265917fba0497a91b580762acf1883218.tar.gz
ports-98e3b66265917fba0497a91b580762acf1883218.zip
New port: poink 1.5 (Nosuid, secure ping like utility)
New port: poink 1.5 (Nosuid, secure ping like utility). It is uses TCP SYN/RST mechanism to detect RTT. The output is very close to original ping, so it can be used as more secure replacement. PR: ports/37019 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Notes
Notes: svn path=/head/; revision=73384
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/poink/Makefile21
-rw-r--r--net/poink/distinfo1
-rw-r--r--net/poink/files/patch-aa17
-rw-r--r--net/poink/files/patch-ab16
-rw-r--r--net/poink/files/patch-ac12
-rw-r--r--net/poink/pkg-comment1
-rw-r--r--net/poink/pkg-descr4
-rw-r--r--net/poink/pkg-plist1
9 files changed, 74 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e2661083000d..479de0a9a0ec 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -446,6 +446,7 @@
SUBDIR += pim6sd
SUBDIR += pipsecd
SUBDIR += pmf
+ SUBDIR += poink
SUBDIR += poptop
SUBDIR += portfwd
SUBDIR += pppload
diff --git a/net/poink/Makefile b/net/poink/Makefile
new file mode 100644
index 000000000000..069c28958cec
--- /dev/null
+++ b/net/poink/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: poink
+# Date created: 12.04.2002
+# Whom: janos.mohacsi@bsd.hu
+#
+# $FreeBSD$
+#
+
+PORTNAME= poink
+PORTVERSION= 1.5
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_NETBSD}
+
+MAINTAINER= ports@freebsd.org
+
+MAN1= poink.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/poink ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ping.1 ${PREFIX}/man/man1/poink.1
+
+.include <bsd.port.mk>
diff --git a/net/poink/distinfo b/net/poink/distinfo
new file mode 100644
index 000000000000..aa6f120877db
--- /dev/null
+++ b/net/poink/distinfo
@@ -0,0 +1 @@
+MD5 (poink-1.5.tar.gz) = 691f6efeea758afa83645f5c78e424bb
diff --git a/net/poink/files/patch-aa b/net/poink/files/patch-aa
new file mode 100644
index 000000000000..f358be88104a
--- /dev/null
+++ b/net/poink/files/patch-aa
@@ -0,0 +1,17 @@
+--- Makefile.orig Fri Jul 10 16:10:00 1998
++++ Makefile
+@@ -1,5 +1,3 @@
+-CC = gcc
+-OPTS = -O3 -Wall
+ FILE = poink
+ DEST = /bin/ping
+ MANPAGE = ping.1
+@@ -8,7 +6,7 @@
+ all: $(FILE)
+
+ $(FILE): $(FILE).c
+- $(CC) $(OPTS) $(FILE).c -o $(FILE)
++ $(CC) $(CFLAGS) $(FILE).c -o $(FILE)
+
+ install: all
+ cp $(FILE) $(DEST)
diff --git a/net/poink/files/patch-ab b/net/poink/files/patch-ab
new file mode 100644
index 000000000000..831c2409db3e
--- /dev/null
+++ b/net/poink/files/patch-ab
@@ -0,0 +1,16 @@
+--- ping.1.orig Sat Jul 11 08:31:00 1998
++++ ping.1
+@@ -1,11 +1,11 @@
+ .TH C2SH 1 "August, 08, 1998" "poink-1.5"
+ .SH NAME
+-ping \- Nosuid, secure TCP/IP ping
++poink \- Nosuid, secure TCP/IP ping
+ .SH SYNOPSIS
+ .hy 0
+ .na
+ .TP
+-.B ping
++.B poink
+ [
+ .B -i
+ .I delay
diff --git a/net/poink/files/patch-ac b/net/poink/files/patch-ac
new file mode 100644
index 000000000000..c52cf8c6a997
--- /dev/null
+++ b/net/poink/files/patch-ac
@@ -0,0 +1,12 @@
+*** poink.c.orig Fri Apr 12 11:07:14 2002
+--- poink.c Fri Apr 12 11:07:28 2002
+***************
+*** 20,26 ****
+ #include <stdarg.h>
+ #include <errno.h>
+ #include <signal.h>
+- #include <getopt.h>
+ #include <stdlib.h>
+ #include <string.h>
+
+--- 20,25 ----
diff --git a/net/poink/pkg-comment b/net/poink/pkg-comment
new file mode 100644
index 000000000000..b8ed474b351c
--- /dev/null
+++ b/net/poink/pkg-comment
@@ -0,0 +1 @@
+Nosuid, secure ping like utility
diff --git a/net/poink/pkg-descr b/net/poink/pkg-descr
new file mode 100644
index 000000000000..60ebbf81d01d
--- /dev/null
+++ b/net/poink/pkg-descr
@@ -0,0 +1,4 @@
+This is nosuid, so absolutely secure, ping like utility.
+It uses dirty trick - TCP linear syn/rst challenge instead of
+ICMP echo/echo reply. It won't allow any flood-pings, security
+compromises etc.
diff --git a/net/poink/pkg-plist b/net/poink/pkg-plist
new file mode 100644
index 000000000000..70998c12e7b3
--- /dev/null
+++ b/net/poink/pkg-plist
@@ -0,0 +1 @@
+bin/poink