You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/09/05 11:50:28 UTC

[jira] [Updated] (DIRMINA-957) MINA build in BlacklistFilter does not support IPV6 address

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

Emmanuel Lecharny updated DIRMINA-957:
--------------------------------------
    Fix Version/s: 2.0.8

> 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)