#126 IPv6 not supported in colinux-*-net-daemon.exe

v0.8.x (devel)
closed-duplicate
nobody
5
2009-02-10
2008-05-01
No

IPv6 doesn't work inside coLinux even with the "ipv6" kernel module loaded. It seems that the "colinux-*-net-daemon.exe" programs don't pass IPv6 packets from the host to coLinux. CoLinux can try to send IPv6 packets (i.e., router solicitation) and I have verified that the packets get transmitted via sniffer, but it does not receive any responses. Looks like the host-side filtering doesn't pass IPv6 ethernet frames.

Excerpt from /devel-colinux-20080420/src/colinux/os/winnt/kernel/conet.c

if ( co_conet_ntohs(pEthHdr->h_proto) == ETH_P_IP ) {
if ( RtlCompareMemory(pEthHdr->h_dest, "\xFF\xFF\xFF\xFF\xFF\xFF", 6) == 6 ) {
[ ...debug stuff...]
return TRUE;
} else if ( RtlCompareMemory(pEthHdr->h_dest, adapter->macaddr, 6) == 6 ) {
[ ...debug stuff...]
return TRUE;
} else {
[ ...debug stuff... ]
return FALSE;
}
}
else if ( co_conet_ntohs(pEthHdr->h_proto) == ETH_P_ARP ) {
[ ...debug stuff... ]
return TRUE;
}
else {
co_debug("not IP or ARP protocol");
return FALSE;
}

The ethernet frame filter these daemons use only pass ARP and IP packets. They need to include ETH_P_IPV6 (frame type 0x86DD) so the packets can pass.

Discussion

  • Henry N.

    Henry N. - 2009-02-10
    • labels: --> Daemons (Windows)
    • milestone: --> v0.8.x (devel)
    • status: open --> closed-duplicate
     
  • Henry N.

    Henry N. - 2009-02-10

    This should be fixed from removing the IP frame checks. See Bug #2357494.
    All packets are filtered on MAC layer only now.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks