Le 7/25/13 1:47 PM, Nitin Phuria a écrit :
> Hello All,
>
> 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. 

That's a different problem...


> 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");
> }
>
> We are using this filter and now supports only IPV4
>
> Pls advice.

Please fill a JIRA, we are going to look at it.

ATM, I suggest you remove this check from the code, and see if it works
for you. If so, we could then patch MINA, this is probably the fastest
way to solve your issue.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to