aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Expand)AuthorAge
* when event_add or event_del fail, tell us why.•••(nick, do i have my libevent strerror dance moves correct?) svn:r5462 Roger Dingledine2005-11-26
* "How about 'never'? Does 'never' work for you?"•••Weasel says circuit_get_by_conn is his main timesink. Most of its users were just checking whether OR conns had circuits, so add a circuit count to OR conns, and check that. One was circuit_about_to_close_conn, which was doing an O(n^2) series of calls to get all circs on an OR conn, so make an O(n) function for that. Finally, circuit_get_by_edge_conn was using it as a sanity test that has been around for a while but never found any actualy insanity, so kill that. circuit_get_by_conn is finally dead, which is good, since it was never sane to begin with. svn:r5460 Nick Mathewson2005-11-26
* Dump bytes held to store descriptors.•••svn:r5443 Nick Mathewson2005-11-23
* Recover better from TCP connections to Tor servers that are broken but•••don't tell you (it happens!); and rotate TLS connections once a week. 1) If an OR conn becomes more than a week old, make it obsolete. 2) If it's obsolete and empty, kill it. 3) When an OR makes a second connection to you, allow it. 4) If we want to send a new create cell, but the best conn we've got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask for a new conn instead. 5) When we time out on circuit building on the first hop, make that connection obsolete. svn:r5429 Roger Dingledine2005-11-19
* 15*60 is 15 minutes, not 5•••svn:r5424 Peter Palfrader2005-11-18
* Remove ip address change flapping detection. It is not really needed and I d...•••svn:r5423 Peter Palfrader2005-11-18
* Make new logging stuff work on windows; fix a couple of windows typos.•••svn:r5375 Nick Mathewson2005-11-15
* shorten more of the startup log messages•••svn:r5368 Roger Dingledine2005-11-14
* prevent duplicat mark-for-close•••svn:r5347 Nick Mathewson2005-11-04
* enable code to remove members of old_routers when it gets big.•••svn:r5345 Nick Mathewson2005-11-01
* Do round-robin writes of at most 16 kB per write. This might•••be more fair on loaded Tor servers, and it might resolve our Windows crash bug. It might also slow things down. svn:r5332 Roger Dingledine2005-10-29
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Change more files to new loggin interface. 3 left.•••svn:r5310 Nick Mathewson2005-10-25
* fix some typos•••svn:r5283 Roger Dingledine2005-10-18
* Make a few INFO log lines into DEBUG•••svn:r5257 Peter Palfrader2005-10-17
* more log uncluttering•••svn:r5254 Roger Dingledine2005-10-17
* start the process of reducing clutter in server logs•••svn:r5253 Roger Dingledine2005-10-17
* cut out a warning that doesn't need to warn•••svn:r5252 Roger Dingledine2005-10-16
* Try to extract as many descriptors as possible from truncated http responses....•••svn:r5249 Nick Mathewson2005-10-14
* Check if our IP address has changed every 5 minutes. If it has, update our s...•••svn:r5246 Peter Palfrader2005-10-12
* Once an hour (not just on startup) give OpenSSL some more entropy.•••Add entropy in 512-bit chunks, not 160-bit chunks. (This latter change is voodoo.) svn:r5211 Nick Mathewson2005-10-06
* Rate-limit warnings related to unrecognized MyFamily elements.•••svn:r5204 Nick Mathewson2005-10-05
* call circuit_expire_all_dirty_circs() on do_hup().•••there, now we use it. svn:r5202 Roger Dingledine2005-10-05
* replace former relaunches of directory downloads with reset of failure count ...•••svn:r5195 Nick Mathewson2005-10-05
* size_t int printf mucking•••svn:r5194 Roger Dingledine2005-10-05
* Note the two places where clients will still try to fetch old-style (v1) dire...•••svn:r5193 Nick Mathewson2005-10-05
* reset warning flags on SIGHUP. arma: is this everything?•••svn:r5192 Nick Mathewson2005-10-05
* Fix verbose compiler warnings, including one in routerlist.c that would have ...•••svn:r5190 Nick Mathewson2005-10-05
* Give a less frequent and more helpful warning on failed serverdesc downloads•••svn:r5187 Nick Mathewson2005-10-05
* When we get an EOF or a timeout on a directory connection, note how many byte...•••svn:r5186 Nick Mathewson2005-10-04
* Reorganize some quick-and-dirty code to find out what openssl stuff is leakin...•••svn:r5178 Nick Mathewson2005-10-03
* free helper node status info on shutdown•••svn:r5177 Nick Mathewson2005-09-30
* Try to hunt down a few more leaks•••svn:r5172 Nick Mathewson2005-09-30
* Never call free() on tor_malloc()d memory. This is unlikely to be our current...•••svn:r5168 Nick Mathewson2005-09-30
* Reformat inconsistent function declarations.•••svn:r5160 Nick Mathewson2005-09-30
* better cleanups as i figure out what's going on•••svn:r5154 Roger Dingledine2005-09-29
* Decouple router downloads from old directory downloads entirely•••svn:r5128 Nick Mathewson2005-09-23
* Fix logic error (people who ask authorities should never split; others should...•••svn:r5127 Nick Mathewson2005-09-23
* Fix at least one overzealous download bug. (tor_malloc_zero new local_routers...•••svn:r5125 Nick Mathewson2005-09-23
* I love the smell of C in the morning. Make router-download rules smarter (do...•••svn:r5110 Nick Mathewson2005-09-22
* Refactor new directory code a bit. Keep a big list of rolled-up router statu...•••svn:r5089 Nick Mathewson2005-09-18
* Resolve/expand some XXXXs and improve a log message or two•••svn:r5082 Nick Mathewson2005-09-16
* make some functions static; clean dead networkstatus entries more often.•••svn:r5072 Nick Mathewson2005-09-15
* Stop downloading directories and download routers instead. This still needs ...•••svn:r5070 Nick Mathewson2005-09-15
* Fix a bunch of log messages. Deprecate some routerlist fields; remove others...•••svn:r5068 Nick Mathewson2005-09-14
* Big commit: clients start downloading and using network-statuses.•••Only caches need to get running-routers; nobody needs to parse, store, or use it. Same for the router-status line in the directories. Add many #if 0's that can get removed once I'm convinced they don't contain anything I'm forgetting. Start all newly-parsed routers as non-running and non-valid; update them from the list of network statuses. Update all routers when a new networkstatus comes in. After 3 tries for a networkstatus, clients give up until they're told to try again. "Let's get those missles ready to **DESTROY THE UNIVERSE**!" -TMBG svn:r5063 Nick Mathewson2005-09-14
* Add new config.c function to set options that can fail, and roll back if they...•••svn:r5046 Nick Mathewson2005-09-14
* Only caches download network-status for now, and they use a different strateg...•••svn:r4944 Nick Mathewson2005-09-08
* Download network-status at regular intervals. The code is probably iffy, and ...•••svn:r4921 Nick Mathewson2005-09-08
* More stuff for new directories.•••- Distinguish v1 authorities (all currently trusted directories) from v2 authorities (all trusted directories). - Add configuration option for which dirs are v1 authories. - Add configuration option for whether to be a v1 authority. - Make trusted dirserver selection functions take options to choose which functionality we need. - Remove option when getting directory cache to see whether they support running-routers; they all do now. Replace it with one to see whether caches support v2 stuff. - Parse, cache, and serve network-status objects properly. - Serve compressed groups of router descriptors. The compression logic here could be more memory-efficient. - svn:r4911 Nick Mathewson2005-09-07