Skip to content

Commit

Permalink
updated README for pcap support
Browse files Browse the repository at this point in the history
  • Loading branch information
unprovable committed Sep 19, 2024
1 parent 3406adf commit 1710e47
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ Where `<iface>` should be replaced with the network interface to be monitored (`

If you have installed `cryptomon` as a service, then you do not need to run the first line. To check the monitor is working you can run `db.cryptomon.count({})` from `mongosh` to see if the record count is increasing.

## PCAP Files

To parse a pcap file `test.pcap`, simply run:

```bash
./parse-pcap.sh test.pcap
```

So long as your data environment variables are all set, then this will parse the PCAP data and replay it over the loopback `lo` interface, allowing cryptomon to parse it.

## FastAPI

To access the FastAPI documentation go to `http://0.0.0.0:8000/docs` to find the documentation for the backend API.
Expand Down

0 comments on commit 1710e47

Please sign in to comment.