🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #268799

Re: Iptables Suggestions

#268799
From: Zax
Date: Thu, 03 Jul 2014 19:37
56 lines
3330 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu,  3 Jul 2014 19:44:16 +0100 (BST), Red John wrote in
Message-Id: <20140703184416.A496DEAB1D@snorky.mixmin.net>:

> With the help of admin@inwtx.net I have setup a cron job to
> monitor when may webpage is being probed and results in 404
> errors. There are some sites from China and Russia where I have
> blocked the entire range of IP's for the offending site. The
> problem is that I am getting 2-3 404 probes per day and my
> iptables file is currently blocking 50 plus IP's. At some point
> this file will become very large and I'm concerned about its
> maintenance.
>
> Here is a sample of one IP address doing an extensive probe of
> my server:
>
> 118.139.176.137 - - [02/Jul/2014:18:26:48 -0700] "HEAD
> /checknfurl123 HTTP/1.1" 404 163 "-" "-"
>
> My iptables entry for this IP is:
>
> -A INPUT -s 118.139.176.137 -j DROP
>
> Are there any other tools that can be used to automatically
> block these types of probes?

I'm not aware of such a tool.  This might be because the overhead of it
would be greater than just sending the 404's.  You could use iptables
(hierarchical Token Bucket) to do traffic shaping so that web traffic
has a lower priority than other things but unless you're taking a
performance hit, it's really just adding admin overhead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJTtbD+AAoJEIBmv8lxNqHo42UQAIWZDhGNHWVjzdpDgpVoK/R0
1XuG/yY48o7qFBcLsO5BdKWx7poYoXk3kHUL2KXQoCahi2e4mc8pDqU7Svl98Qak
VhWeXIMHKKBR//JPbwxjTDle/rJXkMe7InGBXHAUduCmv5zaEZjmjKyfP5FXZXxn
QinpHW6Z5qtUY+g7gP02gGLb/DmcFt4swjBOKxOvg1/wjMzjHmLPiYWaSxI/BzeA
yjybqNUFcje8glrKJY1dhT8YPBIqvl6uCXxLpFxThG1clI+6zbUTpouIQHSVPo2r
znfmJVieTVNrffPerS++933njXRwgrZny4fWqe+PWOkY52Xv4LjAWjZY22W3ni55
pT4RK9wnIL66gEQYngt7Sa2LEozKPh2GQiwWcsrKrEs2MM7CEePAvygWkDPBUJUr
iVM6cOfaeAvXQXCIaTTik2osT7yfKsuB84iM3LFFcXh02oVwRScCQBp8dNSm6G1V
vp5rVhyfkqEPNe7weJ67rDZbKls6mpEdFs0vAVrrcvumFzVZj9xXvjITevZJIOPq
i6WLDbvTw2zS1lX9jNiLuEpKFZddS1+Gwm+kZlVufqRWqNhULxnIAnDydGElbQOr
ElyK1kcckPckoRD3+scBGcsMgnL7rPrcWiiu/hI3i0CUyA7C6GKn98qyf+e5pcSi
5xiiA2ox3Xmskwu/tKa2
=x8O1
-----END PGP SIGNATURE-----

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
sub   4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Technical Details
Message-ID: <slrnlrbc7u.a1l.admin@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!rt.uk.eu.org!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
References: <20140703184416.A496DEAB1D@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnlrbc7u.a1l.admin@snorky.mixmin.net>
Subject: Re: Iptables Suggestions
Date: Thu, 03 Jul 2014 19:37:34 +0000
From: Zax <admin@mixmin.net>
References: <20140703184416.A496DEAB1D@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!rt.uk.eu.org!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Thu, 3 Jul 2014 19:37:34 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4";
 logging-data="9042"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.2-18 (Linux)
Lines: 55