Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #18760

Closed (moved)
(moved)
Open
Created Apr 07, 2016 by Roger Dingledine@arma

I'd like to customize rejection message from dir auths to relay

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?"

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking