|
|||||||||||
|
IPv6 Linklocal address and IPSec bug
From: <Sebastien.Josset(at)space.alcatel.fr>
Date: Mon Sep 15 2003 - 09:56:46 EDT
netinet6/ip6_input.c:345 : What is done
if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst))
ip6->ip6_dst.s6_addr16[1]
= htons(m->m_pkthdr.rcvif->if_index);
the destination address has been modified and doesn't match no more with IPSec
Security Association.
When searching for the associated SA we need to put it to 0 again. netinet/ipsec_input.c:182
default:
DPRINTF(("ipsec_common_input(): unsupported protocol "
"family %d\n", af));
m_freem(m);
IPSEC_ISTAT(espstat.esps_nopf, ahstat.ahs_nopf,
ipcompstat.ipcomps_nopf);
return EPFNOSUPPORT;
}
I found it while testing IPv6/IPSec/Multicast. Best regards,
Sébastien Josset
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:30:14 EDT |
||||||||||
|
|||||||||||