Homer on purpose only listens to 127.0.0.1.
Why don't you install perl on your windows system and download pixelserv? _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Posted: Fri May 08, 2009 17:17 Post subject: not working for me
I had the old ad block script which worked fine for quite some time. Then about a month ago, my itunes podcasts wouldn't download and many video sites wouldn't work for some reason. When I removed the script everything went back to normal.
Then I saw this updated thread and it got my hopes up that I could get rid of all those crappy ads in my porn But alas it didn't work for me. The iTunes podcasts were screwed up again, giving me a dreaded "!".
I guess there is going to be negative effects when trying to implement this script. I would love to go back to the ad less pages, but the functionality has been too badly damaged for my use. Perhaps there will be a breakthrough in the future and I will give it another go.
It's not the iPod it's iTunes. I think there is some conflict with these advertisers like you mentioned wising up. Just like Cnet video's will not play.
It is just a redirector problem.
Some ads act as redirector especially doubleclick
For example
ads.someadsite.com/redirector=www.google.com
will redirect you to www.google.com but your router blocks all ads.someadsite.com causing the link to fail immediately.
Usually at the status bar of your browser when it tries to load blocked sites/videos usually you will see the advertiser's site there in the status bar as it retries a couple of times before failing.
Likewise if you're able to obtain the full link you might be able to obtain the website itself just note that some of them converts : / ? to hexadecimals so you might need to change them to a real link.
I'm not sure if it works but if i'm not wrong you can add the original adsite's ip to the hosts file so your host file will have an entry say
Code:
12.12.12.12 ad.somesite.com
Where 12.12.12.12 is the real ip address meaning ad.somesite.com is in your "allow" list
so once the browser requests for ad.somesite.com it no longer have to go through the router's DNS.
You can just google for ip lookup site to get the original IP addresses.
I didn't ignore you. It's just beyond the scope of this "solution".
Using DNS is a very effective method using little resources. It doesn't even need to resolve the DNS externally and no traffic is generated to the Internet.
More advanced measures should be taken on the more powerfull clients. Clients with those measures still benefit from this procedure. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
is there an easy way to modify the dlhosts file? i can only access my router via telnet (no ftp). i want to delete some of the blocked domains. adding the domains to my local hosts file is not very convenient since i have multiple computers. thanks.
I will, if I can find time, enhance the script so you can make a file with "whitelisted" domains which will subsequently get deleted in the dlhosts.
For now, you could do it with "vi". _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
With this script you can exclude some hosts and include others...
This is the script on MY router.
I have an USB-stick, so I prefer to have my "dlhosts" on there....
If you have only jffs as permanent storage, you should change
Code:
_f=/opt/dlhosts
into
Code:
_f=/tmp/dlhosts
In /opt/etc/ I have a file called "hosts" its contents will be blindly added.
In /opt/etc I als have a file called "dlhosts.exclude" in which I have the domains which should be stripped.
If you want to place them in /jffs you should change:
Is there something else that needs to be done after modifying the file? I removed a few domains and they are still blocked (I verified that file was updated and saved). Do I need to manually "refresh" something?
frater wrote:
I will, if I can find time, enhance the script so you can make a file with "whitelisted" domains which will subsequently get deleted in the dlhosts.
Just like in the script...
Do you need some help using the new script?? _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
No-one interested in this latest script?
Mmmm, I didn't need it myself.
I thought it was needed by some of you...
To clarify..
The enhanced script lets you take out some domains you don't want to get 'blacklisted' _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge