[strongSwan] Seemingly bogus scope id for FreeBSD strongswan 5.0.4

Tobias Brunner tobias at strongswan.org
Tue Jul 30 18:46:56 CEST 2013

Hi Riaan,

> It seems that strongswan version 5.0.4 (as well as 5.1.0 rc) writes a
> malformed scope ids to the kernel when installing policies and secure
> associations (using pfkey). The same setup on 4.5.3 does not add the
> scope ids in the kernel.

I think this might be caused by the changes in [1], which are present
since 5.0.2.  With that commit the internal struct sockaddr_in[6] of
host_t objects might not be fully initialized when created from strings.

Could you please try if the attached patch fixes the problem?


[1] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=f5fe52bf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-host-Properly-initialize-struct-sockaddr_in-6-when-p.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/users/attachments/20130730/14fdf3c9/attachment.bin>

More information about the Users mailing list