Hi,

> I am playing around with sogosync for the first time. Therefor I cloned the 
> current git and modified all config files as described in the online 
> documentation.
> 
> So far I get some conversation between my iPhone 4S and the sogosync stuff.
> 
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] -------- Start
> 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] Version='SVN 
> checkout' method='POST' from='5.43.170.134' cmd='FolderSync' 
> getUser='de10...@srvint.net' devId='ApplDNQGN393DTDF' devType='iPhone'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Used timezone 
> 'Europe/Berlin'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
> file: '/var/www/sogosync/backend/combined/combined.php'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
> file: '/var/www/sogosync/backend/caldav.php'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
> file: '/var/www/sogosync/backend/carddav.php'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] Including backend 
> file: '/var/www/sogosync/backend/imap.php'
> 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] Combined 3 backends 
> loaded.
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] 
> Request::ProcessHeaders() ASVersion: 2.5
> 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] 
> AuthenticationRequiredException: Access denied. Please send authorisation 
> information - code: 0
> 16/09/2012 11:42:09 [27472] [ INFO] [de10...@srvint.net] User-agent: 
> 'Apple-iPhone4C1/902.206'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] 
> ZPush::PrintZPushLegal()
> 16/09/2012 11:42:09 [27472] [ WARN] [de10...@srvint.net] IP: 5.43.170.134 
> failed to authenticate user 'de10...@srvint.net'
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] TopCollector(): 
> Initialized mutexid Resource id #120 and memid Resource id #121.
> 16/09/2012 11:42:09 [27472] [DEBUG] [de10...@srvint.net] -------- End
> 
I dived a little bit deeper. It seems, something does not work with TLS. Can 
somebody confirm this from my tshark output (attached)? What would I have to 
change in Apache (Ubuntu 12.04) to get the iPhone working? It seems that the 
Exchange connection works differently than regular https. If I open Safari and 
go to https://www.roessner-net.de everything works as expected. I have 
installed the CA on the device. So I guess it has to do with ciphers and that 
the server and the device can not agree to a common cipher spec.

Thanks in advance

-- 
users@sogo.nu
https://inverse.ca/sogo/lists
  0.000000 5.43.170.134 -> 193.239.107.39 TCP 78 52824 > https [SYN] Seq=0 
Win=65535 Len=0 MSS=1452 WS=16 TSval=182681208 TSecr=0 SACK_PERM=1
  0.000039 193.239.107.39 -> 5.43.170.134 TCP 74 https > 52824 [SYN, ACK] Seq=0 
Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSval=535521934 TSecr=182681208 WS=16
  0.052620 5.43.170.134 -> 193.239.107.39 TCP 60 52824 > https [RST] Seq=1 
Win=0 Len=0
  3.043802 5.43.170.134 -> 193.239.107.39 TCP 78 52830 > https [SYN] Seq=0 
Win=65535 Len=0 MSS=1452 WS=16 TSval=182684208 TSecr=0 SACK_PERM=1
  3.043844 193.239.107.39 -> 5.43.170.134 TCP 74 https > 52830 [SYN, ACK] Seq=0 
Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSval=535522695 TSecr=182684208 WS=16
  3.105320 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [ACK] Seq=1 
Ack=1 Win=132480 Len=0 TSval=182684315 TSecr=535522695
  3.122786 5.43.170.134 -> 193.239.107.39 SSL 252 Client Hello
  3.122817 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52830 [ACK] Seq=1 
Ack=187 Win=15552 Len=0 TSval=535522715 TSecr=182684325
  3.123353 193.239.107.39 -> 5.43.170.134 TLSv1.2 2946 Server Hello
  3.123392 193.239.107.39 -> 5.43.170.134 TLSv1.2 668 Certificate, Server Hello 
Done
  3.189791 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [ACK] Seq=187 
Ack=2881 Win=129600 Len=0 TSval=182684391 TSecr=535522715
  3.191879 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [ACK] Seq=187 
Ack=3483 Win=128992 Len=0 TSval=182684393 TSecr=535522715
  3.333859 5.43.170.134 -> 193.239.107.39 TLSv1.2 333 Client Key Exchange
  3.336326 5.43.170.134 -> 193.239.107.39 TLSv1.2 72 Change Cipher Spec
  3.342466 5.43.170.134 -> 193.239.107.39 TLSv1.2 151 Encrypted Handshake 
Message
  3.345788 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52830 [ACK] Seq=3483 
Ack=545 Win=16624 Len=0 TSval=535522771 TSecr=182684490
  3.346037 193.239.107.39 -> 5.43.170.134 TLSv1.2 157 Change Cipher Spec, 
Encrypted Handshake Message
  3.490472 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [ACK] Seq=545 
Ack=3574 Win=130976 Len=0 TSval=182684669 TSecr=535522771
  3.548270 5.43.170.134 -> 193.239.107.39 TLSv1.2 439 Application Data
  3.566518 193.239.107.39 -> 5.43.170.134 TLSv1.2 950 Application Data, 
Application Data, Application Data, Application Data
  3.692505 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [ACK] Seq=918 
Ack=4458 Win=130176 Len=0 TSval=182684866 TSecr=535522826
  3.735983 5.43.170.134 -> 193.239.107.39 TLSv1.2 599 Application Data
  3.741270 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Application Data
  3.741286 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52830 [ACK] Seq=4458 
Ack=1520 Win=18768 Len=0 TSval=535522870 TSecr=182684897
  3.759678 193.239.107.39 -> 5.43.170.134 TLSv1.2 1062 Application Data, 
Application Data, Application Data, Application Data
  3.837025 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [ACK] Seq=1520 
Ack=5454 Win=130064 Len=0 TSval=182685004 TSecr=535522874
  3.841468 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Encrypted Alert
  3.841581 193.239.107.39 -> 5.43.170.134 TLSv1.2 135 Encrypted Alert
  3.841659 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52830 [FIN, ACK] 
Seq=5523 Ack=1589 Win=18768 Len=0 TSval=535522895 TSecr=182685010
  3.844318 5.43.170.134 -> 193.239.107.39 TCP 66 52830 > https [FIN, ACK] 
Seq=1589 Ack=5454 Win=131072 Len=0 TSval=182685010 TSecr=535522874
  3.844335 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52830 [ACK] Seq=5524 
Ack=1590 Win=18768 Len=0 TSval=535522895 TSecr=182685010
  3.847904 5.43.170.134 -> 193.239.107.39 TCP 78 52835 > https [SYN] Seq=0 
Win=65535 Len=0 MSS=1452 WS=16 TSval=182685014 TSecr=0 SACK_PERM=1
  3.847943 193.239.107.39 -> 5.43.170.134 TCP 74 https > 52835 [SYN, ACK] Seq=0 
Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSval=535522896 TSecr=182685014 WS=16
  3.900630 5.43.170.134 -> 193.239.107.39 TCP 60 52830 > https [RST] Seq=1589 
Win=0 Len=0
  3.903918 5.43.170.134 -> 193.239.107.39 TCP 60 52830 > https [RST] Seq=1589 
Win=0 Len=0
  3.906215 5.43.170.134 -> 193.239.107.39 TCP 60 52830 > https [RST] Seq=1590 
Win=0 Len=0
  3.919744 5.43.170.134 -> 193.239.107.39 TCP 66 52835 > https [ACK] Seq=1 
Ack=1 Win=132480 Len=0 TSval=182685065 TSecr=535522896
  3.935166 5.43.170.134 -> 193.239.107.39 SSL 284 Client Hello
  3.935191 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52835 [ACK] Seq=1 
Ack=219 Win=15552 Len=0 TSval=535522918 TSecr=182685083
  3.935813 193.239.107.39 -> 5.43.170.134 TLSv1.2 243 Server Hello, Change 
Cipher Spec, Encrypted Handshake Message
  3.990584 5.43.170.134 -> 193.239.107.39 TCP 66 52835 > https [ACK] Seq=219 
Ack=178 Win=132288 Len=0 TSval=182685153 TSecr=535522918
  3.994227 5.43.170.134 -> 193.239.107.39 TLSv1.2 72 Change Cipher Spec
  4.000318 5.43.170.134 -> 193.239.107.39 TLSv1.2 151 Encrypted Handshake 
Message
  4.000388 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52835 [ACK] Seq=178 
Ack=310 Win=15552 Len=0 TSval=535522934 TSecr=182685154
  4.027232 5.43.170.134 -> 193.239.107.39 TLSv1.2 599 Application Data
  4.029319 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Application Data
  4.029334 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52835 [ACK] Seq=178 
Ack=912 Win=16624 Len=0 TSval=535522942 TSecr=182685159
  4.047199 193.239.107.39 -> 5.43.170.134 TLSv1.2 1062 Application Data, 
Application Data, Application Data, Application Data
  4.106857 5.43.170.134 -> 193.239.107.39 TCP 66 52835 > https [ACK] Seq=912 
Ack=1174 Win=131296 Len=0 TSval=182685262 TSecr=535522946
  4.136212 5.43.170.134 -> 193.239.107.39 TLSv1.2 599 Application Data
  4.139752 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Application Data
  4.139767 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52835 [ACK] Seq=1174 
Ack=1514 Win=17696 Len=0 TSval=535522969 TSecr=182685275
  4.157214 193.239.107.39 -> 5.43.170.134 TLSv1.2 1062 Application Data, 
Application Data, Application Data, Application Data
  4.215185 5.43.170.134 -> 193.239.107.39 TCP 66 52835 > https [ACK] Seq=1514 
Ack=2170 Win=130304 Len=0 TSval=182685367 TSecr=535522974
  4.225368 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Encrypted Alert
  4.225481 193.239.107.39 -> 5.43.170.134 TLSv1.2 135 Encrypted Alert
  4.225553 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52835 [FIN, ACK] 
Seq=2239 Ack=1583 Win=17696 Len=0 TSval=535522991 TSecr=182685373
  4.227170 5.43.170.134 -> 193.239.107.39 TCP 66 52835 > https [FIN, ACK] 
Seq=1583 Ack=2170 Win=131072 Len=0 TSval=182685373 TSecr=535522974
  4.227186 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52835 [ACK] Seq=2240 
Ack=1584 Win=17696 Len=0 TSval=535522991 TSecr=182685373
  4.234208 5.43.170.134 -> 193.239.107.39 TCP 78 52837 > https [SYN] Seq=0 
Win=65535 Len=0 MSS=1452 WS=16 TSval=182685379 TSecr=0 SACK_PERM=1
  4.234247 193.239.107.39 -> 5.43.170.134 TCP 74 https > 52837 [SYN, ACK] Seq=0 
Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSval=535522993 TSecr=182685379 WS=16
  4.280189 5.43.170.134 -> 193.239.107.39 TCP 60 52835 > https [RST] Seq=1583 
Win=0 Len=0
  4.282393 5.43.170.134 -> 193.239.107.39 TCP 60 52835 > https [RST] Seq=1583 
Win=0 Len=0
  4.286024 5.43.170.134 -> 193.239.107.39 TCP 60 52835 > https [RST] Seq=1584 
Win=0 Len=0
  4.298104 5.43.170.134 -> 193.239.107.39 TCP 66 52837 > https [ACK] Seq=1 
Ack=1 Win=132480 Len=0 TSval=182685443 TSecr=535522993
  4.324815 5.43.170.134 -> 193.239.107.39 SSL 284 Client Hello
  4.324840 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52837 [ACK] Seq=1 
Ack=219 Win=15552 Len=0 TSval=535523015 TSecr=182685453
  4.325467 193.239.107.39 -> 5.43.170.134 TLSv1.2 243 Server Hello, Change 
Cipher Spec, Encrypted Handshake Message
  4.401797 5.43.170.134 -> 193.239.107.39 TCP 66 52837 > https [ACK] Seq=219 
Ack=178 Win=132288 Len=0 TSval=182685521 TSecr=535523016
  4.402123 5.43.170.134 -> 193.239.107.39 TLSv1.2 72 Change Cipher Spec
  4.407991 5.43.170.134 -> 193.239.107.39 TLSv1.2 151 Encrypted Handshake 
Message
  4.408051 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52837 [ACK] Seq=178 
Ack=310 Win=15552 Len=0 TSval=535523036 TSecr=182685522
  4.425659 5.43.170.134 -> 193.239.107.39 TLSv1.2 599 Application Data
  4.430398 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Application Data
  4.430414 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52837 [ACK] Seq=178 
Ack=912 Win=16624 Len=0 TSval=535523042 TSecr=182685523
  4.447261 193.239.107.39 -> 5.43.170.134 TLSv1.2 1062 Application Data, 
Application Data, Application Data, Application Data
  4.506819 5.43.170.134 -> 193.239.107.39 TCP 66 52837 > https [ACK] Seq=912 
Ack=1174 Win=131296 Len=0 TSval=182685642 TSecr=535523046
  9.452531 193.239.107.39 -> 5.43.170.134 TLSv1.2 135 Encrypted Alert
  9.452619 193.239.107.39 -> 5.43.170.134 TCP 66 https > 52837 [FIN, ACK] 
Seq=1243 Ack=912 Win=16624 Len=0 TSval=535524297 TSecr=182685642
  9.625817 5.43.170.134 -> 193.239.107.39 TCP 66 52837 > https [ACK] Seq=912 
Ack=1243 Win=131232 Len=0 TSval=182690708 TSecr=535524297
  9.627603 5.43.170.134 -> 193.239.107.39 TCP 66 52837 > https [ACK] Seq=912 
Ack=1244 Win=131232 Len=0 TSval=182690708 TSecr=535524297
 11.995809 5.43.170.134 -> 193.239.107.39 TLSv1.2 135 Encrypted Alert
 11.995853 193.239.107.39 -> 5.43.170.134 TCP 54 https > 52837 [RST] Seq=1244 
Win=0 Len=0
 11.998904 5.43.170.134 -> 193.239.107.39 TCP 66 52837 > https [FIN, ACK] 
Seq=981 Ack=1244 Win=131296 Len=0 TSval=182693039 TSecr=535524297
 11.998920 193.239.107.39 -> 5.43.170.134 TCP 54 https > 52837 [RST] Seq=1244 
Win=0 Len=0


-Christian Rößner

---
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 176 93118939
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

Reply via email to