1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.


Discussion in 'Tomato Firmware' started by Jarv0, Nov 18, 2012.

  1. Jarv0

    Jarv0 Guest

    Last edited by a moderator: Dec 6, 2016
  2. Jarv0

    Jarv0 Guest

    Last edited by a moderator: Dec 6, 2016
  3. QSxx

    QSxx LI Guru Member


    1. Yes, script is working perfectly even though it was officialy "updated" quite some time ago. Only thing you need to do is periodically add new hosts - i use block which gives me a list of around 150 000 filtered hosts. This is the list i'm using:

    2. It's built to work on any Tomato version with Administration/Scripts/WAN Up section available - works perfectly on my RT-N16/Toastman combo

    3. Well, not to get too technical i'll try to put it this way: ad is not "blocked" from reaching your computer but rather connection from your computer to the server which hosts ads is blocked. Therefore ad can not be loaded and displayed on your computer. You simply cannot connect to hosts known to serve ads and because of that your surfing is ad-free (mostly)...

    4. Well it is DNS cache poisoning but you won't get in any trouble because you're poisoning your own dns cache. Not someone else. Simply put: this script (running on your router) simply replaces valid DNS record for known ad servers/hosts (that script obtains from that list i pasted) with dead end effectively preventing your computer from getting data from ad servers. Why? Because you poisoned your own DNS cache :) DNS poisoning is "active" only on your local network so NO you cannot get in trouble for that... you are not attacking anyone... you are simply stopping your computers from reaching ad servers.

    Websites might detect that you aren't loading all the ads, but there is no law that forces you to look or load ads anywhere in the world... so don't worry about it :)

    Hope I clarified stuff, feel free to ask if something else bothers you :)

    P.S. You can follow pixelserv setup for additional coolness :) it's a small binary that acts as a web server on your own router. It's job is to "fill" empty space left after ads are blocked. If you decide to run pixelserv you'll have prettier web-browsing experience :) [no more pesky 404 error pages where ads used to be displayed]
    Jarv0 likes this.
  4. Jarv0

    Jarv0 Guest

    Last edited by a moderator: Dec 6, 2016
  5. QSxx

    QSxx LI Guru Member

    No, not really... add it at the end and don't forget to include list number in GETS variable :) Otherwise just adding new SX="..." has no effect
  6. tido

    tido Networkin' Nut Member

    Tried adding all the new hosts posted above, but could only get to S8. When trying to save the changes, was prompted with a warning stating the script was too big. How did you squeeze all the hosts files in the script. Also do you guys have a good URL to test the script with. I've visited http://answers.yahoo.com/ and notices in the right hand column an AD is blocked, I assume it works. Can someone confirm?
  7. Jarv0

    Jarv0 Guest

    Last edited by a moderator: Dec 6, 2016

Share This Page