Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3044

Re: Blocking IP addresses from specific countries

From Joe Beanfish <joebeanfish@nospam.duh>
Newsgroups comp.os.linux.networking
Subject Re: Blocking IP addresses from specific countries
Date 2014-07-28 13:17 +0000
Organization A noiseless patient Spider
Message-ID <lr5ih0$g6$1@dont-email.me> (permalink)
References <lr3mi8$21g$1@news.albasani.net>

Show all headers | View raw


On Sun, 27 Jul 2014 20:14:00 +0000, Clark Smith wrote:
> The problem: How to block packets from IP addresses controlled by
> specific countries.
> 
> 	I guess that iptables could be used for the job, if one could get
> lists of such IP addresses. However, I suspect such lists are likely to
> be unwieldy.
> 
> 	Suggestions, anyone?

By country would be interesting at best as others have described. If
you want to do gross blocking by continent (roughly) you could use the
list at
http://www.iana.org/assignments/ipv4-address-space/ipv4-address-
space.xhtml . Also available as csv or xml.

e.g.: for my personal use server I block all of APNIC, RIPE, AFRINIC,
LACNIC, etc. since I'm not a globetrotter.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Blocking IP addresses from specific countries Clark Smith <noaddress@nowhere.net> - 2014-07-27 20:14 +0000
  Re: Blocking IP addresses from specific countries Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2014-07-28 02:32 +0000
  Re: Blocking IP addresses from specific countries Jorgen Grahn <grahn+nntp@snipabacken.se> - 2014-07-28 07:13 +0000
  Re: Blocking IP addresses from specific countries Andrzej Adam Filip <anfi@onet.eu> - 2014-07-28 09:17 +0200
  Re: Blocking IP addresses from specific countries Joe Beanfish <joebeanfish@nospam.duh> - 2014-07-28 13:17 +0000
    Re: Blocking IP addresses from specific countries Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2014-07-28 17:51 +0000
      Re: Blocking IP addresses from specific countries Aleksandar Kuktin <akuktin@gmail.com> - 2014-07-28 19:36 +0000
        Re: Blocking IP addresses from specific countries Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2014-07-29 01:59 +0000
      Re: Blocking IP addresses from specific countries Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2014-07-28 14:23 -0700
        Re: Blocking IP addresses from specific countries Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2014-07-29 01:57 +0000
      Re: Blocking IP addresses from specific countries Joe Beanfish <joebeanfish@nospam.duh> - 2014-07-29 13:16 +0000
  Re: Blocking IP addresses from specific countries Roger Blake <rogblake@iname.invalid> - 2014-07-28 20:55 +0000
    Re: Blocking IP addresses from specific countries Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2014-07-29 02:00 +0000

csiph-web