Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5783
Closed
Open
Issue created Mar 02, 2018 by bmortier@bmortierMaintainer

IP change should not log the user out

Description

When logging into fusiondirectory, getting randomly logged out with messages like "your IP has changed." Fusion Directory makes the assumption that sessions are tied to a single IP address and that one computer has only one.

On dual stack hosts, this is most often not the case. going to fusiondirectory.something with A and AAAA record results in the clients switching between v4 and v6 occasionally, especially if there is some latency.

It makes no sense to tie a session to an IP address, as people roam between 4G and WiFi all the time as well. With IPv6 privacy addresses, host IP addresses change every hour by default as well. The old one is still available for open connections, but HTTP is not stateful like that.

FusionDirectory Version

1.0.19 - 1.3-dev

Steps to Reproduce

  1. Log in
  2. Wait for IP change
  3. Try to do stuff

Expected behavior: Expect to be able to do stuff :-)

Actual behavior: Get an error that my IP changed and get logged out.

Reproduces how often: Every few minutes :(

Additional Information

Edited Mar 05, 2018 by bmortier
Assignee
Assign to
Time tracking