6d5eb37651
LaBrea is a program that creates a tarpit or, as some have called it, a "sticky honeypot". LaBrea takes over unused IP addresses on a network and creates "virtual machines" that answer to connection attempts. LaBrea answers those connection attempts in a way that causes the machine at the other end to get "stuck", sometimes for a very long time.
20 lines
609 B
Text
20 lines
609 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2001/10/11 14:49:31 agc Exp $
|
|
|
|
--- Makefile.orig Thu Sep 13 18:00:00 2001
|
|
+++ Makefile Thu Oct 11 15:28:45 2001
|
|
@@ -1,12 +1,8 @@
|
|
all: LaBrea
|
|
|
|
-OPTFLAGS = -g -O6 -funroll-loops -frerun-cse-after-loop -finline-functions \
|
|
--mcpu=i686 -fexpensive-optimizations
|
|
-#OPTFLAGS = -g
|
|
-CC = gcc
|
|
-CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES)
|
|
-LDLIBS = `libnet-config --libs` -lpcap
|
|
-INCLUDES = -I/usr/include/pcap
|
|
+CFLAGS= -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES)
|
|
+LDLIBS= `libnet-config --libs` -lpcap
|
|
+INCLUDES= -I${PREFIX}/include
|
|
|
|
LaBrea: LaBrea.o
|
|
|