Attention is currently required from: Hoernchen. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27604 )
Change subject: tcpdump capture script: check permissions to fix running in a netns ......................................................................
Patch Set 1:
(1 comment)
File ttcn3-tcpdump-start.sh:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27604/comment/d217d8ea_b0526... PS1, Line 48: getpcaps doesntmatter 2>&1 | grep -e cap_net_admin | grep -q -e cap_net_raw
from the same libcap2-bin package as the setcap command in the line above.
Oh pcap here is "process capability". This is quite confusing since the code is doing stuff with pcaps ;)
And what about this "doesntmatter" ? According to man getpcaps seems to expect a pid there instead?