[strongSwan] IKE cookies printed in reverse order compared to ipsec statusall.

Thomas Egerer hakke_007 at gmx.de
Fri Feb 19 10:02:22 CET 2016


Nanda,

On 02/18/2016 03:37 PM, Noel Kuntze wrote:
> Hello Nanda,
> 
> Please always send the email to the mailing list, too.
> 
>> Hi Noel,
>>
>> Thank you. 
>> I could figure out that it is  at    strongswan-5.2.2/src/libstrongswan/utils/utils.c + 925  that we print the bytes in the logs.
>> Could you please show me if there are any other endianness conversion done like here?
That's way off! Try the attached patch.

>> buffer is represented as a char array.
>> Any help appreciated
>>
>> Regards,
>> Nanda
> I don't work with the source code, so I can't tell you without looking at the sources myself.

Cheers,
Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stroke-List-IKE-SPIs-in-network-byte-order.patch
Type: text/x-diff
Size: 1495 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/users/attachments/20160219/b85a4fde/attachment.patch>


More information about the Users mailing list