Uploaded image for project: 'OpenDNSSEC TRAC Import'
  1. OpenDNSSEC TRAC Import
  2. ODSTRACIMPORT-32

Serial calculations do not handle wrapping

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: Signer
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            matthijs Matthijs Mekking
            Reporter:
            opendnssec.simon@arlott.org opendnssec.simon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: