DDoS?

How can it tell? The presence of a cookie?? If a banned user finds and deletes that cookie, they become no longer banned but a normal non-registered guest.
Against my better judgement I searched for an answer to this via DuckDuckGo's Search Assistant and got this:

User Ban Information Storage in XenForo​

Current Ban Records​

  • Database Table: The current bans are stored in the xf_user_ban table. This table lists users who are currently banned from the forum.
  • User ID: Each banned user is associated with a unique user ID, which can be used to manage their ban status.
If true, that suggests to me that the ban is stored in a server-side database and client-side cookies are irrelevant.
 
OK, if not a cookie, then how? I don't understand how the server can tell which group the client it is serving (as a non-logged-in user) belongs to. It seems to me to only possibility (other than querying cookies) is to rely on IP address, which can hardly be considered reliable.
 
Speculation.
A client-side cookie possibly contains the user/password (maybe group) for a valid logged in user. If a banned user has somehow managed to get this set, then every visit they are being logged in (in the background) as the banned user. Delete the cookie and you are presenting the server with no user - a guest. Try to login - You're banned.
Well, that's my guess. I'd need to poke around to see if I can find the cookie to be sure. Can I be bothered?

Edit: No, too damn difficult. Finding the cookie was the first problem. Then the contents are encrypted.
 
Last edited:
This may have been mentioned but if you have problems with server load (90%+ of which is malicious or junk these days) go behind Cloudflare. And of course firewall existing server to accept traffic only from CF (or change its IP).

I run a community site (in general aviation) with 8k members, 400k posts in 13 years, and 95% of our server load is malicious, and this is after going behind CF :) But it is donation funded (no adverts) so like you I don't want to pay over the top for hosting, so cutting down the CPU activity is key. Recently we got a lot of carefully structured attacks which targeted forum links which took extra time to generate HTML from.

LLM traffic is not big. They tend to hit and do 1000 URLs every time, at about 10Hz. This is not much of a server load.

The biggest thing was to block all IP ranges of some server farms. These are not ISPs so none of them should be browsing the forum (except for a few people who use a VPN terminating on some server farm). I blocked all of Hetzner, since the attackers were in Germany and used that one. Also Tencent and a few others. I know somebody who reduced his server load by 95% by blocking all of AWS ;) but that may be a bit OTT.

Cloudflare (free version, for nonprofit users) allows up to 10,000 IP ranges to be blocked, plus whole countries (I block China Russia India).

To cut down spam, we also have a system for manual approval of new signups. Present a pulldown menu for the country and if IP does not match, 90% it is a spammer if both in Europe and 99% if one is outside Europe. Also check email address against 2000 disposable email domains :)
 
This forum should not get much scraping because without a login you can't read any of the posts, AFAICT
I am still not convinced that that is correct, I asked Brian the other day why if you look at the Guests here now it says they are viewing various different threads while we have to log in to get past the log in screen. He was unable to give me an answer as to why this is, do you have one? Click on "Members Online" to get the Members/Guests list and see for yourself.
 
I am still not convinced that that is correct, I asked Brian the other day why if you look at the Guests here now it says they are viewing various different threads while we have to log in to get past the log in screen. He was unable to give me an answer as to why this is, do you have one? Click on "Members Online" to get the Members/Guests list and see for yourself.
Do you not see what I see for members online, as seen in the screenshot in the following post?

 
Do you not see what I see for members online, as seen in the screenshot in the following post?

No I see no triangle. I still want to know how they even get as far as the thread when Members cannot even if that is a dead end for them.
 
I currently see 6 members and 523 guests online. Many, but far from all, of the guests have names like "Robot: Amazon".
 
Back
Top