aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
AgeCommit message (Collapse)Author
2009-01-04Use doxygen-style comments instead of C-style comments.Karsten Loesing
svn:r17893
2009-01-04Document some variables used for generating statistics on usage of V0 hidden ↵Karsten Loesing
service directory authorities. svn:r17890
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
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
2008-12-26Document the pk operation count fields in rephist.c, and move them into a ↵Nick Mathewson
struct for clarity, and change their type to what we actually want to cast them to. svn:r17784
2008-12-26Add more missing documentation, and correct an error in container.c ↵Nick Mathewson
documentation: Don't introduce two parameters called n when you're calling an algorithm O(n). svn:r17783
2008-12-22Add DOCDOC entries for undocumented static and global variables.Nick Mathewson
svn:r17739
2008-12-18Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵Nick Mathewson
patch. svn:r17686
2008-12-17Resolve many DOCDOCs.Nick Mathewson
svn:r17662
2008-09-30Switch a should-benee-dless check for an assert.Nick Mathewson
svn:r17018
2008-09-30a few more tweaksRoger Dingledine
svn:r17010
2008-09-29Tweak the dbg-stability.txt code to log everything else that influences ↵Nick Mathewson
router stability calculations. svn:r17003
2008-09-28Fix 0/0 calculation in get_weighted_fractional_uptime().Nick Mathewson
svn:r16994
2008-09-26Put the start-of-downtime value in the start-of-downtime buffer so that we ↵Nick Mathewson
do not put junk in the dbg-stability.txt file svn:r16982
2008-09-26Code to serve a current stability calculations from /tor/dbg-stability.txt. ↵Nick Mathewson
Untested: somebody please run this on an authority and let me know if it is broken. svn:r16981
2008-09-25Whitespace fixes.Nick Mathewson
svn:r16967
2008-09-23More logging for mtbf/wfu calculations.Nick Mathewson
svn:r16941
2008-04-16minor fixes that have been accumulatingRoger Dingledine
svn:r14378
2008-04-16forward-port r14375 and try to make it less likely to happen againRoger Dingledine
svn:r14377
2008-02-21 r14371@tombo: nickm | 2008-02-21 16:13:18 -0500Nick Mathewson
Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662
2008-02-21 r18288@catbus: nickm | 2008-02-20 21:18:38 -0500Nick Mathewson
Recover from bad tracked-since value in mtbf history file. This may finally close bug 537. svn:r13636
2008-02-20pass bucket sizes num_read and num_written around as size_tsRoger Dingledine
rather than ints svn:r13610
2008-02-19resolve another edge case in staying dormantRoger Dingledine
svn:r13586
2008-02-19If we only ever used Tor for hidden service lookups or posts, weRoger Dingledine
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
2008-02-15 r14181@tombo: nickm | 2008-02-15 16:48:17 -0500Nick Mathewson
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
2008-02-15 r14170@tombo: nickm | 2008-02-15 11:50:38 -0500Nick Mathewson
Fix or downgrade a bunch of xxx020 items. svn:r13527
2008-02-12 r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson
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
2008-02-09doxygen and other cleanupsRoger Dingledine
svn:r13440
2008-02-08 r14063@tombo: nickm | 2008-02-08 15:48:32 -0500Nick Mathewson
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
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-02-06 r17951@catbus: nickm | 2008-02-06 14:34:13 -0500Nick Mathewson
Add more documentation; change the behavior of read_to_buf_tls to be more consistent. Note a longstanding problem with current read/write interfaces. svn:r13407
2008-02-06 r17933@catbus: nickm | 2008-02-05 19:54:28 -0500Nick Mathewson
Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs. svn:r13395
2007-12-19Make getinfo ns/purpose/bridge actually workRoger Dingledine
Also, dump our bridge router status entries to disk every 30 minutes. svn:r12871
2007-12-18Make bridge authorities test reachability of bridges.Roger Dingledine
Added two XXX020's that we need to think harder about. svn:r12859
2007-12-17 r15530@tombo: nickm | 2007-12-17 16:54:03 -0500Nick Mathewson
First wodge of geoip code so bridges can figure out which countries are blocking them. svn:r12845
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-11-29karsten's second refactoring patchRoger Dingledine
svn:r12607
2007-11-10bump to 0.2.0.10-alphator-0.2.0.10-alphaRoger Dingledine
svn:r12455
2007-11-08 r16582@catbus: nickm | 2007-11-08 13:14:16 -0500Nick Mathewson
Try to bulletproof the parse logic for router-stability. svn:r12441
2007-11-08 r16573@catbus: nickm | 2007-11-08 11:57:16 -0500Nick Mathewson
Mess with the formula for the Guard flag again. Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th. See spec for details. Also, log thresholds better. svn:r12440
2007-10-28 r16248@catbus: nickm | 2007-10-28 19:42:14 -0400Nick Mathewson
Do not count a server as having any WFU until we have known about it for 18 hours (weighted). svn:r12261
2007-10-17 r15877@catbus: nickm | 2007-10-17 12:54:56 -0400Nick Mathewson
Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff". svn:r12000
2007-10-10 r15630@catbus: nickm | 2007-10-10 13:39:44 -0400Nick Mathewson
Save weighted-fractional-uptime to disk as well as MTBF. Bump the version on rouer-stability: downgrading to versions earlier than this one will lose your WFU data. svn:r11835
2007-10-10 r15626@catbus: nickm | 2007-10-10 11:02:32 -0400Nick Mathewson
Resolve bug 516: Never report our bandwidth-history as over RelayBandwidthRate*NUM_SECS_BW_SUM_INTERVAL. svn:r11833
2007-10-04 r15530@catbus: nickm | 2007-10-04 12:16:27 -0400Nick Mathewson
Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761
2007-09-17 r14447@Kushana: nickm | 2007-09-17 13:31:50 -0400Nick Mathewson
Track weighted fractional uptime in addition to weighted mtbf: we want to use mtbf for stable, but fractional uptime for guard. svn:r11456
2007-08-30 r14859@catbus: nickm | 2007-08-30 17:10:15 -0400Nick Mathewson
0-pad minutes and seconds when displaying weighted mtbf in info logs. svn:r11324
2007-08-29 r14832@catbus: nickm | 2007-08-29 15:00:27 -0400Nick Mathewson
Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM. svn:r11301
2007-08-24patch from mike perry to a) stop overloading guards as much, andRoger Dingledine
b) raise the max-believable-bandwidth to 10MB/s. svn:r11258
2007-08-21 r14758@catbus: nickm | 2007-08-21 01:36:03 -0400Nick Mathewson
Finish implementing and documenting proposal 108: Authorities now use MTBF data to set their stability flags, once they have at least 4 days of data to use. svn:r11240
2007-08-20 r14733@catbus: nickm | 2007-08-20 12:32:44 -0400Nick Mathewson
Clean up MTBF storage code. Do not count times that we have been down toward the current run. Handle backward timewarps correctly. Store MTBF data on exit in addition to periodically. svn:r11225