summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-09-22Update versions to 0.2.8.8Nick Mathewson
2016-09-22Merge branch 'bug20203_027_squashed' into maint-0.2.8Nick Mathewson
2016-09-22When clearing cells from a circuit for OOM reasons, tell cmux we did so.Nick Mathewson
Not telling the cmux would sometimes cause an assertion failure in relay.c when we tried to get an active circuit and found an "active" circuit with no cells. Additionally, replace that assert with a test and a log message. Fix for bug 20203. This is actually probably a bugfix on 0.2.8.1-alpha, specifically my code in 8b4e5b7ee902fb7fa0776 where I made circuit_mark_for_close_() do less in order to simplify our call graph. Thanks to "cypherpunks" for help diagnosing.
2016-09-20Merge remote-tracking branch 'public/bug20103_028_v3' into maint-0.2.8Nick Mathewson
2016-09-21fixup! Update hard-coded fallback list based on pre-0.2.9 checksteor
2016-09-20Don't look at any routerstatus_t when the networkstatus is inconsistentNick Mathewson
For a brief moment in networkstatus_set_current_consensus(), the old consensus has been freed, but the node_t objects still have dead pointers to the routerstatus_t objects within it. During that interval, we absolutely must not do anything that would cause Tor to look at those dangling pointers. Unfortunately, calling the (badly labeled!) current_consensus macro or anything else that calls into we_use_microdescriptors_for_circuits(), can make us look at the nodelist. The fix is to make sure we identify the main consensus flavor _outside_ the danger zone, and to make the danger zone much much smaller. Fixes bug 20103. This bug has been implicitly present for AGES; we just got lucky for a very long time. It became a crash bug in 0.2.8.2-alpha when we merged 35bbf2e4a4e8ccb to make find_dl_schedule start looking at the consensus, and 4460feaf2850ef0 which made node_get_all_orports less (accidentally) tolerant of nodes with a valid ri pointer but dangling rs pointer.
2016-09-20Update hard-coded fallback list based on pre-0.2.9 checksteor
2016-09-07Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-09-07Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-09-07Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-09-07Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-09-07Update geoip and geoip6 to the September 6 2016 database.Karsten Loesing
2016-08-24bump to 0.2.8.7-devNick Mathewson
2016-08-24Bump to 0.2.8.7Nick Mathewson
2016-08-24Fix path selection on firewalled clientsteor
Signed-off-by: teor <teor2345@gmail.com>
2016-08-24Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-08-24Replace Tonga with Bifroest.Isis Lovecruft
* FIXES #19728: https://bugs.torproject.org/19728 * CLOSES #19690: https://bugs.torproject.org/19690
2016-08-22Do not pass NULL to log(%s) in dir_server_new.Nick Mathewson
This bug had existed since 0.2.4.7-alpha, but now that we have FallbackDirs by default, it actually matters. Fixes bug 19947; bugfix on 0.2.4.7-alpha or maybe 0.2.8.1-alpha. Rubiate wrote the patch; teor wrote the changes file.
2016-08-19Merge branch 'bug19903_028_v2' into maint-0.2.8Nick Mathewson
2016-08-19Avoid confusing GCC 4.2.1 by saying "int foo()... inline int foo() {...}"Nick Mathewson
Fixes bug 19903; bugfix on 0.2.8.1-alpha.
2016-08-12Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-08-12Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-08-12Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-08-12Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-08-12Update geoip and geoip6 to the August 2 2016 database.Karsten Loesing
2016-08-02bump maint-0.2.8 to 0.2.8.6-devNick Mathewson
2016-07-29bump to 0.2.8.6Nick Mathewson
2016-07-29Remove a fallback that was on the hardcoded list, then opted-outteor (Tim Wilson-Brown)
The fallback was added in 0.2.8.2-alpha.
2016-07-21Coverity hates it when we do "E1 ? E2 : E2".Nick Mathewson
It says, 'Incorrect expression (IDENTICAL_BRANCHES)' Fix for CID 1364127. Not in any released Tor.
2016-07-19Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-07-19Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-07-19Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-07-19Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-07-18Update geoip and geoip6 to the July 6 2016 database.Karsten Loesing
2016-07-17Merge remote-tracking branch 'weasel/bug19660' into maint-0.2.8Nick Mathewson
2016-07-17Fix warnings in test_util_formats.Nick Mathewson
Storing 255 into a char gives a warning when char is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha, where these tests were added.
2016-07-13Merge remote-tracking branch 'Jigsaw52/seccomp-fix-18397' into maint-0.2.8Nick Mathewson
2016-07-11Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelistPeter Palfrader
If we did not find a non-private IPaddress by iterating over interfaces, we would try to get one via get_interface_address6_via_udp_socket_hack(). This opens a datagram socket with IPPROTO_UDP. Previously all our datagram sockets (via libevent) used IPPROTO_IP, so we did not have that in the sandboxing whitelist. Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelist. Fixes bug 19660.
2016-07-09Adds missing syscalls to seccomp filter.Daniel Pinto
Fixes #18397 which prevented tor starting with Sandbox 1.
2016-07-07Bump maint-0.2.8 to 0.2.8.5-rc-devNick Mathewson
2016-07-06When checking if a routerstatus is reachable, don't check the nodeteor (Tim Wilson-Brown)
This fixes #19608, allowing IPv6-only clients to use microdescriptors, while preserving the ability of bridge clients to have some IPv4 bridges and some IPv6 bridges. Fix on c281c036 in 0.2.8.2-alpha.
2016-07-05Update version to 0.2.8.5-rc. This is not yet a release.Nick Mathewson
2016-07-05Repair unit test that assumed we have 9 dirauths.Nick Mathewson
2016-07-05Merge remote-tracking branch 'weasel/bug19557' into maint-0.2.8Nick Mathewson
2016-07-05Merge remote-tracking branch 'weasel/bug19556' into maint-0.2.8Nick Mathewson
2016-07-05Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-07-05Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-07-05Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-07-05Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-07-03Remove urras as a default trusted directory authoritySebastian Hahn
It had been a directory authority since 0.2.1.20.