Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] IPv6 network checks doesn't work

Subject: Grouper Developers Forum

List archive

[grouper-dev] IPv6 network checks doesn't work


Chronological Thread 
  • From: Richard Frovarp <>
  • To: "" <>
  • Subject: [grouper-dev] IPv6 network checks doesn't work
  • Date: Thu, 19 Dec 2019 22:49:06 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ndsu.edu; dmarc=pass action=none header.from=ndsu.edu; dkim=pass header.d=ndsu.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kh6l3CC/IYU/VGEnAixZ25Vn0gh/A3SaucoEmaDOuHI=; b=BoFCAkwGdOU2O49GtluQt0/aIWRv1G/kX4zUB9nHcWrSqjr5RMQZbQS5E7P8LKgVA3VKowzLSjfEPd0cAGXbjzDuCJT7HpYdM9iQy94mcGvIpkcK3p6iSk6GYmt681FWMLE2Cip6phrKJd4Re2zsKs8ussaeakjogQ3KiT7gJ1hs4nuglm6Q2qF3EK0CRkA1F0+aJVVEObnHo9ch3C7AhCj3+pcubJtrltiq3uo8N/VlebZelfAxHMiJ7k499q4l/N/Mr2e/TCjFA8T2ZU1vBBLQIHuUxNEaZdgIawmg9T4gKAciRZ3lM+Fo0fsBxiQxRho57n1WmGyc1b44L6yxyA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Me3T3viAuqPMih6yUVAwm7fHhVF8kbWryhFnNYk/UNE0ZAetTNe5eTubtScPT45voU1hXxDP2NFY2PfdYpVqCkC+o1elWCZNWVTNlN5KwFgYpgkfgq+Xxv/hpZJSVsYTXSRCCnYWZbZwjdNNoBBNWZL6lYvZrqMb2tt4RzUt1GKSbUQRJUdH8kTF9tZXPMc++qu6IiJptdqOBW8gpw77a+AF7hsFdaaCHZFyHqoEjvXNiIm6joIOJtmSHudWHREWptlgvLCe3HoMfg5QcANhpI0JyGYjk8bZt9KHAv4EK7rj3ER4UkvfzmqpkJ3bIq+UwfChs7u2fRO3MRBiwYUEkw==

GrouperUtil.ipOnNetwork() doesn't work for IPv6 subnets.  The

// might work for ipv6?

works if I have the exact IP specified. There's nothing in the
documentation to suggest that IPv6 is mostly broken with this regard.
There are some libraries out there that you could possibly use to
calculate the v6 subnets, but updating the grouper-ui.properties
configuration file to state that v6 has to be per IP would be helpful
for future people looking at this.

If you need a test case, my values are:

grouperUi.configurationEditor.sourceIpAddresses = 2001:4930:106::0/122

with my IP being 2001:4930:106::20

Thanks.

Richard



Archive powered by MHonArc 2.6.19.

Top of Page