netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Sowden <jeremy@azazel.net>
To: "Thomas B. Clark" <kernel@clark.bz>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: geoip doesn't work with ipv6
Date: Sat, 30 Nov 2019 15:24:36 +0000	[thread overview]
Message-ID: <20191130152436.GA133447@azazel.net> (raw)
In-Reply-To: <3971b408-51e6-d90e-f291-7a43e46e84c1@ferree-clark.org>

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

On 2019-08-11, at 05:52:16 -0700, Thomas B. Clark wrote:
> I have tried exhaustively to get xt_geoip to match ipv6 addresses, and
> it doesn't.
>
> I believe my configuration is correct, and that the geoip databases
> are set up correctly.  Matching correctly works on ipv4 with an
> equivalent iptables.

There is an endianness mismatch between the ranges in the GeoIP DB and
the addresses when they are compared by xt_geoip.  I will submit a fix.

J.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-11-30 15:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-11 12:52 geoip doesn't work with ipv6 Thomas B. Clark
2019-11-30 15:24 ` Jeremy Sowden [this message]
2019-11-30 17:02 ` [PATCH xtables-addons 0/3] xt_geoip: ipv6 fixes Jeremy Sowden
2019-11-30 17:02   ` [PATCH xtables-addons 1/3] configure: Fix max. supported kernel version Jeremy Sowden
2019-11-30 17:05     ` Jeremy Sowden
2019-11-30 17:02   ` [PATCH xtables-addons 1/3] configure: update " Jeremy Sowden
2019-11-30 17:02   ` [PATCH xtables-addons 2/3] xt_geoip: white-space fixes Jeremy Sowden
2019-11-30 17:02   ` [PATCH xtables-addons 3/3] xt_geoip: fix in6_addr little-endian byte-swapping Jeremy Sowden
2019-11-30 17:11     ` Jeremy Sowden
2019-11-30 17:58 ` [PATCH xtables-addons v2 0/3] xt_geoip: ipv6 fixes Jeremy Sowden
2019-11-30 17:58   ` [PATCH xtables-addons v2 1/3] configure: update max. supported kernel version Jeremy Sowden
2019-11-30 17:58   ` [PATCH xtables-addons v2 2/3] xt_geoip: white-space fixes Jeremy Sowden
2019-11-30 17:58   ` [PATCH xtables-addons v2 3/3] xt_geoip: fix in6_addr little-endian byte-swapping Jeremy Sowden
2019-12-01 10:34   ` [PATCH xtables-addons v2 0/3] xt_geoip: ipv6 fixes Jan Engelhardt
2019-12-01 14:00     ` Jeremy Sowden

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=20191130152436.GA133447@azazel.net \
    --to=jeremy@azazel.net \
    --cc=kernel@clark.bz \
    --cc=netfilter-devel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).