- python >= 2.7.9
- python-virtualenv
- python-dev
- python-libpcap
- python-pip
- libffi-dev
- libxslt-dev
- libxml2-dev
- libz-dev
- libcairo-dev
- libpang1.0-dev
- libpcap-dev
- Flask
- virtualenv
- pymongo
- dpkt
- netifaces
- bacpypes
- celery
- pylibpcap
- Flask-WeasyPrint
- pcapy
- pydbus
- rabbitmq-server
- mongodb
dkpt: pcap.py
- dpkt_remove_seek to enable dpkt to read from pipes
- Search via google to get patch
Place server certificate and key into /src/cert
(.key and .pem).
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout server.key -out server.pem
Adapt configs if needed.
See src/config/
Folder, configuration of overall app is done in app.ini, configuration of modules is done in seperate .ini-files.
TraViSy is capable of internal service management.
If services for modules are needed, they have to be enabled in advance.
Services managed by TraViSy are specified in the configuration file app.ini
systemctl enable rabbitmq-server
systemctl enable mongod
sudo celery -A "app.celery" worker
(sudo needed for capturing on interfaces)sudo python2 app.py
(sudo needed for service management)
Place .py file into /modules
folder.
See test.py
for minimal working example.