# Dupe ban accts with same IP not being auto caught anymore

**URL:** https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510
**Category:** Support
**Created:** [12 augustus 2018 om 07:05 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510 "2018-08-12T07:05:41Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)
#### Post date: [12 augustus 2018 om 07:05 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/1 "2018-08-12T07:05:41Z")

</div>

Discourse used to auto-catch ban evaders by matching IP. However, we recently had a case with the latest Discourse version where the guy made 2 more accounts after a ban, all with the same IP:

How is this possible? Is this a bug? Or did I miss a patch note?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 augustus 2018 om 08:48 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/2 "2018-08-12T08:48:13Z")

</div>

You’re 100% sure this IP was on the blocked IP list? Suspending an account doesn’t ban the IP; only deleting an account as a spammer does that automatically.

Or of course adding the IP to the Screened IP list manually.

---

<div class="post-metadata">

### Author: ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)
#### Post date: [12 augustus 2018 om 08:54 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/3 "2018-08-12T08:54:41Z")

</div>

> [@codinghorror](#):
>
> Suspending an account doesn’t ban the IP; only deleting an account as a spammer does that automatically

Hmm, why wouldn’t it, though? The ban somewhat defeats its purpose if the account isn’t at least auto flagged.

All of our mods, including myself, are fairly certain it used to (although we could all be wrong and faced coincidence). What’s the point of banning if they can just swoop back in unnoticed?

Is there an option to auto ban or at least flag (flagging at minimum should be default, IMO) when a dupe is detected when banned?

The system often flags users that are dupes, anyway, but not when banned? Something doesn’t seem right.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 augustus 2018 om 09:01 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/4 "2018-08-12T09:01:10Z")

</div>

> [@dylanh724](#):
>
> All of our mods, including myself, are fairly certain it used to (although we could all be wrong and faced coincidence).

Not to my knowledge, suspending has never blocked the IP of the suspended user. If this did happen, it would be trivial to evade via VPN anyways, if you’re deaing with anyone even mildly sophisticated.

> [@dylanh724](#):
>
> Is there an option to auto ban or at least flag (flagging at minimum should be default, IMO) when a dupe is detected when banned?

No, it has never worked that way. You can look up the IP on a user profile to see any matching users by IP though, that’s been a feature for many years.

There is an official browser fingerprinting plugin we’re working on with @dan but it’s still got some bugs to work out.

---

<div class="post-metadata">

### Author: ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)
#### Post date: [12 augustus 2018 om 09:24 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/5 "2018-08-12T09:24:15Z")

</div>

> [@codinghorror](#):
>
> via VPN anyways, if you’re deaing with anyone even mildly sophisticated.

Good to hear about the browser fingerprint. However, the average person doesn’t have a VPN. The word alone intimidates tons of people. Otherwise why even have a blacklist system for IP? Its the same concept. Sort of like paywalls for games. It gets rid of the majority of Trolls. IP banning does the same.

It’d make sense to at least flag them for mod review upon detection.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 augustus 2018 om 09:29 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/6 "2018-08-12T09:29:25Z")

</div>

There’s already spam prevention for multiple new users signing up from the same IP, you could turn that site setting down if you like but you can expect a _lot_ of false positives.

Note that there are zero other topics complaining about this – that suspended users must be automatically IP banned as well – in the last 5 years, that I can recall. So you might want to reconsider whether what you view as so “urgent” … is in fact an urgent issue 😉

---

<div class="post-metadata">

### Author: ![Ubik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ubik/32/89095_2.png) [@Ubik](https://meta.discourse.org/u/Ubik)
#### Post date: [14 augustus 2018 om 07:33 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/7 "2018-08-14T07:33:57Z")

</div>

> [@codinghorror](#):
>
> Note that there are zero other topics complaining about this – that suspended users must be automatically IP banned as well – in the last 5 years, that I can recall. So you might want to reconsider whether what you view as so “urgent” … is in fact an urgent issue 😉

Moderator on a Discourse forum since Spring 2017 here: I also longed for a single-click function on the user’s admin page to block their IPs (Last & Registration) for that member _every single time I had to ban someone_, but I kind of assumed no-one else minded having to go to burger \> Admin \> Logs \> Screened IPs, paste it in, get [that OK dialogue](https://meta.discourse.org/t/blacklisting-ip-has-no-feedback/94513), have to click reload if the person displays 2 IPs…

It seemed too whiny and lazy and time-consuming to me to bother logging in here, and posting about it, basically requesting people put in hours of work to save me seconds of copy-paste, on at most a few occasions a month; also, I felt I should run searches and see if it had already been addressed and nixed, so never bothered. 🙂

Urgent? Maybe not, though again it depends on how many of your staff are volunteer moderators, enthusiasts on the forum’s topic who are fitting in forum checks between work, family, other commitments, and how they may experience the added workload of the extra steps needed each time.

Especially because when you copy the IP straight off the member’s admin page it carries a space at the start (which copies elsewhere as a linebreak, not sure what that’s called), and that has to be manually deleted from the field before the IP can be blocked.

In the busyness of handling things after someone has had to be banned, maybe sending PMs and also trying to log everything relevant, it’s the most annoying thing in the universe in the 3 seconds it takes to be told

 ![dementor](https://global.discourse-cdn.com/meta/original/3X/8/b/8bf46d79d85a4192316216572c5661113fefed34.jpeg)

… but then, I backspace it and do the block, and forget about it until next time. 🙂

But it’s all worth it, because IP blocks are still an amazingly useful tool even now, and even with quite serious trolls.

While I have the list open, other things that would be nice on the same theme:

- single click to copy their IP and information on Location and Organization to my clipboard, so when I add this to Staff (where I am logging who was banned and why) I can paste it in one step. These have had proven value identifying grudge-bearing people who try to return.

- option to automatically add Banned as a title, so valued members don’t PM them/try to get into conversation, and feel upset to not get a reply.

> [@codinghorror](#):
>
> There is an official browser fingerprinting plugin we’re working on with @udan11 but it’s still got some bugs to work out.

That does have the same arguments against as IP address, this was what my computer showed me just now:

 ![fingerprinting](https://global.discourse-cdn.com/meta/original/3X/c/b/cb988be6145eaf52bffd682450abf004f5da1bd3.jpeg)

And the add-ons that did this are free, unlike a decent VPN. 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [14 augustus 2018 om 09:05 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/8 "2018-08-14T09:05:45Z")

</div>

> [@Ubik](#):
>
> I also longed for a single-click function on the user’s admin page to block their IPs (Last & Registration) for that member _every single time I had to ban someone_ ,

If you are looking for a more nuclear solution, delete them as spammers instead – flag one of their posts for spam, then press the “delete spammer” button. This deletes all their posts, and automatically adds their IP and email to the blacklist.

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/b/6bdeeae66d1302b9122b2078d5f1369ea1c2b80b.png)

We generally favor feedback from paying customers first, and we’re not hearing “you must ban IPs every time you suspend someone” from our paying customers at this time. Or even in the last four years, that I can recall.

Bear in mind that IP banning is not a risk free operation, either. If you ban a shared IP, you could have “banned” entire companies, apartments, etc. This tradeoff is generally worthwhile for spammers, but for garden variety suspensions?

---

<div class="post-metadata">

### Author: ![Ubik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ubik/32/89095_2.png) [@Ubik](https://meta.discourse.org/u/Ubik)
#### Post date: [14 augustus 2018 om 09:14 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/9 "2018-08-14T09:14:32Z")

</div>

There could be good reasons to keep their other posts though, so casting my mind back over recent bans where IP block was used, deleting their posts would have been a net loss, and I still have to copy-paste their Location & Organization for pattern recognition.

Sometimes people wig out after being active, even valuable contributors for a while, if their ego gets prickled or something, or some deep-hidden weirdness (like a tendency to start populating with sock puppets once bedded in, then _arguing with themselves_) comes to the fore, but it seldom requires nuking their entire presence.

None of this is remotely urgent, nor is the current workflow confusing, it’s just a “would be nice.” 😃

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [14 augustus 2018 om 21:41 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/10 "2018-08-14T21:41:46Z")

</div>

> [@Ubik](#):
>
> Sometimes people wig out after being active, even valuable contributors for a while, if their ego gets prickled or something, or some deep-hidden weirdness (like a tendency to start populating with sock puppets once bedded in, then _arguing with themselves_ ) comes to the fore, but it seldom requires nuking their entire presence.

Right, but it also seldom requires nuking their IP, which can have other consequences if that IP is shared.

> [@Ubik](#):
>
> option to automatically add Banned as a title, so valued members don’t PM them/try to get into conversation, and feel upset to not get a reply.

Not a fan of heads on a pike, though.

> [@Ban symbol next to suspended usernames](https://meta.discourse.org/t/ban-symbol-next-to-suspended-usernames/25045/3):
>
> No; this was [already covered elsewhere](https://meta.discourse.org/t/feature-ban-reason-text-field/6752/14). The community may wonder why they don’t see Bill around any more. They may also need to see evidence of moderator action to prove that this is a place where negative people cannot just run around being jerks to people with no consequences. That said, we still want to avoid the “hello there new community member, check out our fabulous collection of heads-on-a-pike!” [image] So I would avoid… showing any indication a user is banned on their username n…

> [@Ubik](#):
>
> single click to copy their IP and information on Location and Organization to my clipboard, so when I add this to Staff (where I am logging who was banned and why) I can paste it in one step. These have had proven value identifying grudge-bearing people who try to return.

Sure, that makes sense.. @misaka4e21 did you want to take that? basically a copy to clipboard button on this IP lookup dialog

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/f/0fdfa7a874e1c8f9798a3f4adbddf42a96cb91ed.png)

---

<div class="post-metadata">

### Author: ![misaka4e21](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@misaka4e21](https://meta.discourse.org/u/misaka4e21)
#### Post date: [14 augustus 2018 om 22:59 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/12 "2018-08-14T22:59:49Z")

</div>

In which format should we copy to clipboard?

From `Hostname` to `Phone 716`, or should I include the IP address associated with the dialog?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [14 augustus 2018 om 23:02 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/13 "2018-08-14T23:02:39Z")

</div>

I would say all the info in whatever format you think works best is OK with me!

---

<div class="post-metadata">

### Author: ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)
#### Post date: [15 augustus 2018 om 05:44 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/14 "2018-08-15T05:44:37Z")

</div>

> [@codinghorror](#):
>
> If you ban a shared IP, you could have “banned” entire companies, apartments, etc

If this is the main reason it’s not a feature, then should we just nuke the ban IP feature, too?

The main point is that it should be up to the board admin, as different boards have different specifications and requirements and to each their own. Mentioned in OP, instead of IP banning, perhaps simply flagging them (put on hold instead of ban) would make more sense and would resolve your VPN concern, should the board owner choose to enable it. Perhaps your paying customers thought the board does this already? I went two years thinking it did this already until I realized it did not when some banned alts made it very obvious.

Most banned alts are going to be subtle. That’s why your paying customers have not said anything. That’s why I didn’t know until recently. The paying customers dont know that the banned are among them - unflagged, unmoderated, and on alts no one knows about because there are no awareness flags raised.

---

<div class="post-metadata">

### Author: ![misaka4e21](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@misaka4e21](https://meta.discourse.org/u/misaka4e21)
#### Post date: [15 augustus 2018 om 06:52 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/15 "2018-08-15T06:52:06Z")

</div>

[https://github.com/discourse/discourse/pull/6270](https://github.com/discourse/discourse/pull/6270)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [15 augustus 2018 om 06:53 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/16 "2018-08-15T06:53:49Z")

</div>

> [@dylanh724](#):
>
> If this is the main reason it’s not a feature, then should we just nuke the ban IP feature, too?

It’s a good tradeoff for confirmed spammers. In my experience, they’re usually from strange countries that shouldn’t even be represented in your typical userbase. So the risk of an IP ban to, say, vietnam, is quite low.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [20 augustus 2018 om 18:47 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/17 "2018-08-20T18:47:08Z")

</div>

This is now merged.

A couple of feedbacks

- when clicking the “copy” button, it should tell the user something happened. Changing the text to “Copied” for a short while would do the trick

- there are lots of leading/trailing whitespace. Nothing a `trim()` can’t fix 😉

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [20 augustus 2018 om 21:16 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/18 "2018-08-20T21:16:47Z")

</div>

We’ll need to make those changes as the internship is complete! Perhaps @nbianca could take them?

Example result pasted here from the copy button on the IP lookup form cc @Ubik

```
IP: 104.238.46.xxx
Location: 40.7317,-73.9885 New York, New York, US
Organization: AS8100 QuadraNet, Inc

```

Thank you @misaka4e21 for getting to this final little request 🙇‍♂️

---

<div class="post-metadata">

### Author: ![Ubik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ubik/32/89095_2.png) [@Ubik](https://meta.discourse.org/u/Ubik)
#### Post date: [21 augustus 2018 om 12:02 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/19 "2018-08-21T12:02:11Z")

</div>

> [@codinghorror](#):
>
> Example result pasted here from the copy button on the IP lookup form cc @Ubik

Thank you & to everyone who worked on this! 👍

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [12 september 2018 om 18:32 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/21 "2018-09-12T18:32:15Z")

</div>

Fixed by

[https://github.com/discourse/discourse/pull/6310](https://github.com/discourse/discourse/pull/6310)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [12 september 2018 om 20:11 UTC](https://meta.discourse.org/t/dupe-ban-accts-with-same-ip-not-being-auto-caught-anymore/94510/22 "2018-09-12T20:11:09Z")

</div>


