rafaelgp

Member
Aug 7, 2006
22
0
151
hi,

always when i access cpanel's accounts on my server it shows the same "last access": 127.0.0.1

how can i correct it and make it show the real last access? currently it just shows '127.0.0.1' for all users. when working, it is useful.



thank you.
 

Gareth

Well-Known Member
Feb 11, 2004
71
0
156
Isle of Anglesey, UK
If you are accessing your clients cpanel via whm, or the drop down list in your main account (ie not actually logging in with their username/password), it will show the last login as 127.0.0.1
 

rafaelgp

Member
Aug 7, 2006
22
0
151
Well, I desactivated this login by root (xfer..something)... It is happenning on normal logins... :(
 

RavenSoul_

Well-Known Member
Nov 2, 2004
95
2
156
Belgium
I was told that https (encrypted http) couldn't allocate it, so 127.0.0.1 (localhost) was used therefor...
 

Gareth

Well-Known Member
Feb 11, 2004
71
0
156
Isle of Anglesey, UK
rafaelgp said:
Well, I desactivated this login by root (xfer..something)... It is happenning on normal logins... :(
Right it will not be that then.

RavenSoul_ said:
I was told that https (encrypted http) couldn't allocate it, so 127.0.0.1 (localhost) was used therefor...
Yep your right there, something to do with stunnel if my memory serves me right.
 

rafaelgp

Member
Aug 7, 2006
22
0
151
But why? I didn't understand very well.

How can I fix it?
 

Gareth

Well-Known Member
Feb 11, 2004
71
0
156
Isle of Anglesey, UK
Basically you can not fix it.

When your clients go to : https://www.domain.com:2083 it is routed though software called stunnel. This means that the server can not identify the IP address and so replaces it with localhost 127.0.0.0
 

rafaelgp

Member
Aug 7, 2006
22
0
151
Ah, ok... Now I got it...

I've never used cPanel without SSL yet, hehe.

Ah, which version of OpenSSL does Stunnel should use? The last one, no?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
BTW, in the latest CURRENT/EDGE builds cPanel have changed all this and access to both cPanel and WHM is no longer through stunnel - they've coded their own SSL routines. So, one you're using those builds the IP will show up correctly whether using SSL or non-SSL access.
 

basic612

Member
Jun 22, 2006
5
0
151
chirpy said:
BTW, in the latest CURRENT/EDGE builds cPanel have changed all this and access to both cPanel and WHM is no longer through stunnel - they've coded their own SSL routines. So, one you're using those builds the IP will show up correctly whether using SSL or non-SSL access.
Hi - I'm using 10.8.2-CURRENT-467 and still see last login as coming from 127.0.0.1

do I need to change a setting somehwere to use cpanel SSL routines instead of stunnel?
 

jamesbond

Well-Known Member
Oct 9, 2002
737
1
168
I tried:

tweak settings -> Use native SSL support if possible, negating need for Stunnel

but that didn't seem to help any.

I'm running C472