I am using tshark to capture network traffic on an ubuntu system.
I would like to know if there is a way to modify network traffic using iptables or some other method to add additional fields or metadata based on the ssh user generating the data (for example socks proxy).
I am later parsing that network traffic into json using tshark, so i would like to see the field there.