[TYPO3-core] RFC: #8588: Admin tools -> User Admin -> List users online broken when [BE][lockIP] is set to < 4

Christian Kuhn lolli at schwarzbu.ch
Mon Aug 18 21:46:03 CEST 2008


Hi,

Dmitry Dulepov [typo3] wrote:
> Hi!
> 
> Steffen Kamper wrote:
>> attached new patch is the solution Masi sent me.
>>
>> I tested it and corrected a small issue.
>>
>> Now output of Host in "List Users Online" is following
>>
>> Setting                    Output
>> $TYPO3_CONF_VARS['BE']['lockIP'] = '4'    199.56.88.15
>> $TYPO3_CONF_VARS['BE']['lockIP'] = '3'    199.56.88.*
>> $TYPO3_CONF_VARS['BE']['lockIP'] = '2'    199.56.*.*
>> $TYPO3_CONF_VARS['BE']['lockIP'] = '1'    199.*.*.*
>> $TYPO3_CONF_VARS['BE']['lockIP'] = '0'    -
> 
> I did not apply the patch but went to the module to reproduce the problem first. I still saw the IP address (127.0.0.1), no warnings. lockIP is 0 and display_errors is 1. The problem was that I have to relogin after changing lockIP :D

You need to have at least two different logged in users to reproduce 
this error. Just open some other browser and log in with a different 
username.

The logout is imho related to the authentification chain: You are always 
logged out if you increase ['BE']['lockIP'], but not if you decrease 
this setting. I don't think this is a problem here.


> Then I applied a patch but it does not work as expected. It shows "127" in the host column (I login from localhost).

I can not reproduce this after a successful re-login, it shows '-' for 
me with lockIP=0


There is one issue left: If I set ['BE']['lockIP'] = '4' I still get the 
gethostbyaddr() warning.


Regards
Christian





More information about the TYPO3-team-core mailing list