owsd: Workaround a bug which cases origin check to fail on LAN.

When the LAN interface has an IPv6 Unique local address owsd gets confused.
IPv4 requests arrive into the virtual IPv6 interface of owsd which makes
the origin check to fail. Workaround the problem by disabling origin check
for LAN. This shouldn't be a problem (?) due to we already has the same
check disabled on WAN by default.
This commit is contained in:
Ronny Nilsson 2020-01-23 12:44:09 +01:00
parent e6edca3137
commit 0bf21c30c6

View file

@ -26,9 +26,10 @@ config owsd-listen 'lan'
option port '80'
option interface 'lan'
option ipv6 'on'
# option ipv6only 'off'
option ipv6only 'off'
option whitelist_interface_as_origin '1'
option whitelist_dhcp_domains '1'
list origin '*'
#config owsd-listen 'lan_8080'
# option port '8080'
@ -36,6 +37,7 @@ config owsd-listen 'lan'
# option ipv6 'on'
# option whitelist_interface_as_origin '1'
# option whitelist_dhcp_domains '1'
# list origin '*'
#config owsd-listen 'lan_https'
# option port '443'