e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
323 stars 214 forks source link

[Question]: VPN with rotate IP address #5298

Closed ericc-dream closed 4 months ago

ericc-dream commented 4 months ago

Question

Hi

Well everything is in the title ! I have one user who is using a VPN with IP address changing in a round-robin. So he connect to the site, he can post one or two messages, and suddenly he is disconnected because his IP address changes !

Now I'm experiencing the same problem from my corporate network. Seems that IT service is using several "exit point" in our network, and, randomly, I'm disconnected from my site for the same reason: IP address have changed

This seems to be very specific to e107. I mean, I'm connected all day long to my Gmail inbox and never experience this problem. Same on other web site like github by example

Is there a solution ? An alternate login method which can avoid this issue ?

When you write a long message and posting to discover that you was disconnected and so the message is rejected and lost, believe me this is irritating

Best regards

Expected Source

I looked in the Admin panel but didn't found anything related to this ... but I may have missed it

Additional Context

No response

Deltik commented 4 months ago

I suggest setting define('e_SECURITY_LEVEL', 3); in ./e107_config.php. This turns off e107's sensitivity to changes in $_SERVER['REMOTE_ADDR'], so IP addresses changes should no longer be considered for de-authenticating a user.

Related Gitter discussions: https://matrix.to/#/!srhnCKlMgxFeuSPXPb:gitter.im/$xXzbMoYnOxHlXjKHlh8NHKH_9p0WZQD3mQaNDNeuqfo?via=gitter.im&via=matrix.org