click suggestion

simonafichera at tiscali.it simonafichera at tiscali.it
Tue Sep 3 18:34:37 EDT 2002


HI, 
I'm realizing an ipv6 router and  I found a probably error in the file "IP6NDAdvertiser.cc"infact
in this file is made the Advertiser Message from the router to host in the
rfc2461 I have find the message format:

4.4.  Neighbor Advertisement Message Format

   A node sends Neighbor Advertisements in response to Neighbor
   Solicitations and sends unsolicited Neighbor Advertisements in order
   to (unreliably) propagate new information quickly.

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |R|S|O|                     Reserved                            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                       Target Address                          +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-

in this I note that the 3 bit RSO are the at the beginning of the 5° byte
But the IP6NDAdvertiser.cc code show....
...
...
//set Neighborhood Solicitation Validation Message
  ea->type = 0x88;
  ea->code =0;

  ea->flags = 0x60; //  this is the same as setting the following
                    //  ea->sender_is_router = 1;
                    //  ea->solicited =1;
                    //  ea->override = 0;
...
...
...

But 0x60 means :
|0|1|1|0 0 0 0 0
|R|S|O|  Reserved   
is wrong

while 0xc0 means:
|1|1|0|0 0 0 0 0
|R|S|O|  Reserved   
is correct 
I hope my note is correct.
(without this modify my subnet not works)
regards SImona 


__________________________________________________________________
Tiscali Ricaricasa
la prima prepagata per navigare in Internet a meno di un'urbana e
risparmiare su tutte le tue telefonate. Acquistala on line e non avrai
nessun costo di attivazione né di ricarica!
http://ricaricasaonline.tiscali.it/






More information about the click mailing list