hdyugoplastika hdyugoplastika wrote:
Hello I have changed squid version from 2.5STABLE14+owa patch to 2.7STABLE6-1 and now I have some problems with Active Sync(from iphone to exchange server): there are few iphones client don't work(not all), probably iphone with different version. squid.conf 2.7STABLE6-1 cache_peer mail.XXXxxxxx.it parent 443 0 ssl sslcert=/etc/squid/cert/mi1exprom1.cert sslflags=DONT_VERIFY_PEER proxy-only no-query no-digest front-end-https=on originserver login=PASS squid.conf 2.5STABLE14+owa patch cache_peer mail.XXXxxxxx.it parent 443 0 ssl sslcert=/etc/squid/cert/mi1exprom1.cert sslflags=DONT_VERIFY_PEER proxy-only no-query no-digest front-end-https=on access.log on 2.7STABLE6-1 xxx.xxx.xxx.xxx - - [12/Aug/2009:11:48:41 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER1&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx&Cmd=Sync HTTP/1.1" 417 2033 TCP_MISS:NONE/- xxx.xxx.xxx.xxx - - [12/Aug/2009:11:48:43 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER1&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx&Cmd=Sync HTTP/1.1" 417 2033 TCP_MISS:NONE/- xxx.xxx.xxx.xxx - - [12/Aug/2009:11:48:46 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER1&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx&Cmd=Sync HTTP/1.1" 417 2033 TCP_MISS:NONE/- access.log on 2.5STABLE14+owa patch xxx.xxx.xxx.xxx - - [12/Aug/2009:11:46:55 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER1&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx&Cmd=FolderSync HTTP/1.1" 200 2547 TCP_MISS:FIRST_UP_PARENT xxx.xxx.xxx.xxx - - [12/Aug/2009:11:46:57 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER1&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx&Cmd=Sync HTTP/1.1" 200 394 TCP_MISS:FIRST_UP_PARENT xxx.xxx.xxx.xxx - - [12/Aug/2009:11:46:59 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER1&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx&Cmd=Sync HTTP/1.1" 200 22513 TCP_MISS:FIRST_UP_PARENT The iphone clients that they work with all squid version hav this log: access.log on 2.7STABLE6-1 xxx.xxx.xxx.xx2 - - [12/Aug/2009:09:09:07 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 1427 TCP_MISS:SOURCEHASH_PARENT/mi1exprom1.nf.xxxxxXXX.it xxx.xxx.xxx.xx2 - - [12/Aug/2009:09:09:08 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 5063 TCP_MISS:SOURCEHASH_PARENT/mi1exprom1.nf.xxxxxXXX.it xxx.xxx.xxx.xx2 - - [12/Aug/2009:09:09:08 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=FolderSync HTTP/1.1" 200 444 TCP_MISS:SOURCEHASH_PARENT/mi1exprom1.nf.xxxxxXXX.it xxx.xxx.xxx.xx2 - - [12/Aug/2009:09:09:13 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 493 TCP_MISS:SOURCEHASH_PARENT/mi1exprom1.nf.xxxxxXXX.it xxx.xxx.xxx.xx2 - - [12/Aug/2009:09:09:14 +0200] "POST https://webmail.XXXxxxxx.it/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=MoveItems HTTP/1.1" 200 413 TCP_MISS:SOURCEHASH_PARENT/mi1exprom1.nf.xxxxxXXX. access.log on 2.5STABLE14+owa patch xxx.xxx.xxx.xx2 - - [17/Aug/2009:08:34:24 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 1841 TCP_MISS:FIRST_UP_PARENT xxx.xxx.xxx.xx2 - - [17/Aug/2009:08:34:31 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 5019 TCP_MISS:FIRST_UP_PARENT xxx.xxx.xxx.xx2 - - [17/Aug/2009:08:34:38 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=MoveItems HTTP/1.1" 200 344 TCP_MISS:FIRST_UP_PARENT xxx.xxx.xxx.xx2 - - [17/Aug/2009:08:37:00 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=FolderSync HTTP/1.1" 200 351 TCP_MISS:FIRST_UP_PARENT xxx.xxx.xxx.xx2 - - [17/Aug/2009:08:39:56 +0200] "POST http://webmail.XXXxxxxx.it:443/Microsoft-Server-ActiveSync?User=USER2&DeviceId=ApplxxxxxSxNYxH&DeviceType=iPhone&Cmd=FolderSync HTTP/1.1" 200 351 TCP_MISS:FIRST_UP_PARENT Any idea?
Add the 'sourcehash' option to your cache_peer line. Amos -- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18 Current Beta Squid 3.1.0.13