]> git.ipfire.org Git - thirdparty/tor.git/commit
Check ORPort and DirPort reachability before publishing a relay descriptor
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Mon, 18 Jan 2016 03:00:29 +0000 (14:00 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Mon, 18 Jan 2016 03:00:29 +0000 (14:00 +1100)
commit6094a886cf9be92d29077b428554a75c9971a2ca
treeb9f5cd63773deabd992ee27f00e79734507c645d
parentc7b0cd9c2f52ca289515833060ac0b8461da2225
Check ORPort and DirPort reachability before publishing a relay descriptor

Otherwise, relays publish a descriptor with DirPort 0 when the DirPort
reachability test takes longer than the ORPort reachability test.

Closes bug #18050. Reported by "starlight", patch by "teor".
Bugfix on 0.1.0.1-rc, commit a1f1fa6ab on 27 Feb 2005.
changes/bug18050 [new file with mode: 0644]
src/or/main.c
src/or/router.c