windows-telemetry

Windows Telemetry Blocking Framework
git clone git://r-36.net/windows-telemetry
Log | Files | Refs

commit 4edcf59b418060f3dd1aaf04202928b6da5d41b0
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat, 12 Sep 2015 19:24:54 +0200

Initial commit of windows-telemetry.

Diffstat:
HOWTO.md | 11+++++++++++
commands.sh | 33+++++++++++++++++++++++++++++++++
windows-telemetry-base-1.txt | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
windows-telemetry-base-2.txt | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 147 insertions(+), 0 deletions(-)

diff --git a/HOWTO.md b/HOWTO.md @@ -0,0 +1,11 @@ +# Windows Telemetry Blocking List for Mikrotik Routers + +This is how you add more IPs when you found yet another IP which Microsoft is +using or some blogger posted. + +1. Create a »windows-telemetry-base-X.txt« in the current directory. +2. Then run commands.sh +3. Follow the instructions given by commands.sh + +Have fun! + diff --git a/commands.sh b/commands.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# +# This work is public domain. +# Still try to copy me if you can. +# by 20h +# + +set -x +cat windows-telemetry-base-*.txt \ + | sort \ + | uniq > windows-telemetry-merged.txt + +dig +short -f windows-telemetry-merged.txt \ + | grep -v '\.$' > windows-telemetry-merged-ips.txt + +cat windows-telemetry-merged-ips.txt \ + | sed 's,\(.*\),/ip firewall address-list add list=windows-telemetry address=\1,' \ + > windows-telemetry-merged-ips-commands.txt +set +x + +printf "The commands for Mikrotik are now at: %s\n" \ + "windows-telemetry-merged-ips-commands.txt" +printf "\n" +printf "Use the command below to apply them:\n" +printf "\n" +printf "cat windows-telemetry-merged-ips-commands.txt " +printf "| ssh admin@Mikrotik-IP\n" +printf "\n" +printf "Then add the list 'windows-telemetry' in a blocking chain:\n" +printf "\n" +printf "echo '/ip firewall filter add chain=output dst-address-list=" +printf "windows-telemetry action=drop' | ssh admin@Mikrotik-IP\n" + diff --git a/windows-telemetry-base-1.txt b/windows-telemetry-base-1.txt @@ -0,0 +1,52 @@ +134.170.30.202 +137.116.81.24 +204.79.197.200 +23.218.212.69 +65.39.117.230 +65.55.108.23 +a-0001.a-msedge.net +choice.microsoft.com +choice.microsoft.com.nsatc.net +compatexchange.cloudapp.net +corp.sts.microsoft.com +corpext.msitadfs.glbdns2.microsoft.com +cs1.wpc.v0cdn.net +df.telemetry.microsoft.com +diagnostics.support.microsoft.com +fe2.update.microsoft.com.akadns.net +feedback.microsoft-hohm.com +feedback.search.microsoft.com +feedback.windows.com +i1.services.social.microsoft.com +i1.services.social.microsoft.com.nsatc.net +oca.telemetry.microsoft.com +oca.telemetry.microsoft.com.nsatc.net +pre.footprintpredict.com +redir.metaservices.microsoft.com +reports.wes.df.telemetry.microsoft.com +services.wes.df.telemetry.microsoft.com +settings-sandbox.data.microsoft.com +sls.update.microsoft.com.akadns.net +sqm.df.telemetry.microsoft.com +sqm.telemetry.microsoft.com +sqm.telemetry.microsoft.com.nsatc.net +statsfe1.ws.microsoft.com +statsfe2.update.microsoft.com.akadns.net +statsfe2.ws.microsoft.com +survey.watson.microsoft.com +telecommand.telemetry.microsoft.com +telecommand.telemetry.microsoft.com.nsatc.net +telemetry.appex.bing.net +telemetry.appex.bing.net:443 +telemetry.microsoft.com +telemetry.urs.microsoft.com +vortex.data.microsoft.com +vortex-sandbox.data.microsoft.com +vortex-win.data.microsoft.com +watson.live.com +watson.microsoft.com +watson.ppe.telemetry.microsoft.com +watson.telemetry.microsoft.com +watson.telemetry.microsoft.com.nsatc.net +wes.df.telemetry.microsoft.com + diff --git a/windows-telemetry-base-2.txt b/windows-telemetry-base-2.txt @@ -0,0 +1,51 @@ +65.55.108.23 +65.39.117.230 +23.218.212.69 +134.170.30.202 +137.116.81.24 +204.79.197.200 +23.218.212.69 +a-0001.a-msedge.net +choice.microsoft.com +choice.microsoft.com.nstac.net +corpext.msitadfs.glbdns2.microsoft.com +corp.sts.microsoft.com +compatexchange.cloudapp.net +cs1.wpc.v0cdn.net +diagnostics.support.microsoft.com +df.telemetry.microsoft.com +feedback.windows.com +feedback.search.microsoft.com +fe2.update.microsoft.com.akadns.net +i1.services.social.microsoft.com +i1.services.social.microsoft.com.nsatc.net +oca.telemetry.microsoft.com +oca.telemetry.microsoft.com.nsatc.net +pre.footprintpredict.com +redir.metaservices.microsoft.com +reports.wes.df.telemetry.microsoft.com +services.wes.df.telemetry.microsoft.com +settings-sandbox.data.microsoft.com +sls.update.microsoft.com.akadns.net +sqm.df.telemetry.microsoft.com +sqm.telemetry.microsoft.com +sqm.telemetry.microsoft.com.nsatc.net +ssw.live.com +statsfe1.ws.microsoft.com +statsfe2.update.microsoft.com.akadns.net +survey.watson.microsoft.com +telecommand.telemetry.microsoft.com +telecommand.telemetry.microsoft.com.nsatc.net +telemetry.appex.bing.net +telemetry.microsoft.com +telemetry.urs.microsoft.com +vortex-sandbox.data.microsoft.com +vortex-win.data.microsoft.com +vortex-sandbox.data.microsoft.com +vortex.data.microsoft.com +watson.live.com +watson.microsoft.com +watson.ppe.telemetry.microsoft.com +watson.telemetry.microsoft.com +watson.telemetry.microsoft.com.nsatc.net +