Hi. I'm currently trying to get HIPL to run on OpenWrt. Compiling and installing works and I can see a successful base exchange between the OpenWrt router and a PC. However, no payload traffic can be sent or received on the router. A look at "setkey -D" revealed that the connection is not set up properly by the hip_xfrm_state_modify function in libhiptool/xfrmapi.c: $ setkey -D 192.168.5.56 192.168.5.1 esp mode=3 spi=0(0x00000000) reqid=0(0x00000000) seq=0x00000000 replay=0 flags=0x00000000 state=larval created: Jan 1 01:12:42 1970 current: Jan 1 01:12:51 1970 diff: 9(s) hard: 30(s) soft: 0(s) last: hard: 0(s) soft: 0(s) current: 0(bytes) hard: 0(bytes) soft: 0(bytes) allocated: 0 hard: 0 soft: 0 sadb_seq=0 pid=1356 refcnt=0 As you can see, only the IPv4 addresses are filled out correctly, everything else is missing (e.g. SPI or the ports for the UDP encapsulation, the crypto keys etc.). In contrast to a working setup on x86 PCs I only have one such association, not two (back and forth) as usual. I compared the netlink message being composed in the hip_xfrm_state_modify function and found (besides some bugs present in x86 as well) no big difference between mips (OpenWrt) and x86. sizeof(struct xfrm_usersa_info) was 220 on x86 and 224 on mips, probably additional padding. Hardware: ASUS WL-500W OpenWrt Target: Broadcom BCM947xx Kernel: 2.6.28.10 HIPL: hipl--midauth2--2.6--patch-2 Has someone seen similar behavior before? Any ideas what could be wrong? Thanks in advance. Regards, Thomas -- Thomas Jansen, "Mithi" --- mithi@xxxxxxxxx GPG 9D5C682B, feel free to sign or encrypt your mail