aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYunchih Chen <yunchih.cat@gmail.com>2018-03-20 16:35:27 +0800
committerYunchih Chen <yunchih.cat@gmail.com>2018-03-20 16:35:27 +0800
commita1ebe8daa40c49621fd33b0c34d99227a0be9295 (patch)
treebf1eaccff2d95d5f0e2c1222b08604ad5e6420f1
parentfdb9688a860c1126da33db20dc1b943509913673 (diff)
downloadnfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.tar
nfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.tar.gz
nfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.tar.bz2
nfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.tar.lz
nfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.tar.xz
nfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.tar.zst
nfcollect-a1ebe8daa40c49621fd33b0c34d99227a0be9295.zip
Update README.md
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index b08cfbb..7b73d31 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,19 @@ specific directory, which will be scanned by `nfextract` to extract all trunks.
Due to communication with the kernel, **this program requires root privilege**.
+## Dependencies Installation
+
+#### Fedora
+
+```
+sudo dnf install libnetfilter_log libzstd-devel
+```
+
+#### Ubuntu
+
+```bash
+sudo apt install libnetfilter-log1 libnetfilter-log-dev libzstd1 libzstd1-dev
+```
## Build
@@ -38,6 +51,7 @@ Options:
-g --nflog-group=<id> the group id to collect
-p --parallelism=<num> max number of committer thread
-s --storage_size=<dirsize> log files maximum total size in MiB
+ -t --truncate whether or not to truncate existing trunks (default: no)
-v --version print version information
$ ./nfextract -h