summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* rename {,TOR_}RUST_DEPENDENCIESrandom_rustSebastian Hahn2017-11-01
|
* Ensure we're adding compat_rust.c to tarballSebastian Hahn2017-11-01
| | | | | When building a tarball with --enable-rust as configure argument, we'd miss it otherwise.
* Merge remote-tracking branch 'public/owning_control_fd'Nick Mathewson2017-11-01
|\
| * Add __OwningControllerFD to allow controllers without controlportsNick Mathewson2017-10-18
| | | | | | | | | | | | | | | | | | | | | | This feature should help programs that want to launch and manage a Tor process, as well as programs that want to launch and manage a Tor instance in a separate thread. Right now, they have to open a controlport, and then connect to it, with attendant authentication issues. This feature allows them to just start with an authenticated connection. Bug 23900.
| * Expose connection_init_accepted_conn.Nick Mathewson2017-10-18
| |
| * New function for Tor to treat itself as the "owner" of a socketNick Mathewson2017-10-18
| | | | | | | | | | | | | | | | Our socket accounting functions assumed that we'd never be asked to close a socket that we didn't open ourselves. But now we want to support taking control sockets that we inherit -- so we need a way of taking ownership of them, so we don't freak out later on when we close them.
| * Make the mark_socket_open() no-op treat the socket as used.Nick Mathewson2017-10-18
| | | | | | | | | | This is preliminary for extracting the "take socket ownership" code into its own function.
* | missing changes file for 22605Nick Mathewson2017-11-01
| |
* | Merge branch 'tor_api_squashed'Nick Mathewson2017-11-01
|\ \
| * | tor_runner.c: Add a circumlocution and a caveat.Nick Mathewson2017-11-01
| | |
| * | Add more usage notes on tor_api.hNick Mathewson2017-11-01
| | |
| * | Explain purpose, usage, and status of tor_runner.cNick Mathewson2017-11-01
| | |
| * | Add a small library to emulate tor_run_main() with exec()Nick Mathewson2017-11-01
| | |
| * | Add a public tor_api.h with an implementation in tor_api.cNick Mathewson2017-11-01
| | | | | | | | | | | | | | | | | | | | | The main effect of this change is to commit to an extensible long-term API. Closes ticket 23684.
| * | Move tor_git_revision into a new module.Nick Mathewson2017-10-18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At first, we put the tor_git_revision constant in tor_main.c, so that we wouldn't have to recompile config.o every time the git revision changed. But putting it there had unintended side effect of forcing every program that wanted to link libor.a (including test, test-slow, the fuzzers, the benchmarks, etc) to declare their own tor_git_revision instance. That's not very nice, especially since we want to start supporting others who want to link against Tor (see 23846). So, create a new git_revision.c file that only contains this constant, and remove the duplicated boilerplate from everywhere else. Part of implementing ticket 23845.
* | trivial comment fixesRoger Dingledine2017-10-31
| | | | | | | | done while i was trying to debug nearby code
* | all the other lines here had a tab; make this one blend inRoger Dingledine2017-10-31
| |
* | Merge branch 'maint-0.3.2'Nick Mathewson2017-10-31
|\ \
| * \ Merge branch 'bug24082_032' into maint-0.3.2Nick Mathewson2017-10-31
| |\ \
| | * | Initialize the mock options in the fuzzing codeNick Mathewson2017-10-30
| | | | | | | | | | | | | | | | Fixes bug 24082; bugfix on 0.3.0.3-alpha. Found by Brian Carpenter.
* | | | Merge branch 'maint-0.3.2'Nick Mathewson2017-10-31
|\ \ \ \ | |/ / /
| * | | double newlineNick Mathewson2017-10-31
| | | |
* | | | Merge branch 'maint-0.3.2'Nick Mathewson2017-10-31
|\ \ \ \ | |/ / /
| * | | Merge branch 'hsdescv3_fuzz_more' into maint-0.3.2Nick Mathewson2017-10-31
| |\ \ \
| | * | | In the hsdescv3 fuzzer, replace the decryption function.Nick Mathewson2017-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new decryption function performs no decryption, skips the salt, and doesn't check the mac. This allows us to fuzz the hs_descriptor.c code using unencrypted descriptor test, and exercise more of the code. Related to 21509.
* | | | | Merge branch 'fix-torrcd-sandbox-22605v2'Nick Mathewson2017-10-31
|\ \ \ \ \
| * | | | | Fix memory leak when options_init_from_string returns error #22605Daniel Pinto2017-09-12
| | | | | |
| * | | | | Adds files included by torrc and defaults to sandbox filter #22605Daniel Pinto2017-08-30
| | | | | |
* | | | | | Merge branch '13605_reduced_exit_squashed'Nick Mathewson2017-10-31
|\ \ \ \ \ \
| * | | | | | Don't give "exitrelay may become 0 when no policy" warning on ReducedExitPolicyNick Mathewson2017-10-31
| | | | | | |
| * | | | | | Fix: when BridgeRelay is set, you do not get any exit policy.Nick Mathewson2017-10-31
| | | | | | |
| * | | | | | Add ChangLog entry for the ReducedExitPolicy optionNeel Chauhan2017-10-31
| | | | | | |
| * | | | | | Modify man page to describe ReducedExitPolicy optionNeel Chauhan2017-10-31
| | | | | | |
| * | | | | | Add code for letting user select Reduced Exit PolicyNeel Chauhan2017-10-31
|/ / / / / /
* | | | | | Merge branch 'maint-0.3.2'Nick Mathewson2017-10-31
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | make 23762 changes file pass check-changesNick Mathewson2017-10-31
| | | | | |
| * | | | | Merge branch 'bug23762_032_02_squashed' into maint-0.3.2Nick Mathewson2017-10-31
| |\ \ \ \ \
| | * | | | | hs-v3: Attempt descriptor refetch when dirinfo changesDavid Goulet2017-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the directory information changes, callback to the HS client subsystem so it can check if any pending SOCKS connections are waiting for a descriptor. If yes, attempt a refetch for those. Fixes #23762 Signed-off-by: David Goulet <dgoulet@torproject.org>
| | * | | | | hs-v3: Refactor client refetch functionDavid Goulet2017-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a function that tells us if we can fetch or not the descriptor for the given service key. No behavior change. Mostly moving code but with a slight change so the function can properly work by returning a boolean and also a possible fetch status code. Signed-off-by: David Goulet <dgoulet@torproject.org>
* | | | | | | Make check-changes happy.Nick Mathewson2017-10-31
| | | | | | |
* | | | | | | Merge branch 'bug23571_033_squashed'Nick Mathewson2017-10-31
|\ \ \ \ \ \ \
| * | | | | | | Consistently use braced blocks in hibernate_go_dormant()teor2017-10-31
| | | | | | | |
| * | | | | | | When hibernating, close connections normally and allow them to flushteor2017-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfix on 7267 in 0.2.4.7-alpha
* | | | | | | | Merge branch 'maint-0.3.2'Nick Mathewson2017-10-31
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson2017-10-31
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| | * | | | | | Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson2017-10-31
| | |\ \ \ \ \ \
| | | * \ \ \ \ \ Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson2017-10-31
| | | |\ \ \ \ \ \
| | | | * \ \ \ \ \ Merge remote-tracking branch 'public/bug23693_029' into maint-0.2.9Nick Mathewson2017-10-31
| | | | |\ \ \ \ \ \
| | | | | * | | | | | Make changes in server_mode() affect workers; fix a crash.Nick Mathewson2017-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this fix, changes from client to bridge don't trigger transition_affects_workers(), so we would never have actually initialized the cpuworkers. Fixes bug 23693. Bugfix on 3bcdb26267502e0 0.2.6.3-alpha, which fixed bug 14901 in the general case, but not on the case where public_server_mode() did not change.
* | | | | | | | | | | Merge branch 'maint-0.3.2'Nick Mathewson2017-10-30
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /