Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
about wpad/pac question
« previous
next »
Print
Pages: [
1
]
Author
Topic: about wpad/pac question (Read 3366 times)
deddey
Jr. Member
Posts: 60
Karma: 2
about wpad/pac question
«
on:
October 09, 2018, 08:02:32 pm »
first,thanks for the update in wpad/pac
question 1:
when I used the Matches "IP Is In Network",the wpad.dat like this:
if (((isInNet(dstip, "10.0.0.0", "255.0.0.0")))) {
reture "DIRECT";
}
compare with "
https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/Proxy/wpad.dat
"
I think the wpad.dat is missing "var dstip = dnsResolve(host);"
question 2:
I think These rules should be in order to determine which one is a priority match, and which one is a second match.
Thanks again, please forgive me for my poor English.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: about wpad/pac question
«
Reply #1 on:
October 10, 2018, 10:39:20 pm »
fix:
https://github.com/opnsense/core/pull/2806/files
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
about wpad/pac question