Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#4950 closed defect (fixed)

SO_REUSEADDR set too late on outbound socket if OutboundBindAddress is set

Reported by: arma Owned by:
Priority: Medium Milestone: Tor: 0.2.3.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We started setting SO_REUSEADDR on outbound sockets in #2850 (and it's unclear if it helped but maybe it did), but we screwed up the order of operations such that we bind() before setting the socket option if you have the OutboundBindAddress config option set.

Child Tickets

Change History (3)

comment:1 Changed 9 years ago by arma

Resolution: fixed
Status: newclosed

Fixed in 247a21379 (as reviewed by weasel)

comment:2 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:3 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.