PDA

View Full Version : How to filter outgoing traffic for specific process name/id?


alarm9k
11th March 2008, 11:42 AM
Hello. Since iptables doesn't support --cmd-owner any more what's the best way to filter/block the traffic for specific application?

Fedora 8 here.

forkbomb
11th March 2008, 01:08 PM
Have you looked at system-config-firewall?

Fedora has a pretty good built-in Firewall.

alarm9k
11th March 2008, 02:23 PM

I strongly believe that system-config-firewall is just a front-end to iptables.

Okay. Let me be more specific. -m owner options have been dropped from recent iptables versions AFAIK. At least it tells me so in /var/log/messages. And since I never needed anything beyond iptables, I just don't know what's best to use to restore the functionality for outgoing filters. I never used any gui for iptables and wrote all rules manually.

Or are there some other pid/cmd matching options I'm not aware of?

alarm9k
15th March 2008, 01:57 AM
Dear forum admins. Would you please move my question to the Networking section. Maybe I'll have a better chance of getting an answer there :-/

Dan
15th March 2008, 02:07 AM
Moved to Networking.

Thanks, alarm9k.

And a tip of the hat to Nokia too. <..;)..>


Dan