Skip to content

Commit e4fcffe

Browse files
DavidLiedkejeremyn
authored andcommitted
Add Cloudflare-DNS.com (EFForg#15064)
1 parent effb974 commit e4fcffe

4 files changed

Lines changed: 57 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
Other CloudFlare rulesets:
3+
4+
- CloudFlare.xml
5+
6+
-->
7+
<ruleset name="1.0.0.1">
8+
9+
<target host="1.0.0.1" />
10+
11+
<securecookie host=".+" name=".+" />
12+
13+
<rule from="^http:"
14+
to="https:" />
15+
16+
</ruleset>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
Other CloudFlare rulesets:
3+
4+
- CloudFlare.xml
5+
6+
-->
7+
<ruleset name="1.1.1.1">
8+
9+
<target host="1.1.1.1" />
10+
11+
<securecookie host=".+" name=".+" />
12+
13+
<rule from="^http:"
14+
to="https:" />
15+
16+
</ruleset>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!--
2+
*.cloudflare-dns.com wildcard DNS Record / certificate.
3+
4+
Other CloudFlare rulesets:
5+
6+
- CloudFlare.xml
7+
8+
-->
9+
<ruleset name="CloudFlare-DNS.com (partial)">
10+
11+
<!-- Direct rewrites:
12+
-->
13+
<target host="cloudflare-dns.com" />
14+
<target host="www.cloudflare-dns.com" />
15+
<target host="1dot1dot1dot1.cloudflare-dns.com" />
16+
<test url="http://1dot1dot1dot1.cloudflare-dns.com/cdn-cgi/scripts/cf.common.js" />
17+
18+
19+
<rule from="^http:"
20+
to="https:" />
21+
22+
</ruleset>

src/chrome/content/rules/CloudFlare.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
33
Other CloudFlare rulesets:
44
5+
- 1.0.0.1.xml
6+
- 1.1.1.1.xml
57
- CloudFlare_Challenge.com.xml
8+
- CloudFlare-DNS.com.xml
69
- Cloudflarestatus.com.xml
710
811

0 commit comments

Comments
 (0)