Add MASTER_SITE;

Remove patch, all work is now done in the Makefile;
Cosmetic changes;
Take maintainership, agreed by previous MAINTAINER.

brad@ ok
This commit is contained in:
margarida 2002-12-22 01:20:16 +00:00
parent 4c6edd1c29
commit 18326501dd
3 changed files with 23 additions and 35 deletions

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.9 2002/12/09 15:37:24 brad Exp $
# $OpenBSD: Makefile,v 1.10 2002/12/22 01:20:16 margarida Exp $
COMMENT= "active packet sniffer"
DISTNAME= angst-0.4b
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=angst/}
HOMEPAGE= http://angst.sourceforge.net/
LIB_DEPENDS= net::net/libnet
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=angst/} \
${MASTER_SITE_PACKETSTORM:=sniffers/angst/}
MAINTAINER= Mark Grimes <mark@stateful.net>
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
@ -18,8 +18,14 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= net::net/libnet
ALL_TARGET= angst
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
INCLUDE="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib `libnet-config --libs` -lpcap"
NO_REGRESS= Yes
do-install:

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-Makefile,v 1.2 2002/09/03 05:49:19 mark Exp $
--- Makefile.orig Thu Feb 8 05:44:06 2001
+++ Makefile Mon Sep 2 22:44:26 2002
@@ -5,13 +5,11 @@
#
# $Id: patch-Makefile,v 1.2 2002/09/03 05:49:19 mark Exp $
-CC = gcc
INSTALL_DIR = /usr/bin/install -c -o root -g bin
INSTALL_SBIN = /usr/bin/install -c -s -o root -g bin -m 555
INSTALL_MAN = /usr/bin/install -c -o root -g bin -m 444
-CFLAGS = -O2 -Wall
-INCLUDE = -I/usr/local/include
-LIBS = -L/usr/local/lib `libnet-config --libs` -lpcap
+INCLUDE = -I${LOCALBASE}/include
+LIBS = -L${LOCALBASE}/lib `libnet-config --libs` -lpcap
DEFINE = `libnet-config --defines` #-DDEBUG
OBJS = main.o active.o enable.o help.o host.o pcap.o signal.o util.o

View File

@ -1,14 +1,15 @@
Angst is an active sniffer, based on libpcap and libnet. Angst provides
methods for aggressive sniffing on switched local area network environments.
It dumps the payload of all the TCP packets received on the specified ports.
Moreover, it implements methods for active sniffing. Angst currently provides
two active sniffing methods. The first monitors ARP requests, and after
enabling IP forwarding on the local host, sends ARP replies mapping all IPs
to the local MAC address. The second method floods the local network with
random MAC addresses (like macof v1.1 by Ian Vitek), causing switches to send
packets to all ports. Made just for testing purposes and fun. If you compile
it on any other platform except the ones listed below, please contact me at the
above email address. As always, published under a BSD style license, see the
included LICENSE file.
Angst is an active sniffer, based on libpcap and libnet,
providing methods for aggressive sniffing on switched local
area network environments.
It dumps the payload of all the TCP packets received on the
specified ports. Moreover, it implements methods for active
sniffing.
Angst currently provides two active sniffing methods:
- The first monitors ARP requests, and after enabling IP
forwarding on the local host, sends ARP replies mapping
all IPs to the local MAC address.
- The second method floods the local network with random
addresses (like macof v1.1 by Ian Vitek), causing switches
to send packets to all ports.
WWW: ${HOMEPAGE}