Skip site navigation (1)Skip section navigation (2)
Date:      13 Jul 2004 17:47:38 -0000
From:      David Thiel <lx@redundancy.redundancy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69011: New port: net/glflow, a NetFlow DoS detection tool
Message-ID:  <20040713174738.34081.qmail@redundancy.redundancy.org>
Resent-Message-ID: <200407131750.i6DHo1MR025976@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69011
>Category:       ports
>Synopsis:       New port: net/glflow, a NetFlow DoS detection tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 13 17:50:00 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 4.9-STABLE FreeBSD 4.9-STABLE #15: Wed Nov 19 21:41:32 PST 2003 lx@redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386

>Description:

Adding glFlow 0.0.3, a DoS detection tool written with speed in mind.
It detects attacks on high speed links through real-time NetFlow
aggregation and analysis.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	glflow
#	glflow/Makefile
#	glflow/distinfo
#	glflow/pkg-descr
#	glflow/files
#	glflow/files/patch-Makefile
#
echo c - glflow
mkdir -p glflow > /dev/null 2>&1
echo x - glflow/Makefile
sed 's/^X//' >glflow/Makefile << 'END-of-glflow/Makefile'
X# Ports collection makefile for:  glflow
X# Date created:			  2004-07-12
X# Whom:				  David Thiel (lx@redundancy.redundancy.org)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	glflow
XPORTVERSION=	0.0.3
XCATEGORIES=	net security
XMASTER_SITES=	http://night.rdslink.ro/dudu/glflow/
XDISTNAME=	glFlow-${PORTVERSION}
X
XMAINTAINER=	lx@redundancy.redundancy.org
XCOMMENT=	A NetFlow tool for detecting DoS attacks
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XPLIST_FILES=	bin/glflow
XPORTDOCS=	README
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/glflow ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-glflow/Makefile
echo x - glflow/distinfo
sed 's/^X//' >glflow/distinfo << 'END-of-glflow/distinfo'
XMD5 (glFlow-0.0.3.tar.gz) = 3e0afb9c1dabb7747995050c3dff3e07
XSIZE (glFlow-0.0.3.tar.gz) = 16822
END-of-glflow/distinfo
echo x - glflow/pkg-descr
sed 's/^X//' >glflow/pkg-descr << 'END-of-glflow/pkg-descr'
XglFlow is a DoS detection tool written with speed in mind. It detects
Xattacks on high speed links through real-time NetFlow aggregation and
Xanalysis.
X
XWWW: http://freshmeat.net/projects/glflow/
END-of-glflow/pkg-descr
echo c - glflow/files
mkdir -p glflow/files > /dev/null 2>&1
echo x - glflow/files/patch-Makefile
sed 's/^X//' >glflow/files/patch-Makefile << 'END-of-glflow/files/patch-Makefile'
X--- /tmp/Makefile	Tue Jul 13 10:36:37 2004
X+++ Makefile	Tue Jul 13 10:39:47 2004
X@@ -1,20 +1,20 @@
X-CC=c++
X-CFLAGS=-O3 -pipe -include defs.h -D_USE_MD4 -D_DEBUG
X+CXX ?= g++
X+CFLAGS += -pipe -include defs.h -D_USE_MD4 -D_DEBUG
X #add -D_LINUX for compilation on Linux
X LDFLAGS=-lpcap -lcrypto
X 
X all:	clean FlowNode FlowTree HostNode HostTree main
X 
X FlowNode:
X-	$(CC) $(CFLAGS) -include Flow.h -c -o FlowNode.o FlowNode.cpp
X+	$(CXX) $(CFLAGS) -include Flow.h -c -o FlowNode.o FlowNode.cpp
X FlowTree:
X-	$(CC) $(CFLAGS) -include Flow.h -c -o FlowTree.o FlowTree.cpp
X+	$(CXX) $(CFLAGS) -include Flow.h -c -o FlowTree.o FlowTree.cpp
X HostNode:
X-	$(CC) $(CFLAGS) -include Host.h -c -o HostNode.o HostNode.cpp
X+	$(CXX) $(CFLAGS) -include Host.h -c -o HostNode.o HostNode.cpp
X HostTree:
X-	$(CC) $(CFLAGS) -include Host.h -c -o HostTree.o HostTree.cpp
X+	$(CXX) $(CFLAGS) -include Host.h -c -o HostTree.o HostTree.cpp
X main:
X-	$(CC) $(CFLAGS) -include Flow.h -include Host.h FlowNode.o FlowTree.o HostNode.o HostTree.o main.cpp -o glflow $(LDFLAGS)
X+	$(CXX) $(CFLAGS) -include Flow.h -include Host.h FlowNode.o FlowTree.o HostNode.o HostTree.o main.cpp -o glflow $(LDFLAGS)
X clean:
X 	rm -f glflow test *.o *.txt *.cpp~ *.h~
X 
END-of-glflow/files/patch-Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040713174738.34081.qmail>