aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* cosmetic cleanupsRoger Dingledine2013-07-14
|
* Merge remote-tracking branch 'public/gsoc-ctoader-cap-phase1-squashed'Nick Mathewson2013-07-12
|\
| * Add a basic seccomp2 syscall filter on LinuxCristian Toader2013-07-11
| | | | | | | | | | It's controlled by the new Sandbox argument. Right now, it's rather coarse-grained, it's Linux-only, and it may break some features.
* | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-06-18
|\ \
| * \ Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-06-18
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/relay.c
| | * | Implement a real OOM-killer for too-long circuit queues.Nick Mathewson2013-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements "algorithm 1" from my discussion of bug #9072: on OOM, find the circuits with the longest queues, and kill them. It's also a fix for #9063 -- without the side-effects of bug #9072. The memory bounds aren't perfect here, and you need to be sure to allow some slack for the rest of Tor's usage. This isn't a perfect fix; the rest of the solutions I describe on codeable.
| | * | Increase the limit so leaky pipe might workNick Mathewson2013-06-14
| | | |
| | * | Don't queue more cells as a middle relay than the spec allows to be in flightAndrea Shepard2013-06-13
| | | |
| * | | Increase the limit so leaky pipe might workNick Mathewson2013-06-14
| | | |
| * | | Don't queue more cells as a middle relay than the spec allows to be in flightAndrea Shepard2013-06-13
| | | |
* | | | Merge branch 'circuit_queue_cap-0.2.5-squashed'Nick Mathewson2013-06-14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/relay.c
| * | | | Increase the limit so leaky pipe might workNick Mathewson2013-06-14
| | | | |
| * | | | Don't queue more cells as a middle relay than the spec allows to be in flightAndrea Shepard2013-06-13
| | |_|/ | |/| |
* | | | Merge remote-tracking branch 'linus/bug8532'Nick Mathewson2013-06-13
|\ \ \ \
| * | | | Add support for offsetting the voting interval in order to bootstrap faster.Linus Nordberg2013-06-08
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new option TestingV3AuthVotingStartOffset is added which offsets the starting time of the voting interval. This is possible only when TestingTorNetwork is set. This patch makes run_scheduled_events() check for new consensus downloads every second when TestingTorNetwork, instead of every minute. This should be fine, see #8532 for reasoning. This patch also brings MIN_VOTE_SECONDS and MIN_DIST_SECONDS down from 20 to 2 seconds, unconditionally. This makes sanity checking of misconfiguration slightly less sane. Addresses #8532.
* | | | Merge remote-tracking branch 'public/bug7912_squashed'Nick Mathewson2013-06-13
|\ \ \ \ | |/ / / |/| | |
| * | | Code to track on a circuit whether it has a "pending" delete cellNick Mathewson2013-06-13
| | | | | | | | | | | | | | | | This will be used in a fix for bug7912.
* | | | Merge remote-tracking branch 'karsten/task-6752-3'Nick Mathewson2013-05-28
|\ \ \ \
| * | | | Lower dir fetch retry schedules in testing networks.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also lower maximum interval without directory requests, and raise maximum download tries. Implements #6752.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-05-20
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | Copy-paste description of PathBias params from man page to or.h commentAndrea Shepard2013-05-20
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-18
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/common/crypto.c
| * | | Merge branch 'less_charbuf_rebased' into maint-0.2.4Nick Mathewson2013-04-18
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/dirserv.c src/or/dirserv.h src/test/test_dir.c
| | * | | Test improvement: include microdesc lines in our synthetic microdesc ↵Nick Mathewson2013-04-18
| | | | | | | | | | | | | | | | | | | | consensuses.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-14
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/dirserv.c
| * | | | Merge branch 'bug8683_rebased' into maint-0.2.4Nick Mathewson2013-04-14
| |\ \ \ \
| | * | | | Rename all fields which measure bw in kb to end with _kbNick Mathewson2013-04-14
| | | | | |
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-12
|\| | | | |
| * | | | | Merge remote-tracking branch 'public/bug5650_squashed' into maint-0.2.4Nick Mathewson2013-04-12
| |\ \ \ \ \ | | |/ / / / | |/| | | / | | | |_|/ | | |/| |
| | * | | Avoid busy-looping on WANTREAD within connection_handle_writeNick Mathewson2013-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 5650. Also, if we get a WANTREAD while reading while writing, make sure we're reading.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-11
|\| | | |
| * | | | Merge remote-tracking branch 'public/bug8117_023' into maint-0.2.4Nick Mathewson2013-04-11
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.c
| | * | | Per-SOCKSPort configuration for bug 8117 fix.Nick Mathewson2013-03-20
| | |/ / | | | | | | | | | | | | | | | | | | | | This might be necessary if the bug8117 fix confuses any applications. Also add a changes file.
* | | | Removed obsolete code related to cached-routersAkshay Hebbar Y S2013-04-01
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-03-20
|\| | |
| * | | Set default minimum bandwidth for exit flag to zero for TestingTorNetworkAndrea Shepard2013-03-20
| | | |
| * | | Let testing networks override ABSOLUTE_MIN_VALUE_FOR_FAST_FLAGNick Mathewson2013-03-20
| | | | | | | | | | | | | | | | | | | | This adds a new option to fix bug 8508 which broke chutney networks. The bug was introduced by 317d16de.
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-03-19
|\| | |
| * | | Merge branch 'bug8240_v2_squashed' into maint-0.2.4Nick Mathewson2013-03-19
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt src/or/circuitbuild.c src/or/config.c src/or/or.h
| | * | | Make the guard lifetime configurable and adjustable via the consensusNick Mathewson2013-03-19
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Fixes 8240. (Don't actually increase the default guard lifetime. It seems likely to break too many things if done precipitiously.)
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-03-19
|\| | |
| * | | Merge branch 'bug7582_v2' into maint-0.2.4Nick Mathewson2013-03-19
| |\ \ \
| | * | | On END_REASON_EXITPOLICY, mark circuit as unusable for that address.Nick Mathewson2013-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, don't call the exit node 'reject *' unless our decision to pick that node was based on a non-summarized version of that node's exit policy. rransom and arma came up with the ideas for this fix. Fix for 7582; the summary-related part is a bugfix on 0.2.3.2-alpha.
* | | | | Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed'Nick Mathewson2013-03-19
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | Conflicts: src/common/util.c src/or/entrynodes.h
| * | | | Send SOCKS arguments when doing SOCKS4.George Kadianakis2013-02-09
| | | | |
* | | | | Merge remote-tracking branch 'public/bug6174' into maint-0.2.4Nick Mathewson2013-03-18
|\ \ \ \ \
| * | | | | Stop frobbing timestamp_dirty as our sole means to mark circuits unusableNick Mathewson2013-02-19
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a number of places, we decrement timestamp_dirty by MaxCircuitDirtiness in order to mark a stream as "unusable for any new connections. This pattern sucks for a few reasons: * It is nonobvious. * It is error-prone: decrementing 0 can be a bad choice indeed. * It really wants to have a function. It can also introduce bugs if the system time jumps backwards, or if MaxCircuitDirtiness is increased. So in this patch, I add an unusable_for_new_conns flag to origin_circuit_t, make it get checked everywhere it should (I looked for things that tested timestamp_dirty), and add a new function to frob it. For now, the new function does still frob timestamp_dirty (after checking for underflow and whatnot), in case I missed any cases that should be checking unusable_for_new_conns. Fixes bug 6174. We first used this pattern in 516ef41ac1fd26f338c, which I think was in 0.0.2pre26 (but it could have been 0.0.2pre27).
* | | | | Merge remote-tracking branch 'public/bug8062' into maint-0.2.4Nick Mathewson2013-03-18
|\ \ \ \ \
| * | | | | Increase link_proto field to 2 bytesNick Mathewson2013-03-11
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should have been 2 bytes all along, since version numbers can be 16 bits long. This isn't a live bug, since the call to is_or_protocol_version_known in channel_tls_process_versions_cell will reject any version number not in the range 1..4. Still, let's fix this before we accidentally start supporting version 256. Reported pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha -- specifically, on commit 6fcda529, where during development I increased the width of a version to 16 bits without changing the type of link_proto.
* | | | | Merge remote-tracking branch 'andrea/bug8435' into maint-0.2.4Nick Mathewson2013-03-18
|\ \ \ \ \