Re: [SOGo] Howto see real ip-address of client in sogo.log and not 127.0.0.1?
Has anybody gotten this to work?? I still only see the 127.0.0.1 from the apache proxy in my sogo logs :-( Cheers, Dennis On Wednesday 14 April 2010 22:11:16 Dennis Petschull wrote: > Hello, > > I would like to see the "real" ip-address of the connected client in the > sogo.log instead of the 127.0.0.1 of the apache proxy. > In principal this should be possible using the x-forwarded-for line which > mod_proxy adds to the header. > But how exactly? > > Cheers, > Dennis > -- two4.IT http://www.two4.it -- -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Howto see real ip-address of client in sogo.log and not 127.0.0.1?
Hi, I don't know if it's possible to seethe ip address in the sogo logs, but it is possible to see them in the apache logs (access.log). I'm using it with fail2ban to prevent unauthorized access and it works well. 2010/8/1 Dennis Petschull : > Has anybody gotten this to work?? > I still only see the 127.0.0.1 from the apache proxy in my sogo logs :-( > > Cheers, > Dennis > > > On Wednesday 14 April 2010 22:11:16 Dennis Petschull wrote: >> Hello, >> >> I would like to see the "real" ip-address of the connected client in the >> sogo.log instead of the 127.0.0.1 of the apache proxy. >> In principal this should be possible using the x-forwarded-for line which >> mod_proxy adds to the header. >> But how exactly? >> >> Cheers, >> Dennis >> > > -- > two4.IT > http://www.two4.it > -- > > -- > users@sogo.nu > https://inverse.ca/sogo/lists > -- Mickaël mick@gmail.com -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Howto see real ip-address of client in sogo.log and not 127.0.0.1?
Yes, I know that the IP appears in the apache logs, but I would like to see the IP in the sogo logs, too. Cheers, Dennis On Sunday 01 August 2010 15:09:16 Mickaël Misbach wrote: > Hi, > I don't know if it's possible to seethe ip address in the sogo logs, > but it is possible to see them in the apache logs (access.log). > I'm using it with fail2ban to prevent unauthorized access and it works > well. > > 2010/8/1 Dennis Petschull : > > Has anybody gotten this to work?? > > I still only see the 127.0.0.1 from the apache proxy in my sogo logs :-( > > > > Cheers, > > Dennis > > > > On Wednesday 14 April 2010 22:11:16 Dennis Petschull wrote: > >> Hello, > >> > >> I would like to see the "real" ip-address of the connected client in the > >> sogo.log instead of the 127.0.0.1 of the apache proxy. > >> In principal this should be possible using the x-forwarded-for line > >> which mod_proxy adds to the header. > >> But how exactly? > >> > >> Cheers, > >> Dennis -- two4.IT http://www.two4.it -- -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Howto see real ip-address of client in sogo.log and not 127.0.0.1?
Short answer: IMHO not possible, not with proxy-setup. When you configure SOGo to "hear" on the IP of the server - it runs, I think, but you will get security Problems. Why are you want to see the IP in the sogo logs? Greetings, Martin Am 01.08.2010 um 16:13 schrieb Dennis Petschull: > Yes, I know that the IP appears in the apache logs, but I would like to see > the IP in the sogo logs, too. > > Cheers, > Dennis > > On Sunday 01 August 2010 15:09:16 Mickaël Misbach wrote: >> Hi, >> I don't know if it's possible to seethe ip address in the sogo logs, >> but it is possible to see them in the apache logs (access.log). >> I'm using it with fail2ban to prevent unauthorized access and it works >> well. >> >> 2010/8/1 Dennis Petschull : >>> Has anybody gotten this to work?? >>> I still only see the 127.0.0.1 from the apache proxy in my sogo logs :-( >>> >>> Cheers, >>> Dennis >>> >>> On Wednesday 14 April 2010 22:11:16 Dennis Petschull wrote: Hello, I would like to see the "real" ip-address of the connected client in the sogo.log instead of the 127.0.0.1 of the apache proxy. In principal this should be possible using the x-forwarded-for line which mod_proxy adds to the header. But how exactly? Cheers, Dennis > > -- > two4.IT > http://www.two4.it > -- > -- > users@sogo.nu > https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Howto see real ip-address of client in sogo.log and not 127.0.0.1?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/01/2010 10:39 PM, Martin Rabl wrote: > Short answer: IMHO not possible, not with proxy-setup. > When you configure SOGo to "hear" on the IP of the server - it runs, I think, > but you will get security Problems. Hmmm, maybe the proxy actually adds the IP to the headers it sends SOGo, if so then SOGo could be extended to log the actual IP. > Why are you want to see the IP in the sogo logs? It could be usefull for debugging issues I guess. Regards, Tarjei > > Greetings, > Martin > > Am 01.08.2010 um 16:13 schrieb Dennis Petschull: > >> Yes, I know that the IP appears in the apache logs, but I would like to see >> the IP in the sogo logs, too. >> >> Cheers, >> Dennis >> >> On Sunday 01 August 2010 15:09:16 Mickaël Misbach wrote: >>> Hi, >>> I don't know if it's possible to seethe ip address in the sogo logs, >>> but it is possible to see them in the apache logs (access.log). >>> I'm using it with fail2ban to prevent unauthorized access and it works >>> well. >>> >>> 2010/8/1 Dennis Petschull : Has anybody gotten this to work?? I still only see the 127.0.0.1 from the apache proxy in my sogo logs :-( Cheers, Dennis On Wednesday 14 April 2010 22:11:16 Dennis Petschull wrote: > Hello, > > I would like to see the "real" ip-address of the connected client in the > sogo.log instead of the 127.0.0.1 of the apache proxy. > In principal this should be possible using the x-forwarded-for line > which mod_proxy adds to the header. > But how exactly? > > Cheers, > Dennis >> >> -- >> two4.IT >> http://www.two4.it >> -- >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists > - -- Tarjei Huse Mobil: 920 63 413 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxV7X8ACgkQYVRKCnSvzfKV2QCfd4L/cjnHJTR6JNFd4fryf3a1 RkYAnREf/KSnNOSgaRlZ+1TClywYOBr6 =r8Og -END PGP SIGNATURE- -- users@sogo.nu https://inverse.ca/sogo/lists