🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Blocking IP's by Region or Country

#308832
From: Grant Taylor
Date: Thu, 16 Apr 2020 02:54
23 lines
1777 bytes
On 4/15/20 8:35 PM, Red John wrote:
> Can the group share how you are blocking ranges of IP's from specific 
> regions of the globe to your Web Server and Server? Are you using 
> a .htaccess file or are you using a range in your Iptables to block 
> these bad actors? Examples would be great here.

I am have not, am not, and have no plans to block based on GeoIP.

If I did, I'd add unreachable / reject routes and use reverse path 
filtering.

If not that, I'd use an ipset in combination with iptables.

Short of that I'd use iptables w/o ipset.

I'd try to avoid using per application level blocking as it would 
require duplication of effort.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <r78hd6$c1$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <20200416023503.255F8120601@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <r78hd6$c1$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: Blocking IP's by Region or Country
Date: Wed, 15 Apr 2020 20:54:17 -0600
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <20200416023503.255F8120601@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: TNet Consulting
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Apr 2020 02:54:30 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="385"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
In-Reply-To: <20200416023503.255F8120601@fleegle.mixmin.net>
Content-Language: en-US
Lines: 22