aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
Commit message (Expand)AuthorAge
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Update more files to new log stuff.•••svn:r5286 Nick Mathewson2005-10-18
* Use digestmap_t instead of strmap_t where appropriate. Do less hex en/decoding•••svn:r5279 Nick Mathewson2005-10-18
* even better function start checks; give dmalloc a chance of working.•••svn:r5162 Nick Mathewson2005-09-30
* Reformat inconsistent function declarations.•••svn:r5160 Nick Mathewson2005-09-30
* Remove extraneous space on read-history lines.•••svn:r5123 Nick Mathewson2005-09-23
* make the numbers in read-history and write-history into uint64s,•••so they don't overflow and publish negatives in the descriptor. fixes bug 193. svn:r5119 Roger Dingledine2005-09-23
* predict required circuits better, with an eye toward making•••hidden services faster on the service end. svn:r4772 Roger Dingledine2005-08-13
* parameterize RephistTrackTime•••svn:r4673 Roger Dingledine2005-07-25
* add a trivial tor-counting variable•••svn:r4593 Roger Dingledine2005-07-18
* Remove code that has been #if-0ed for a long time.•••svn:r4435 Nick Mathewson2005-06-15
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* Instrument buffers.c and rephist.c memory usage•••svn:r4317 Nick Mathewson2005-06-06
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* free some more memory at shutdown•••svn:r3707 Roger Dingledine2005-02-28
* Free even more things on shutdown. Temporarily move tor_free_all out from #i...•••svn:r3614 Nick Mathewson2005-02-11
* Add more functions to free things to help dmalloc allong.•••svn:r3613 Nick Mathewson2005-02-10
* Introduce a notion of 'internal' circs, which are chosen without regard•••to the exit policy of the last hop. Intro and rendezvous circs must be internal circs, to avoid leaking information. Resolve and connect streams can use internal circs if they want. New circuit pooling algorithm: make sure to have enough circs around to satisfy any predicted ports, and also make sure to have 2 internal circs around if we've required internal circs lately (with high uptime if we've seen that lately). Split NewCircuitPeriod config option into NewCircuitPeriod (30 secs), which describes how often we retry making new circuits if current ones are dirty, and MaxCircuitDirtiness (10 mins), which describes how long we're willing to make use of an already-dirty circuit. Once rendezvous circuits are established, keep using the same circuit as long as you attach a new stream to it at least every 10 minutes. (So web browsing doesn't require you to build new rend circs every 30 seconds.) Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND circ as necessary, if there are any completed ones lying around when we try to launch one. Re-instate the ifdef's to use version-0 style introduce cells, since there was yet another bug in handling version-1 style. We'll try switching over again after 0.0.9 is obsolete. Bugfix: when choosing an exit node for a new non-internal circ, don't take into account whether it'll be useful for any pending x.onion addresses -- it won't. Bugfix: we weren't actually publishing the hidden service descriptor when it became dirty. So we only published it every 20 minutes or so, which means when you first start your Tor, the hidden service will seem broken. svn:r3360 Roger Dingledine2005-01-17
* I'm a bad person.•••Stop treating the uint16_t's as null-terminated strings, and stop looking at the byte after them to see if it's null, because sometimes you're not allowed to look there. svn:r3108 Roger Dingledine2004-12-07
* Renormalize whitespace•••svn:r3095 Nick Mathewson2004-12-07
* New circuit building strategy: keep a list of ports that we've used in ...•••that will handle each such port. (We can extend this to include addresses if exit policies shift to require that.) Seed us with port 80 so web browsers won't complain that Tor is "slow to start up". This was necessary because our old circuit building strategy just involved counting circuits, and as time went by we would build up a big pile of circuits that had peculiar exit policies (e.g. only exit to 9001-9100) which would take up space in the circuit pile but never get used. Fix router_compare_addr_to_addr_policy: it was not treating a port of * as always matching, so we were picking reject *:* nodes as exit nodes too. If you haven't used a clean circuit in an hour, throw it away, just to be on the safe side. This means after 6 hours a totally unused Tor client will have no circuits open. svn:r3078 Roger Dingledine2004-12-05
* bugfix: router_exit_policy_rejects_all() was broken, so we were•••sometimes picking middleman nodes as our last hop, which wasn't very useful. svn:r3075 Roger Dingledine2004-12-04
* Spell-check strings and comments•••svn:r3052 Nick Mathewson2004-12-01
* do even less inside our signal handler,•••just to be extra paranoidly safe svn:r3050 Roger Dingledine2004-12-01
* Suggestion from weasel: Make tor --version --version dump the cvs Id of every...•••svn:r3019 Nick Mathewson2004-11-29
* Normalize space: add one between every control keyword and control clause.•••svn:r3003 Nick Mathewson2004-11-28
* remove emacs droppings, since nick says he doesn't need them anymore•••svn:r2989 Roger Dingledine2004-11-26
* fail more gracefully next time•••svn:r2954 Roger Dingledine2004-11-23
* Dont keep rephist info for routers that havent had activity for 24 hours.•••svn:r2926 Nick Mathewson2004-11-21
* Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarif...•••svn:r2808 Nick Mathewson2004-11-12
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" t...•••svn:r2758 Nick Mathewson2004-11-09
* Resolve many XXXs and all DOCDOCs•••svn:r2755 Nick Mathewson2004-11-09
* Clean up copyrights.•••Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698 Roger Dingledine2004-11-07
* Fix in warning fix•••svn:r2617 Nick Mathewson2004-10-27
* Check return of tor_snprintf•••svn:r2616 Nick Mathewson2004-10-27
* Use strlcpy, not strcpy.•••svn:r2610 Nick Mathewson2004-10-27
* Use tor_snprintf, not snprintf•••svn:r2609 Nick Mathewson2004-10-27
* Avoid strcat; use snprintf or strlcat instead•••svn:r2605 Nick Mathewson2004-10-27
* Replace sprintf with snprintf•••svn:r2602 Nick Mathewson2004-10-27
* more int to size_t conversions, fixing one or more amd64 bugs•••plus a whitespace patch on config.c from vicman svn:r2482 Roger Dingledine2004-10-14
* Fix a potential buffer overflow found by Ilja van Sprundel.•••We don't think this is exploitable, but best to fix it anyway. svn:r2437 Roger Dingledine2004-10-11
* even better, only print extend attempts if there are any.•••svn:r2285 Roger Dingledine2004-08-18
* stop taking strlen of an uninitialized buffer•••we were (are?) printing garbage in the rephist stats svn:r2284 Roger Dingledine2004-08-18
* make last patch compile•••svn:r2255 Nick Mathewson2004-08-17
* Stop logging events that happen to uninitialized digests•••svn:r2254 Nick Mathewson2004-08-17
* Fix comment•••svn:r2207 Nick Mathewson2004-08-09
* Fix a fencepost error in the last bandwidth reporting fix•••svn:r2202 Nick Mathewson2004-08-08
* touch-ups•••svn:r2192 Roger Dingledine2004-08-07
* Handle loop initialization for bandwidth tracking properly•••svn:r2190 Nick Mathewson2004-08-07