[BACK]Return to IMPLEMENTATION CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/Attic/IMPLEMENTATION between version 1.13 and 1.14

version 1.13, 2000/06/10 08:21:11 version 1.14, 2000/06/12 10:47:17
Line 8  $NetBSD$
Line 8  $NetBSD$
   
                         KAME Project                          KAME Project
                         http://www.kame.net/                          http://www.kame.net/
                         KAME Date: 2000/06/10 08:18:06                          KAME Date: 2000/06/12 09:29:16
   
 1. IPv6  1. IPv6
   
Line 905  mapped address or not.  This adds many t
Line 905  mapped address or not.  This adds many t
   For example, if you would like to reject packets from 10.0.0.0/8,    For example, if you would like to reject packets from 10.0.0.0/8,
   you need to reject packets to AF_INET socket from 10.0.0.0/8,    you need to reject packets to AF_INET socket from 10.0.0.0/8,
   and to AF_INET6 socket from ::ffff:10.0.0.0/104.    and to AF_INET6 socket from ::ffff:10.0.0.0/104.
 - If a protocol on top of IPv4 is defined differently with IPv6, we will get  - If a protocol on top of IPv4 is defined differently with IPv6, we need to be
   very tricky situation.    really careful when we determine which protocol to use.
   For example, with FTP protocol, we can not simply use sa_family to determine    For example, with FTP protocol, we can not simply use sa_family to determine
   FTP command sets.  The following example is incorrect:    FTP command sets.  The following example is incorrect:
         if (sa_family == AF_INET)          if (sa_family == AF_INET)
Line 924  mapped address or not.  This adds many t
Line 924  mapped address or not.  This adds many t
                 use EPSV/EPRT or LPSV/LPRT;     /*IPv6*/                  use EPSV/EPRT or LPSV/LPRT;     /*IPv6*/
         else          else
                 error;                  error;
   (not sure if the above code fragment is perfect for all situations)    It is too much to ask for every body to be careful like this.
     The problem is, we are not sure if the above code fragment is perfect for
     all situations.
 - By enabling kernel support for IPv4 mapped address (outgoing direction),  - By enabling kernel support for IPv4 mapped address (outgoing direction),
   servers on the kernel can be hosed by IPv6 native packet that has IPv4    servers on the kernel can be hosed by IPv6 native packet that has IPv4
   mapped address in IPv6 header source, and can generate unwanted IPv4 packets.    mapped address in IPv6 header source, and can generate unwanted IPv4 packets.

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVSweb <webmaster@jp.NetBSD.org>