[Openswan dev] Problem with OE

Michael Tautschnig michael.tautschnig at zt-consulting.com
Sat Mar 5 12:17:04 CET 2005


Hello!

I'm trying to do OE on my private subnet, but it stops at

%hold otherwise handled during DNS lookup for Opportunistic Initiation for 192.168.248.138 to 192.168.248.130
after receiving the DNS-record (IMHO) correctly. By digging into the 
source I found that this failure is caused by kernel.c:bare_shunt_ptr, 
which returns NULL, because the comparison for

transport_proto == p->transport_proto fails, as

transport_proto = 0,
p->transport_proto = 6

with the only bare_shunt being:
add bare shunt 0x81023c0 192.168.248.138/32:0 -6-> 192.168.248.130/32:0 => %hold 0    %acquire-netlink

ipsec.conf read:

conn stud
 	auto=start
 	right=%opportunisticgroup
 	left=%defaultroute

and policies.d/stud contains 192.168.248.128/27

There might be some misconfiguration, but I simply didn't see, where 
transport_proto would have been changed to anything else but "0" - thus I 
assume, this comparison will always yield false.

Thanks in advance,
Michael


More information about the Dev mailing list