Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-03 | Merge remote-tracking branch 'github/ticket25952' | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'github/ticket25951' | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'github/ticket25949' | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'asn/bug23107' | David Goulet | |
2018-05-02 | Make hs_get_responsible_hsdirs() deterministic. | Nick Mathewson | |
This test was using the current time to pick the time period number, and a randomly generated hs key. Therefore, it sometimes picked an index that would wrap around the example dht, and sometimes would not. The fix here is just to fix the time period and the public key. Fixes bug 25997; bugfix on 0.3.2.1-alpha. | |||
2018-05-02 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-05-02 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-05-02 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-05-02 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-05-02 | Stop logging stack contents when reading a zero-length bandwidth file | teor | |
When directory authorities read a zero-byte bandwidth file, they log a warning with the contents of an uninitialised buffer. Log a warning about the empty file instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha. | |||
2018-05-02 | squash! Optimize legacy intro point digest calculation. | George Kadianakis | |
2018-05-02 | Optimize legacy intro point digest calculation. | Neel Chauhan | |
2018-05-01 | coverage: Repeat the test for avoiding failed intro points | Nick Mathewson | |
This test, in test_client_pick_intro(), will have different coverage depending on whether it selects a good intro point the first time or whether it has to try a few times. Since it produces the shorter coverage with P=1/4, repeat this test 64 times so that it only provides reduced coverage with P=1/2^128. The performance cost is negligible. Closes ticket 25996. This test was introduced in 0.3.2.1-alpha. | |||
2018-05-01 | Merge remote-tracking branch 'github/eliminate_gettimeofday_cached' | Nick Mathewson | |
2018-05-01 | Move unreachable port warnings to a periodic event. | Nick Mathewson | |
Arguably, the conditions under which these events happen should be a bit different, but the rules are complex enough here that I've tried to have this commit be pure refactoring. Closes ticket 25952. Finally, before this code goes away, take a moment to look at the amazing way that we used to try to have an event happen every N seconds: get_uptime() / N != (get_uptime()+seconds_elapsed) / N Truly, it is a thing of wonder. I'm glad we didn't start using this pattern everywhere else. | |||
2018-05-01 | Add changes file for #25610 | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-05-01 | Move responsibility for voting into a separate periodic callback. | Nick Mathewson | |
Closes ticket25937. | |||
2018-05-01 | Merge remote-tracking branch 'ffmancera-1/bug20522' | Nick Mathewson | |
2018-05-01 | Remove responsibility for flushing log cbs from mainloop | Nick Mathewson | |
This is now handled as-needed as the control module is flushing its own callbacks. Closes ticket 25951. | |||
2018-05-01 | Merge remote-tracking branch 'neel/b23094' | Nick Mathewson | |
2018-05-01 | Merge branch 'bug24734_squashed' | Nick Mathewson | |
2018-05-01 | Remove the return value from the fascist_firewall_choose_address_* family of ↵ | Neel Chauhan | |
functions | |||
2018-04-30 | Merge branch 'ticket25948_squashed' | Nick Mathewson | |
2018-04-30 | Move responsibility for or_state_save() to a scheduled callback | Nick Mathewson | |
Closes ticket 25948. | |||
2018-04-30 | Merge remote-tracking branch 'github/ticket23354' | Nick Mathewson | |
2018-04-30 | Merge remote-tracking branch 'github/ticket19429_034' | Nick Mathewson | |
2018-04-28 | Make hsdir_index in node_t a hsdir_index_t rather than a pointer. | Neel Chauhan | |
2018-04-27 | Merge branch 'bug25843_v2_squashed' | Nick Mathewson | |
2018-04-27 | Introduce torrc option NumPrimaryGuards | George Kadianakis | |
2018-04-27 | Move responsibility for deferred SIGNEWNYM into a mainloop event | Nick Mathewson | |
Closes ticket 25949. | |||
2018-04-27 | main: Add mainloop callback event flags | David Goulet | |
Implement the ability to set flags per events which influences the set up of the event. This commit only adds one flag which is "need network" meaning that the event is not enabled if tor has disabled the network or if hibernation mode. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-26 | Merge branch 'ticket25931' | Nick Mathewson | |
2018-04-26 | Move close-and-cleanup functions to a postloop event. | Nick Mathewson | |
Implements ticket 25932. | |||
2018-04-26 | Move consdiffmgr_rescan() into a mainloop event. | Nick Mathewson | |
The change here was very simple, since there is a flag set whenever we want to schedule this event. Closes ticket 25391. m | |||
2018-04-26 | Remove the "cached gettimeofday" logic. | Nick Mathewson | |
Previously were using this value to have a cheap highish-resolution timer. But we were only using it in one place, and current dogma is to use monotime_coarse_t for this kind of thing. | |||
2018-04-26 | Rewrite time-handling in circuitmux_ewma to use monotime_coarse | Nick Mathewson | |
This part of the code was the only part that used "cached getttimeofday" feature, which wasn't monotonic, which we updated at slight expense, and which I'd rather not maintain. | |||
2018-04-24 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-04-24 | Merge branch 'travis_distcheck_033' into maint-0.3.3 | Nick Mathewson | |
2018-04-24 | Merge branch 'travis_distcheck_029' into maint-0.2.9 | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-04-24 | Merge remote-tracking branch 'dgoulet/bug25901_032_01' into maint-0.3.2 | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-04-24 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-04-24 | Merge remote-tracking branch 'public/bug23693_031_redux' into maint-0.3.1 | Nick Mathewson | |
2018-04-23 | hs: Fix memleak in v3 on SIGHUP | David Goulet | |
Fixes #25901 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-23 | Merge remote-tracking branch 'github/lazy_bucket_refill' | Nick Mathewson | |