View previous topic :: View next topic |
Author |
Message |
delone n00b

Joined: 03 Dec 2006 Posts: 5
|
Posted: Fri Aug 31, 2007 1:03 am Post subject: Blocking network for an app |
|
|
Hi friends,
I need to cut off internet access to some applications. I wonder if there is some program like a wrapper which disables network access for applications running inside it. I don't need to select ports nor protocols, I only want to avoid the application using tcp/ip.
Thanks in advance! |
|
Back to top |
|
 |
erik258 Advocate


Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Fri Aug 31, 2007 3:27 am Post subject: |
|
|
This is just a hint, but you can do so with an iptables firewall I'm almost sure. I know you could block a particular port, which would be the easiest, but if you want to get into the more complicated side of things you could also block all access by a particular program I think. _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
 |
salam Apprentice

Joined: 29 Sep 2005 Posts: 227
|
Posted: Sun Sep 02, 2007 7:51 am Post subject: |
|
|
maybe iptables -m owner --cmd-owner should do the work. bud i was never able to make it work. anybody who knows how to enable --pid-owner --sid-owner and --cmd-owner? |
|
Back to top |
|
 |
|