[ 
https://issues.apache.org/jira/browse/DIRMINA-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRMINA-957.
---------------------------------------
    Resolution: Fixed

Added support for IPV6 in the BackFilter class

Fixed with commit dd83fecdbb85fdd2276a350e509f91aa12e9e3ce

> MINA build in BlacklistFilter does not support IPV6 address
> -----------------------------------------------------------
>
>                 Key: DIRMINA-957
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-957
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.7
>            Reporter: Nitin Phuria
>              Labels: security
>             Fix For: 2.0.8
>
>
> MINA build in BlacklistFilter does not support IPV6 address. If MINA itself 
> supports binding to IPV4 and IPV6 why this restriction was kept in 
> BlacklistFilter. I checked the org.apache.mina.filter.firewall.Subnet class 
> in MINA sources and found that it specifically checks for Inet4Address
> if (!(subnet instanceof Inet4Address))
> {
>      throw new IllegalArgumentException("Only IPv4 supported"); 
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to