aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
Commit message (Collapse)AuthorAge
* Create rephist.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
|
* Merge branch 'asprintf'Nick Mathewson2010-04-02
|\
| * Tweak users of snprintf to use asprintf where appropriateNick Mathewson2010-02-28
| |
* | 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
| | |
* | | Always weight routers by bandwidth.Mike Perry2010-02-22
| |/ |/| | | | | | | Also always predict that we need a high capacity circuit or internal circuit.
* | fix an impossible-to-actually-trigger overflow in descriptor generationRoger Dingledine2010-01-15
| |
* | Merge commit 'karsten/fix-bridge-stats-master-4'Nick Mathewson2009-12-18
|\ \
| * | Make changes to latest bridge-stats fixes as suggested by Nick.Karsten Loesing2009-12-17
| | |
* | | Remove v0 hidden service statistics code.Karsten Loesing2009-12-17
|/ / | | | | | | | | | | | | | | | | | | The HSAuthorityRecordStats option was used to track statistics of overall hidden service usage on the version 0 hidden service authorities. With the version 2 hidden service directories being deployed and version 0 descriptors being phased out, these statistics are not as useful anymore. Goodbye, you fine piece of software; my first major code contribution to Tor.
* | Merge commit 'karsten/fix-cell-stats'Nick Mathewson2009-12-16
|\ \ | | | | | | | | | | | | Conflicts: ChangeLog
| * | Minor fix to buffer stats.Karsten Loesing2009-12-03
| | | | | | | | | | | | | | | | | | | | | Do not segfault when writing buffer stats when we haven't observed a single circuit to report about. This is a minor bug that would only show up in testing environments with no traffic and with reduced stats intervals.
* | | *_free functions now accept NULLSebastian Hahn2009-12-12
|/ / | | | | | | | | | | | | | | Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary.
* | Fix a couple of smaller issues with gathering statistics.Karsten Loesing2009-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Avoid memmoving 0 bytes which might lead to compiler warnings. - Don't require relays to be entry node AND bridge at the same to time to record clients. - Fix a memory leak when writing dirreq-stats. - Don't say in the stats files that measurement intervals are twice as long as they really are. - Reduce minimum observation time for requests to 12 hours, or we might never record usage. - Clear exit stats correctly after writing them, or we accumulate old stats over time. - Reset interval start for buffer stats, too.
* | 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.
* | Move all *-stats file to subdirectory stats/.Karsten Loesing2009-08-19
| |
* | Write all statistics to disk exactly every 24 hours.Karsten Loesing2009-08-19
| |
* | Clean up proposal 166 and its implementation.Karsten Loesing2009-08-18
| |
* | Include contents of *-stats files in descriptor.Karsten Loesing2009-08-17
| |
* | Remove ./configure option for cell statistics.Karsten Loesing2009-08-17
| |
* | Remove ./configure option for exit port statistics.Karsten Loesing2009-08-14
| |
* | Make exit stats compile on 64-bit machines, too.Karsten Loesing2009-07-18
| |
* | Two tweaks to exit-port statistics.Karsten Loesing2009-07-13
| | | | | | | | | | | | | | Add two functions for round_to_next_multiple_of() for uint32_t and uint64_t. Avoid division in every step of the loop over all ports.
* | Replace two %d with %u's.Karsten Loesing2009-07-13
| |
* | Simplify the math to round up to the next multiple of some value.Karsten Loesing2009-07-11
| |
* | Tweak exit port statistics a bit.Karsten Loesing2009-07-09
| | | | | | | | | | | | | | | | | | Introduce a threshold of 0.01% of bytes that must be read and written per port in order to be included in the statistics. Otherwise we cannot include these statistics in extra-info documents, because they are too big. Change the labels "-written" and "-read" so that the meanings are as intended.
* | If configured, write cell statistics to disk periodically.Karsten Loesing2009-07-05
| |
* | If configured, write per-port exit statistics to disk periodically.Karsten Loesing2009-07-02
|/ | | | [Original patch series from Karsten, revised and squashed by Nick]
* the third piece of bug 969 fixingRoger Dingledine2009-06-30
| | | | | | | | | when we write out our stability info, detect relays that have slipped through the cracks. log about them and correct the problem. if we continue to see a lot of these over time, it means there's another spot where relays fall out of the routerlist without being marked as unreachable.
* Spell-check Tor.Nick Mathewson2009-05-27
|
* Update copyright to 2009.Karsten Loesing2009-05-04
|
* Use doxygen-style comments instead of C-style comments.Karsten Loesing2009-01-04
| | | | svn:r17893
* Document some variables used for generating statistics on usage of V0 hidden ↵Karsten Loesing2009-01-04
| | | | | | service directory authorities. svn:r17890
* 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
* Document the pk operation count fields in rephist.c, and move them into a ↵Nick Mathewson2008-12-26
| | | | | | struct for clarity, and change their type to what we actually want to cast them to. svn:r17784
* Add more missing documentation, and correct an error in container.c ↵Nick Mathewson2008-12-26
| | | | | | documentation: Don't introduce two parameters called n when you're calling an algorithm O(n). svn:r17783
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵Nick Mathewson2008-12-18
| | | | | | patch. svn:r17686
* Resolve many DOCDOCs.Nick Mathewson2008-12-17
| | | | svn:r17662
* Switch a should-benee-dless check for an assert.Nick Mathewson2008-09-30
| | | | svn:r17018
* a few more tweaksRoger Dingledine2008-09-30
| | | | svn:r17010
* Tweak the dbg-stability.txt code to log everything else that influences ↵Nick Mathewson2008-09-29
| | | | | | router stability calculations. svn:r17003
* Fix 0/0 calculation in get_weighted_fractional_uptime().Nick Mathewson2008-09-28
| | | | svn:r16994
* Put the start-of-downtime value in the start-of-downtime buffer so that we ↵Nick Mathewson2008-09-26
| | | | | | do not put junk in the dbg-stability.txt file svn:r16982
* Code to serve a current stability calculations from /tor/dbg-stability.txt. ↵Nick Mathewson2008-09-26
| | | | | | Untested: somebody please run this on an authority and let me know if it is broken. svn:r16981