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

Re: google-analytics.com Spyware sperren



Wolf Wiegand wrote the following on 23.11.2008 16:52

> 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
> $ 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
> 
> 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.

$ grep google /etc/hosts
127.0.0.1 google-analytics.com
$ ping ssl.google-analytics.com
PING ssl-google-analytics.l.google.com (74.125.39.97) 56(84) bytes of data.
64 bytes from fx-in-f97.google.com (74.125.39.97): icmp_seq=1 ttl=247
time=28.1 ms

interessant. Guter Hinweis. thx.

> Mögliche Abhilfe könnte sein, einen lokal verwendeten DNS-Server für
> google-analytics.com zuständig zu machen oder die von
> google-analytics.com verwendete IP-Range herauszufinden und per iptables
> zu blockieren. Aber vielleicht hat ja jemand noch eine bessere Lösung.

$ grep ^"address=/google" /etc/dnsmasq.conf
address=/google-analytics.com/127.0.0.1


> Schönen Gruß,
> 
> Wolf


-- 
bye Thilo

key: 0x4A411E09


Reply to: