Skip to content

Commit ae50af0

Browse files
committed
Merge pull request EFForg#2651 from mnordhoff/imagesmtv-a.akamaihd.net
[Akamai] Exclude imagesmtv-a.akamaihd.net
2 parents 244d64e + 5b81378 commit ae50af0

File tree

2 files changed

+50
-16
lines changed

2 files changed

+50
-16
lines changed

src/chrome/content/rules/Akamai.xml

Lines changed: 49 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
Nonfunctional domains:
1212
1313
- http14432.storage.akadns.net (CN: contentstorage.akamai.com)
14+
- imagesmtv-a.akamaihd.net ("An error occurred while processing your request.")
1415
- cp44823.edgefcs.net (reset)
1516
1617
@@ -23,55 +24,87 @@
2324
-->
2425
<ruleset name="Akamai">
2526

26-
<target host="*.abmr.net" />
27-
<target host="*.e.akamai.net" />
27+
<target host="ak1.abmr.net" />
28+
<target host="ak1s.abmr.net" />
29+
<target host="a248.e.akamai.net" />
2830
<target host="*.akamaihd.net" />
31+
<!-- Kill problematic implicit test -->
32+
<exclusion pattern="^http://ak1\.abmr\.net/$" />
33+
2934
<!--
3035
Causes many streams to 403 and region restriction to trip inappropriately.
3136
32-
https://mail1.eff.org/pipermail/https-everywhere-rules/2012-October/001324.html
37+
https://lists.eff.org/pipermail/https-everywhere-rules/2012-October/001322.html
3338
https://trac.torproject.org/projects/tor/ticket/6557
3439
https://trac.torproject.org/projects/tor/ticket/6871
3540
https://trac.torproject.org/projects/tor/ticket/7080
3641
https://trac.torproject.org/projects/tor/ticket/7198
3742
https://trac.torproject.org/projects/tor/ticket/7577
3843
-->
39-
<exclusion pattern="^http://[\w-]+-(?:f|i|s|lh|vh)\.akamaihd\.net/" />
40-
<!--
41-
Apparently causes some Zynga games to fail to load.
44+
<exclusion pattern="^http://[\w_-]+-(?:f|i|s|lh|vh)\.akamaihd\.net/" />
45+
<!-- Random URLs from VirusTotal -->
46+
<test url="http://svtarchive4a-f.akamaihd.net/crossdomain.xml" />
47+
<test url="http://elpaishls-i.akamaihd.net/" />
48+
<test url="http://a611avodslnsus-s.akamaihd.net/" />
49+
<test url="http://radio_wlyk-lh.akamaihd.net/" />
50+
<test url="http://yahoo7p-vh.akamaihd.net/" />
4251

43-
https://trac.torproject.org/projects/tor/ticket/7090
44-
-->
45-
<exclusion pattern="^http://zynga\d-a.akamaihd\.net/" />
52+
<!--
53+
Breaks Titanfall
4654
47-
<!--
48-
Breaks Titanfall, Github issue #390
55+
https://github.com/EFForg/https-everywhere/issues/390
4956
-->
5057
<exclusion pattern="^http://eaassets-a\.akamaihd\.net/" />
51-
52-
<!--
53-
Steamcommunity.com Some Functionality is Broken due to CSP
54-
GitHub Issue #909
58+
59+
<!--
60+
Breaks images on http://www.mtv.com/news/
61+
62+
https://github.com/EFForg/https-everywhere/pull/2651
63+
-->
64+
<exclusion pattern="^http://imagesmtv-a\.akamaihd\.net/" />
65+
<test url="http://imagesmtv-a.akamaihd.net/uri/mgid:uma:image:mtv.com:10737537?quality=0.8&amp;format=jpg&amp;width=110&amp;height=110" />
66+
67+
<!--
68+
Steamcommunity.com Some Functionality is Broken due to CSP
69+
70+
https://github.com/EFForg/https-everywhere/issues/909
5571
-->
5672
<exclusion pattern="^http://steamcommunity-a\.akamaihd\.net/" />
5773
<test url="http://steamcommunity-a.akamaihd.net/" />
5874

59-
<!--securecooie host="^\.abmr\.net$" name="^01AI$" /-->
75+
<!--
76+
Apparently causes some Zynga games to fail to load.
77+
78+
https://trac.torproject.org/projects/tor/ticket/7090
79+
-->
80+
<exclusion pattern="^http://zynga\d-a.akamaihd\.net/" />
81+
82+
<!--securecookie host="^\.abmr\.net$" name="^01AI$" /-->
6083
<securecookie host=".*\.abmr\.net$" name=".+" />
6184

6285

6386
<rule from="^http://ak1s\.abmr\.net/"
6487
to="https://ak1s.abmr.net/" />
88+
<!-- Just use an URL from the ak1.abmr.net rule below -->
89+
<test url="http://ak1s.abmr.net/is/pixel.mathtag.com?U=/sync/js&amp;V=3-Z%2fH%2fr0WN0ZYjakDDxKo0khM8NMHcJc8atNMBjTJyWU5qDSjB7759WA%3d%3d&amp;I=E33624F6D7AF512&amp;D=mathtag.com&amp;01AD=1&amp;sync=auto&amp;mt_lim=5" />
6590

6691
<rule from="^http://a248\.e\.akamai\.net/"
6792
to="https://a248.e.akamai.net/" />
93+
<!-- Random URL via Google -->
94+
<test url="http://a248.e.akamai.net/f/248/3214/1d/www.zones.com/images/pdf/datasheet_symantec_managed_pki_for_ssl.pdf" />
6895

6996
<rule from="^http://([^@:/\.]+)\.akamaihd\.net/"
7097
to="https://$1.akamaihd.net/" />
98+
<!-- Facebook favicon, random dog picture -->
99+
<test url="http://fbstatic-a.akamaihd.net/rsrc.php/yl/r/H3nktOa7ZMg.ico" />
100+
<test url="http://igcdn-photos-e-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/11377989_454064614773572_1348139679_n.jpg" />
71101

72102
<!-- This secures some web bugs:
73103
-->
74104
<rule from="^http://ak1\.abmr\.net/is/(www.imiclk|pixel\.mathtag)\.com(?=$|\?)"
75105
to="https://ak1s.abmr.net/is/$1.com" />
106+
<!-- URLs from VirusTotal logs -->
107+
<test url="http://ak1.abmr.net/is/www.imiclk.com?U=/cgi/r.cgi&amp;V=3-tN8HyxniOqgs9sXSs1oQAeDmaU+wHxXRMcQxYf408a0m1hiIZDE2DY1Gni9Uk4d2&amp;I=67CD51D18E7F617&amp;D=www.imiclk.com&amp;01AD=1&amp;did=email&amp;m=3&amp;mid=CuCACD9s&amp;sp=1" />
108+
<test url="http://ak1.abmr.net/is/pixel.mathtag.com?U=/sync/js&amp;V=3-Z%2fH%2fr0WN0ZYjakDDxKo0khM8NMHcJc8atNMBjTJyWU5qDSjB7759WA%3d%3d&amp;I=E33624F6D7AF512&amp;D=mathtag.com&amp;01AD=1&amp;sync=auto&amp;mt_lim=5" />
76109

77110
</ruleset>

utils/duplicate-whitelist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ adyadvantage.com
99
affair-guide.com
1010
afp548.com
1111
aftenposten.no
12+
a248.e.akamai.net
1213
livewire.amnesty.org
1314
anunciou.com
1415
arch-stuff.org

0 commit comments

Comments
 (0)