aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* Merge remote branch fix_security_bug_021 into fix_security_bug_022Nick Mathewson2010-12-15
|\ | | | | | | | | | | | | Conflicts: src/common/memarea.c src/or/or.h src/or/rendclient.c
| * Make payloads into uint8_t.Nick Mathewson2010-12-15
| | | | | | | | This will avoid some signed/unsigned assignment-related bugs.
| * Backport END_STREAM_REASON_NOROUTE for client use.Sebastian Hahn2010-08-18
| | | | | | | | (Partial backport of 150ed553dfce9, 161b275028e90, and 4c948ffd6.)
* | Break NoPublish supportSebastian Hahn2010-11-10
| |
* | Change Natd into NATD in our options.Sebastian Hahn2010-11-10
| | | | | | | | | | Breaking this out of the last commit because this might be more controversial.
* | Synx manpage and source wrt option capitalizationSebastian Hahn2010-11-10
| | | | | | | | | | | | We had a spelling discrepancy between the manpage and the source code for some option. Resolve these in favor of the manpage, because it makes more sense (for example, HTTP should be capitalized).
* | Comment out the (unused) RunTesting optionSebastian Hahn2010-11-10
| | | | | | | | | | | | The code that makes use of the RunTesting option is #if 0, so setting this option has no effect. Mark the option as obsolete for now, so that Tor doesn't list it as an available option erroneously.
* | Merge commit 'mikeperry/bug1772' into maint-0.2.2Roger Dingledine2010-09-30
|\ \
| * | Nominaly lower the minimum timeout value to 1500.Mike Perry2010-09-29
| | | | | | | | | | | | | | | This won't change any behavior, since it will still be rounded back up to 2seconds, but should reduce the chances of some extra warns.
* | | Merge branch 'bug1772' into maint-0.2.2Roger Dingledine2010-09-29
|\| |
| * | refactor and recomment; no actual changesRoger Dingledine2010-09-29
| | |
| * | Do away with the complexity of the network liveness detection.Mike Perry2010-09-29
| | | | | | | | | | | | | | | | | | We really should ignore any timeouts that have *no* network activity for their entire measured lifetime, now that we have the 95th percentile measurement changes. Usually this is up to a minute, even on fast connections.
* | | Merge commit 'mikeperry/bug1739' into maint-0.2.2Roger Dingledine2010-09-29
|\| |
| * | Send control port events for timeouts.Mike Perry2010-09-29
| | | | | | | | | | | | | | | We now differentiate between timeouts and cutoffs by the REASON string and the PURPOSE string.
* | | Merge commit 'mikeperry/bug1740' into maint-0.2.2Roger Dingledine2010-09-29
|\| |
| * | Only count timeout data for 3 hop circuits.Mike Perry2010-09-29
| | | | | | | | | | | | | | | Use 4/3 of this timeout value for 4 hop circuits, and use half of it for canabalized circuits.
* | | even more commentRoger Dingledine2010-09-28
| | |
* | | Merge branch 'bug1751_enabling' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ \ | |/ / |/| |
| * | Change bug1751 enabling code based on comments from armaNick Mathewson2010-09-27
| | |
| * | First cut of code to enable RefuseUnknownExitsNick Mathewson2010-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RefuseUnknownExits config option is now a tristate, with "1" meaning "enable it no matter what the consensus says", "0" meaning "disable it no matter what the consensus says", and "auto" meaning "do what the consensus says". If the consensus is silent, we enable RefuseUnknownExits. This patch also changes the dirserv logic so that refuseunknownexits won't make us cache unless we're an exit.
* | | Merge branch 'bug1789'Nick Mathewson2010-09-21
|\ \ \ | |/ / |/| |
| * | Base our expected bw accounting usage on time before soft limitNick Mathewson2010-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we were also considering the time spent in soft-hibernation. If this was a long time, we would wind up underestimating our bandwidth by a lot, and skewing our wakeup time towards the start of the accounting interval. This patch also makes us store a few more fields in the state file, including the time at which we entered soft hibernation. Fixes bug 1789. Bugfix on 0.0.9pre5.
* | | Merge branch 'bug911'Nick Mathewson2010-09-14
|\ \ \ | |/ / |/| |
| * | Move code for launching tests out of router_add_to_routerlist()Nick Mathewson2010-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | router_add_to_routerlist() is supposed to be a nice minimal function that only touches the routerlist structures, but it included a call to dirserv_single_reachability_test(). We have a function that gets called _after_ adding descriptors successfully: routerlist_descriptors_added. This patch moves the responsibility for testing there. Because the decision of whether to test or not depends on whether there was an old routerinfo for this router or not, we have to first detect whether we _will_ want to run the tests if the router is added. We make this the job of routers_update_status_from_consensus_networkstatus(). Finally, this patch makes the code notice if a router is going from hibernating to non-hibernating, and if so causes a reachability test to get launched.
* | | Fix a compile warning on OpenBSDSebastian Hahn2010-08-22
| | |
* | | Merge commit 'karsten/dirbytes2'Nick Mathewson2010-08-18
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/or/rephist.h
| * | | Count bytes we spend on answering directory requests.Karsten Loesing2010-08-18
| | | |
* | | | Merge commit 'sebastian/misc-reason'Nick Mathewson2010-08-15
|\ \ \ \ | |/ / / |/| | |
| * | | Introduce END_STREAM_REASON_NOROUTESebastian Hahn2010-08-03
| | |/ | |/|
* | | Allow enabling or disabling *Statistics while Tor is running.Karsten Loesing2010-08-05
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | With this patch we stop scheduling when we should write statistics using a single timestamp in run_scheduled_events(). Instead, we remember when a statistics interval starts separately for each statistic type in geoip.c and rephist.c. Every time run_scheduled_events() tries to write stats to disk, it learns when it should schedule the next such attempt. This patch also enables all statistics to be stopped and restarted at a later time. This patch comes with a few refactorings, some of which were not easily doable without the patch.
* | Move the header for bandwidth_weight_rule_to_string into reasons.hSebastian Hahn2010-07-27
| |
* | Don't include crypto, compat and util.h in or.hSebastian Hahn2010-07-27
| |
* | Create routerparse.hSebastian Hahn2010-07-27
| |
* | Create rephist.hSebastian Hahn2010-07-27
| |
* | Create rendmid.hSebastian Hahn2010-07-27
| |
* | Create relay.hSebastian Hahn2010-07-27
| |
* | Create reasons.hSebastian Hahn2010-07-27
| |
* | Create policies.hSebastian Hahn2010-07-27
| |
* | Create onion.hSebastian Hahn2010-07-27
| |
* | Create ntmain.hSebastian Hahn2010-07-27
| |
* | Create networkstatus.hSebastian Hahn2010-07-27
| |
* | Create microdesc.hSebastian Hahn2010-07-27
| |
* | Create main.hSebastian Hahn2010-07-27
| |
* | Create hibernate.hSebastian Hahn2010-07-27
| |
* | Create dns.hSebastian Hahn2010-07-27
| |
* | Create dirvote.hSebastian Hahn2010-07-27
| |
* | Create dirserv.hSebastian Hahn2010-07-27
| |
* | Create directory.hSebastian Hahn2010-07-27
| |
* | Create cpuworker.hSebastian Hahn2010-07-27
| |
* | Create control.hSebastian Hahn2010-07-27
| |