From 51ae1a3d86dd258694c69a05b983db0c3cf52820 Mon Sep 17 00:00:00 2001 From: jylefort Date: Sun, 19 Mar 2006 23:11:14 +0000 Subject: Add silktools. SiLK, the System for Internet-Level Knowledge, is a collection of netflow tools developed by the CERT/NetSA (Network Situational Awareness) Team to facilitate security analysis in large networks. SiLK consists of a suite of tools which collect and examine netflow data, allowing analysts to rapidly query large sets of data. WWW: http://silktools.sourceforge.net PR: ports/94623 Submitted by: David Thiel --- security/Makefile | 1 + security/silktools/Makefile | 22 ++++++++++++ security/silktools/distinfo | 3 ++ .../files/patch-src_rw_rwpmatch_rwpdedupe.c | 38 ++++++++++++++++++++ security/silktools/pkg-descr | 8 +++++ security/silktools/pkg-plist | 40 ++++++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 security/silktools/Makefile create mode 100644 security/silktools/distinfo create mode 100644 security/silktools/files/patch-src_rw_rwpmatch_rwpdedupe.c create mode 100644 security/silktools/pkg-descr create mode 100644 security/silktools/pkg-plist (limited to 'security') diff --git a/security/Makefile b/security/Makefile index 99e4588b9b47..f1e7d7a0714a 100644 --- a/security/Makefile +++ b/security/Makefile @@ -558,6 +558,7 @@ SUBDIR += shishi SUBDIR += sig2dot SUBDIR += signing-party + SUBDIR += silktools SUBDIR += skip SUBDIR += sks SUBDIR += slurpie diff --git a/security/silktools/Makefile b/security/silktools/Makefile new file mode 100644 index 000000000000..2ada95a719f6 --- /dev/null +++ b/security/silktools/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: silktools +# Date created: 2006-03-17 +# Whom: David Thiel +# +# $FreeBSD$ +# + +PORTNAME= silktools +PORTVERSION= 0.8.2 +CATEGORIES= security net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lx@redundancy.redundancy.org +COMMENT= Tools for large-scale network capture analysis + +GNU_CONFIGURE= yes +USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" GCC_FLAGS="" CFLAGS_RELEASE="" +ALL_TARGET= release + +.include diff --git a/security/silktools/distinfo b/security/silktools/distinfo new file mode 100644 index 000000000000..2fcde3651d4b --- /dev/null +++ b/security/silktools/distinfo @@ -0,0 +1,3 @@ +MD5 (silktools-0.8.2.tar.gz) = 2de3ff09eef509d7305c015256b27c94 +SHA256 (silktools-0.8.2.tar.gz) = 02dbbc2577740ad8383d493da1f98ea501d4457830761c50bcc0a4418d62509b +SIZE (silktools-0.8.2.tar.gz) = 668647 diff --git a/security/silktools/files/patch-src_rw_rwpmatch_rwpdedupe.c b/security/silktools/files/patch-src_rw_rwpmatch_rwpdedupe.c new file mode 100644 index 000000000000..57c2ee9f4a5c --- /dev/null +++ b/security/silktools/files/patch-src_rw_rwpmatch_rwpdedupe.c @@ -0,0 +1,38 @@ +--- src/rw/rwpmatch/rwpdedupe.c.orig Sun Mar 19 23:57:23 2006 ++++ src/rw/rwpmatch/rwpdedupe.c Sun Mar 19 23:57:45 2006 +@@ -782,13 +782,14 @@ + input_t *buffers, + int index ) + { ++ pcap_pkt_t *pkt; ++ sk_link_err_t rv; ++ sk_link_item_t *node; ++ + assert( buffers != NULL ); + assert( index >= 0 ); + assert( index < g_input_count ); + +- pcap_pkt_t *pkt; +- sk_link_err_t rv; +- sk_link_item_t *node; + rv = skLinkGetHead( &node, buffers[index].head ); + if ( rv != SKLINK_OK ) { + return NULL; +@@ -808,13 +809,14 @@ + input_t *buffers, + int index ) + { ++ pcap_pkt_t *pkt; ++ sk_link_err_t rv; ++ sk_link_item_t *node; ++ + assert( buffers != NULL ); + assert( index >= 0 ); + assert( index < g_input_count ); + +- pcap_pkt_t *pkt; +- sk_link_err_t rv; +- sk_link_item_t *node; + rv = skLinkGetTail( &node, buffers[index].head ); + if ( rv != SKLINK_OK ) { + return NULL; diff --git a/security/silktools/pkg-descr b/security/silktools/pkg-descr new file mode 100644 index 000000000000..1d3c327928e4 --- /dev/null +++ b/security/silktools/pkg-descr @@ -0,0 +1,8 @@ +SiLK, the System for Internet-Level Knowledge, is a collection of +netflow tools developed by the CERT/NetSA (Network Situational +Awareness) Team to facilitate security analysis in large networks. + +SiLK consists of a suite of tools which collect and examine netflow +data, allowing analysts to rapidly query large sets of data. + +WWW: http://silktools.sourceforge.net diff --git a/security/silktools/pkg-plist b/security/silktools/pkg-plist new file mode 100644 index 000000000000..909baddf132f --- /dev/null +++ b/security/silktools/pkg-plist @@ -0,0 +1,40 @@ +@comment $FreeBSD$ +bin/buildset +bin/mapsid +bin/num2dot +bin/readset +bin/rwaddrcount +bin/rwappend +bin/rwbag +bin/rwbagbuild +bin/rwbagcat +bin/rwbagtool +bin/rwcat +bin/rwcount +bin/rwcut +bin/rwfglob +bin/rwfileinfo +bin/rwfilter +bin/rwflowpack +bin/rwfpd +bin/rwgroup +bin/rwmatch +bin/rwnetmask +bin/rwpcut +bin/rwpdedupe +bin/rwpmatch +bin/rwptoflow +bin/rwrandomizeip +bin/rwrtd2split +bin/rwset +bin/rwset-union +bin/rwsort +bin/rwstats +bin/rwswapbytes +bin/rwtotal +bin/rwuniq +bin/setintersect +lib/libccfilter_new.so +lib/libipfilter.so +lib/librwslammer.so +lib/librwsynackfin.so -- cgit