summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2016-02-27Update the copyright year.Nick Mathewson
2016-02-27Make sure that every module in src/or has a brief description.Nick Mathewson
2016-02-24Make the sandbox work again with chutney.Nick Mathewson
Previously, we had a problem due to the check_private_dir() rewrite. Bug not in any released Tor.
2016-02-24Remove the freelist from memarea.cNick Mathewson
This is in accordance with our usual policy against freelists, now that working allocators are everywhere. It should also make memarea.c's coverage higher. I also doubt that this code ever helped performance.
2016-02-23Replace two instances of N_DIGEST_ALGORITHMS.Nick Mathewson
These should have been N_COMMON_DIGEST_ALGORITHMS. Fixes bug 18380; bug not in any released Tor.
2016-02-23Merge remote-tracking branch 'arma/bug16825'Nick Mathewson
2016-02-23Merge remote-tracking branch 'teor/bug18348-v2'Nick Mathewson
2016-02-23Merge branch 'bug17795'Nick Mathewson
2016-02-23Appease make check-spacesAndrea Shepard
2016-02-22Add a missing free in parsing an :auto portNick Mathewson
Fixes bug 18374; bugfix on 0.2.3.3-alpha.
2016-02-22Merge branch 'bug16023_028_01_squashed'Nick Mathewson
2016-02-22avoid redundant bootstrap events if the number of descs we just fetched is 0Roger Dingledine
2016-02-22avoid extra LOG_NOTICE for every new microdesc batchRoger Dingledine
We already write out bootstrapping progress (see bug 9927) per new microdesc batch. There's no need to do a full "I learned some more directory information, but not enough to..." line each time too.
2016-02-22refactor directory_info_has_arrived so we can quiet the logsRoger Dingledine
no actual behavior changes
2016-02-22new microdescs mean progress towards bootstrappingRoger Dingledine
Now, when a user who has set EntryNodes finishes bootstrapping, Tor automatically repopulates the guard set based on this new directory information. Fixes bug 16825; bugfix on 0.2.3.1-alpha.
2016-02-22fix two typos in commentsRoger Dingledine
2016-02-20Downgrade directory preference warning to info levelteor (Tim Wilson-Brown)
2016-02-20If both IPv4 and IPv6 addresses could be used, choose one correctlyteor (Tim Wilson-Brown)
If there is a node, use node_ipv6_or/dir_preferred(). If there is no node, use fascist_firewall_prefer_ipv6_or/dirport().
2016-02-20Refactor IPV6_OR_LOOKUP into fascist_firewall_choose_address_rsteor (Tim Wilson-Brown)
It's only used once now, so having it as a macro is unhelpful.
2016-02-20Make some fascist_firewall_choose_address* functions staticteor (Tim Wilson-Brown)
2016-02-20Refactor fascist_firewall_allows_address without changing behaviourteor (Tim Wilson-Brown)
2016-02-20Ensure relays must use IPv4, and can use IPv6teor (Tim Wilson-Brown)
A mistake in previous refactoring had relays using IPv4 and IPv6.
2016-02-17Add onion address to the HS_DESC UPLOADED eventDavid Goulet
Fixes #16023 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2016-02-16Set or_ap/dir_ap.port on the invalid addr case. Bug in no released Tor. CID ↵Nick Mathewson
1353178 and 1353179.
2016-02-11Fix all doxygen warnings other than "X is not documented"Nick Mathewson
2016-02-11make check-spacesNick Mathewson
2016-02-11Merge remote-tracking branch 'teor/feature17840-v11-merged-v2'Nick Mathewson
2016-02-11Rename circuit_about_to_free_{terminal -> atexit}Nick Mathewson
2016-02-11Split a long lineNick Mathewson
2016-02-11Merge remote-tracking branch 'weasel/bug18261'Nick Mathewson
2016-02-10Merge remote-tracking branch 'teor/bug18208'Nick Mathewson
2016-02-10Merge branch 'bug17682_squashed'Nick Mathewson
2016-02-10Bulletproof the safe_timer_diff functionNick Mathewson
Originally it can overflow in some weird cases. Now it should no longer be able to do so. Additionally, limit main's timers to 30 days rather than to 38 years; we don't actually want any 38-year timers. Closes bug 17682.
2016-02-10Whitespace fixesNick Mathewson
2016-02-10Rename crypto_digest_all, and digests_t.Nick Mathewson
They are no longer "all" digests, but only the "common" digests. Part of 17795. This is an automated patch I made with a couple of perl one-liners: perl -i -pe 's/crypto_digest_all/crypto_common_digests/g;' src/*/*.[ch] perl -i -pe 's/\bdigests_t\b/common_digests_t/g;' src/*/*.[ch]
2016-02-10Properly detach circuits from cmuxes when calling circuit_free_all() on ↵Andrea Shepard
shutdown again
2016-02-10Appease make check-spacesAndrea Shepard
2016-02-08Add missing consts; my fault.Nick Mathewson
2016-02-08Merge branch 'decorated_ipv6_directory_send_command_squashed'Nick Mathewson
2016-02-08decorated ipv6 address for directory send commandMalek
2016-02-08fix wide lines, use more locals.Nick Mathewson
2016-02-07Using router_get_my_routerinfo()Harini Kannan
2016-02-06Fix a segfault during startupPeter Palfrader
If unix socket was configured as listener (such as a ControlSocket or a SocksPort unix socket), and tor was started as root but not configured to switch to another user, tor would segfault while trying to string compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha. Patch by weasel.
2016-02-06Merge remote-tracking branch 'alec/dead_code_removal'Nick Mathewson
2016-02-06Removed dead code in main.cAlec Heifetz
2016-02-06changing output of crypto_cipher_crypt_inplace from int to voidHassan Alsibyani
2016-02-03Make bridge clients prefer the configured bridge addressteor (Tim Wilson-Brown)
When ClientPreferIPv6ORPort is auto, bridges prefer the configured bridge ORPort address. Otherwise, they use the value of the option. Other clients prefer IPv4 ORPorts if ClientPreferIPv6ORPort is auto. When ClientPreferIPv6DirPort is auto, all clients prefer IPv4 DirPorts.
2016-02-02Update ExitPolicy when interface addresses changeteor (Tim Wilson-Brown)
Tor exit relays reject local interface addresses in their exit policy. Make sure those policies are updated when interface addresses change.
2016-01-29Merge branch 'feature17840-v11-squashed' into feature17840-v11-mergedteor (Tim Wilson-Brown)
Conflicts: src/or/directory.c src/test/test_routerlist.c Fix minor conflicts.
2016-01-29Tor2Web: tell extend_info_from_node intro point connections are directteor (Tim Wilson-Brown)