mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 09:40:35 -04:00
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
16 lines
660 B
Bash
16 lines
660 B
Bash
#!/bin/sh
|
|
|
|
export PYTHONPATH=%%PYTHON_LIBDIR%%:%%PYTHON_SITELIBDIR%%/exaddos:%%PYTHON_SITELIBDIR%%/exaddos/lib
|
|
|
|
INTERPRETER=%%PYTHON_CMD%%
|
|
|
|
APPLICATIONS=`$INTERPRETER -c "import sys,os; print ' '.join(os.path.join(_,'exaddos','application.py') for _ in sys.path if os.path.isfile('/'.join((_,'exaddos','application.py'))))"`
|
|
APPLICATION=`echo $APPLICATIONS | awk '{ print $1; }'`
|
|
|
|
if [ $# -eq 0 ]; then
|
|
$INTERPRETER -m exaddos.debug $APPLICATION -c %%PREFIX%%/etc/exaddos.conf --help
|
|
echo "===> To start exaddos, you should use:"
|
|
echo "===> service exaddos start"
|
|
else
|
|
exec $INTERPRETER -m exaddos.debug $APPLICATION -c %%PREFIX%%/etc/exaddos.conf $*
|
|
fi
|