Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#18300 closed enhancement (implemented)

Tor shall explicitly report of Nickname is wrong length or contain illegal character

Reported by: naif Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Minor Keywords: easy
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I was trying to configure a Tor Relay nickname with 30 characters and i got:

Feb 11 08:40:04.779 [warn] Failed to parse/validate config: Nickname 'AViaNanoServerforTest' is wrong length or contains illegal characters.

I didn't know that there where a specific length limit on the nickname and had to find out with a trial and error.

This ticket is to:

  • Explicitly report that there's a length problem in the nickname and which is the maximum length
  • Add a comment in Torrc nearby Nickname section saying how longer it could be

Child Tickets

Attachments (1)

18300.diff (1.8 KB) - added by icanhasaccount 5 years ago.
Patch for 18300

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by Sebastian

Component: - Select a componentTor
Keywords: easy added
Severity: NormalMinor

It is specified in Tor's manual:

"Nicknames must be between 1 and 19 characters inclusive, and must contain only the characters [a-zA-Z0-9]."

comment:2 Changed 5 years ago by Sebastian

Milestone: Tor: 0.2.???

Changed 5 years ago by icanhasaccount

Attachment: 18300.diff added

Patch for 18300

comment:3 Changed 5 years ago by icanhasaccount

Patch based on the wording provided.

comment:4 Changed 5 years ago by nickm

Resolution: implemented
Status: newclosed

Applied; thanks!

comment:5 Changed 4 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:6 Changed 4 years ago by nickm

Milestone: Tor: 0.3.???

Milestone deleted

Note: See TracTickets for help on using tickets.