[tor-commits] [metrics-cloud/master] a/exit-scanner: Add note about pending uint32 overflow

irl at torproject.org irl at torproject.org
Wed Mar 25 12:38:29 UTC 2020


commit aaffaef51e4bd78b3cf0ba5bfba9c1633e19fe65
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Thu Mar 5 13:24:35 2020 +0000

    a/exit-scanner: Add note about pending uint32 overflow
---
 ansible/roles/exit-scanner/files/exitscan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/exit-scanner/files/exitscan.py b/ansible/roles/exit-scanner/files/exitscan.py
index 26ac6cf..dd66d3f 100644
--- a/ansible/roles/exit-scanner/files/exitscan.py
+++ b/ansible/roles/exit-scanner/files/exitscan.py
@@ -113,7 +113,7 @@ $ORIGIN dnsel.torproject.org.
                               15 ; nxdomain ttl
                              )
        IN  NS     check-01.torproject.org.
-""")
+""") # fix the serial number generation before 2042 because 2^32 overflow
         exit_addresses = collections.defaultdict(list)
         for desc in exits.values():
             for exit_address in desc.exit_addresses:





More information about the tor-commits mailing list