Re: [strongSwan] Strongswan 4.2.14 broken on ARM ?

2009-05-20 Thread Graham Hudspith
I've removed any reads to unaligned integers in the parser code [1], generator looks OK so far. I don't have an ARM box, so any feedback is very welcome. Thanks Martin [1]http://wiki.strongswan.org/repositories/diff/strongswan?rev=42748858 Martin, Thanks for that patch. With a

Re: [strongSwan] Strongswan 4.2.14 broken on ARM ?

2009-05-18 Thread Martin Willi
Hi, Whenever the byte in memory is half-word-aligned, reading it as a uint16 works as expected. The other half of the time, the compiler is adjusting the pointer (back one) to make it half-word-aligned before reading the two bytes as a uint16. Yes, it seems that some ARM CPUs don't like

Re: [strongSwan] Strongswan 4.2.14 broken on ARM ?

2009-05-15 Thread Graham Hudspith
Hi, I wonder if anyone can please help me with a problem I'm having getting strongSwan (4.2.14) running on the ARM ? I've played about getting strongSwan working on x86 setting up a tunnel to a server. I then compiled strongSwan for ARM and copied across the config files I used on x86.