d12dc9f5ae
This is nosuid, so absolutely secure, version of ping 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
19 lines
385 B
Text
19 lines
385 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
|
|
|
|
--- 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)
|