hosts file
Page 1 of 1
crossmr




Posts: 2966
Location: United Kingdom
PostPosted: Tue, 8th Aug 2006 08:32    Post subject: hosts file
Does anyone know if you can use wildcards in the host file?
I'm using it to block those shitty ass context adds, and places like intellitext use an infinite amount of subdomains. I'm wondering if I can make entries like:
127.0.0.1 *.intellitext.com

anyone have a good ad-blocking host file?
Back to top
s_hole




Posts: 765

PostPosted: Tue, 8th Aug 2006 12:01    Post subject:
dns the domain and use the ip instead
i doubt they use too many IPs

block from the firewall
or from the web browser
opera's adblock is quite brilliant
and firesux has tons of plugins for it
Back to top
crossmr




Posts: 2966
Location: United Kingdom
PostPosted: Tue, 8th Aug 2006 17:34    Post subject:
Yeah I tried a plugin for firefox, but it caused my browser to crash a lot, I had to dump it. They're essentially not much different than using the hosts file.


intel ultra 7 265k, 64gb ram, 3070
Back to top
crossmr




Posts: 2966
Location: United Kingdom
PostPosted: Fri, 11th Aug 2006 18:48    Post subject:
That's a nice idea, blocking the IP, but useless unless I block a range then who knows what all else I get. their main page intellitxt.com, and two subdomains I've blocked so far via the hosts file all have different ips, rpg.us.intellitxt.com and techpage.us.intellitxt.com are all different, so blocking IPs seems futile as well.

I tried usign an * as a wildcard in the hosts file and no luck there.


intel ultra 7 265k, 64gb ram, 3070
Back to top
tjuma




Posts: 542

PostPosted: Fri, 11th Aug 2006 22:39    Post subject:
afaik wildcards will not work with the hosts file
you can check out premade host files for ad-filtering, though
like those:
http://hostsfile.mine.nu/downloads/
http://someonewhocares.org/hosts/

edit:
make a backup of your old hosts file

there are reports that a huge hosts file can slow down your system if you have the dns client service enabled
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Applications
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

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


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group