Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Remove .onion rulesets that pass tests from ruleset whitelist #17710

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/chrome/content/rules/privacyintyqcroe.onion.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
Privacy International .onion website.

The certificate is wildcard and we can't use Sublist3r for .onion domains so this ruleset is wildcard.
The certificate is wildcard and any subdomain is valid, however all of them have identical content.
-->

<ruleset name="privacyintyqcroe.onion">
Expand All @@ -13,4 +13,6 @@
<rule from="^http:" to="https:" />

<test url="http://www.privacyintyqcroe.onion/" />
<test url="http://a.privacyintyqcroe.onion/" />
<test url="http://b.privacyintyqcroe.onion/" />
</ruleset>
2 changes: 1 addition & 1 deletion test/run_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ elif [ "$TEST" == "validations" ] || [ "$TEST" == "fetch" ] || [ "$TEST" == "pre
if [ "$TEST" == "fetch" ]; then
echo >&2 "Testing test URLs in all changed rulesets."
# NET_ADMIN capability is required here for miredo to create a network tunnel
docker run --rm -ti -v $(pwd):/opt -e RULESETS_CHANGED="$RULESETS_CHANGED" --sysctl net.ipv6.conf.all.disable_ipv6=0 --cap-add NET_ADMIN --cap-add MKNOD httpse bash -c "mkdir -p /dev/net && mknod /dev/net/tun c 10 200 && service miredo start && service tor start && test/fetch.sh"
docker run --rm -ti -v $(pwd):/opt -e RULESETS_CHANGED="$RULESETS_CHANGED" --sysctl net.ipv6.conf.all.disable_ipv6=0 --cap-add NET_ADMIN --cap-add MKNOD httpse bash -c "mkdir -p /dev/net && mknod /dev/net/tun c 10 200 && service miredo start && service tor start && sleep 60 && test/fetch.sh"
fi

if [ "$TEST" == "preloaded" ]; then
Expand Down
2 changes: 0 additions & 2 deletions utils/ruleset-whitelist.csv
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,6 @@ ced8f070eeb91948e919fc5b49e98b171ead833df49b97ace89db1a5fa124a1a,1,1,Dmri-librar
1ff11bbb2cf7ffa3df6a24e92d5410025131180e1d57acf73299776fa752b687,0,1,DMS-Sweden.com.xml
2f0ab3c547c9ce77e5fe4f8e6dc6dcc8dfc7afc988347ffd60b0882872fdd3e1,1,0,DM_tracker.com.xml
cab182473bd2a1f12288fbf267de9e6bd6d249ba3f7d561186cc3b9eaca719e3,0,1,DMX-Austria.xml
115fd43e8f2968793726c7d1e0be246a5da55d02facef89e889c7c4b8106a052,0,1,dns4torpnlfs2ifuz2s2yf3fc7rdmsbhm6rw75euj35pac6ap25zgqad.onion.xml
e0fdb47b4fe70d449a5936c1e49641e45bba7420d75a229368b820c27ec2a451,0,1,DNTrck.com.xml
4b40d3fa1bc9cea039b1c056b1b57b0855d958960f06cd8b95924fa830516788,1,1,DNTX.com.xml
1d34678bb2fa3ee025f7d22e124669984e3cb25f56678c80906333de94ea7b93,1,1,DOCLIX.xml
Expand Down Expand Up @@ -2341,7 +2340,6 @@ dd875966fd641de3b6c6dec64b31aae042190b54cb61dfeed29a188303f9a671,1,1,PriceRunner
a1023dd10e11b82db899a2b1cadad54c2f6ac3e51a4e056c58afc1efb67047d7,1,0,Printfection.com.xml
44b5f33ecdb9f0c492366882955ceb80db6fab8976dcb2946ab853e344c73062,1,0,Prisma-IT.com.xml
4aa8187315321bcfae808afacb259caea5d5023b7c2a8203a63daa89fcd25955,1,0,Pritunl.com.xml
bfc3c3c917777780e10a197d260a120acc3614a32577402968a480fd5b42c106,1,0,privacyintyqcroe.onion.xml
e0519f9b99fd87886edb3fc154d3fc1bb145333aa536966d417433030cd82eda,0,1,Privacy_Not_Prism.org.xml
9335d8279c8e6c864c1c38fc7e140fa58be572a28ca0841aa83971d4c3a67260,0,1,Privacyscore.com.xml
311f5788fc38e8633b10d3864ec787d33d6c7bf84e9a9917c01a78cb48ddcfc5,1,1,Pro_Bike_Kit.xml
Expand Down