Thank you, Mark!
George Kozak
Cornell University

On Tue, Apr 14, 2020 at 7:56 AM Mark H. Wood <mwoodiu...@gmail.com> wrote:

> On Mon, Apr 13, 2020 at 05:11:02PM -0400, George Kozak wrote:
> > Hello,
> > Using DSpace 6.3 (XMLUI).  I need to add an IPV6 address to the local.cfg
> > file in the IP-ADDRESS AUTHENTICATION CONFIGURATIONS section.  I want to
> > add it to allow for a range instead of a specific IP address.
> > Can I do that?  I have other IPs in the table that are working fine, but
> > never added an IPV6 before.
>
> From org.dspace.authenticate.IPMatcher.java:
>
> /**
>  * Quickly tests whether a given IP address matches an IP range. An
>  * {@code IPMatcher} is initialized with a particular IP range
> specification.
>  * Calls to {@link IPMatcher#match(String) match} method will then quickly
>  * determine whether a given IP falls within that range.
>  * <p>
>  * Supported range specifications are:
>  * <p>
>  * <ul>
>  * <li>Full IPv4 address, e.g. {@code 12.34.56.78}</li>
>  * <li>Full IPv6 address, e.g. {@code
> 2001:18e8:3:171:218:8bff:fe2a:56a4}</li>
>  * <li>Partial IPv4 address, e.g. {@code 12.34} (which matches any IP
> starting
>  * {@code 12.34})</li>
>  * <li>IPv4 network/netmask, e.g. {@code 18.25.0.0/255.255.0.0}</li>
>  * <li>IPv4 or IPv6 CIDR slash notation, e.g. {@code 18.25.0.0/16},
>  * {@code 2001:18e8:3:171::/64}</li>
>  * </ul>
>  *
>
> So, you'll need to express that address range as one or more CIDR
> address/length expressions.
>
> The matcher recognizes IPv6 addresses when they contain ":".  No
> square brackets are needed as with some other IP address parsers.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/20200414115644.GA4483%40IUPUI.Edu
> .
>


-- 
***************************
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

*Due to staffing changes necessitated by the current public health concerns
my response might be slower than usual. If your message is urgent, please
send it with the Subject header “URGENT”. Thank you!*

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOCuwqXjjm0OeDzLx%2BvSMb47RgNsBaCq83qAuX4aLwP22A%40mail.gmail.com.

Reply via email to