Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firewall, blocking processes from accessing the network?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Fri Sep 28, 2007 1:36 am    Post subject: Firewall, blocking processes from accessing the network? Reply with quote

I have a question that is kind of a rehash from a few months ago. I still havent solved this problem effectively, so here I am again.

The title pretty much says it all. I have a program that I want to block from accessing the network. I could block the port, but I dont want to block all traffic to that port, just traffic from that one process. That's it, nothing more. I just want to block one single program from ever accessing the network.....

I've spent hours looking into this, for months now and I have asked this question on at least 4 boards,and never found a good solution. netstat -p gives a good list of processes that are accessing the network, but how can I leverage this to block a program? What else can I do?

I'm frustrated as hell. Something as simple and ordinary as blocking a program from accessing the network, is impossible in Linux. I mean really? Could it really be true that you cant block a program from accessing the network? I mean really? Come on, there has to be some way of doing it.

Sorry for ranting. I dont mean no harm, please help a frustrated noob if you have the knowledge to share.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23523

PostPosted: Fri Sep 28, 2007 3:13 am    Post subject: Reply with quote

Is it not possible to configure the program not to make the connection? If the author provided no configuration, you may be able to patch the program prior to building it, so that it does not make the offending network call.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum