[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #12443 [BridgeDB]: Leekspin is splitting `dirreq-v3-resp` line in generated extrainfo descriptors
#12443: Leekspin is splitting `dirreq-v3-resp` line in generated extrainfo
descriptors
----------------------+----------------------
Reporter: isis | Owner: isis
Type: defect | Status: new
Priority: major | Milestone:
Component: BridgeDB | Version:
Keywords: leekspin | Actual Points:
Parent ID: | Points:
----------------------+----------------------
Here's a fake `@type bridge-extrainfo` descriptor, created by leekspin:
{{{
extra-info LoneRevulsion E72E3DC5FAD5550DBCCB4429BBF0A7BB2FAD72E2
published 2014-03-12 20:56:50
write-history 2014-03-12 20:56:50 (900 s) 3188736,2226176,2866176
read-history 2014-03-12 20:56:50 (900 s) 3891200,2483200,2698240
dirreq-write-history 2014-03-12 20:56:50 (900 s) 1024,0,2048
dirreq-read-history 2014-03-12 20:56:50 (900 s) 0,0,0
geoip-db-digest D7D3AB5AF68AAC8F316BF9DEE7B7D0B0BC1238D7
geoip6-db-digest 76634AB48969832AA37F78F252726AB9803ECFB8
dirreq-stats-end 2014-03-12 20:56:50 (86400 s)
dirreq-v3-ips
dirreq-v3-reqs
dirreq-v3-resp
ok=16,not-enough-sigs=0,unavailable=0,not-found=0,not-modified=0,busy=0
dirreq-v3-direct-dl complete=0,timeout=0,running=0
dirreq-v3-tunneled-dl complete=12,timeout=0,running=0
transport obfs3 254.99.16.232:31196
transport obfs2 254.99.16.232:31197
bridge-stats-end 2014-03-12 20:56:50 (86400 s)
bridge-ips ca=8
bridge-ip-versions v4=8,v6=0
bridge-ip-transports <OR>=8
router-signature
-----BEGIN SIGNATURE-----
duS1H+K32B3uKYA2sKcl+cKXL8PXKfJAQ+gnmsQ949qM85/8fWeX1j9xyUAlpN8q
5lUm0gSoNRLraTTtVg6jYA9BTlfcMlYz6hoyKjQRbFeT8OiU0Z3alQFCZl/qlVii
0juw8yjc6p4gNprm7gfP+h2VImm27kC/ZMNvloB5bEs=
-----END SIGNATURE-----
}}}
As you can see, the `dirreq-v3-resp` line has its data on a newline:
{{{
dirreq-v3-resp
ok=16,not-enough-sigs=0,unavailable=0,not-found=0,not-modified=0,busy=0
dirreq-v3-direct-dl complete=0,timeout=0,running=0
dirreq-v3-tunneled-dl complete=12,timeout=0,running=0
}}}
That makes it an invalid descriptor.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12443>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs