DNS Blacklisting?
Is there any way under linux to 'blacklist' outgoing connection requests, such that the system will not allow outgoing connections to certain DNS domains or IP addresses?
Incoming is easy to block with my firewall, and Mozilla (Suite) supported blocking HTTP requests to a black list of servers and domains, but Firefox doesn't offer a way to do it. All I want is to blacklist some extremely slow ad servers that block loading of the rest of the page, and which seem to go down for several hours every night. It's a real bother, as I do all my browsing and regular reading during what appear to be their slowest service periods.
I'm running Ubuntu, which is Debian-based enough that nearly all packages are intercompatible.
RIP GameDev.net: launched 2 unusably-broken forum engines in as many years, and now has ceased operating as a forum at all, happy to remain naught but an advertising platform with an attached social media presense, headed by a staff who by their own admission have no idea what their userbase wants or expects.Here's to the good times; shame they exist in the past.
Have you tried the Firefox extensions "AdBlock" and "AdBlock Plus" (Different despite their similar names)? Might be worth a shot...
Hope this helps,
Mike.
Hope this helps,
Mike.
If you don't like adblock and want to do it the "hard" way, open up /etc/hosts and add this line:
127.0.0.1 adserver1 adsedrver2 etcetera
127.0.0.1 adserver1 adsedrver2 etcetera
<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>
Quote: Original post by Sander
If you don't like adblock and want to do it the "hard" way, open up /etc/hosts and add this line:
127.0.0.1 adserver1 adsedrver2 etcetera
Ooh... I wouldn't have thought of something nefarious like that. Actually gives me ideas for hacking problems, too... I white-collar hack myself and friends from time to time, and that'd be a particularly interesting problem for a friend to troubleshoot.
I'll hunt down the adblock extensions... I don't usually use them, except for the beloved Download Statusbar extension (three cheers if you hate the default download manager).
RIP GameDev.net: launched 2 unusably-broken forum engines in as many years, and now has ceased operating as a forum at all, happy to remain naught but an advertising platform with an attached social media presense, headed by a staff who by their own admission have no idea what their userbase wants or expects.Here's to the good times; shame they exist in the past.
Actually, there is a nicely maintained host file
here
Works well, especially at IGN ad-mania type sites.
here
Works well, especially at IGN ad-mania type sites.
Install firestarter (an ipchains firewall GUI) and create some outgoing policies.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement