Sogo doesn't display the right incoming IP in its logs

Hi,
I can’t test till this evening.
I’m not at home.
Sorry!

No problem, I’m now fixing my mountain bike :slight_smile:

2 Likes

released in nethforge

1 Like

Boah, I was really jealous that you go right in a beautiful landscape(My mother-in-law comes from Yssingeaux) mountain bike … and now !? : D

Ready to go

3 Likes

Sehr geehrter Herr Droste,

bei Bearbeitung ihrer Online-Anzeige vom 23.08.2016 musste ich feststellen, dass mir zur abschließenden Bearbeitung noch weitere Informationen fehlen.

Bitte teilen Sie mir folgende Punkte mit:

  1. Wert des Fahrrades ?

Mit freundlichem Gruß

xxxxxx
Kriminalkommissar

LR Warendorf, Kriminalkommissariat Nord
Wilhelmstraße 26
48231 Warendorf


Tel.: 02581/94100123456
Fax: 02581/94100-123456
E-Mail: xxxx@polizei.nrw.de

A bike just costs the money you can afford, not more

It is a trek ex fuel 5 with tyres 27,5+

Updated SOGo and tested from LAN and WAN: Now SOGo record the right incoming IP in the log file.

Congratulations to solve the bug!

@hucky: congratulations for reporting the bug!

3 Likes

It seems I’m late, but I just found this https://sogo.nu/bugs/view.php?id=2229

3 Likes

hey @stephdl, can you please check at your side if the activsync also have that problem with only show the external ip adress? at my side yes, it only shows the external ip adress, but not the client adress here.

it looks:
91.64.6.249 - - [01/Mar/2017:09:39:38 +0100] “POST /Microsoft-Server-ActiveSync?User=rainer&DeviceId=5A2EQFMDI95VP3MG1JADOBK78G&DeviceType=iPad&Cmd=Sync HTTP/1.1” 200 73

91.64.6.249 - - [01/Mar/2017:09:41:32 +0100] “POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=rainer&DeviceId=SEC1AD1DB01116BF&DeviceType=SAMSUNGSMG925F HTTP/1.1” 200 -

First Device is an Ipad, second a android mobile

The server settings in the activesync client is done by your external domain or by the external IP ?

I’m not at home but it could make sense.

If you set in the activesync application client the server address not by its external domain/ip address but by its internal IP, does it changes something.

hey @stephdl for the mobiles i use the external domain.

I have just tested, giving the internal IP of the server in the client setting and I retrieve the good IP in /var/log/httpd/ssl_access_log and /var/log/sogo/sogo.log

/httpd/ssl_access_log

192.168.12.79 - - [01/Mar/2017:18:28:13 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=toto%40stephdl.dyndns.org&DeviceId=androidc1728557290&DeviceType=Android HTTP/1.1" 200 -
192.168.12.79 - - [01/Mar/2017:18:28:14 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=toto%40stephdl.dyndns.org&DeviceId=androidc1728557290&DeviceType=Android HTTP/1.1" 200 53
192.168.12.79 - - [01/Mar/2017:18:28:14 +0100] "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=toto%40stephdl.dyndns.org&DeviceId=androidc1728557290&DeviceType=Android HTTP/1.1" 200 -

/var/log/sogo/sogo.log

Mar 01 18:30:28 sogod [32421]: <0x0x7fd6c6c56620[SOGoActiveSyncDispatcher]> Sleeping 10 seconds while detecting changes in Ping...
Mar 01 18:30:38 sogod [32421]: 192.168.12.79 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=toto%40stephdl.dyndns.org&DeviceId=androidc1728557290&DeviceType=Android HTTP/1.1" 200 13/193 11.565 - - 0
Mar 01 18:30:41 sogod [32421]: <0x0x7fd6c6fdc000[SOGoActiveSyncDispatcher]> Sleeping 10 seconds while detecting changes in Ping...
Mar 01 18:30:51 sogod [32421]: 192.168.12.79 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=toto%40stephdl.dyndns.org&DeviceId=androidc1728557290&DeviceType=Android HTTP/1.1" 200 19/194 12.324 - - 0

Are you using the wifi at home…can you try with the mobile band ?

yep, can confirm, but if i am not at home i need the external adress.

of course, but does your external domain is resolved by your internal dns server…try to resolve internally your external domain (by the dns server of your router/gateway) or use an external connexion and see what it occurs

1 Like

hey @stephdl had the external adress now as an server alias and now the ip´s are right shown.

2 Likes

cool :slight_smile:

1 Like