Skip to content

Commit 52d357b

Browse files
authored
Merge pull request #12 from kaysiz/patch-1
Update README.md to match new file format (GZIP instead of JSON). Thanks for the PR!
2 parents 61439ec + 59652f7 commit 52d357b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ a collector at port 9000 in debug mode. Point your flow exporter to this port on
1818
your host and after some time the first ExportPackets should appear (the flows
1919
need to expire first).
2020

21-
After you collected some data, `main.py` exports them into JSON files, simply
22-
named `<timestamp>.json`.
21+
After you collected some data, `main.py` exports them into GZIP files, simply
22+
named `<timestamp>.gz`.
2323

24-
To analyze the saved traffic, run `analyze_json.py <json file>`. In my example
24+
To analyze the saved traffic, run `analyze_json.py -f <gzip file>`. In my example
2525
script this will look like the following, with resolved hostnames and services, transfered bytes and connection duration:
2626

2727
2017-10-28 23:17.01: SSH | 4.25M | 15:27 min | localmachine-2 (<IPv4>) to localmachine-1 (<IPv4>)
@@ -55,4 +55,4 @@ To create the test packets try the following:
5555
5. Examine the captured traffic. Use Wireshark and set the `CFLOW` "decode as" dissector on the export packets (e.g. based on the port). The `data` fields should then be shown correctly as Netflow payload.
5656
6. Extract this payload as hex stream. Anonymize the IP addresses with a hex editor if necessary. A recommended hex editor is [bless](https://github.com/afrantzis/bless).
5757

58-
The collector is run in a background thread. The difference in transmission speed from the exporting client can lead to different results, possibly caused by race conditions during the usage of the JSON output file.
58+
The collector is run in a background thread. The difference in transmission speed from the exporting client can lead to different results, possibly caused by race conditions during the usage of the GZIP output file.

0 commit comments

Comments
 (0)