import ipguard, based on a ports@ submission from maintainer

Girish Venkatachalam.

ipguard prevents unregistered hosts from operating correctly on an
ethernet segment by sending a fake ARP reply when a device transmits
with a MAC/IP pair not listed in its configuration file.
This commit is contained in:
sthen 2008-10-30 19:34:24 +00:00
parent 397fc7255c
commit 36a10ee19f
5 changed files with 58 additions and 0 deletions

25
security/ipguard/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $OpenBSD
COMMENT = protect LAN IP adress space by ARP spoofing
DISTNAME = ipguard-1.00
CATEGORIES = security
HOMEPAGE = http://ipguard.deep.perm.ru/
MASTER_SITES = ${HOMEPAGE}files/
MAINTAINER = Girish Venkatachalam <girish1729@gmail.com>
# BSD-like
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c pcap
LIB_DEPENDS = lib/libnet-1.1/net.=11:libnet-1.1*:net/libnet/1.1
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (ipguard-1.00.tar.gz) = 4BZC1ZCj40mREA4XlzKmhg==
RMD160 (ipguard-1.00.tar.gz) = h3qHaZ8uYdraUORjvIw+EExUH2Q=
SHA1 (ipguard-1.00.tar.gz) = HHuVxpDEJQnjM/co0o94qdTgLKc=
SHA256 (ipguard-1.00.tar.gz) = ObqTW2ZKSsIi9Jz8HoIIQFn7KQY85/QdWL6A7tDTWz8=
SIZE (ipguard-1.00.tar.gz) = 25484

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/10/30 19:34:24 sthen Exp $
--- Makefile.orig Thu Oct 30 12:09:30 2008
+++ Makefile Thu Oct 30 12:09:47 2008
@@ -10,12 +10,12 @@ NAME=ipguard
VERSION=1.00
## FreeBSD
-LOCALBASE=/usr/local
-LIBNET_CONFIG=libnet11-config
+#LOCALBASE=/usr/local
+#LIBNET_CONFIG=libnet11-config
## OpenBSD (tested by irix)
-# LOCALBASE=/usr/local
-# LIBNET_CONFIG=libnet-config-1.1
+LOCALBASE=/usr/local
+LIBNET_CONFIG=libnet-config-1.1
## Linux
# LOCALBASE=/usr

View File

@ -0,0 +1,3 @@
ipguard prevents unregistered hosts from operating correctly on an
ethernet segment by sending a fake ARP reply when a device transmits
with a MAC/IP pair not listed in its configuration file.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/30 19:34:24 sthen Exp $
@newgroup _ipguard:560
@newuser _ipguard:610:610:daemon:IPguard User:/var/empty:/sbin/nologin
@man man/man8/ipguard.8
@bin sbin/ipguard