Use zerolog + intercept SIGINT (#2)
* Use zerolog + intercept SIGINT * Use RFC3339 for time format and add -json flag to disable pretty printing * Added new flags to README and fixed issue when command exit was not successful
This commit is contained in:
@@ -36,6 +36,10 @@ $ ./pcap-broker --help
|
||||
Usage of ./pcap-broker:
|
||||
-cmd string
|
||||
command to execute for pcap data (eg: tcpdump -i eth0 -n --immediate-mode -s 65535 -U -w -)
|
||||
-debug
|
||||
enable debug logging
|
||||
-json
|
||||
enable json logging
|
||||
-listen string
|
||||
listen address for pcap-over-ip (eg: localhost:4242)
|
||||
-n disable reverse lookup of connecting PCAP-over-IP client IP address
|
||||
|
||||
Reference in New Issue
Block a user