-
Download Elasticsearch onto EC2 Machine.
-
Clone this GitHub repository onto the EC2 Machine.
-
Change the configuration in
config/elasticsearch.yml
. Take reference from the repositorysetup/elasticsearch.yml
-
Run
elasticsearch
executable inside thebin
directory.
NOTE - Upon running the elasticsearch executable, the commandline will print the elasticsearch password. Note this password for future steps.
- Run the python scripts stored in the
setup
directory from the GitHub repository. These will populate protocols and vendor data for lookup.
-
Download the GitHub repository onto local machine.
-
Create a virtual environment
virtualenv
in the root of the project directory. -
Enter the virtual environment.
-
Install the necessary python modules via
pip install -r requirements.txt
-
Create
.env
file in the root of the project directory. -
Refer
.env.sample
and fill the elasticsearch password and EC2 instance public DNS. -
Now run the following command in the root of the project directory =>
python app.py
-
Upload the PCAP file into the HTML form.