summaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
2017-01-03Fix unit test failures in response to DNS hijacking.Nick Mathewson
Some DNS NXDOMAIN hijackers hijack truly ridiculous domains, like "invalid-stuff!!" or "1.2.3.4.5". This would provoke unit test failures where we used addresses like that to force tor_addr_lookup() to fail. The fix, for testing, is to mock tor_addr_lookup() with a variant that always fails when it gets a name with a !. Fixes bugs 20862 and 20863.
2017-01-02changes file for 20823Nick Mathewson
2017-01-02Merge remote-tracking branch 'jryans/doc-formatting'Nick Mathewson
2016-12-23Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-23Remove abort handler from the backtrace generatorcypherpunks
The abort handler masks the exit status of the backtrace generator by capturing the abort signal from the backtrace handler and exiting with zero. Because the output of the backtrace generator is meant to be piped to `bt_test.py`, its exit status is unimportant and is currently ignored. The abort handler calls `exit(3)` which is not asynchronous-signal-safe and calling it in this context is undefined behavior [0]. Closes ticket 21026. [0] https://www.securecoding.cert.org/confluence/x/34At
2016-12-23changes file for 19222Nick Mathewson
2016-12-23changes file for 19899Nick Mathewson
2016-12-23Use event_base_new(), not event_init(), to detect libevent 2.Nick Mathewson
(event_init() is obsoleted in libevent 2.) Fixes bug 21051; bugfix on 0.2.9.1-alpha when we dropped libevent 1 support.
2016-12-23Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-23changes file for 21035.Nick Mathewson
2016-12-20Merge remote-tracking branch 'teor/fallbacks-20161219'Nick Mathewson
2016-12-19Start on an 0.3.0.1-alpha changelogNick Mathewson
2016-12-19Fix a lint-changes warningNick Mathewson
2016-12-19Remove changes files already merged in 0.2.9.8Nick Mathewson
2016-12-19Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-19Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2016-12-19Merge branch 'bug21018_024' into maint-0.2.8Nick Mathewson
2016-12-19Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-19Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2016-12-19Merge remote-tracking branch 'teor/new-fallbacks-028-20161219' into maint-0.2.8Nick Mathewson
2016-12-19Update the fallback directory mirror list in December 2016teor
Replace the 81 remaining fallbacks of the 100 originally introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177 fallbacks (123 new, 54 existing, 27 removed) generated in December 2016. Resolves ticket 20170.
2016-12-19Avoid an error in the fallback script when a fallback doesn't have any uptimeteor
Sometimes, the fallback generation script doesn't add attributes to the fallbacks in the list. If this happens, log an error, and avoid selecting that fallback. This is a rare issue: it should not change selection behaviour. Fixes issue #20945.
2016-12-19Allow fallbacks serving consensuses that expired less than 24 hours agoteor
This works around #20909, where relays serve stale consensuses for a short time, and then recover. Update to the fix for #20539.
2016-12-19Avoid checking fallback candidates' DirPorts if they are down in OnionOOteor
Exclude relays that have been down for 1 or more days from the fallback candidate list. When a relay operator has multiple relays, this prioritises relays that are up over relays that are down. Fixes issue #20926.
2016-12-19Reduce fallback bandwidth requirement to 1 MByte/steor
2016-12-19Allow 3 fallbacks per operatorteor
This is safe now we are choosing 200 fallbacks. Closes ticket 20912.
2016-12-19Require fallbacks to have 90% Running, V2Dir, and Guard flagsteor
This allows 73% of clients to bootstrap in the first 5 seconds without contacting an authority. Part of #18828.
2016-12-19Require fallback directories to have the same address and port for 7 daysteor
7 days is a tradeoff between the expected time between major Tor releases, which is 6 months, and the number of relays with enough stability. Relays whose OnionOO stability timer is reset on restart by bug #18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for this issue. Closes ticket #20880; maintains short-term fix in e220214 in tor-0.2.8.2-alpha.
2016-12-19Display the fingerprint when downloading consensuses from fallbacksteor
2016-12-19Changes file for #20539teor
2016-12-19Changes file for #20877, #20878, #20880, #20881, #20882teor
2016-12-18Fix parsing bug with unecognized token at EOSNick Mathewson
In get_token(), we could read one byte past the end of the region. This is only a big problem in the case where the region itself is (a) potentially hostile, and (b) not explicitly nul-terminated. This patch fixes the underlying bug, and also makes sure that the one remaining case of not-NUL-terminated potentially hostile data gets NUL-terminated. Fix for bug 21018, TROVE-2016-12-002, and CVE-2016-1254
2016-12-18Revert ticket 20982 changes.Nick Mathewson
They broke stem, and breaking application compatibility is usually a bad idea. This reverts commit 6e10130e18c80f4521e31b071455ae0b1bbea761, commit 78a13df15842e8ab262e17825160386fadb77056, and commit 62f52a888acc191bcb507d27d31d54e42e6effdd. We might re-apply this later, if all the downstream tools can handle it, and it turns out to be useful for some reason.
2016-12-16Revert "Stop checking whether environ is declared."Nick Mathewson
This reverts commit 954eeda619a59dae76144ad69967f0ed7341b564. Apparently, OpenBSD is what expects you to declare environ yourself. So 19142 is a wontfix.
2016-12-16Merge branch 'ticket20831_v2'Nick Mathewson
2016-12-16fixup! Remove UseDirectoryGuardsNick Mathewson
2016-12-16Remove UseDirectoryGuardsNick Mathewson
It is obsoleted in an always-on direction by prop271.
2016-12-16Add a changes file for ticket 5500cypherpunks
2016-12-16Add a changes file for ticket 20982cypherpunks
2016-12-16Merge remote-tracking branch 'public/ticket19142'Nick Mathewson
2016-12-14Merge branch 'dgoulet_ticket19043_030_03_squashed'Nick Mathewson
2016-12-14prop224: Add a changes file for v3 ESTABLISH_INTRO.George Kadianakis
2016-12-13Remove AuthDirMaxServersPerAuthAddrNick Mathewson
Back when Roger had do do most of our testing on the moria host, we needed a higher limit for the number of relays running on a single IP address when that limit was shared with an authority. Nowadays, the idea is pretty obsolete. Also remove the router_addr_is_trusted_dir() function, which served no other purpose. Closes ticket 20960.
2016-12-12Stop checking whether environ is declared.Nick Mathewson
There seems to be pretty good evidence that it's always declared, and that checking for it is pointless. Closes ticket 19142.
2016-12-12Merge remote-tracking branch 'jryans/log-severity'Nick Mathewson
2016-12-12Merge remote-tracking branch 'rubiate/ticket20511'Nick Mathewson
2016-12-12Fix a few warnings from lintChangesNick Mathewson
2016-12-11Remove changes files from master that are already in 0297-rcNick Mathewson
2016-12-11Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-11Spell MAC_OS_X_VERSION_10_12 correctly.Nick Mathewson
Fixes 20935.