From: Thorondir <thorondir+kernelnewbies@thorondir.com>
To: noloader@gmail.com
Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: iptables and combining additional rule sources
Date: Wed, 29 Apr 2020 11:30:00 +0200 [thread overview]
Message-ID: <4f0d07797afa49e790692bde829775c8@thorondir.com> (raw)
In-Reply-To: <CAH8yC8kqc=HUGs=nUbe52anfT24CGyS0VypCpuqNZNPb6gcB6g@mail.gmail.com>
On 2020-04-25 00:28, Jeffrey Walton wrote:
> Hi Everyone,
>
> We are having trouble with our MediaWiki installation on a low-end VM.
> The VM is servicing a lot of spam traffic, and it is driving cpu usage
> up to about 80%. The 404's appear to be more expensive then the 200's.
> GoDaddy wrote to us and told us they were going to suspend our service
> if we don't get cpu usage down.
>
> I experimented with several Apache and MediaWiki plugins and I have a
> design I like. The plugin scans the URL, detects the problematic URLs,
> and sends the ip address to a privileged out-of-proc proxy to update
> iptables. The proxy is privileged and can update iptables rules. It
> also maintains a database to remove the host after 45 days.
Hi Jeffrey,
have you looked into Fail2Ban? It seems to do what you need, but
real-time.
Kind regards,
Thorondir
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
prev parent reply other threads:[~2020-04-29 9:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 22:28 iptables and combining additional rule sources Jeffrey Walton
2020-04-25 3:06 ` Valdis Klētnieks
2020-04-25 6:55 ` Jeffrey Walton
2020-04-25 16:53 ` Valdis Klētnieks
2020-04-25 17:16 ` Jeffrey Walton
2020-04-25 3:32 ` Keh-Ming Luoh
2020-04-25 7:01 ` Jeffrey Walton
2020-04-26 12:42 ` Aruna Hewapathirane
2020-04-29 9:30 ` Thorondir [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f0d07797afa49e790692bde829775c8@thorondir.com \
--to=thorondir+kernelnewbies@thorondir.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=noloader@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.