diff options
author | pav <pav@FreeBSD.org> | 2004-05-15 02:08:13 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-15 02:08:13 +0800 |
commit | 04a1f1c311dfb3af4cf0537159f26ee7318a948a (patch) | |
tree | 662110856987970980d9452375cf2de73403894f /security/scanlogd | |
parent | 1706cef82a033634e9d6b18d0d6b25b8647d2356 (diff) | |
download | freebsd-ports-gnome-04a1f1c311dfb3af4cf0537159f26ee7318a948a.tar.gz freebsd-ports-gnome-04a1f1c311dfb3af4cf0537159f26ee7318a948a.tar.zst freebsd-ports-gnome-04a1f1c311dfb3af4cf0537159f26ee7318a948a.zip |
Add scanlogd, a TCP port scan detection tool, originally designed to illustrate
various attacks an IDS developer has to deal with. Unlike some of the other
port scan detection tools out there, scanlogd is designed to be totally safe
to use.
PR: ports/66449
Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Diffstat (limited to 'security/scanlogd')
-rw-r--r-- | security/scanlogd/Makefile | 38 | ||||
-rw-r--r-- | security/scanlogd/distinfo | 2 | ||||
-rw-r--r-- | security/scanlogd/files/patch-scanlogd.c | 10 | ||||
-rw-r--r-- | security/scanlogd/pkg-descr | 9 | ||||
-rw-r--r-- | security/scanlogd/pkg-message | 9 |
5 files changed, 68 insertions, 0 deletions
diff --git a/security/scanlogd/Makefile b/security/scanlogd/Makefile new file mode 100644 index 000000000000..cc2f6fefed34 --- /dev/null +++ b/security/scanlogd/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: scanlogd +# Date created: 10 May 2004 +# Whom: Roman Bogorodskiy +# +# $FreeBSD$ +# + +PORTNAME= scanlogd +PORTVERSION= 2.2.1 +CATEGORIES= security +MASTER_SITES= http://openwall.com/scanlogd/ \ + ftp://ftp.openwall.com/pub/projects/scanlogd/ \ + ftp://rt.fm/pub/scanlogd/ + +MAINTAINER= bogorodskiy@inbox.ru +COMMENT= TCP port scan detection tool + +.if defined(WITH_LIBNIDS) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids +.endif + +.if defined(WITH_LIBNIDS) +ALL_TARGET= libnids +.else +ALL_TARGET= libpcap +.endif + +MAN8= scanlogd.8 +PLIST_FILES= bin/scanlogd + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/scanlogd ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/scanlogd.8 ${MANPREFIX}/man/man8 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/security/scanlogd/distinfo b/security/scanlogd/distinfo new file mode 100644 index 000000000000..1ea5473da79d --- /dev/null +++ b/security/scanlogd/distinfo @@ -0,0 +1,2 @@ +MD5 (scanlogd-2.2.1.tar.gz) = ade2989402c34d122c2909b1ea819faa +SIZE (scanlogd-2.2.1.tar.gz) = 8998 diff --git a/security/scanlogd/files/patch-scanlogd.c b/security/scanlogd/files/patch-scanlogd.c new file mode 100644 index 000000000000..c9a023c41221 --- /dev/null +++ b/security/scanlogd/files/patch-scanlogd.c @@ -0,0 +1,10 @@ +--- scanlogd.c.orig Mon May 10 13:32:49 2004 ++++ scanlogd.c Mon May 10 13:33:10 2004 +@@ -11,6 +11,7 @@ + + #define _BSD_SOURCE + #include <stdio.h> ++#include <stdlib.h> + #include <unistd.h> + #include <signal.h> + #include <string.h> diff --git a/security/scanlogd/pkg-descr b/security/scanlogd/pkg-descr new file mode 100644 index 000000000000..7f3fc5db8e59 --- /dev/null +++ b/security/scanlogd/pkg-descr @@ -0,0 +1,9 @@ +scanlogd is a TCP port scan detection tool, originally designed to illustrate +various attacks an IDS developer has to deal with. Unlike some of the other +port scan detection tools out there, scanlogd is designed to be totally safe +to use. + +WWW: http://openwall.com/scanlogd/ + +-Roman Bogorodskiy +<bogorodskiy@inbox.ru> diff --git a/security/scanlogd/pkg-message b/security/scanlogd/pkg-message new file mode 100644 index 000000000000..a3258794efcb --- /dev/null +++ b/security/scanlogd/pkg-message @@ -0,0 +1,9 @@ +---------------------------------------------------------------------------- + +scanlogd requires a separate user and group named 'scanlogd' to run. +You will need to create these manually. For example: + +pw groupadd scanlogd +pw useradd scanlogd -d /nonexistent -g scanlogd -s /sbin/nologin -c SCANLOGD + +---------------------------------------------------------------------------- |