aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Collapse)AuthorAge
* new config option FetchDirInfoEarly for tup/ioerror and the tordnselRoger Dingledine2007-12-21
| | | | svn:r12896
* make r12871 do what i meantRoger Dingledine2007-12-20
| | | | svn:r12886
* Make getinfo ns/purpose/bridge actually workRoger Dingledine2007-12-19
| | | | | | | Also, dump our bridge router status entries to disk every 30 minutes. svn:r12871
* r17246@catbus: nickm | 2007-12-18 18:45:17 -0500Nick Mathewson2007-12-18
| | | | | | | Fix some xxx020 items. svn:r12864
* Make bridge authorities test reachability of bridges.Roger Dingledine2007-12-18
| | | | | | | Added two XXX020's that we need to think harder about. svn:r12859
* r15530@tombo: nickm | 2007-12-17 16:54:03 -0500Nick Mathewson2007-12-17
| | | | | | | First wodge of geoip code so bridges can figure out which countries are blocking them. svn:r12845
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* Stop being so aggressive about fetching dir info if your DirPort isRoger Dingledine2007-12-04
| | | | | | | | | | | | | | on but your ORPort is off. Add a new config option BridgeRelay that specifies you want to be a bridge relay. Right now the only difference is that it makes you answer begin_dir requests, and it makes you cache dir info, even if your DirPort isn't on. Refactor directory_caches_dir_info() into some more functions. svn:r12668
* backport candidate:Roger Dingledine2007-12-01
| | | | | | | | Start purging old entries from the "rephist" database, and the hidden service descriptor databases, even when DirPort is zero. svn:r12628
* download the (admittedly tiny) v1 dir blobs even less often.Roger Dingledine2007-12-01
| | | | | | | we can't make them totally obsolete yet but we can get closer. svn:r12626
* start to refactor dirserver_mode()Roger Dingledine2007-12-01
| | | | svn:r12621
* Only update guard status (usable / not usable) once we haveRoger Dingledine2007-11-26
| | | | | | | | | | enough directory information. This was causing us to always pick two new guards on startup (bugfix on 0.2.0.9-alpha), and it was causing us to discard all our guards on startup if we hadn't been running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448. svn:r12570
* r16582@catbus: nickm | 2007-11-08 13:14:16 -0500Nick Mathewson2007-11-08
| | | | | | | Try to bulletproof the parse logic for router-stability. svn:r12441
* r16570@catbus: nickm | 2007-11-08 11:04:20 -0500Nick Mathewson2007-11-08
| | | | | | | Keep track, for each OR connection, of the last time we added a non-padding cell to its outbuf. Use this timestamp, not "lastwritten" to tell if it is time to close a circuitless connection. (We can'tuse lastwritten, since lastwritten is updated when ever the connection flushes anything, and by that point we can no longer tell what is a padding cell and what is not.) svn:r12437
* r14631@tombo: nickm | 2007-11-02 00:18:17 -0400Nick Mathewson2007-11-02
| | | | | | | Better log messages for "not enough to build a circuit" message. svn:r12324
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson2007-11-02
| | | | | | | More tweaks from karsten, with some cleanup and commentary. svn:r12319
* r16322@catbus: nickm | 2007-11-01 00:26:15 -0400Nick Mathewson2007-11-01
| | | | | | | Implement --quiet. svn:r12306
* r16194@catbus: nickm | 2007-10-26 18:37:02 -0400Nick Mathewson2007-10-26
| | | | | | | Keep circuitless TLS connections open for 1.5 x MaxCircuitDirtiness: this ensures that we don't thrash closing and repoening connections to our guards. svn:r12218
* Don't complain that "your server has not managed to confirm that itsRoger Dingledine2007-10-23
| | | | | | | | ports are reachable" if we haven't been able to build any circuits yet. Bug found by spending four hours without a v3 consensus. svn:r12133
* r15934@catbus: nickm | 2007-10-18 15:32:56 -0400Nick Mathewson2007-10-18
| | | | | | | When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly. svn:r12033
* r15915@catbus: nickm | 2007-10-18 10:26:44 -0400Nick Mathewson2007-10-18
| | | | | | | Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority. svn:r12022
* r15887@catbus: nickm | 2007-10-17 17:25:32 -0400Nick Mathewson2007-10-17
| | | | | | | When a networkstatus consensus download fails, do not wait 60 seconds to decide whether to retry. (Also, log the time at which we'll try to replace the current networkstatus.) svn:r12005
* r15868@catbus: nickm | 2007-10-16 14:18:29 -0400Nick Mathewson2007-10-16
| | | | | | | Remove nearly all calls to routerlist_remove_old(). Backport candidate. svn:r11994
* r15806@catbus: nickm | 2007-10-15 19:14:57 -0400Nick Mathewson2007-10-15
| | | | | | | Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list. svn:r11957
* Stop publishing a new server descriptor just because we HUP orRoger Dingledine2007-10-13
| | | | | | | | | when we find our DirPort to be reachable but won't actually publish it. Extra descriptors without any real changes are dropped by the authorities, and can screw up our "publish every 18 hours" schedule. svn:r11915
* r15679@catbus: nickm | 2007-10-11 09:51:33 -0400Nick Mathewson2007-10-11
| | | | | | | Remove code to generate v1 directories. svn:r11866
* r15598@catbus: nickm | 2007-10-09 16:37:35 -0400Nick Mathewson2007-10-09
| | | | | | | Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817
* r14802@Kushana: nickm | 2007-10-08 17:21:30 -0400Nick Mathewson2007-10-08
| | | | | | | Refactor out about a third of routerlist.c into a new networkstatus.c. I\m not sure that I got everything that needed to move, but so far so good. svn:r11791
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400Nick Mathewson2007-10-04
| | | | | | | 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
* r15046@catbus: nickm | 2007-09-11 13:38:36 -0400Nick Mathewson2007-09-11
| | | | | | | Check V3 authority certificates for expiry, and warn the authority op as they get old. svn:r11427
* Fix compilation of ntmain.c.Nick Mathewson2007-09-06
| | | | svn:r11395
* r14940@catbus: nickm | 2007-09-06 13:22:26 -0400Nick Mathewson2007-09-06
| | | | | | | Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed. svn:r11388
* r14733@catbus: nickm | 2007-08-20 12:32:44 -0400Nick Mathewson2007-08-20
| | | | | | | 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
* r14729@catbus: nickm | 2007-08-20 11:58:02 -0400Nick Mathewson2007-08-20
| | | | | | | Trigger load and save of MTBF data. svn:r11219
* help nick work on proposal 108Roger Dingledine2007-08-17
| | | | svn:r11148
* r14612@catbus: nickm | 2007-08-16 15:23:35 -0400Nick Mathewson2007-08-16
| | | | | | | Initial work on proposal 108: have rephist.c track the information we want to be tracking for OR stability. svn:r11147
* r14531@catbus: nickm | 2007-08-13 14:46:25 -0400Nick Mathewson2007-08-13
| | | | | | | Cache v3 networkstatus consensuses on disk. svn:r11086
* r14024@catbus: nickm | 2007-07-30 14:13:58 -0400Nick Mathewson2007-07-30
| | | | | | | Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage(). svn:r10996
* r14001@catbus: nickm | 2007-07-29 21:31:53 -0400Nick Mathewson2007-07-30
| | | | | | | Try to call time(NULL) a little less. svn:r10980
* r13989@catbus: nickm | 2007-07-29 19:11:07 -0400Nick Mathewson2007-07-29
| | | | | | | More directory voting code. Now, if everything works, and I haven't forgotten anything, it is possible to set up some v3 authorities and start voting. Of course, I have probably forgotten something, and there are probably bugs in there somewhere too. svn:r10976
* When running with dmalloc, dump more stats on hup and exit.Roger Dingledine2007-07-29
| | | | svn:r10961
* r13939@catbus: nickm | 2007-07-27 14:33:22 -0400Nick Mathewson2007-07-27
| | | | | | | When dumping memory usage, list bytes used in buffer memory free-lists. svn:r10947
* r13937@catbus: nickm | 2007-07-27 12:43:36 -0400Nick Mathewson2007-07-27
| | | | | | | Maintain a detached-signatures document along with pending consensus document. Add a dirvote_free_all() to clean up static vars in dirvote.c svn:r10945
* r13901@catbus: nickm | 2007-07-25 16:23:51 -0400Nick Mathewson2007-07-25
| | | | | | | Make all code to generate v1 directories into conditional code. svn:r10926
* r13875@catbus: nickm | 2007-07-22 18:56:30 -0400Nick Mathewson2007-07-22
| | | | | | | Once more with feeling. svn:r10907
* r13872@catbus: nickm | 2007-07-22 18:51:02 -0400Nick Mathewson2007-07-22
| | | | | | | esc_router_info static field should not be cleared postfork, to avoid races. svn:r10906
* r13858@catbus: nickm | 2007-07-22 18:44:02 -0400Nick Mathewson2007-07-22
| | | | | | | Fix/note some relatively trivial mem usage issues svn:r10905
* dump dmalloc stats on sighupRoger Dingledine2007-07-22
| | | | svn:r10903
* free a small static string on exit.Roger Dingledine2007-07-22
| | | | svn:r10902
* handle fetching bridge descriptors from the bridge authority too.Roger Dingledine2007-07-22
| | | | svn:r10898