head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.06.01.00;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2011.04.27.17.41.59;	author skreuzer;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switch exporter over
@
text
@# New ports collection makefile for:	arpCounterattack
# Date created:				05 November 2010
# Whom:					Boris Kochergin <spawk@@acm.poly.edu>
# $FreeBSD: head/security/arpCounterattack/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	arpCounterattack
PORTVERSION=	1.2.0
CATEGORIES=	security
MASTER_SITES=	http://isis.poly.edu/~bk/${PORTNAME}/ \
		http://bk.macroblock.net/${PORTNAME}/
EXTRACT_SUFX=	.tbz

MAINTAINER=	spawk@@acm.poly.edu
COMMENT=	Detects and remedies ARP attacks

LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet

SUB_FILES=	pkg-message

USE_RC_SUBR=	${PORTNAME}

.include <bsd.port.pre.mk>

post-install:
	@@if [ ! -f ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf ]; then \
		${CP} -p ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf.sample \
		${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf ; \
	fi
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.1
log
@arpCounterattack is a program for detecting and remedying "ARP attacks." It
monitors traffic on any number of Ethernet interfaces and examines ARP replies
and gratuitous ARP requests. If it notices an ARP reply or gratuitous ARP
request that is in conflict with its notion of "correct" Ethernet/IP address
pairs, it logs the attack if logging is enabled, and, if the Ethernet
interface that the attack was seen on is is configured as being in aggressive
mode, it sends out a gratuitous ARP request and a gratuitous ARP reply with
the "correct" Ethernet/IP address pair in an attempt to reset the ARP tables
of hosts on the local network segment. The corrective gratuitous ARP request
and corrective gratuitous ARP reply can be sent from an Ethernet interface
other than the one that the attack was seen on.

WWW: http://acm.poly.edu/wiki/ARP_Counterattack

PR:		ports/151973
Submitted by:	Boris Kochergin <spawk@@acm.poly.edu>
@
text
@d4 1
a4 1
# $FreeBSD$
@

