Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9226563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:51:43+00:00 2026-06-18T04:51:43+00:00

One of our MediaWiki – based projects seems under DoS attack – unusual number

  • 0

One of our MediaWiki – based projects seems under DoS attack – unusual number of anonymous users try to edit pages and view or edit history requests. While anonymous editing is disabled on that project and these anonymous users (I assume, bots) cannot actually change the pages, the load is serious enough to slow the server significantly.

One of the ideas seem to alter the MediaWiki PHP code to reject anoymous requests faster. Anonymous visitors only need to view pages; they are not supposed to edit, view page sources or view history. It would be even more interesting to use something like IPTables for shielding following this criteria. We have root access to the server.

Is it possible to alter PHP or to employ some external tool for efficient blocking of all anonymous MediaWiki requests apart from viewing the article content?

I have read, and keep watching, the more general question about DoS protection here and here. The reason of posting this separately is maybe we could do something MediaWiki specific.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:51:44+00:00Added an answer on June 18, 2026 at 4:51 am

    Have you tried changing the UserRights? The MediaWiki docs show how to edit LocalSettings.php to set rights.

    As with a firewall, you should start by disallowing all edit privs, then add it back in for groups you want to allow (like registered users).

    From their manual, http://www.mediawiki.org/wiki/Manual:User_rights

    This example will disable editing of all pages, then re-enable for 
    users with confirmed e-mail addresses only:
    
    
     # Disable for everyone.
     $wgGroupPermissions['*']['edit']              = false;
     # Disable for users, too: by default 'user' is allowed to edit, even if '*' is not. 
     $wgGroupPermissions['user']['edit']           = false;
     # Make it so users with confirmed e-mail addresses are in the group.
     $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
     # Hide group from user list. 
     $wgImplicitGroups[] = 'emailconfirmed';
     # Finally, set it to true for the desired group.
     $wgGroupPermissions['emailconfirmed']['edit'] = true;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

One of our site recently received a lots of attack which all seems similar.
One of our client's SVN repository has quite a bunch of projects under the
One of our users just brought up the fact that their browsers Autofill doesn't
One of our users received the following unexpected error yesterday whilst using our Silverlight
One of our bigger sites has a section where users can send questions to
One of our underlying projects is packaged via NuGet and distributed (internally) so that
One of our CruiseControl.NET projects keeps intermittently failing because a msbuild task fails with
I'm an administrator for a wiki (using MediaWiki), and one of our sponsored links
One of our projects is a cross-platform piece of code. We build it on
One of our applications allows users to generate an Excel file using an Excel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.