Project

General

Profile

Actions

Bug #45526

closed

Perma-Logout in Backend when accessing from localhost

Added by Tarulia no-lastname-given about 11 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2013-02-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

As far as I've read this issue is pretty old, but I couldn't find a report on it, so sorry if there was one already.

When accessing typo on a local webserver via localhost you get perma-logged out (and asked to log back in).

When setting

[BE][lockIP] = 0

the logout seems to have been gone (at least I didn't get a logout for hours, and that sounds like more than a coincidence). May need further testing for this.

My guess is that the lockIP function trys to split an IP block that's not splittable. In the admin-panel log there's this message:

10:47:29          admin@[-99]          LOGIN          LOGIN          User admin logged in from ::1 () (msg#255.1.1)

and my guess is typo trys to split this ip into 4 blocks, which of course does not succeed and therefore can't send a session cookie (or whatever it does if it did).

I just got into typo, so I can't watch out for the code at the moment, will try to get into it soon :) Maybe this helps a little :|

Actions

Also available in: Atom PDF