Continued abuse

About this bulletin board and the Pale Moon website

Moderators: FranklinDM, Lootyhoof

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1077
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Continued abuse

Post by jobbautista9 » 2025-11-12, 01:51

Gemmaugr wrote:
2025-11-11, 20:35
therube wrote:
2025-11-11, 20:11
I just had a weird thing happenj...
Looks like Styles were disabled.
Could have been you disabling in the browser, by various means, or maybe just a quirk in the board.
You can see what you screenshot shows by disabling Styles (in PM).

View | Page Styles -> No Style
I see. I've never disabled them myself, and I have no addon that does it either.
The same kind of thing has happened on a few sites before (4chan, anidb), but refreshing the page usually helped.
Hmm. I wonder why it happens by itself, and on specific sites.
Could be due to your network. Also if you've disabled HTTP/2, check if you have enabled aggressive pipelining. If you have that on, try disabling it.
Image

"Destroying things, smartly!" - IJN Samidare, probably

Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
Gemmaugr
Lunatic
Lunatic
Posts: 309
Joined: 2025-02-03, 07:55

Re: Continued abuse

Post by Gemmaugr » 2025-11-12, 14:52

jobbautista9 wrote:
2025-11-12, 01:51
Gemmaugr wrote:
2025-11-11, 20:35
therube wrote:
2025-11-11, 20:11
I just had a weird thing happenj...
Looks like Styles were disabled.
Could have been you disabling in the browser, by various means, or maybe just a quirk in the board.
You can see what you screenshot shows by disabling Styles (in PM).

View | Page Styles -> No Style
I see. I've never disabled them myself, and I have no addon that does it either.
The same kind of thing has happened on a few sites before (4chan, anidb), but refreshing the page usually helped.
Hmm. I wonder why it happens by itself, and on specific sites.
Could be due to your network. Also if you've disabled HTTP/2, check if you have enabled aggressive pipelining. If you have that on, try disabling it.
HTTP/2 is enabled, and aggressive pipelining is false. Weirder and weirder. Not that it happens often enough to be an issue, it's just odd. Thanks for the suggestions though.

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 766
Joined: 2022-08-10, 02:25

Re: Continued abuse

Post by frostknight » 2025-11-12, 20:17

Well at least anubis' time is very short when it appears on palemoon forums.

Some sites, it takes longer. lol. invidio instances for example...
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

BenFenner
Keeps coming back
Keeps coming back
Posts: 854
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Continued abuse

Post by BenFenner » 2025-11-14, 18:08

I have a hunch. And it comes down to how phpBB works...

Do "guests" viewing the forum (users who are not logged in) produce and make use of a session/cookie (matched server-side by a DB table entry or file)?

Because if so, that can be all that is needed for heavy traffic to take down the site, especially if session cookies are backed by a file on the server's file system. (I don't think DB-backed sessions suffer the same problem.)
The server's session directory can fill with 10k+ files, and session-lookup can thrash the hell out of the file system at that point, returning mostly 500 errors.

If this is the case, (it's worth looking into IMO) maybe there is a way to turn off sessions for forum "guests".

I went through this with my own PHP forum software. I re-wrote the session logic entirely to no longer use a session for "guests". It was a lot of difficult and fiddly work, but conceptually simple since "guests" did not really need a session at all. It's just so common to do so...

I went from hourly rotational counts of 10-20k session files down to dozens or hundreds at most. And it completely solved the 500 errors and resource issues I was suddenly dealing with 8 months ago.

User avatar
Massacre
Fanatic
Fanatic
Posts: 174
Joined: 2020-05-01, 13:16

Re: Continued abuse

Post by Massacre » 2025-11-15, 09:34

Moonchild wrote:
2025-11-10, 23:32
Anubis is now in place with proper weighing. Most legitimate users should barely notice it's in place.
At least it does not crash the browser... For now.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38475
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Continued abuse

Post by Moonchild » 2025-11-15, 11:16

Sessions are stored in the db; it's not really an issue. I could, however, look into making guest visits more restrictive with less administration so it's at least an idea to look at reducing load, but the bottom line simply remains it's abusive traffic hammering a low end VPS with many requests per second.

That being said, I have not seen issues when monitoring after anubis was put in place so I'm assuming it's being effective here to stop bad traffic.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5568
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Continued abuse

Post by Night Wing » 2025-11-15, 13:29

Since I installed the newest version of MX Linux 25 (Infinity) Xfce, Annubis shows up for a split second of time and then disappears. After logging in to the Pale Moon Forum site with 64 bit linux Pale Moon (GTK2) 33.9.1 and staying logged in from then on, Annubis does not show at all the next time I visit this site.
MX Linux 25 (Infinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.2 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

BenFenner
Keeps coming back
Keeps coming back
Posts: 854
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Continued abuse

Post by BenFenner » 2025-11-16, 13:56

Of course phpBB is going to have its limitations (as a translucent box), so putting another box in front of it can make some sense (Anubis or whatever).

By happenstance I came across another simple "box" that is on topic and might be worth some consideration:
Blocking poorly behaved scrapers without JavaScript

gabrgv
Moon lover
Moon lover
Posts: 84
Joined: 2023-10-28, 18:59

Re: Continued abuse

Post by gabrgv » 2025-11-19, 13:16

Looks like Anubis is preventing Newsraft from reading the feeds from this forum (e. g., the releases feed):

Code: Select all

  Errors of https://forum.palemoon.org/app.php/feed/forum/1
               
  XML parser failed: syntax error
  curl failed: Failed writing received data to disk/application, Failure writing output to destination
  The server which keeps the feed returned 200 status code!
  Feed update failed!
But Newsraft does reads the feeds from the repo.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38475
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Continued abuse

Post by Moonchild » 2025-11-19, 14:18

gabrgv wrote:
2025-11-19, 13:16
Newsraft does reads the feeds from the repo.
the repo has special allowances for gitea RSS feeds.
I'll have to construct something specific for forum feeds to allow that.

EDIT: made a filter exception. see if this works for you.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

gabrgv
Moon lover
Moon lover
Posts: 84
Joined: 2023-10-28, 18:59

Re: Continued abuse

Post by gabrgv » 2025-11-19, 15:15

Moonchild wrote:
2025-11-19, 14:18
EDIT: made a filter exception. see if this works for you.
Yes, it's working now. Thanks!

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 368
Joined: 2017-11-18, 04:24

Re: Continued abuse

Post by Bilbo47 » 2025-11-20, 14:35

Update seems to be blocking NewsFox as well. Can't find a setting in UI nor in repo docs about javascript.

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1077
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Continued abuse

Post by jobbautista9 » 2025-11-20, 14:59

Bilbo47 wrote:
2025-11-20, 14:35
Update seems to be blocking NewsFox as well. Can't find a setting in UI nor in repo docs about javascript.
I think as a workaround you will have to let the browser solve the Anubis challenge first before having your RSS add-on read the feed. At least that's what I did for the built-in Live Bookmarks feature.
Image

"Destroying things, smartly!" - IJN Samidare, probably

Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38475
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Continued abuse

Post by Moonchild » 2025-11-20, 17:15

Bilbo47 wrote:
2025-11-20, 14:35
Update seems to be blocking NewsFox as well. Can't find a setting in UI nor in repo docs about javascript.
Hmm that shouldn't happen; I explicitly whitelisted the feed URLs so it should just allow the request unchallenged.
Can you show me what URL request is made by NewsFox?
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 368
Joined: 2017-11-18, 04:24

Re: Continued abuse

Post by Bilbo47 » 2025-11-20, 19:26

Moonchild wrote:
2025-11-20, 17:15
show me what URL request is made by NewsFox?
Can't find in the UI nor in DevTools where this is visible. Assume the request is based on what is defined in that feed. One of these works (Anubis "working" then "Oh noes!") and the other fails (Invalid feed URL). [Pasted from the exported opml file]

Code: Select all

xmlUrl="https://forum.palemoon.org/app.php/feed/forum/61" 
xmlUrl="https://forum.palemoon.org/feed.php?f=1" 
To fix the failure, also can't find in the forum pages a correct RSS URL. The pattern is clear but don't wanna hack.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38475
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Continued abuse

Post by Moonchild » 2025-11-20, 20:31

Code: Select all

https://forum.palemoon.org/feed.php?f=1
Aha. I didn't think this format was used (and it does in fact forward to the expected request format /app.php/feed/forum/1)
I've added an exception for this format as well now; it should bypass the check and work.
Bilbo47 wrote:
2025-11-20, 19:26
One of these works (Anubis "working" then "Oh noes!") and the other fails (Invalid feed URL).
...actually, the Anubis "working" and "oh noes" is not expected on feed URLs. So that one actually didn't work.
Not sure why you'd get an invalid feed URL unless you're trying to request a non-accessible/non-existent feed.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 368
Joined: 2017-11-18, 04:24

Re: Continued abuse

Post by Bilbo47 » 2025-11-21, 17:01

Moonchild wrote:
2025-11-20, 20:31
Anubis "working" and "oh noes" is not expected on feed URLs.
Not sure why you'd get an invalid feed URL unless you're trying to request a non-accessible/non-existent feed.
Cool; so today both feeds flash "Making sure you're not a bot" then end on "Oh noes".
Under Tools => Preferences -> Content => Javascript, both checkboxes are set to On. Anything else I can check?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38475
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Continued abuse

Post by Moonchild » 2025-11-21, 17:09

Bilbo47 wrote:
2025-11-21, 17:01
Cool; so today both feeds flash "Making sure you're not a bot" then end on "Oh noes".
That is entirely opposite to what should happen. I checked with a clean slate and the feed URLs work as-expected for me, without anubis interfering. So I don't know what's going on for you.
If possible please show me the full HTTP request headers; possibly some other bot checking rule is triggered.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Gemmaugr
Lunatic
Lunatic
Posts: 309
Joined: 2025-02-03, 07:55

Re: Continued abuse

Post by Gemmaugr » 2025-11-21, 18:20

Have Anubis been set to very aggressive/protective mode recently?

Today Anubis wanted to check me every time I opened a new unread forum and topic/thread. Happened like 5-7times in a row (they only take 1 sec tops though).
On and off I also still get that No Page Style jank, and have to reload the site 5 times to get everything to show as normal (this takes 3 sec per reload).

Neither is a huge issue, but they're weird, and multiplying, heh.

If it helps against bots, I'm fine with it. I'm just saying is all.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38475
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Continued abuse

Post by Moonchild » 2025-11-21, 21:51

Nothing has changed today.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite