aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
AgeCommit message (Collapse)Author
2007-09-06 r14940@catbus: nickm | 2007-09-06 13:22:26 -0400Nick Mathewson
Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed. svn:r11388
2007-09-06Fixed misspelling of "connection" caught by kate.Andrew Lewman
svn:r11382
2007-09-05 r14328@Kushana: nickm | 2007-09-04 20:17:34 -0400Nick Mathewson
There is no good reason to make hashedcontrolpassword and cookieauthentication mutually exclusive. So let's not. svn:r11377
2007-08-30 r14259@Kushana: nickm | 2007-08-30 02:33:55 -0400Nick Mathewson
Teach tor about more libevent versions. Be more clear that "Known bugs" means "it will crash or something." Most significantly, stop issuing dire warnings every time we run with kqueue on os x: it seems to have worked for a while now. svn:r11314
2007-08-29 r14826@catbus: nickm | 2007-08-29 13:19:55 -0400Nick Mathewson
Add a line to the state file for each guard to let us know which version added the guard. If the line is absent, assume the guard was added by whatever version of Tor last wrote the state file. Remove guards if the version that added them was using a bad guard selection algorithm. (Previously, we removed guards if the version that wrote the file was using a bad guard selection algorithm, even if the guards themselves were chosen by a good version.) svn:r11298
2007-08-27 r14231@Kushana: nickm | 2007-08-27 14:56:14 -0400Nick Mathewson
Most configuration options have the same names in or.h and in torrc. Make the macros reflect this, so that it is easier to fit them onto a line, and so that mismatched options stand out more svn:r11290
2007-08-27 r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400Nick Mathewson
Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address. This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort. Also clarify behavior in some comments. Backport candiate? svn:r11287
2007-08-25Set up Tonga as the default bridge directory authority.tor-0.2.0.6-alphaRoger Dingledine
svn:r11276
2007-08-25formatting cleanupsRoger Dingledine
svn:r11273
2007-08-25revert the recommended-guard-version thing. it did not do what weRoger Dingledine
want, which is to expire old guards *every* time somebody moves from an old version to the new one. also, refine which version numbers count as 'new enough'. svn:r11272
2007-08-24make the last patch do what i actually want. it was a bit trickyRoger Dingledine
since we want the default guardversion to be 0 (which is what it is if there's no guardversion line), yet when we're validating a freshly configed and defaulted state, we don't want to complain. svn:r11264
2007-08-24cleanups on r11258Roger Dingledine
svn:r11263
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-21Stop putting the authentication cookie in a file called "0"Roger Dingledine
in your working directory if you don't specify anything for the new CookieAuthFile option. Reported by Matt Edman. svn:r11237
2007-08-20 r14740@catbus: nickm | 2007-08-20 13:00:52 -0400Nick Mathewson
Only load MTBF data if we are running tor svn:r11226
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
2007-08-20 r14729@catbus: nickm | 2007-08-20 11:58:02 -0400Nick Mathewson
Trigger load and save of MTBF data. svn:r11219
2007-08-19backport candidate:Roger Dingledine
Refuse to start with certain directory authority keys, and encourage people using them to stop. svn:r11171
2007-08-16clean up the cookieauth stuffRoger Dingledine
svn:r11146
2007-08-16 r14606@catbus: nickm | 2007-08-16 13:45:01 -0400Nick Mathewson
Implement CookieAuthFile and CookieAuthFileGroupReadable. Backport candidate. svn:r11141
2007-08-15 r14032@Kushana: nickm | 2007-08-15 11:35:16 -0400Nick Mathewson
Add unit tests for median functions; enforce sensible ranges for intervals and delays. svn:r11121
2007-08-15backport candidate:Roger Dingledine
- If we require CookieAuthentication but we fail to write the cookie file, we would warn but not exit, and end up in a state where no controller could authenticate. Now we exit. - If we require CookieAuthentication, stop generating a new cookie every time we change any piece of our config. svn:r11117
2007-08-14 r14018@Kushana: nickm | 2007-08-14 15:39:35 -0400Nick Mathewson
Resolve XXXX020s in config.c svn:r11108
2007-08-14 r14017@Kushana: nickm | 2007-08-14 15:13:14 -0400Nick Mathewson
Enable more code for v3 voting timing information. Also, spec clarification. svn:r11107
2007-08-14 r14003@kushana: nickm | 2007-08-13 22:23:49 -0400Nick Mathewson
Resolve a pile of XXXXs in and around voting code svn:r11099
2007-08-13 r13989@Kushana: nickm | 2007-08-13 16:31:03 -0400Nick Mathewson
Actually store the v3 authority id digest of a trusteddirserver svn:r11091
2007-08-13 r14526@catbus: nickm | 2007-08-13 14:08:37 -0400Nick Mathewson
Make voting interval configurable. svn:r11083
2007-08-08 r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson
Include fewer redundant headers; use the compiler search paths better. svn:r11060
2007-08-02 r13919@Kushana: nickm | 2007-08-02 10:58:31 -0700Nick Mathewson
Warn about unsafe ControlPort configurations. svn:r11038
2007-07-30tweak commentRoger Dingledine
svn:r10998
2007-07-30writing instructions before you release means you can make sureRoger Dingledine
your instructions don't seg fault svn:r10984
2007-07-30start hunting bugs, first in a non-crashy mannerRoger Dingledine
svn:r10978
2007-07-19 r13834@catbus: nickm | 2007-07-19 15:40:42 -0400Nick Mathewson
Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881
2007-07-17free another string, and the buffer freelists, on exit.Roger Dingledine
svn:r10851
2007-07-16 r13774@catbus: nickm | 2007-07-16 12:23:28 -0400Nick Mathewson
Tweaks on constrained socket buffers patch from coderman: Add a changelog; rename some variables; fix some long lines and whitespace; make ConstrainedSockSize a memunit; pass setsockopt a void. svn:r10843
2007-07-16 r13773@catbus: nickm | 2007-07-16 11:58:25 -0400Nick Mathewson
Initial "constrained socket buffers" patch from coderman. needs tweaking. svn:r10842
2007-07-10 r13637@catbus: nickm | 2007-07-06 14:24:27 -0400Nick Mathewson
fix copy-paste error in config message src/or/config.c . Apply initial (but pared-down) version of launch-resolve-via-controller patch from Robert Hogan. svn:r10780
2007-06-17 r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson
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
2007-06-12More work towards making bridge users able to connect via bridges:Roger Dingledine
- 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
2007-06-10more building blocks towards being able to fetch bridge descriptorsRoger Dingledine
svn:r10548
2007-06-10discard the "bridge list" stubs that i hope i never need.Roger Dingledine
svn:r10547
2007-06-09Be clearer on the various roles for auth dir types.Roger Dingledine
Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545
2007-06-06 r13276@catbus: nickm | 2007-06-05 19:45:33 -0400Nick Mathewson
Remove another long-dead #if 0 I missed before svn:r10511
2007-06-05 r13266@catbus: nickm | 2007-06-05 16:38:08 -0400Nick Mathewson
Patch from peter palfrader: control interface via unix domain socket svn:r10504
2007-06-04Remove force flag from retry_all_listeners() and retry_listeners(). It ↵Peter Palfrader
always was 0. svn:r10486
2007-06-03 r13189@catbus: nickm | 2007-06-03 19:08:01 -0400Nick Mathewson
Oops. Only bind ports and start libevent if we are actually running Tor. svn:r10474
2007-06-03 r13186@catbus: nickm | 2007-06-03 19:00:20 -0400Nick Mathewson
Bind ports before setuid/setgid. svn:r10473
2007-06-02fix up a commentRoger Dingledine
svn:r10453
2007-06-02 r13143@catbus: nickm | 2007-06-01 16:43:40 -0400Nick Mathewson
Try to fix some mipspro compiler warnings. There will still be some left. svn:r10444
2007-05-31 r13103@catbus: nickm | 2007-05-31 14:40:18 -0400Nick Mathewson
Fix patch r10411; fix from robert hogan. svn:r10422