<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Too many unknowns here to guess, so if
I were you I'd start with rebooting the client, logging in and
starting a sniffer (like wireshark) - just looking at port 53 and
port 80<br>
<br>
Then start your browser (that is set to automatic network/proxy)
and see what happens. What should happen is that it looks for
wpad.<DOMAIN DHCP GAVE IT> and if it's Windows it should
also look for wpad.<AD.DOMAIN><br>
<br>
If either exist it will then try to download /wpad.dat via HTTP
and acts on the content<br>
<br>
We use WPAD - it works great. I'd suggest ditching the DHCP option
- that only ever worked for MSIE - stick to WPAD via DNS which
works for all browsers<br>
<br>
Jason<br>
<br>
PS: also note WPAD is about browsers - so don't expect miracles
for non-browser applications. Some apps can use it - bit most
can't<br>
<br>
On 10/09/15 08:39, Marcio Demetrio Bacci wrote:<br>
</div>
<blockquote
cite="mid:CA+0TdyogQLFrF+S=b6K=BS=PBv8UGbSr-Unt-b=aNkHRMMX08A@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div>
<div>Hi, <br>
<br>
I'm having the following problem with my squid3:<br>
<br>
When I set the browser: "Auto-Detect proxy settings for this
network" does not work.<br>
<br>
When we report: "Manual proxy configuration" works.<br>
<br>
Follow my configuration files:<br>
<br>
<b>/var/www/wpad.dat</b><br>
function FindProxyForURL(url, host) {<br>
if (shExpMatch(url,"*.<a moz-do-not-send="true"
href="http://empresa.com/*">empresa.com/*</a>"))<br>
{<br>
return "DIRECT";<br>
}<br>
if (isInNet(host, "192.168.0.0","255.255.252.0"))<br>
{<br>
return "DIRECT";<br>
}<br>
return "PROXY <a moz-do-not-send="true"
href="http://192.168.0.69:3128">192.168.0.69:3128</a>";<br>
}<br>
<br>
<br>
<b>/etc/dhcp/dhcpd.conf</b><br>
ddns-update-style none;<br>
default-lease-time 600;<br>
max-lease-time 7200;<br>
authoritative;<br>
option wpad-url code 252 = text;<br>
ddns-domainname "<a moz-do-not-send="true"
href="http://cmb.empresa.com">cmb.empresa.com</a>.";<br>
option domain-name "<a moz-do-not-send="true"
href="http://cmb.empresa.com">cmb.empresa.com</a>.";<br>
<br>
<br>
subnet 192.168.0.0 netmask 255.255.252.0 {<br>
range 192.168.1.1 19.168.3.253;<br>
option routers 192.168.0.1;<br>
option domain-name-servers 192.168.0.25,192.168.0.10;<br>
option broadcast-address 192.168.3.255;<br>
option wpad-url "<a moz-do-not-send="true"
href="http://192.168.0.69/wpad.dat%5Cn">http://192.168.0.69/wpad.dat\n</a>";
<br>
<br>
}<br>
<br>
<br>
<b>/etc/bind/<a moz-do-not-send="true"
href="http://db.empresa.com">db.empresa.com</a></b><br>
;<br>
$TTL 600<br>
@ IN SOA <a moz-do-not-send="true"
href="http://dns1.cmb.emprea.com">dns1.cmb.emprea.com</a>.
<a moz-do-not-send="true" href="http://root.cmb.empresa.com">root.cmb.empresa.com</a>.
(<br>
2015083001; Serial<br>
300 ; Refresh<br>
300 ; Retry<br>
600 ; Expire<br>
900 ) ; Negative Cache TTL<br>
;<br>
@ IN NS <a moz-do-not-send="true"
href="http://dns1.cmb.emprea.com">dns1.cmb.emprea.com</a>.
<br>
@ IN MX 10 <a moz-do-not-send="true"
href="http://webmail.cmb.emprea.com">webmail.cmb.emprea.com</a>.<br>
...<br>
proxy IN A 192.168.0.69<br>
wpad IN CNAME proxy<br>
<br>
<br>
Is there any tool to test my proxy ?<br>
<br>
Do I need to set any library in apache2 ?<br>
<br>
</div>
Regards,<br>
<br>
</div>
Márcio Bacci<br>
<div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Cheers
Jason Haar
Corporate Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
</pre>
</body>
</html>