e4d20d89e7
Nosuid TCP/IP ping is a small, secure replacement for the original ping command. Unlike its setuid counterpart, it won't allow flood-pings, security compromises and other typical problems. It uses TCP syn-rst challenge/response instead of ICMP echo and echo-reply. WWW: http://lcamtuf.coredump.cx/ from Artur Skura <arturs@iidea.pl> with changes from me
20 lines
469 B
Plaintext
20 lines
469 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/04/16 20:30:20 sturm Exp $
|
|
--- Makefile.orig Sat Feb 22 15:52:07 2003
|
|
+++ Makefile Sat Feb 22 15:53:42 2003
|
|
@@ -1,4 +1,4 @@
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
OPTS = -O3 -Wall
|
|
FILE = poink
|
|
DEST = /bin/ping
|
|
@@ -8,7 +8,8 @@ MANDIR = /usr/man/man1/
|
|
all: $(FILE)
|
|
|
|
$(FILE): $(FILE).c
|
|
- $(CC) $(OPTS) $(FILE).c -o $(FILE)
|
|
+ $(CC) $(CFLAGS) -c $(FILE).c
|
|
+ $(CC) $(LDFLAGS) -o $(FILE) $(FILE).o
|
|
|
|
install: all
|
|
cp $(FILE) $(DEST)
|