[tor-bugs] #18760 [Tor]: Would like to customize rejection message from dir auths to relay
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Apr 7 21:59:37 UTC 2016
#18760: Would like to customize rejection message from dir auths to relay
-----------------------------+--------------------------
Reporter: arma | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.2.???
Component: Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------+--------------------------
Right now if you're a relay and you try to post your descriptor and the
dir auth rejects it, you get this in your logs:
{{{
log_warn(LD_GENERAL,"http status 400 (%s) response from "
"dirserver '%s:%d'. Please correct.",
}}}
where the first %s comes from various possible choices in
dirserv_get_status_impl(), e.g.
{{{
*msg = "Fingerprint is marked rejected";
}}}
or
{{{
*msg = "Tor version is insecure or unsupported. Please upgrade!";
}}}
We have been encountering cases lately where we want to get a message to a
relay operator who is doing something scary (for example, running way too
many relays) but who has not set any contactinfo. It would be neat to be
able to customize our rejection message, for example to a more friendly
one like "Wow, that's a lot of relays! Please contact us?"
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18760>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list