aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Collapse)AuthorAge
* 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
* timeout and retry schedules for fetching bridge descriptorsRoger Dingledine2007-07-18
| | | | svn:r10867
* free another string, and the buffer freelists, on exit.Roger Dingledine2007-07-17
| | | | svn:r10851
* free some more memory on exitRoger Dingledine2007-07-16
| | | | svn:r10837
* r13666@catbus: nickm | 2007-07-10 13:10:00 -0400Nick Mathewson2007-07-10
| | | | | | | Get the RESOLVE controller code working. svn:r10781
* r13633@catbus: nickm | 2007-07-06 11:08:19 -0400Nick Mathewson2007-07-06
| | | | | | | Call tor_init_threads() from tor_init(). svn:r10751
* r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson2007-06-17
| | | | | | | Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645
* Refine r10571: more work on bridge stuff.Roger Dingledine2007-06-15
| | | | | | | | | | | | | - Only listen to responses for "authority" fetches if we're configured to use Bridges. Otherwise it's safe (and maybe smarter) to silently discard them like we used to. - React faster to download networkstatuses after the first bridge descriptor arrives. - Don't do dir fetches before we have any bridges, even when our dirport is open. svn:r10604
* r13406@catbus: nickm | 2007-06-13 17:05:30 -0400Nick Mathewson2007-06-13
| | | | | | | Oops; linked connections get read/write events too. svn:r10596
* r13401@catbus: nickm | 2007-06-13 15:50:16 -0400Nick Mathewson2007-06-13
| | | | | | | Add dnsport connection to the global connection list. (Bug found by mwenge.) svn:r10592
* More work towards making bridge users able to connect via bridges:Roger Dingledine2007-06-12
| | | | | | | | | | | | | | | | | | | | | - demand options->Bridges and options->TunnelDirConns if options->UseBridges is set. - after directory fetches, accept descriptors that aren't referenced by our networkstatuses, *if* they're for a configured bridge. - delay directory fetching until we have at least one bridge descriptor. - learn how to build a one-hop circuit when we have neither routerinfo nor routerstatus for our destination. - teach directory connections how to pick a bridge as the destination directory when doing non-anonymous fetches. - tolerate directory commands for which the dir_port is 0. - remember descriptors when the requested_resource was "authority", rather than just ignoring them. - put bridges on our entry_guards list once we have a descriptor for them. When UseBridges is set, only pick entry guards that are bridges. Else vice versa. svn:r10571
* Be clearer on the various roles for auth dir types.Roger Dingledine2007-06-09
| | | | | | | | Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545
* r13274@catbus: nickm | 2007-06-05 19:06:30 -0400Nick Mathewson2007-06-06
| | | | | | | Remove some deadcode that seems unlikely to return svn:r10509
* Remove force flag from retry_all_listeners() and retry_listeners(). It ↵Peter Palfrader2007-06-04
| | | | | | always was 0. svn:r10486
* r13053@catbus: nickm | 2007-05-29 13:35:33 -0400Nick Mathewson2007-05-29
| | | | | | | Move connection_should_read_from_linked_conn into main.c, which is the only file that uses it. svn:r10394
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson2007-05-29
| | | | | | | Resolve all but 3 DOCDOCs. svn:r10393
* r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson2007-05-24
| | | | | | | Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson2007-05-22
| | | | | | | Make connection_array into a smartlist. svn:r10292
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* point out two remote crash bugs, a memory leak, and a few otherRoger Dingledine2007-05-20
| | | | | | | items we should probably look into. svn:r10227
* r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400Nick Mathewson2007-05-18
| | | | | | | First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG). svn:r10209
* polish r9726-r9903Roger Dingledine2007-05-13
| | | | svn:r10182
* r12706@catbus: nickm | 2007-05-09 18:39:46 -0400Nick Mathewson2007-05-09
| | | | | | | Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business. svn:r10150
* r12704@catbus: nickm | 2007-05-09 17:43:34 -0400Nick Mathewson2007-05-09
| | | | | | | Periodically clean the freelist of buffer memory chunks. svn:r10149
* fix some code comments, a wrapper, and add a todo itemRoger Dingledine2007-05-04
| | | | svn:r10111
* whoops, i missed main.c in my r10092Roger Dingledine2007-05-02
| | | | svn:r10098