Skip to content

Commit

Permalink
LAN: Add ipv6 link-local
Browse files Browse the repository at this point in the history
Partial (ipv6) fix for #5
  • Loading branch information
gwarser committed Jul 7, 2020
1 parent ee2e167 commit eebda2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lan-block.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
/^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
! Includes link-local
/^(?:http|ws)s?://\[f(?:[cd][0-9a-f]|e[89a-f])[0-9a-f]:[0-9a-f:]+\][:/]/$third-party
!
! ——— localhost
! https://en.wikipedia.org/wiki/Localhost
Expand Down

0 comments on commit eebda2a

Please sign in to comment.