[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit aaffaef51e4bd78b3cf0ba5bfba9c1633e19fe65
Author: Iain R. Learmonth <irl@xxxxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits