<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Squid Cache v3.3.3 included in cygwin was ./configured with:<div><br></div><div><div>$ ./squid -v</div><div>Squid Cache: Version 3.3.3</div><div> '--srcdir=/usr/src/ports/squid/squid-3.3.3-2.i686/src/squid-3.3.3'</div><div> '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' </div><div>'--sbindir=/usr/sbin'</div><div> '--libexecdir=/usr/libexec' </div><div>'--datadir=/usr/share' </div><div>'--localstatedir=/var'</div><div> '--sysconfdir=/etc' </div><div>'--libdir=/usr/lib'</div><div> '--datarootdir=/usr/share'</div><div> '--docdir=/usr/share/doc/squid'</div><div> '--htmldir=/usr/share/doc/squid/html' </div><div>'-C' </div><div>'--sysconfdir=/etc/squid'</div><div> '--datadir=/usr/share/squid'</div><div> '--libexecdir=/usr/lib/squid' </div><div>'--disable-strict-error-checking' </div><div>'--with-logdir=/var/log/squid'</div><div> '--with-swapdir=/var/cache/squid'</div><div> '--with-pidfile=/var/run/squid.pid'</div><div> '--enable-ssl' </div><div>'--enable-esi'</div><div> '--enable-disk-io=AIO,Blocking,DiskThreads,IpcIo,Mmapped'</div><div> '--enable-auth-basic=DB,LDAP,MSNT,MSNT-multi-domain,NCSA,POP3,RADIUS,SASL,SMB,fake,getpwnam'</div><div> '--enable-auth-ntlm=fake,smb_lm'</div><div> '--enable-auth-negotiate=kerberos,wrapper'</div><div> '--enable-external-acl-helpers=LDAP_group,SQL_session,eDirectory_userip,file_userip,kerberos_ldap_group,session,time_quota,unix_group,wbinfo_group' </div><div>'--with-filedescriptors=3072'</div><div> 'CC=gcc'</div><div> 'CFLAGS=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/squid/squid-3.3.3-2.i686/build=/usr/src/debug/squid-3.3.3-2 -fdebug-prefix-map=/usr/src/ports/squid/squid-3.3.3-2.i686/src/squid-3.3.3=/usr/src/debug/squid-3.3.3-2' 'LDFLAGS='</div><div> 'LIBS='</div><div>'CPPFLAGS=<span style="font-size: 12pt;">'</span></div><div><span style="font-size: 12pt;">'CXX=g++'</span></div><div><span style="font-size: 12pt;">'CXXFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/usr/src/ports/squid/squid-3.3.3-2.i686/build=/usr/src/debug/squid-3.3.3-2 -fdebug-prefix-map=/usr/src/ports/squid/squid-3.3.3-2.i686/src/squid-3.3.3=/usr/src/debug/squid-3.3.3-2'</span></div><div><br></div><div>Running squid -X log is here: <a href="http://pastebin.com/7f5U4k9W" target="_blank" style="font-size: 12pt;">http://pastebin.com/7f5U4k9W</a></div><br><div><hr id="stopSpelling">From: mirza.dedic@outlook.com<br>To: squid3@treenet.co.nz; squid-users@lists.squid-cache.org<br>Date: Wed, 8 Oct 2014 08:19:29 -0700<br>Subject: Re: [squid-users] Squid 2.7 STABLE8 (Win2008) can't get my MS Lync 2013 to work?<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Thanks Amos,<div><br></div><div>It seems I spoke too fast, the proxy prompt is back, so disabling SG didn't do the trick.</div><div><br></div><div>Two two hits I see in access.log are:</div><div><br></div><div>1412778349.755    141 172.16.12.110 TCP_MISS/200 462 POST http://sqm.microsoft.com/sqm/wm/sqmserver.dll - DIRECT/65.55.7.141 -</div><div>1412778349.911    515 172.16.12.110 TCP_MISS/200 11695 CONNECT login.microsoftonline.com:443 - DIRECT/157.55.208.198 -</div><div><br></div><div>These happen when I restart the Lync program and at the time of the proxy prompt.</div><div><br></div><div>My config file is here: <a href="http://pastebin.com/MSsTWum2" target="_blank" style="font-size:12pt;">http://pastebin.com/MSsTWum2</a></div><div><br></div><div>I spent last night trying to mess with cygwin + squid to try and tackle this issue by upgrading to a more supported squid, I see there is a 3.3.3 published in their repository; I got this working at home (squid starts) on Windows 7 machine however getting errors trying to start the same cygwin setup on my win2003 remote server, getting..</div><div><br></div><div><div>2014/10/08 08:12:56| aclIpParseIpData: Bad host/IP: '::1' in '::1', flags=0 : (8) Name or service not known</div><div>FATAL: Bungled Default Configuration line 11: acl localhost src 127.0.0.1/32 ::1</div><div>Squid Cache (Version 3.3.3): Terminated abnormally.</div></div><div><br></div><div>My cygwin squid.conf is similar to 2.7, except a few changes.. <a href="http://pastebin.com/BrCG8yHL" target="_blank" style="font-size:12pt;">http://pastebin.com/BrCG8yHL</a></div><div><br></div><div>I am confused because no where is acl loclahost src defined in my config, and I tried starting squid with -f to make sure I am reading in the correct squid.conf file.</div><div><br></div><div>Figured i'd try the cygwin+squid route to get a more supported version going, but I am having issues starting it in my Win2003 box (the box has multiple network cards, so don't know if that has anything to do with it?).</div><div><br><div>> Date: Wed, 8 Oct 2014 19:35:25 +1300<br>> From: squid3@treenet.co.nz<br>> To: squid-users@lists.squid-cache.org<br>> Subject: Re: [squid-users] Squid 2.7 STABLE8 (Win2008) can't get my MS Lync 2013 to work?<br>> <br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>> <br>> On 8/10/2014 12:17 p.m., Mirza Dedic wrote:<br>> > Hi Eliezer,<br>> > <br>> > After I commented out the SquidGuard part of the config and<br>> > restarted squid I restart my Lync 2013 client and it connects<br>> > without a proxy prompt, in the log I still see the " 1412723608.354<br>> > 485 172.16.12.110 TCP_MISS/200 11695 CONNECT<br>> > login.microsoftonline.com:443 - DIRECT/65.52.244.66 -" but no<br>> > proxy on the client's side.<br>> > <br>> > So, something in SquidGuard must be causing this??<br>> <br>> Yes several things. Basically SG does not contain all of the hacks and<br>> disablings necessary to cope with demands NTLM places on HTTP proxies.<br>> Which is reasonable since its design goal is to filter HTTP traffic.<br>> <br>> > <br>> > I did not want to uncomment the NTLM because we use this to provide<br>> > seamless authentication for the clients, if we only allow basic it<br>> > will prompt for user/pass won't it?<br>> > <br>> > We use SquidGuard as it has a pre-defined list of blocked sites, so<br>> > it was a quick way to add a set of blocked sites.. but this whole<br>> > setup is old I don't even know where the win32 binaries came from<br>> > for squidguard..<br>> <br>> In which case there should be no need for you to have SG at all.<br>> <br>> The popular blocklist/blacklist sources for SG also provide Squid<br>> format downloads of the same lists, or converters are easily written.<br>> https://www.google.com/search?q=squid+blacklist<br>> <br>> <br>> > <br>> > You mentioned a 3.x being developed for Windows, is this internal<br>> > only or somewhere I can follow the progress?<br>> <br>> I am the one driving that effort at present. It is a side hobby on my<br>> overall goal of feature parity between Squid-2 and Squid-3 - keeping<br>> Squid building and running on any OS Squid-2 was useful for.<br>> <br>> The official state of Squid on Windows is documented in here:<br>> http://wiki.squid-cache.org/KnowledgeBase/Windows<br>> the newest bits are down under "Porting Efforts" for now.<br>> <br>> Changes as they are found are being applied directly on the mainstream<br>> 3.HEAD version. So the regular 3.HEAD ChangeLog and bugzilla are used<br>> to track minor changes and issues.<br>> <br>> Summary:<br>> So far I have MinGW-w64 executables of Squid-3.5 that produce "Error<br>> 127". yay!. Any assistance figuring out what I have done wrong to get<br>> that is welcome. So far I think its a missing DLL or wrong .exe<br>> settings going into the compiler.<br>> <br>> Visual Studio 2012 builds are also ongoing, but will not be available<br>> until the Foundation provides an upstream git repository (being planned).<br>> <br>> Personal donations welcome (<http://treenet.co.nz/projects/squid/>),<br>> but due to the above error 127 I am disinclined to accept contracts<br>> with anything like a deadline.<br>> <br>> Amos<br>> -----BEGIN PGP SIGNATURE-----<br>> Version: GnuPG v2.0.22 (MingW32)<br>> <br>> iQEcBAEBAgAGBQJUNNstAAoJELJo5wb/XPRjN6IH/AhZf3+k0YizpxjmoyYh0E4/<br>> AgbJ+fCtA/tvObKPN862xKQ/TCLnV9uOT/SFClf9Occ8fqJZex0ViNnIJiSrLaS7<br>> 7SP4/C58D4T8FV1331HZmh36q38ui+bHTVvRWDjz4J0CC9/pmKCI5nVvLW8KbjYC<br>> T0ZhOBU2L7VZ3zUhwTsKKD0UfroMzRyzcipmRMysNXpfG/5unZb4XLfk/AQdWRqo<br>> zpXV6vA7uJGQnZO9fnuMOOysG7UqmyydlFWAkwM9XL+7SJC9bCKmPk/T9+CIvRN7<br>> 31gbNdi3ZfyWSkgI9lp1UmNu1tV/G9CrnsCgDWGCswmEoy14fhvgy1cmYGZ2Wu8=<br>> =vAWZ<br>> -----END PGP SIGNATURE-----<br>> _______________________________________________<br>> squid-users mailing list<br>> squid-users@lists.squid-cache.org<br>> http://lists.squid-cache.org/listinfo/squid-users<br></div></div>                                      </div>
<br>_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users</div></div>                                         </div></body>
</html>