Hello,
In the latest Cisco implementation of ISAKMP
source code,
Why is that the ESP encapsulation attribute set
based on the proxy_dst.sin_family != 0. This is the piece of code from oakley.c.
if (sa->proxy_dst.sin_family !=
0){
sa_ipsec->other_sa.esp.tunnel =
1;
}
if proxy_dst.sin_family is equal to 0, then it is neither
tunnel or transport. So what is ESP Encapsulation mode in that
case.
The place sa->proxy_dst is set in the
function initiator,
if (proxy_dst &&
proxy_dst->sin_family ==
AF_INET)
bcopy(proxy_dst,
&security_assoc->proxy_dst, sizeof(struct sockaddr_in));
but the function is passed NULL for proxy_dst
Can you please give me some help here.
Thanks
Ramesh