Bug 43737

Summary: Doesn't have full support for IPV6
Product: Lenya Reporter: Richard Frovarp <rfrovarp>
Component: Access ControlAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: normal CC: roku
Priority: P2    
Version: Trunk   
Target Milestone: 2.0.1   
Hardware: Other   
OS: other   

Description Richard Frovarp 2007-10-30 14:45:07 UTC
We need to add support for IPV6 in our access controller. We also need to add
support in the ip ranges interface to support IPV6 as well. 

This is more than an enhancement bug, because some stuff does potentially break
if IPV6 is used. I see stuff like this in my logs:

btpool0-16 DEBUG ac.accreditablemanager - Network address /127.0.0.1, subnet mas
k /255.255.255.0 and/or host address /2001:4930:71:0:0:0:0:65 have different siz
es! (return false ...)

Granted my IP is not localhost even in IPV6, it does show that support isn't
there. First step would be to include instructions on how to turn off IPV6
support in Jetty and/or Tomcat. Then update the code as those with IPV6 (myself
included) have time.
Comment 1 J 2007-10-31 01:31:33 UTC
*** Bug 29040 has been marked as a duplicate of this bug. ***
Comment 2 J 2007-10-31 01:33:39 UTC
Rolf Kulemann suggested to replace InetAddressUtil with some external too that
can do IPv6:
"
Developing ower own ip filter is too complex i.e. ipv6 netmasks etc.. We agreed
on finding a better solution.
Needs more research.
"