proxying in IPv6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm trying to understand the IPv6 proxy setup &
handling. 
What I understood from the ndisc_rcv code is that once
a proxy is set up (pneigh table entry), IPv6 would
reply only to Address resolution Neighbor Solicitation
message for this addres, but will not defend DAD....
the snippet of ndisc_rcv is something like this:

case NDISC_NEIGHBOUR_SOLICITATION:
    ....
    if ((ifp = ipv6_get_ifaddr(&msg->target, dev)) !=
NULL){
          .....
     } else
     {
         if (in6_dev && in6_dev->cnf.forwarding &&    
(addr_type & IPV6_ADDR_UNICAST) &&
pneigh_lookup(&nd_tbl, &msg->target, dev, 0))
         {
            ....
         }
         if(in6_dev)
            in6_dev_put(in6_dev);
         return 0;
.......

What i'm not able to understand is why proxy would
reply to NS from unicast address only & not respond to
NS from unspecified address (which would be the case
of somebody doing DAD for the address in proxy table)?
It will be very helpful if i can understand the logic
behind this.

thanks,
suvidh



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux