A secure one-liner that solves this problem is:
# (sudo dumpcap -w -) | wireshark -k -i -
Assuming that sudo is configured to allow the user to run "dumpcap -w -" as root.
This should be 100% secure (except from the traffic monitoring issue) and will work well in (for example) labs.
No comments:
Post a Comment