diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-11-16 22:25:18 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-11-20 22:25:18 +0100 |
commit | 9b7893909685828bc82eb7e943467217bec8a7c9 (patch) | |
tree | 13e6e932cfe40f4a8afaa0fbe77db13748f4ffd4 /README.md | |
parent | 57c5d8532bfe581df2730137ea8d2282041067a2 (diff) |
Updated README's.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -210,8 +210,7 @@ Of course, both `ncat` and `nDPId` need to point to the same UNIX-socket (`nDPId You also need to provide `nDPId` some real-traffic. You can capture your own traffic, with something similar to: ```shell -ncat -U /tmp/listen.sock -l -k -#socat UNIX-Listen:/tmp/listen.sock,fork - # does the same as `ncat` +socat -u UNIX-Listen:/tmp/listen.sock,fork - # does the same as `ncat` sudo chown nobody:nobody /tmp/listen.sock # default `nDPId` user/group, see `-u` and `-g` sudo ./nDPId -c /tmp/listen.sock -l ``` @@ -219,8 +218,7 @@ sudo ./nDPId -c /tmp/listen.sock -l `nDPId` supports also UDP collector endpoints: ```shell -ncat -u 127.0.0.1 7000 -l -k -#socat UDP-Listen:7000,fork - # does the same as `ncat` +nc -d -u 127.0.0.1 7000 -l -k sudo ./nDPId -c 127.0.0.1:7000 -l ``` |