[2.1] Bots - view likes attacks#9127
[2.1] Bots - view likes attacks#9127Sesquipedalian merged 1 commit intoSimpleMachines:release-2.1from
Conversation
Signed-off-by: Shawn Bulen <bulens@pacbell.net>
|
Will this fix be included in SMF 2.1.7? |
Probably not. First, I imagine there needs to be some internal discussion among the team. There was a lot of debate in the past about what guests & likes & views. IMO, the fact that it has become a bot magnet changes the discussion though, hence this PR. Also, the next release has been in process for a while. Scope has crept & a good case could be made to stop scope creep. Also, it's possible the team comes back with "OK, but make it an option", due to concern about removing a feature. It's not even approved yet. |
|
@sbulen Do you have the related updates for 3.0 on this PR? |
|
I was going to add 3.0 versions once the 2.1 ones were approved. Trying to avoid duplication of rework, etc. I think this is very low risk & very easy. My only thought is some folks on the team might want this one to be an option. I don't think it should be, but some might. We'll see what the feedback is. |
|
I've tagged this on the 3.0 project with the 2.1.8 milestone. It makes sense to help with bots and performance. Will test this later. |
This PR removes the link allowing users to drill down to see who liked a post. Only guests & bots are affected.
This link is a bot magnet during botnet attacks. During some attacks, these are the ONLY requests made - in the tens of thousands. Note that the request includes the session var & value in the URL. (I believe this is the only guest link that does so...???) When bots pass this bogus session info, the existing session is destroyed and a new one is created, ultimately causing TWO session writes for each bot request. I.e., double the impact.
I believe this should be removed from guests/bots altogether. If that user wants to drill down, they can register.
Fixes #9112
I've been running this code on my prod forum with no issues.
If this is approved, I can submit a 3.0 version.
For more discussion see:
https://www.simplemachines.org/community/index.php?topic=592442.0
https://www.simplemachines.org/community/index.php?topic=590069.0
Feedback welcome.