firewall: prevent some applications access internet
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
firewall: prevent some applications access internet
using iptables, can i prevent some selected applications to access internet?
or can i do it using some other security tool?
i know about the incomming traffic firewall (or hosts.deny, hosts.allow), if i have deamon, such as webserver, ftp or ssh, but my problem is turned around - accessing internet from within should be denied.
for example, i would like to prevent openoffice accessing internet.
can i select, that only gaim, akregator, konqueror and yum are allowed to access internet (eth0), without writing my own kernel module?
thanks for answering, i didn't know about guarddog, i'll put it to use at some later time, it looks great.
as i've understood, guarddog supports only protocol-level firewall, not application-level (e.g. bound to PID or command name).
i like the firestarter app... it even acts as IDS.
is it possible to restrain internet access using application names, such as inetd services in hosts.deny, where i can specify IP's for sshd different from httpd.
there is only one "/usr/bin/konqueror", and could i restrain my internet access rule to this command name? perhaps, can i use SElinux to specify something like that?
once again: i would like to specify applications, that can access internet. they could all just access port 80, using http protocol, so using protocol they are indistinctable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.