#21 NAT-T delete_spd addresses

open
nobody
None
5
2012-05-27
2012-05-27
Alex Fedorov
No

memcpy(&spidx.dst, iph2->src, sysdep_sa_len(iph2->src)); produces double src<>dst inversion due to earlier iph2->src = dst; which produces the same addresses for source and destination in spd delete message and error message "ERROR: pfkey X_SPDDELETE failed: No such file or directory" in log. The same for source address .

Discussion