You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ a collector at port 9000 in debug mode. Point your flow exporter to this port on
18
18
your host and after some time the first ExportPackets should appear (the flows
19
19
need to expire first).
20
20
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`.
23
23
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
25
25
script this will look like the following, with resolved hostnames and services, transfered bytes and connection duration:
26
26
27
27
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:
55
55
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.
56
56
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).
57
57
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