Opened 5 years ago

Closed 5 years ago

#12443 closed defect (fixed)

Leekspin is splitting `dirreq-v3-resp` line in generated extrainfo descriptors

Reported by: isis Owned by: isis
Priority: High Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords: leekspin
Cc: isis Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by isis

Resolution: fixed
Status: newclosed

Fixed in leekspin-0.1.4, which I repackaged and pushed today.

Note: See TracTickets for help on using tickets.