[or-cvs] Refactor directories; add unit tests; add router keyword

Nick Mathewson nickm at seul.org
Tue May 6 17:38:17 UTC 2003


Update of /home/or/cvsroot/src/config
In directory moria.mit.edu:/tmp/cvs-serv27084/config

Modified Files:
	dirservers routers.or 
Log Message:
Refactor directories; add unit tests; add router keyword

Index: dirservers
===================================================================
RCS file: /home/or/cvsroot/src/config/dirservers,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dirservers	16 Mar 2003 04:40:16 -0000	1.3
+++ dirservers	6 May 2003 17:38:15 -0000	1.4
@@ -7,7 +7,7 @@
 # DirPort is where the router listens for directory download requests
 
 # Router 1
-moria.mit.edu 9001 9011 9021 9031 1000000
+router moria.mit.edu 9001 9011 9021 9031 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
 7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K
@@ -15,7 +15,7 @@
 -----END RSA PUBLIC KEY-----
 
 # Router 2
-moria.mit.edu 9002 9012 9022 9032 1000000
+router moria.mit.edu 9002 9012 9022 9032 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBANX/HHRuudz274MFSQ4manX8DhtsIuogNUyco9/0dr+XsfioTGd3RgMj
 aSWlD87arkZO4hHBPHe0q89Z3s1UtUsyQ/VmsxSv9g2OCnF/dU2Nz4h6+Al3iNJF
@@ -23,7 +23,7 @@
 -----END RSA PUBLIC KEY-----
 
 # Router 3
-moria.mit.edu 9003 9013 9023 9033 1000000
+router moria.mit.edu 9003 9013 9023 9033 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAJfkNWCaNkYIRwfHT06KBU6dz8W1xDpW5ezGJwAOoxCX3/ZNoUicb/1V
 oB3OzW6VxWIiht3da/3K0ywiBOOCcf6BabKoMdiPpH7NIeu6XRmBYK2uqW13gBgh

Index: routers.or
===================================================================
RCS file: /home/or/cvsroot/src/config/routers.or,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- routers.or	16 Mar 2003 04:40:16 -0000	1.12
+++ routers.or	6 May 2003 17:38:15 -0000	1.13
@@ -7,7 +7,7 @@
 # DirPort is where the router listens for directory download requests
 
 # Router 1
-moria.mit.edu 9001 9011 9021 9031 1000000
+router moria.mit.edu 9001 9011 9021 9031 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
 7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K
@@ -15,7 +15,7 @@
 -----END RSA PUBLIC KEY-----
 
 # Router 2
-moria.mit.edu 9002 9012 9022 9032 1000000
+router moria.mit.edu 9002 9012 9022 9032 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBANX/HHRuudz274MFSQ4manX8DhtsIuogNUyco9/0dr+XsfioTGd3RgMj
 aSWlD87arkZO4hHBPHe0q89Z3s1UtUsyQ/VmsxSv9g2OCnF/dU2Nz4h6+Al3iNJF
@@ -23,28 +23,28 @@
 -----END RSA PUBLIC KEY-----
 
 # Router 3
-moria.mit.edu 9003 9013 9023 9033 1000000
+router moria.mit.edu 9003 9013 9023 9033 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAJfkNWCaNkYIRwfHT06KBU6dz8W1xDpW5ezGJwAOoxCX3/ZNoUicb/1V
 oB3OzW6VxWIiht3da/3K0ywiBOOCcf6BabKoMdiPpH7NIeu6XRmBYK2uqW13gBgh
 xJbQBb58Nx8Fr05XkvLG6i+vTDY3MZOW3E2/DwSe/jFzuHSD5b3nAgMA//8=
 -----END RSA PUBLIC KEY-----
 
-moria.mit.edu 9004 9014 9024 0 1000000
+router moria.mit.edu 9004 9014 9024 0 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAKD2BDZQpGq/aAbZ7t+/7qktZVEbhUGe097gIjWH9gXcIOIm0CJMe3rN
 MsBJsQMi5Uwqrz+Invb5n6bswrNlJp/bCKBhGTvUCfxg7c8xZy71PPSIPnTg1qXl
 p5fyAkgCYkZNgEEZzQDHv1GRvLCs92kURjSJE5y8QU0dXfbzms8PAgMA//8=
 -----END RSA PUBLIC KEY-----
 
-mosg.cl.cam.ac.uk 9005 9015 9025 0 1000000
+router mosg.cl.cam.ac.uk 9005 9015 9025 0 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAMMHEjhhawM6S14ETFVcvByU7D/baN2JMcCweKKJ7zcSurDnpgRH/Uo7
 05+bZE3BCy4OkAqQbGlKd/ejBOuXjEtS0mJo5xwDX9StKguhgFRk60hhrF2OFJm4
 VLItXA6U2NLOrc+FBCv/9laLpBrxOb8Wuct0l/lyZ2/OfE9yYhC3AgMA//8=
 -----END RSA PUBLIC KEY-----
 
-66.17.17.207 9006 9016 9026 0 1000000
+router 66.17.17.207 9006 9016 9026 0 1000000
 -----BEGIN RSA PUBLIC KEY-----
 MIGJAoGBAL5cpmH34kVfmHd+A00vMton3pLGHAVf7BYkSMif8e/O5zXTUXRi4w78
 jDcGNo2yFM3htTpT5/tWs/Z2+B/mx8Kz+AhHzZ9z0PdQreDSqxXjF+jmfCyx9Teq



More information about the tor-commits mailing list