aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* Add some asserts to get_{tlsclient|server}_identity_keyNick Mathewson2010-10-21
| | | | | | | | | We now require that: - Only actual servers should ever call get_server_identity_key - If you're being a client or bridge, the client and server keys should differ. - If you're being a public relay, the client and server keys should be the same.
* Rename get_client_identity_key to get_tlsclient_identity_keyNick Mathewson2010-10-21
|
* Maintain separate server and client identity keys when appropriate.Robert Ransom2010-10-04
| | | | Fixes a bug described in ticket #988.
* Maintain separate server and client TLS contexts.Robert Ransom2010-10-04
| | | | Fixes bug #988.
* Refactor tor_tls_context_new:Robert Ransom2010-10-04
| | | | | | | * Make tor_tls_context_new internal to tortls.c, and return the new tor_tls_context_t from it. * Add a public tor_tls_context_init wrapper function to replace it.
* Add public_server_mode function.Robert Ransom2010-10-04
|
* fix commentRoger Dingledine2010-10-01
|
* log when we guess our ip address, not just when we failRoger Dingledine2010-10-01
|
* changelog entry for bug1751Roger Dingledine2010-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.
* Create routerparse.hSebastian Hahn2010-07-27
|
* Create rephist.hSebastian Hahn2010-07-27
|
* Create relay.hSebastian Hahn2010-07-27
|
* Create policies.hSebastian Hahn2010-07-27
|
* Create main.hSebastian Hahn2010-07-27
|
* Create hibernate.hSebastian Hahn2010-07-27
|
* Create dns.hSebastian Hahn2010-07-27
|
* Create dirserv.hSebastian Hahn2010-07-27
|
* Create directory.hSebastian Hahn2010-07-27
|
* Create control.hSebastian Hahn2010-07-27
|
* Create connection.hSebastian Hahn2010-07-27
|
* Create config.hSebastian Hahn2010-07-27
|
* Create circuituse.hSebastian Hahn2010-07-27
|
* Create circuitlist.hSebastian Hahn2010-07-27
|
* Create routerlist.hSebastian Hahn2010-07-27
|
* Create router.hSebastian Hahn2010-07-27
|
* Create geoip.hSebastian Hahn2010-07-27
|
* finally get rid of "clique mode"Roger Dingledine2010-04-21
|
* Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| |
* | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\| | | | | | | | | | | Conflicts: ChangeLog src/or/routerparse.c
| * Properly handle non-terminated stringsSebastian Hahn2010-02-27
| | | | | | | | | | | | | | | | Treat strings returned from signed_descriptor_get_body_impl() as not NUL-terminated. Since the length of the strings is available, this is not a big problem. Discovered by rieo.
* | Fix a memory corruption bug while collecting bridge statsKarsten Loesing2010-01-26
| | | | | | | | | | | | | | | | | | | | We accidentally freed the internal buffer for bridge stats when we were writing the bridge stats file or honoring a control port request for said data. Change the interfaces for geoip_get_bridge_stats* to prevent these problems, and remove the offending free/add a tor_strdup. Fixes bug 1208.
* | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-01-23
|\|
| * Fix two rare leaks spotted by rieo.Nick Mathewson2010-01-23
| |
* | Remove duplicate words and a duplicate newline.Karsten Loesing2009-12-18
| |
* | Fix bridge statistics.Karsten Loesing2009-12-17
| | | | | | | | | | | | Fix statistics on client numbers by country as seen by bridges that were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour intervals instead of variable 12-to-48-hour intervals.
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
| |
* | Fix bug 1113.Karsten Loesing2009-10-27
| | | | | | | | Bridges do not use the default exit policy, but reject *:* by default.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-10-26
|\|
| * Fix two memory leaks found by Coverity (CIDs 417-418)Nick Mathewson2009-10-26
| | | | | | | | | | | | The first happens on an error case when a controller wants an impossible directory object. The second happens when we can't write our fingerprint file.
* | Make signature-generation code handle different key and digest lengths.Nick Mathewson2009-10-15
| |
* | fix two comment bugs for load_stats_file()Roger Dingledine2009-09-28
| |
* | Fix an issue with including stats in extra-info descriptors.Karsten Loesing2009-09-28
| |
* | Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | | | | | Big thanks to nickm and arma for helping me with this!
* | Merge branch 'maint-0.2.1'Roger Dingledine2009-08-31
|\|
| * Only send reachability status events on overall success/failureRoger Dingledine2009-08-31
| | | | | | | | | | | | | | | | | | We were telling the controller about CHECKING_REACHABILITY and REACHABILITY_FAILED status events whenever we launch a testing circuit or notice that one has failed. Instead, only tell the controller when we want to inform the user of overall success or overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported by SwissTorExit.
* | Merge commit 'karsten/proposal-166-impl-master'Nick Mathewson2009-08-26
|\ \
| * | Add some fixes after discussion with Nick.Karsten Loesing2009-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refactor geoip.c by moving duplicate code into rotate_request_period(). - Don't leak memory when cleaning up cell queues. - Make sure that exit_(streams|bytes_(read|written)) are initialized in all places accessing these arrays. - Read only the last block from *stats files and ensure that its timestamp is not more than 25 hours in the past and not more than 1 hour in the future. - Stop truncating the last character when reading *stats files. The only thing that's left now is to avoid reading whole *stats files into memory.