Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a firewall that filters by process name?
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
_Max_
Apprentice
Apprentice


Joined: 03 Mar 2003
Posts: 264
Location: London, UK

PostPosted: Wed Sep 10, 2003 10:37 am    Post subject: a firewall that filters by process name? Reply with quote

Hi,

I was wondering whether there is a firewall application that filters according to process name? In particular, I was wondering whether there is something out there that allows you to temporarily open up e. g. an ftp port for your ftp client when you are downloading stuff. Preferably, the firewall application would prompt you and ask "would you like this program to connect to this IP number over this port" or something similar?

I saw that maybe you could set up something with iptables and the `owner' match extension, but I wouldn't trust myself to come up with something sensible, and am thinking that someone out there must have already done this. I don't want to reinvent the wheel...
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Wed Sep 10, 2003 10:45 am    Post subject: Reply with quote

I was searching for exactly the same thing this morning. FieryFilter might be able to do this, but it's "a pre-alpha version, it will probably format your harddisk. Consider it a 'preview version'." I haven't tried it after reading this warning, though :-)

Regards,
Chris
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
sschlueter
Guru
Guru


Joined: 26 Jul 2002
Posts: 578
Location: Dortmund, Germany

PostPosted: Wed Sep 10, 2003 2:02 pm    Post subject: Re: a firewall that filters by process name? Reply with quote

_Max_ wrote:

I was wondering whether there is a firewall application that filters according to process name?


You need sys-apps/systrace for this. Special kernel support is required for systrace and is included in sys-kernel/gentoo-sources for instance.

_Max_ wrote:

In particular, I was wondering whether there is something out there that allows you to temporarily open up e. g. an ftp port for your ftp client when you are downloading stuff.


You don't need systrace for regular applications that you trust and when everything goes well. It's just useful for software that is considered as untrusted or as an extra security measure in case your system got compromised.

_Max_ wrote:

Preferably, the firewall application would prompt you and ask "would you like this program to connect to this IP number over this port" or something similar?


There is a gui for systrace: sys-apps/gtk-systrace

_Max_ wrote:

I saw that maybe you could set up something with iptables and the `owner' match extension, but I wouldn't trust myself to come up with something sensible, and am thinking that someone out there must have already done this. I don't want to reinvent the wheel...


Yes, the owner match module with the --cmd-owner <name> option can also be used but it only works in the OUTPUT chain.
Back to top
View user's profile Send private message
indros
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 139

PostPosted: Wed Sep 10, 2003 2:47 pm    Post subject: Reply with quote

This may have be obvious to some, but this would only work from processes originating at the firewall, not clients behind (under the assumption it is NAT'ing).
Back to top
View user's profile Send private message
_Max_
Apprentice
Apprentice


Joined: 03 Mar 2003
Posts: 264
Location: London, UK

PostPosted: Wed Sep 10, 2003 3:02 pm    Post subject: Reply with quote

Thanks everyone. I think I am not brave enough to try FieryFilter right now as I can't afford to format my harddisk :wink: systrace sounds promising, but isn't there something a little bit mature out there as well?

Indros: I was actually thinking of something like a "personal firewall", so in my case the processes that I want to give or deny access to would run on the same machine as the firewall.
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