Bug #45526

Perma-Logout in Backend when accessing from localhost

Added by Tarulia no-lastname-given almost 9 years ago. Updated almost 2 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 :|

#1

Updated by Patrick Broens almost 9 years ago

  • Complexity set to medium
#2

Updated by Mathias Schreiber almost 7 years ago

  • Target version set to 7.4 (Backend)
  • Is Regression set to No
#3

Updated by Susanne Moog over 6 years ago

  • Target version changed from 7.4 (Backend) to 7.5
#4

Updated by Benni Mack about 6 years ago

  • Target version changed from 7.5 to 7 LTS
#5

Updated by Susanne Moog almost 2 years ago

  • Status changed from New to Rejected

As this issue is pretty old and there are no other reports of the problem, I'm closing the issue for now. Feel free to open a new bug if it still happens.

Also available in: Atom PDF