[strongSwan-dev] IPv6 address with :: replacing a single 16bit null word

Fedor Babkin fedor.babkin at gmx.net
Wed Jun 18 21:26:48 CEST 2014

Hi Martin,

Thanks for a quick reply. Basically it's fine we have a workaround available. I think if there is an upstream patch fixing the issue, it should be possible to back port if necessary (I don't expect affected files to change much). How would you suggest to proceed? Should I raise a bug for tracking?


Am 18.06.2014 um 13:14 schrieb Martin Willi:

> Hi Fedor,
>> Starting strongSwan 4.5.3 IPsec [starter]...
>> # bad subnet: leftsubnet=2a00:8a00:6000:2e11:0000::0501:0001/128
>> [non-abbreviating empty field in IPv6 numeric address]
> Seems that the ttoaddr/ttosubnet functions inherited from the FreeS/WAN
> project didn't parse such addresses correctly.
> These functions have been removed from our code base long time ago, and
> we just use inet_pton() everywhere. Using any 5.x release should fix the
> issue.
> Unlikely that we'll provide a patch for that outdated release. But maybe
> using just :: instead of :0000:: can work around the issue?
> Regards
> Martin

More information about the Dev mailing list