Skip to content

Commit

Permalink
LAN: Add ipv6 local network filters
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
gwarser authored Jul 7, 2020
1 parent 10998aa commit ee2e167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lan-block.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
/^wss?://10\.(?:(?:[0-9]|[1-9][0-9]|1(?:[0-9][0-9])|2(?:[0-4][0-9]|5[0-5]))\.){2}(?:[0-9]|[1-9][0-9]|1(?:[0-9][0-9])|2(?:[0-4][0-9]|5[0-5]))[:/]/$third-party,websocket
/^wss?://172\.(?:1[6-9]|2[0-9]|3[01])(?:\.(?:[0-9]|[1-9][0-9]|1(?:[0-9][0-9])|2(?:[0-4][0-9]|5[0-5]))){2}[:/]/$third-party,websocket
/^wss?://192\.168(?:\.(?:[0-9]|[1-9][0-9]|1(?:[0-9][0-9])|2(?:[0-4][0-9]|5[0-5]))){2}[:/]/$third-party,websocket
/^(?:http|ws)s?://\[f(?:[cd][0-9a-f]|e[c-f])[0-9a-f]:[0-9a-f:]+\][:/]/$third-party
!
! ——— localhost
! https://en.wikipedia.org/wiki/Localhost
Expand Down

0 comments on commit ee2e167

Please sign in to comment.