summaryrefslogtreecommitdiff
path: root/src/feature
AgeCommit message (Collapse)Author
2019-03-26Merge branch 'tor-github/pr/842'George Kadianakis
2019-03-26Merge branch 'tor-github/pr/709'George Kadianakis
2019-03-26Merge branch 'maint-0.4.0'George Kadianakis
2019-03-26Merge branch 'tor-github/pr/847' into maint-0.4.0George Kadianakis
2019-03-26Merge branch 'maint-0.4.0'teor
2019-03-26Merge remote-tracking branch 'tor-github/pr/852' into maint-0.4.0teor
2019-03-26bwauth: remove declaring args, they are now in usejuga0
2019-03-26bwauth: increment bw file cache lifetimejuga0
Increment bw file cache lifetime when serving it by HTTP. And add a constant to define that lifetime.
2019-03-26bwauth: check and use compression serving bw filejuga0
2019-03-26bwauth: check if a bw file could be readjuga0
Before serving it by HTTP.
2019-03-26bwauth: use flag to do not warn when file is missingjuga0
Use flag to do not warn when the bandwidth file is missing trying to serve it by http. Also remove double space in the assignement.
2019-03-26Serve bandwidth file used in the next votejuga0
When a directory authority is using a bandwidth file to obtain the bandwidth values that will be included in the next vote, serve this bandwidth file at /tor/status-vote/next/bandwidth.z.
2019-03-26Merge branch 'maint-0.4.0'teor
2019-03-26Merge remote-tracking branch 'tor-github/pr/848' into maint-0.4.0teor
2019-03-26Merge branch 'ticket29806_035_squashed_merged' into ↵teor
ticket29806_040_squashed_merged
2019-03-25Minimize the includes in control.cNick Mathewson
2019-03-25Split command-handling and authentication from control.cNick Mathewson
2019-03-25Split getinfo handling into a new control_getinfo.cNick Mathewson
2019-03-25Split all controller events code into a new control_events.cNick Mathewson
Also, split the formatting code shared by control.c and control_events.c into controller_fmt.c.
2019-03-25Merge remote-tracking branch 'tor-github/pr/785'teor
2019-03-22Merge remote-tracking branch 'tor-github/pr/819'teor
2019-03-21Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_mergedteor
Copy and paste the vote=0 code from the old src/or/dirserv.c to the new src/feature/dirauth/bwauth.c.
2019-03-21circpad: Don't pad if Tor is in dormant mode.George Kadianakis
This is something we should think about harder, but we probably want dormant mode to be more powerful than padding in case a client has been inactive for a day or so. After all, there are probably no circuits open at this point and dormant mode will not allow the client to open more circuits. Furthermore, padding should not block dormant mode from being activated, since dormant mode relies on SocksPort activity, and circuit padding does not mess with that.
2019-03-20Merge branch 'maint-0.3.4' into maint-0.3.5teor
2019-03-15Merge branch 'maint-0.4.0'Nick Mathewson
2019-03-15Merge branch 'bug28656_035_squashed' into maint-0.4.0Nick Mathewson
2019-03-15Stop logging a BUG() warning when tor is waiting for exit descriptorsteor
Fixes bug 28656; bugfix on 0.3.5.1-alpha.
2019-03-12Fix all nonconformant headers' guard macros.Nick Mathewson
2019-03-12Merge branch 'bug23576-041-rebased-squashed'Nick Mathewson
2019-03-12hs: abolish hs_desc_link_specifier_dup()teor
The previous commits introduced link_specifier_dup(), which is implemented using trunnel's opaque interfaces. So we can now remove hs_desc_link_specifier_dup(). Cleanup after bug 22781.
2019-03-12hs: abolish hs_desc_link_specifier_tteor
The previous commits for 23576 confused hs_desc_link_specifier_t and link_specifier_t. Removing hs_desc_link_specifier_t fixes this confusion. Fixes bug 22781; bugfix on 0.3.2.1-alpha.
2019-03-12Merge branch 'maint-0.4.0'Nick Mathewson
2019-03-12Merge remote-tracking branch 'tor-github/pr/776' into maint-0.4.0Nick Mathewson
2019-03-05Set TOR_PT_EXIT_ON_STDIN_CLOSE=1 for client transports too.David Fifield
Closes #25614.
2019-03-04Merge branch 'tor-github/pr/739'George Kadianakis
2019-02-28Merge branch 'maint-0.4.0'Nick Mathewson
2019-02-28Merge remote-tracking branch 'tor-github/pr/728' into maint-0.4.0Nick Mathewson
2019-02-27Set CIRCLAUNCH_NEED_UPTIME in rend_service_relaunch_rendezvous() on a ↵Neel Chauhan
hs_service_requires_uptime_circ()
2019-02-26Merge branch 'maint-0.4.0'David Goulet
2019-02-26Merge branch 'tor-github/pr/638' into maint-0.4.0David Goulet
2019-02-26Fix crash bug in PT subsystem.Alexander Færøy
This patch fixes a crash bug (assertion failure) in the PT subsystem that could get triggered if the user cancels bootstrap via the UI in TorBrowser. This would cause Tor to call `managed_proxy_destroy()` which called `process_free()` after it had called `process_terminate()`. This leads to a crash when the various process callbacks returns with data after the `process_t` have been freed using `process_free()`. We solve this issue by ensuring that everywhere we call `process_terminate()` we make sure to detach the `managed_proxy_t` from the `process_t` (by calling `process_set_data(process, NULL)`) and avoid calling `process_free()` at all in the transports code. Instead we just call `process_terminate()` and let the process exit callback in `managed_proxy_exit_callback()` handle the `process_free()` call by returning true to the process subsystem. See: https://bugs.torproject.org/29562
2019-02-26Merge branch 'tor-github/pr/698'George Kadianakis
2019-02-26Merge branch 'tor-github/pr/611'George Kadianakis
2019-02-24Merge remote-tracking branch 'tor-github/pr/646'Nick Mathewson
2019-02-22When a DirAuth checks reachability on itself and has IPv6, mark it as reachableNeel Chauhan
2019-02-20Merge branch 'tor-github/pr/696'David Goulet
2019-02-20fix typos from #28614Roger Dingledine
2019-02-19router: Add some missing #endif commentsteor
2019-02-19routerkeys: Log failures at info-level in make_tap_onion_key_crosscert()teor
2019-02-19test_dir: Test rsa + ed25519 extrainfo creation and parsingteor
Also fix a missing mock in rsa-only parsing.