# Does Brute-force block ends active user session from the same IP

**URL:** <https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787>\
**Category:** Get Help\
**Tags:** brute-force\
**Created:** [January 3, 2020, 1:15pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787 "2020-01-03T13:15:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton-chirkov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anton-chirkov/32/18277_2.png) [@anton-chirkov](https://community.auth0.com/u/anton-chirkov)\
**Post date:** [January 3, 2020, 1:15pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/1 "2020-01-03T13:15:10Z")

</div>

Hi,

I’m interesting in one security check case related to brute-force protection : if user was blocked at one specific IP address, should active session from the same IP be ended\blocked?  
Or brute-force block will not allow user _only to login again_ without blocking active sessions?

Thanks in advice!

---

<div class="post-metadata">

**Author:** ![dylan.dempsey1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dylan.dempsey1/32/4567_2.png) [@dylan.dempsey1](https://community.auth0.com/u/dylan.dempsey1)\
**Post date:** [January 3, 2020, 7:39pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/3 "2020-01-03T19:39:18Z")

</div>

Hi, thanks for reaching out. Currently when Brute Force protection (10 failed logins) is triggered only future logins from that specific IP are affected. No existing sessions are ended with how the feature works currently.

See here: [Brute-Force Protection](https://auth0.com/docs/anomaly-detection/references/brute-force-protection-triggers-actions)

---

<div class="post-metadata">

**Author:** ![auth0auth](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/auth0auth/32/14309_2.png) [@auth0auth](https://community.auth0.com/u/auth0auth)\
**Post date:** [June 3, 2020, 10:27pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/4 "2020-06-03T22:27:34Z")

</div>

Hey,

Is it possible to block the user for all IP’s instead only one IP?  
I see that the _blocked\_for_ field in the raw JSON has _IP_.  
Can we put a regex or \* in the _IP_ filed using a custom rule to block the user completely from further logins?

```
"verify_email": false,
"last_ip": "*.*.*.*",
"last_login": "2020-06-03",
"logins_count": 1,
"blocked_for": [
    {
        "identifier": "tetingaccount@gmail.com",
        "connection": "LOGIN-DATABASE",
        "ip": "123.123.123.123"
    }
],
"guardian_authenticators": []

```

}

---

<div class="post-metadata">

**Author:** ![erichhansen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erichhansen/32/27151_2.png) [@erichhansen](https://community.auth0.com/u/erichhansen)\
**Post date:** [March 9, 2021, 3:58pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/5 "2021-03-09T15:58:48Z")

</div>

I have the same question, did you ever find if it is possible to block a user for all IPs?

---

<div class="post-metadata">

**Author:** ![auth0auth](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/auth0auth/32/14309_2.png) [@auth0auth](https://community.auth0.com/u/auth0auth)\
**Post date:** [August 25, 2021, 6:58pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/6 "2021-08-25T18:58:47Z")

</div>

Looks like it’s not supported.

---

<div class="post-metadata">

**Author:** ![erichhansen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erichhansen/32/27151_2.png) [@erichhansen](https://community.auth0.com/u/erichhansen)\
**Post date:** [August 25, 2021, 7:19pm UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/7 "2021-08-25T19:19:57Z")

</div>

@auth0auth @anton-chirkov actually I think they recently released a setting for this, under Security → Attack Protection → Brute-force Protection there is now an option for account lockout which will block the account regardless of IP address if the brute force protection is triggered.

---

<div class="post-metadata">

**Author:** ![borisovaleksey798](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/borisovaleksey798/32/15261_2.png) [@borisovaleksey798](https://community.auth0.com/u/borisovaleksey798)\
**Post date:** [August 27, 2021, 4:34am UTC](https://community.auth0.com/t/does-brute-force-block-ends-active-user-session-from-the-same-ip/35787/8 "2021-08-27T04:34:06Z")

</div>

Did you have a fix on this issue? I am facing the same issue last time but no response from anyone. And I am still searching for some proper solution.

[official rapidfs](https://www.rapidfs.us/)
