Sample Header Ad - 728x90

How to mark packets by program

2 votes
1 answer
1152 views
**How to mark all packets (inbound and outbound) for specific program/ cmd in Linux using iptables or any other firewall/ tool** Given that --cmd-owner option was deprecated ref:http://www.spinics.net/lists/netfilter/msg49716.html . For example, how to mark all Firefox's packets, knowing that Firefox can spawn processes so the PID option isn't feasible.
Asked by user216385 (63 rep)
Apr 19, 2023, 02:46 PM
Last activity: Apr 19, 2023, 03:52 PM