about wpad/pac question

Started by deddey, October 09, 2018, 08:02:32 PM

Previous topic - Next topic
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.