mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
5ef19f08db
ExaDDOS is an application able to gather different data sources to present a real time unified view of your network. It can gather: * SNMP information at your edge * IPFIX export from your routers And present it using a web interface. Our goal is to very quickly integrate it with ExaBGP to allow a "one click" anti-DDOS solution. Features include: * An RRD based solution for interface traffic graphing * AS-STATS to find which peers are our top talkers * NFSEN to collect, store and search flows * An ExaDDOS like internal solution, to quickly identify which IPs are causing an attack WWW: https://github.com/Exa-Networks/exaddos
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= exaddos
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= GH GHC \
|
|
http://mirrors.rit.edu/zi/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Monitor your network for DDoS
|
|
|
|
LICENSE= BSD
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}snmp4-mibs>=0.1.4:${PORTSDIR}/net-mgmt/py-snmp4-mibs \
|
|
${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:${PORTSDIR}/net-mgmt/py-snmp4
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Exa-Networks
|
|
GH_TAGNAME= ${PORTVERSION}
|
|
GH_COMMIT= 4e93fc1
|
|
USE_PYTHON= yes
|
|
SUB_FILES= pkg-message exaddos.sh exaddos.conf.sample
|
|
SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \
|
|
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USERS= ${PORTNAME}
|
|
GROUPS= ${PORTNAME}
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} -m compileall ${WRKSRC}/lib
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
|
|
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR}
|
|
@(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR})
|
|
@(cd ${WRKSRC}/data/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/${PORTNAME})
|
|
@${INSTALL_DATA} ${WRKDIR}/exaddos.conf.sample \
|
|
${STAGEDIR}${ETCDIR}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|