[Opendnssec-develop] [OpenDNSSEC] #32: Serial calculations do not handle wrapping

OpenDNSSEC owner-dnssec-trac at kirei.se
Tue Sep 22 12:03:39 UTC 2009


#32: Serial calculations do not handle wrapping
----------------------------------------+-----------------------------------
Reporter:  opendnssec.simon at arlott.org  |       Owner:  matthijs
    Type:  defect                       |      Status:  new     
Priority:  minor                        |   Component:  Signer  
 Version:  trunk                        |    Keywords:          
----------------------------------------+-----------------------------------
 DNS serials wrap around 2^32, with the previous 2^31 values being "before"
 and the next 2^31 being "after". The serial calculation code needs to
 handle this properly when comparing two serials to determine which one is
 >= the other, and also when incrementing it.

 The "unixtime" serial just needs to be calculated MOD 2^32, and
 "datecounter" requires no change.

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/32>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list