Frame counter
The network header of encrypted packets includes a 32-bit frame counter. Each device in the network maintains a 32-bit frame counter that increments for every transmission. In addition, devices track the last known 32-bit frame counter for each of its neighbors. If a device receives a packet from a neighbor with a smaller frame counter than previously seen, it discards the packet. The device uses the frame counter to protect against replay attacks.
If the frame counter reaches a maximum value of 0xFFFFFFFF, it does not wrap to 0 and cannot send any more transmissions. Due to the size of the frame counters, reaching the maximum value is uncommon for most applications. The following table shows the required time for the frame counter to reach its maximum value.
| Average Transmission Rate | Time until 32-bit frame counter expires |
|---|---|
| 1 / second | 136 years |
| 10 / second | 13.6 years |
To clear the frame counters without compromising security, you can change the network key in the network. When the network key is updated, the frame counters on all devices reset to 0. See Network key updates for details.
PDF
