mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add IPv6 hosts for proxy check
This commit is contained in:
parent
a4a0cad8ad
commit
340f1bd708
2 changed files with 17 additions and 0 deletions
|
@ -11,12 +11,16 @@ config defaults 'defaults'
|
|||
list hosts '80.67.169.40'
|
||||
list hosts '114.114.114.114'
|
||||
list hosts '1.1.1.1'
|
||||
list hosts '208.67.222.222'
|
||||
list hosts '208.67.222.220'
|
||||
list hosts6 '2606:4700:4700::1111'
|
||||
list hosts6 '2606:4700:4700::1001'
|
||||
list hosts6 '2620:fe::fe'
|
||||
list hosts6 '2620:fe::9'
|
||||
list hosts6 '2001:4860:4860::8888'
|
||||
list hosts6 '2001:4860:4860::8844'
|
||||
list hosts6 '2620:119:35::35'
|
||||
list hosts6 '2620:119:53::53'
|
||||
option timeout '2'
|
||||
option count '2'
|
||||
option tries '3'
|
||||
|
@ -43,6 +47,10 @@ config proxy 'proxy'
|
|||
list hosts '1.1.1.1'
|
||||
list hosts '74.82.42.42'
|
||||
list hosts '176.103.130.130'
|
||||
list hosts6 '2606:4700:4700::1111'
|
||||
list hosts6 '2606:4700:4700::1001'
|
||||
list hosts6 '2620:119:35::35'
|
||||
list hosts6 '2620:119:53::53'
|
||||
option timeout '10'
|
||||
option tries '3'
|
||||
option wait_test '0'
|
||||
|
|
|
@ -89,6 +89,15 @@ if [ -z "$(uci -q get omr-tracker.defaults.hosts6)" ]; then
|
|||
commit omr-tracker
|
||||
EOF
|
||||
fi
|
||||
if [ -z "$(uci -q get omr-tracker.proxy.hosts6)" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
add_list omr-tracker.proxy.hosts6='2606:4700:4700::1111'
|
||||
add_list omr-tracker.proxy.hosts6='2606:4700:4700::1001'
|
||||
add_list omr-tracker.proxy.hosts6='2620:119:35::35'
|
||||
add_list omr-tracker.proxy.hosts6='2620:119:53::53'
|
||||
commit omr-tracker
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get omr-tracker.defaults.wait_test)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue