| View previous topic :: View next topic |
| Author |
Message |
slick Bodhisattva


Joined: 20 Apr 2003 Posts: 3392
|
Posted: Fri Mar 10, 2006 10:42 am Post subject: |
|
|
Be sure always check the (auto-updated) hosts-file for non-127. IPs. Otherwise an attacker can offer an adblock-service and if you use this he can change the IP from the website off your bank to his IP, simulate the bank-website and fish your inputs (= your money) |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1805
|
Posted: Wed May 24, 2006 12:09 pm Post subject: |
|
|
*bookmarked* _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
HeXiLeD l33t


Joined: 20 Aug 2005 Posts: 892 Location: online
|
Posted: Sat May 27, 2006 5:22 pm Post subject: |
|
|
I have noticed one thing when using vmware, and that is that the linux hosts file does not block anything for vmware OS's.
am i wrong or its just my setup ?
what i mean is:
gentoo uses eth0 to connect to the internet and if i have; lets say http://support.microsoft.com in /etc/hosts, gentoo cannot connect to it as expected.
now i have vmware using eth0 in a promiscous mode and if i open the same url in any vmware operating system i get access to the page. In other words, vmware doesnt read /etc/hosts from linux.
Is there a way of changing this to make it read the linux hosts?
I have also started a topic here that in some way is kinda related to this question. _________________ 443640
My UNSOLVED TOPICS
How to ask questions
Configs & Hardware SPECIFICATIONS |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1805
|
Posted: Sat May 27, 2006 5:58 pm Post subject: |
|
|
You may have to change the hosts file in the VM. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
HeXiLeD l33t


Joined: 20 Aug 2005 Posts: 892 Location: online
|
|
| Back to top |
|
 |
Archangel1 Veteran


Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Tue Jun 06, 2006 10:16 pm Post subject: |
|
|
I suspect it bypasses the Linux hosts file, so yes, you'd have to change the VM one.
What about if you use a different form of networking? I forget what it's called, but there's one where it has to communicate through the host rather than appearing to be on the network itself. That might turn the trick. _________________ What are you, stupid? |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1805
|
Posted: Thu Aug 31, 2006 4:57 pm Post subject: |
|
|
*bookmarked* _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
HeXiLeD l33t


Joined: 20 Aug 2005 Posts: 892 Location: online
|
|
| Back to top |
|
 |
slick Bodhisattva


Joined: 20 Apr 2003 Posts: 3392
|
Posted: Wed Jun 09, 2010 9:02 am Post subject: |
|
|
| Jesse wrote: | | Is this really sane? It slows my webbrowsing to an utter crawl. |
Install a small Webserver on 127.0.0.1 and point the document root to a empty directory. This is fast, because the browser get a 404 directly. |
|
| Back to top |
|
 |
Chiitoo Guru


Joined: 28 Feb 2010 Posts: 521 Location: Finland
|
Posted: Thu Dec 30, 2010 4:12 pm Post subject: |
|
|
| KenTI wrote: | i use both opera and firefox, and when i was using privoxy (with the default configuration still, i wasn't able to manage tweaking it ) i noticed that privoxy really slowed down browsing
now using opera just with the hosts filter works even faster than firefox, it is a bit complicated to look up for the url of each banner (especially for flash, with adblock you just have to click on the label that appears on the side of the ad) |
I realize the age of the post I'm quoting (is from 2004), but I thought I'd mention this snippet from the FAQ at the Privoxy website, which helped me and might help someone strolling around here some day!
| http://www.privoxy.org/faq/trouble.html#GENTOO-RICERS wrote: |
5.23. I compiled Privoxy with Gentoo's portage and it appears to be very slow. Why?
Probably you unintentionally compiled Privoxy without threading support in which case requests have to be serialized and only one can be served at the same time.
Check your "USE" flags and make sure they include "threads". If they don't, add the flag and rebuild Privoxy.
If you compiled Privoxy with threading support (on POSIX-based systems), the "Conditional #defines" section on http://config.privoxy.org/show-status will list "FEATURE_PTHREAD" as "enabled".
|
Btw., only now I noticed the #GENTOO-RICERS haha!
Anyways, I hope this helps!
Works nicely for me. :] _________________ Kind Regards,
The Noob Unlimited
~sore wa sore kore wa kore~ |
|
| Back to top |
|
 |
user Tux's lil' helper

Joined: 08 Feb 2004 Posts: 102
|
|
| Back to top |
|
 |
slick Bodhisattva


Joined: 20 Apr 2003 Posts: 3392
|
Posted: Fri Dec 31, 2010 9:29 am Post subject: |
|
|
to add all with 127.0.0.1 to /etc/hosts simply do:
| Code: | | lynx --dump "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=bindconfig;showintro=0" | grep "^zone " | cut -d "\"" -f 2 | while read host ; do echo "127.0.0.1 $host" >> /etc/hosts ; done |
|
|
| Back to top |
|
 |
Sadako Advocate


Joined: 05 Aug 2004 Posts: 3745 Location: sleeping in the bathtub
|
Posted: Sun Jan 02, 2011 2:40 am Post subject: |
|
|
Something else you can do, block via ip address using iptables with ipsets, www.bluetack.co.uk has some extensive lists, not just for blocking adds but potentially hostile or privacy-invading hosts too.
I have that along with dnsmasq with a large hosts file (as discussed in this thread) and privoxy (which blocks most adds for me anyways) on my router. _________________ "You have to invite me in" |
|
| Back to top |
|
 |
HeXiLeD l33t


Joined: 20 Aug 2005 Posts: 892 Location: online
|
|
| Back to top |
|
 |
|