aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* 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.
| * | Some final (?) cleanups of proposal 166 implementation.Karsten Loesing2009-08-19
| | |
| * | Fix a couple of bugs that showed up at runtime.Karsten Loesing2009-08-19
| | |
| * | Don't write extra-info document to debug logs.Karsten Loesing2009-08-19
| | |
| * | Move all *-stats file to subdirectory stats/.Karsten Loesing2009-08-19
| | |
| * | Include only the last 24 hours of stats in extra-info documents.Karsten Loesing2009-08-19
| | |
| * | Clean up proposal 166 and its implementation.Karsten Loesing2009-08-18
| | |
| * | Fix trivial bug when uploading extra-info documents.Karsten Loesing2009-08-17
| | |
| * | Include contents of *-stats files in descriptor.Karsten Loesing2009-08-17
| | |
| * | Remove ./configure option for entry and dir request statistics.Karsten Loesing2009-08-17
| | |
* | | Add the first 8 bytes of the git commit digest to our versions.Nick Mathewson2009-08-21
|/ / | | | | | | | | | | | | Note that unlike subversion revision numbers, it isn't meaningful to compare these for anything but equality. We define a sort-order anyway, in case one of these accidentally slips into a recommended-versions list.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-08-12
|\|
| * Fix possible segmentation fault on directory authorities.Karsten Loesing2009-08-11
| | | | | | | | | | | | The more verbose logs that were added in ee58153 also include a string that might not have been initialized. This can lead to segfaults, e.g., when setting up private Tor networks. Initialize this string with NULL.
* | Merge branch 'maint-0.2.1' into masterRoger Dingledine2009-07-28
|\|
| * Changing MaxAdvertisedBW may not need a republishSebastian Hahn2009-07-27
| | | | | | | | | | | | | | Relays no longer publish a new server descriptor if they change their MaxAdvertisedBandwidth config option but it doesn't end up changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc; fixes bug 1026. Patch from Sebastian.
| * Write fingerprint to file and log without spacesRoger Dingledine2009-07-27
| | | | | | | | | | Now it will look like the fingerprints in our bridges documentation, and confuse fewer users.
* | Some tweaks to statistics.Karsten Loesing2009-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to directory request statistics: - Rename GEOIP statistics to DIRREQ statistics, because they now include more than only GeoIP-based statistics, whereas other statistics are GeoIP-dependent, too. - Rename output file from geoip-stats to dirreq-stats. - Add new config option DirReqStatistics that is required to measure directory request statistics. - Clean up ChangeLog. Also ensure that entry guards statistics have access to a local GeoIP database.
* | If configured, write entry-node statistics to disk periodically.Karsten Loesing2009-07-05
| |
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-07-02
|\| | | | | | | | | [Didn't take Karsten's full bug 1024 workaround, since 0.2.2 doesn't use v0 rend descs.]
| * another minor patch to add to 0.2.1.xRoger Dingledine2009-06-30
| | | | | | | | | | | | | | o Minor features: - If we're a relay and we change our IP address, be more verbose about the reason that made us change. Should help track down further bugs for relays on dynamic IP addresses.
* | Merge branch 'hardware_accel_improvements'Nick Mathewson2009-05-31
|\ \
| * | Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck2009-05-23
| | |
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\ \ \ | | |/ | |/|
| * | Spell-check Tor.Nick Mathewson2009-05-27
| |/
* / Change the way how directories that are configured with --enable-geoip-stats ↵Karsten Loesing2009-05-27
|/ | | | | | | | | write geoip stats to disk. - Write geoip stats to disk every 24 hours, not every hour. - Remove configuration options and define reasonable defaults. - Clear history of client requests every 24 hours (which wasn't done at all before).
* Fix a memory leak when v3 directory authorities load their keysRoger Dingledine2009-05-17
| | | | and cert from disk. Bugfix on 0.2.0.1-alpha.
* Update copyright to 2009.Karsten Loesing2009-05-04
|
* fix a commentRoger Dingledine2009-04-11
| | | | svn:r19262
* log more verbosely when we accept or decline a router descriptor,Roger Dingledine2009-04-01
| | | | | | | | to help track whether we received them when a relay operator claims they got sent. svn:r19213
* Add a function to get a LongName from a routerstatus. Needed for partial ↵Nick Mathewson2009-03-18
| | | | | | bug 941 fix. svn:r19077
* clean up r18287Roger Dingledine2009-01-28
| | | | svn:r18288
* patch from matt to implement 'getinfo status/clients-seen'Roger Dingledine2009-01-28
| | | | svn:r18287
* Make sure that even in the weird fiddly paths that lead to init_keys,Nick Mathewson2009-01-21
| | | | | | | | | | crypto_global_init gets called. Also have it be crypto_global_init that calls crypto_seed_rng, so we are not dependent on OpenSSL's RAND_poll in these fiddly cases. Should fix bug 907. Bugfix on 0.0.9pre6. Backport candidate. svn:r18210
* Bugfix on r13098. Backport candidate.Roger Dingledine2009-01-06
| | | | | | | | | | When we made bridge authorities stop serving bridge descriptors over unencrypted links, we also broke DirPort reachability testing for bridges. So bridges with a non-zero DirPort were printing spurious warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709. svn:r17945
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* New controller event "clients_seen" to report a geoip-based summaryRoger Dingledine2008-12-27
| | | | | | | | | of which countries we've seen clients from recently. Now controllers like Vidalia can show bridge operators that they're actually making a difference. svn:r17796
* Add some early checks to keep ipv6 addresses from failing by accident. Now, ↵Nick Mathewson2008-12-26
| | | | | | they fail on purpose, at least till 0.2.2.something. svn:r17791
* Document most undocumented variables.Nick Mathewson2008-12-23
| | | | svn:r17754
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734