Opened 4 years ago

Closed 4 years ago

#15849 closed enhancement (fixed)

Make relay be directory server without a DirPort

Reported by: dgoulet Owned by:
Priority: High Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: prop237, 028-triaged
Cc: sysrqb Actual Points:
Parent ID: #15801 Points: medium
Reviewer: Sponsor:

Description

Child ticket of #15801.

In directory_permits_begindir_requests(), a relay doesn't accept BEGIN_DIR cell if the DirPort isn't set.

int
directory_permits_begindir_requests(const or_options_t *options)
{
  return options->BridgeRelay != 0 || options->DirPort_set;
}

Fixing this would make every relay being able to answer directory requests without a DirPort. Turns out, it's a part of proposal 237 so we should make those two happens and incidently helping with the global issue in the parent ticket.

Child Tickets

Change History (5)

comment:1 Changed 4 years ago by dgoulet

For porposal 237, see #12538

comment:2 Changed 4 years ago by nickm

Priority: normalmajor
Status: newassigned

comment:3 Changed 4 years ago by nickm

Milestone: Tor: 0.2.7.x-finalTor: 0.2.8.x-final

comment:4 Changed 4 years ago by nickm

Keywords: 028-triaged added

comment:5 Changed 4 years ago by teor

Resolution: fixed
Severity: Normal
Status: assignedclosed

This is fixed in #12538.

Note: See TracTickets for help on using tickets.