aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
Commit message (Expand)AuthorAge
* Make changes to latest bridge-stats fixes as suggested by Nick.Karsten Loesing2009-12-17
* Merge commit 'karsten/fix-cell-stats'•••Conflicts: ChangeLog Nick Mathewson2009-12-16
|\
| * Minor fix to buffer stats.•••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. Karsten Loesing2009-12-03
* | *_free functions now accept NULL•••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. Sebastian Hahn2009-12-12
|/
* Fix a couple of smaller issues with gathering statistics.•••- 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. Karsten Loesing2009-09-24
* Add some fixes after discussion with Nick.•••- 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. Karsten Loesing2009-08-21
* 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.•••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. Karsten Loesing2009-07-13
* 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.•••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. Karsten Loesing2009-07-09
* If configured, write cell statistics to disk periodically.Karsten Loesing2009-07-05
* If configured, write per-port exit statistics to disk periodically.•••[Original patch series from Karsten, revised and squashed by Nick] Karsten Loesing2009-07-02
* the third piece of bug 969 fixing•••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. Roger Dingledine2009-06-30
* Spell-check Tor.Nick Mathewson2009-05-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Use doxygen-style comments instead of C-style comments.•••svn:r17893 Karsten Loesing2009-01-04
* Document some variables used for generating statistics on usage of V0 hidden ...•••svn:r17890 Karsten Loesing2009-01-04
* Remove svn $Id$s from our source, and remove tor --version --version.•••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 Nick Mathewson2009-01-04
* Document the pk operation count fields in rephist.c, and move them into a str...•••svn:r17784 Nick Mathewson2008-12-26
* Add more missing documentation, and correct an error in container.c documenta...•••svn:r17783 Nick Mathewson2008-12-26
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Resolve many DOCDOCs.•••svn:r17662 Nick Mathewson2008-12-17
* Switch a should-benee-dless check for an assert.•••svn:r17018 Nick Mathewson2008-09-30
* a few more tweaks•••svn:r17010 Roger Dingledine2008-09-30
* Tweak the dbg-stability.txt code to log everything else that influences route...•••svn:r17003 Nick Mathewson2008-09-29
* Fix 0/0 calculation in get_weighted_fractional_uptime().•••svn:r16994 Nick Mathewson2008-09-28
* Put the start-of-downtime value in the start-of-downtime buffer so that we do...•••svn:r16982 Nick Mathewson2008-09-26
* Code to serve a current stability calculations from /tor/dbg-stability.txt. ...•••svn:r16981 Nick Mathewson2008-09-26
* Whitespace fixes.•••svn:r16967 Nick Mathewson2008-09-25
* More logging for mtbf/wfu calculations.•••svn:r16941 Nick Mathewson2008-09-23
* minor fixes that have been accumulating•••svn:r14378 Roger Dingledine2008-04-16
* forward-port r14375 and try to make it less likely to happen again•••svn:r14377 Roger Dingledine2008-04-16
* r14371@tombo: nickm | 2008-02-21 16:13:18 -0500••• Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662 Nick Mathewson2008-02-21
* r18288@catbus: nickm | 2008-02-20 21:18:38 -0500••• Recover from bad tracked-since value in mtbf history file. This may finally close bug 537. svn:r13636 Nick Mathewson2008-02-21
* pass bucket sizes num_read and num_written around as size_ts•••rather than ints svn:r13610 Roger Dingledine2008-02-20
* resolve another edge case in staying dormant•••svn:r13586 Roger Dingledine2008-02-19
* If we only ever used Tor for hidden service lookups or posts, we•••would stop building circuits and start refusing connections after 24 hours, since we false believed that Tor was dormant. Reported by nwf; bugfix on 0.1.2.x. svn:r13583 Roger Dingledine2008-02-19
* r14181@tombo: nickm | 2008-02-15 16:48:17 -0500••• Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs). svn:r13529 Nick Mathewson2008-02-15
* r14170@tombo: nickm | 2008-02-15 11:50:38 -0500••• Fix or downgrade a bunch of xxx020 items. svn:r13527 Nick Mathewson2008-02-15
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500••• Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484 Nick Mathewson2008-02-12
* doxygen and other cleanups•••svn:r13440 Roger Dingledine2008-02-09
* r14063@tombo: nickm | 2008-02-08 15:48:32 -0500••• Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections. svn:r13430 Nick Mathewson2008-02-08