Archivi Tag: ip


Boring Video ADS on Youtube seem to download content from many URI all around internet. Thank to Firebug (Mozilla Plugin) it’s very simple to individuate domains from which your browser downloads ADS and Video ADS when you watch Youtube’s Video.

FireBug Screenshot

Red lines are contents not downloaded.

A very simple procedure to avoid Video Ads is to modify the (famous) HOSTS file letting your operating system to resolve the domains involved in the ADS network with ip 127.0.0.1 (your own system) actually blocking downloads of pages, code and ADS videos. I prefer this procedure than many others you can find on internet because it’s not necessary to install anything on you computer.

How to do it (I assume you have a Windows machine, if not, find the HOSTS file for your system):

  1. Start Menu -> Accessories -> right click on “Command prompt” -> click on “Run as administrator“.
    A black window will open. If you have a Windows XP pc, simply open a commad prompt window;
  2. cut and paste in the command window this string “notepad c:\Windows\System32\drivers\etc\hosts” (then press “enter” key);
  3. notepad will open, then put those lines at the end of file:

    127.0.0.1        s0.2mdn.net
    127.0.0.1        googleads.g.doubleclick.net
    127.0.0.1        ad.doubleclick.net
    127.0.0.1        files.adform.net
    127.0.0.1        secure-ds.serving-sys.com

    (without quotes)
    You should see something like the picture;

    [Update] No Youtube ads
    close notepad saving the file;

  4. in the command window run this command ipconfig /flushdns (“enter“!) to flush DNS cache of your PC;
  5. close the command window.

Try to navigate Youtube, now you shouldn’t see any Video ADS before your preferred videos.

NOTES:

  • It may be the first host is no more strictly necessary, but if it remains in the hosts file is not a problem;
  • It may be introdused a delay from the page loading and the start of videos, only few seconds. That’s because browser has to wait the abortion of connections to localhost (127.0.0.1);
  • It may be possible not all necessary hosts are indicated in this post. Some hosts may change, depend of you location around the World due to resources distribution. Please, use FireBug to update your own host lists (and send me a message so I can update too! 😉 );
  • Playlists are not affected by any problem. You can enjoy your music without any ADS interruption.

 

THIS POST HAS BEEN UPDATED AND RE-EDITED
PLEASE CLICK HERE :

https://www.lolloland.com/2015/06/06/update-june-2015-technote-remove-video-ads-youtube-software/

Boring Video ADS on Youtube seem to download content from the domain 2mdn.net, precisely from the url http://s0.2mdn.net/instream/flash/v3/adsapi_3.swf .

A very simple procedure to avoid Video Ads is to modify the (famous) HOSTS file letting your operating system to resolve the domain 2mdn.net with ip 127.0.0.1 (your own system) actually blocking downloads of pages, code and videos from the ads system. I prefer this procedure than many others you can find on internet because it’s not necessary to install anything on you computer.

How to do it (I assume you have a Windows machine, if not, find the HOSTS file on your system):

  1. Start Menu -> Accessories -> right click on “Command prompt” -> click on “Run as administrator“. A black window will open. If you have a Windows XP pc, simply open a commad prompt window;
  2. cut and paste in the command window this string “notepad c:\Windows\System32\drivers\etc\hosts” (then press “enter” key);
  3. notepad will open, then put those lines at the end of file

    127.0.0.1 s0.2mdn.net
    127.0.0.1 s1.2mdn.net
    127.0.0.1 googleads.g.doubleclick.net
    127.0.0.1 ad.doubleclick.net

    (without quotes) You should see something like the picture;
    [Update Feb 6th, 2014: last line has been added to try and solve what seems to be an architectural change of Youtube. You’ll probably see somewhere in some pages an iframe with a “Connection problem” note, don’t mind about it]

  4. close notepad saving the file;
  5. in the command window run this command ipconfig /flushdns (“enter“!) to flush DNS cache of your PC;
  6. close the command window.

Try to navigate Youtube, now you shouldn’t see any Video ADS before your preferred videos.

 

NOTE: Thank you to Lorenz for troubleshooting and comments.

 

LogMeIn Rescue and other LogMeIn products (LogMeIn free, LogMeIn Pro) use the following IP ranges over SSL:

  • 74.201.74.1 – 74.201.75.254 (74.201.74.0/23)
  • 216.52.233.1 – 216.52.233.254 (216.52.233.0/24)
  • 69.25.20.1 – 69.25.21.254 (69.25.20.1/23)
  • 64.94.18.1 – 64.94.18.254 (64.94.18.1/24)
  • 77.242.192.1 – 77.242.193.254 (77.242.192.1/23)
  • 212.118.234.0 – 212.118.234.254 (212.118.234.0/24)
  • 64.74.103.0 – 64.74.103.254 (64.74.103.0/24)
  • 64.94.46.0 – 64.94.47.254 (64.94.46.0/23)

Note:
These ranges are for all LogMeIn products. Also, they are subject to change without notice.

 

Powered by WordPress &Web Design Company - Modified by Lorenz