Opened 5 years ago

Closed 5 years ago

#14953 closed defect (fixed)

AUTHDIR_NEWDESCS events control channel munges descriptors

Reported by: weasel Owned by:
Priority: Medium Milestone: Tor: 0.2.6.x-final
Component: Core Tor/Tor Version: Tor: 0.2.5.10
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Subscribing to uploaded descriptors on Tor's control port returns truncated descriptors:

% socat - UNIX-CONNECT:/var/run/tor/control
AUTHENTICATE xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
250 OK
SETEVENTS AUTHDIR_NEWDESCS
250 OK
650+AUTHDIR_NEWDESC=
DROPPED
Not replacing router descriptor; no information has changed since the last one with this identity.
@uploaded-at 2015-02-19 15:16:31
@source "195.154.166.113"
router relay1 195.154.166.113 9002 0 0
platform Tor 0.2.3.25 on Linux
opt protocols Link 1 2 Circuit 1
published 2015-02-19 15:16:31
opt fingerprint 8672 1EDE FAEC 4AE7 AC42 4A65 E111 565A CC8F 3ABE
uptime 15815372
bandwidth 5242880 10485760 521025
opt extra-info-digest E3C0A428989A6CC84606FB9E273CC1B6513AE6AF
onion-key
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMFn46oyQ2jkRPjx6D9IHDvfW2db53+IxXaeQwHdaayxls7r9HF81/UK
618hrOJMSGwe7RTBa16XIlqm8Dx/AILZtEx+vERYz1MIPWjXT6/WJEh+qXCuibcg
wDDvCBryoDMp23GwtYclFZdCvir3oNydZlWz1lwaraMEZMLDwZ+LAgMBAAE=
-----END RSA PUBLIC KEY-----
signing-key
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMJe0bpEEN5c5+5NnMPG4isD+N7d7djowOrKxDis+Bu0WfSPSCcDdb7p
yicwQW0Lpy21naWS1sQuDgHcuHt2dyZwqIVNXLww7NGdxuq0ejB83D3p04puyDvC
klYiM7X/mU+qWFpvlOvrh20utSou8AbQGEz9LSdo6rYxivTPmWRxAgMBAAE=
-----END RSA PUBLIC KEY-----
opt hidden-service-dir
contact anonymous1 anonymous@mail.com
reject *:*
router-signature
-----BEGIN SIGNATURE-----
Qc6FmoZqkllya4e1/fp4LoREphSwruLetHsLQUlO3kCccqusfbXkooXYiEbFC2zp
vSPNNx8vvjs1lqZdPZ5b3++Uar06FgPl2BM08PVXk0B7l7QHuXa3JBqfewR6hLVe
mU2vxVsw55
.
650 OK
650+AUTHDIR_NEWDESC=
DROPPED
Not replacing router descriptor; no information has changed since the last one with this identity.
@uploaded-at 2015-02-19 15:16:32
[...]

Note how the signature was truncated.

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by nickm

Resolution: fixed
Status: newclosed

I have a branch AUTHDIR_NEWDESC_enough. dgoulet has tested it and weasel has reviewed it. Merging to master.

Note: See TracTickets for help on using tickets.