[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: google-analytics.com Spyware sperren



Wolf Wiegand wrote:
> Thilo Six wrote:
>> Sven Aluoor wrote the following on 23.11.2008 16:28
>>> Wie blockiere ich google-analytics.com am effektivsten? Ich
>>> müsste dies via Domainname sperren, denn die Hosts hinter
>>> google-analytics.com können andere IPs bekommen.
>> 
>> eine Möglichkeit:
>> 
>> # echo "127.0.0.1 google-analytics.com" >> /etc/hosts
> 
> Das hilft nicht so wirklich:
> 
> $ echo "127.0.0.1 google-analytics.com" | sudo tee -a /etc/hosts > /dev/null

Kreativer Einsatz von tee! :-) Einfacher:

  $ sudo sh -c "echo 127.0.0.1 google-analytics.com >> /etc/hosts"

> $ ping www.google-analytics.com
> PING www.google-analytics.com (127.0.0.1) 56(84) bytes of data.
> 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.056 ms

Da sind die u.a. Änderungen (ssl, www) schon drin. Nur falls sich
jemand wundert...

> Wenn, dann muss man zumindest ssl.google-analytics.com und
> www.google-analytics.com in /etc/hosts eintragen, aber wenn darüber
> hinaus noch weitere Hosts unter google-analytics.com existieren,
> können die weiter aufgelöst werden.

Attachment: pgpwIpvHueMEr.pgp
Description: PGP signature


Reply to: