Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 835 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 835 Bytes

Packet sniffer

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`

print screen