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. 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.
Thanks And Regards,
Nitin Phuria
-----Original Message-----
From: Julien Vermillard [mailto:[email protected]]
Sent: Saturday, July 20, 2013 12:37 AM
To: [email protected]
Subject: Re: Does MINA 2.0.4 supports IPV6
Yes should work as Jon stated. If you have any trouble let us know.
--
Julien Vermillard :::: http://people.apache.org/~jvermillard/
On Fri, Jul 19, 2013 at 7:37 PM, Jon <[email protected]> wrote:
> Just create an ipv6 socket address object for use when binding the socket.
It is really no different than v4
>
> Sent from my iPad
>
> On Jul 19, 2013, at 12:06 AM, "Nitin Phuria" <[email protected]>
wrote:
>
>> Dear All,
>>
>>
>>
>> I want following information about MINA Framework Version
2.0.4
>> as we have created MINA V2.0.4 based Server and client. Now we want it to
>> support IPV6 so below are little information we are looking for.
>>
>>
>>
>> 1. Does MINA 2.0.4 supports IPV6?
>> 2. If answer to Question 1 is yes then how to give IPV6 IP address to
>> MINA for binding?
>> 3. Any Sample for the same will be a great help.
>>
>>
>>
>>
>>
>> Thanks And Regards,
>> Nitin Phuria
>>
>>
>>