django web application sniff network packets over tcp protocol, log in elasticsearch index, single and multi params search for packets, statistics and charts for packets
requirements
- django 1.11.12
- pyes python models
- elasticsearch-6.2.3
Running the application
- firstly run es_mapping.py script to create elasticesearch index, type and mapping:
python es_mapping.py
- migrate django models to db because we need django_session model:
`python manage.py migrate`
- run the project with root permision to run the packet sniffer and logging script:
`sudo python manange.py runserver`
- you can run packet sniffer and logging script separetly:
`sudo python packet_sniffer.py`