Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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 possilbe I want to set a proxy address for all users that can only be changed by root. Right now, I'm using IP tables to redirect port 80 traffic to the port that my proxy is running on but I would like to have my proxy run on my server and for my workstations to use that one proxy.
there is no single system wide proxy on linux, you would set it at a low level for low level apps, like wget using the http_proxy environment variable, but higher up gnome and KDE hold their own details like this in their own configuration service, gconf for gnome.
no, unkless there are suitable lockdown extensions available, but if they unset their proxy, then the surely their access should fail due to a firewall blocking them? otherwise you're implying there is a lack of security on your network...?
I am running SmoothWall Express on my firewall, which uses dnsmasq & squid. It seamlessly proxies everyone on the LAN.
At present, I use dnsmasq's blocking capabilities, but that is because it is simpler & therefore less powerful. Eventually, I'll learn squid's more powerful syntax & use that.
Its hosts file is, in effect, a master hosts for the entire network. No need to duplicate to every box on the LAN.
Its config file, dnsmasq.conf, allows domain by domain blocking w/ a syntax almost as simple as hosts'. (This can be done w/ bind, but I wouldn't call it simple.) -- No need to discover & block each new host (e.g. "ad666.obnoxious_advertiser.ro"), just kill the whole domain w/ 1 line:
If you're asking if there is an advantage to combining DHCP & DNS in 1 server daemon, I haven't noticed it yet. It's just the way dnsmasq was written -- for the firewall "market".
Its hosts file is, in effect, a master hosts for the entire network. No need to duplicate to every box on the LAN.
Its config file, dnsmasq.conf, allows domain by domain blocking w/ a syntax almost as simple as hosts'. (This can be done w/ bind, but I wouldn't call it simple.) -- No need to discover & block each new host (e.g. "ad666.obnoxious_advertiser.ro"), just kill the whole domain w/ 1 line:
If you're asking if there is an advantage to combining DHCP & DNS in 1 server daemon, I haven't noticed it yet. It's just the way dnsmasq was written -- for the firewall "market".
still, not only is that an ineffective way to filter web usage, it also has nothing to do with enforcing proxy server usage - which is the thread's topic...
Its hosts file is, in effect, a master hosts for the entire network. No need to duplicate to every box on the LAN.
Its config file, dnsmasq.conf, allows domain by domain blocking w/ a syntax almost as simple as hosts'. (This can be done w/ bind, but I wouldn't call it simple.) -- No need to discover & block each new host (e.g. "ad666.obnoxious_advertiser.ro"), just kill the whole domain w/ 1 line:
If you're asking if there is an advantage to combining DHCP & DNS in 1 server daemon, I haven't noticed it yet. It's just the way dnsmasq was written -- for the firewall "market".
i've been using dnsmasq myself for a long time, one nice benefit is that it integrates dhcp leases and dns instantly by default, no complex trust keys with dhcpd and bind... but that's only a "block" from the reason you are doing those commands, it's actually just using dnsmasq's standard dns configurations and plain lying about an address... not exactly ideal. one thing that may be relevant in this situation is whether you actually do wish to provide global dns to the internal clients by default. if their web access needs to be via a proxy then they don't need to resolve those names...
Last edited by acid_kewpie; 08-24-2006 at 12:50 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.