Merge pull request #4731 from stangri/18.06-luci-app-https-dns-proxy
[18.06] luci-app-https-dns-proxy: DSCP tagging support
This commit is contained in:
commit
d7dc59a154
5 changed files with 33 additions and 2 deletions
|
@ -10,7 +10,6 @@ LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
|
|||
LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy
|
||||
LUCI_DEPENDS:=+luci-compat +luci-mod-admin-full +https-dns-proxy
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_RELEASE:=13
|
||||
|
||||
include ../../luci.mk
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
return{
|
||||
name="DnsCryptCa-DNS1",
|
||||
label=_("DNSCrypt.ca (DNS1)"),
|
||||
resolver_url="https://dns1.dnscrypt.ca:453/dns-query",
|
||||
bootstrap_dns="45.76.37.222,185.112.145.13,93.95.226.53,2001:19f0:5001:185a:5400:ff:fe50:56d5",
|
||||
help_link="https://dnscrypt.ca/",
|
||||
help_link_text="dnscrypt.ca"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
return{
|
||||
name="DnsCryptCa-DNS2",
|
||||
label=_("DNSCrypt.ca (DNS2)"),
|
||||
resolver_url="https://dns2.dnscrypt.ca:453/dns-query",
|
||||
bootstrap_dns="45.76.37.222,185.112.145.13,93.95.226.53,2001:19f0:5001:185a:5400:ff:fe50:56d5",
|
||||
help_link="https://dnscrypt.ca/",
|
||||
help_link_text="dnscrypt.ca"
|
||||
}
|
|
@ -186,6 +186,10 @@ lp = s3:option(Value, "listen_port", translate("Listen port"))
|
|||
lp.datatype = "port"
|
||||
lp.value = n + 5053
|
||||
|
||||
dscp = s3:option(Value, "dscp_codepoint", translate("DSCP Codepoint"))
|
||||
dscp.datatype = "range(0,63)"
|
||||
dscp.rmempty = true
|
||||
|
||||
ps = s3:option(Value, "proxy_server", translate("Proxy server"))
|
||||
ps.rmempty = true
|
||||
|
||||
|
|
|
@ -69,10 +69,22 @@ msgstr ""
|
|||
msgid "DNS.SB"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/ca.dnscrypt.dns1.lua:3
|
||||
msgid "DNSCrypt.ca (DNS1)"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/ca.dnscrypt.dns2.lua:3
|
||||
msgid "DNSCrypt.ca (DNS2)"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua:3
|
||||
msgid "DNSPod.cn Public DNS"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:189
|
||||
msgid "DSCP Codepoint"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua:3
|
||||
msgid "Digitale Gesellschaft"
|
||||
msgstr ""
|
||||
|
@ -144,7 +156,7 @@ msgstr ""
|
|||
msgid "OpenDNS (Family Shield)"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:189
|
||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:193
|
||||
msgid "Proxy server"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue