aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
* r12122@Kushana: nickm | 2007-02-02 10:41:39 -0500Nick Mathewson2007-02-02
| | | | | | | Fail when we are unable to parse the nameserver configuration. svn:r9475
* r11607@catbus: nickm | 2007-01-30 17:19:27 -0500Nick Mathewson2007-01-30
| | | | | | | Audit non-const char arguments; make a lot more of them const. svn:r9466
* r11585@catbus: nickm | 2007-01-29 11:26:03 -0500Nick Mathewson2007-01-29
| | | | | | | Oops; fix compilation. svn:r9457
* r11583@catbus: nickm | 2007-01-29 11:19:48 -0500Nick Mathewson2007-01-29
| | | | | | | Make man page stop saying that BandwidthRate is for incoming bandwidth only; Add some XXX012s for config options that should maybe die. svn:r9455
* r11967@Kushana: nickm | 2007-01-15 16:13:15 -0500Nick Mathewson2007-01-15
| | | | | | | tidy up more whitespace issues svn:r9356
* patch from edmanm to make "-nt-service" command-line work tooRoger Dingledine2007-01-15
| | | | svn:r9349
* Update copyright in config.c while I'm there. Update man page toAndrew Lewman2007-01-13
| | | | | | | reflect all available options to tor binary. svn:r9341
* r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500Nick Mathewson2007-01-11
| | | | | | | Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants. svn:r9336
* Fix crash with "tor --list-fingerprint" (reported by seeess).Roger Dingledine2007-01-10
| | | | svn:r9328
* r11872@Kushana: nickm | 2007-01-06 02:14:12 -0500Nick Mathewson2007-01-06
| | | | | | | Implement a control status event for bad libevent version/method combos. Warn that libevent <1.1 with select() is needlessly slow. Reply to comment. svn:r9284
* r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500Nick Mathewson2007-01-06
| | | | | | | | | | | | | | | | | | | control-spec: upcase arguments in status events; note unimplemented events individually r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500 Implement EXTERNAL IP server status event. r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500 Implement BAD_SERVER_DESCRIPTOR server status event. r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500 Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events. r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500 Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages. r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500 Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED} r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500 Note some unimplementedness in control-spec.txt svn:r9279
* when we added orport= to the dirserver line, we startedRoger Dingledine2007-01-05
| | | | | | | | freeing the string in the middle. this was probably xiando's crash bug. svn:r9265
* Avoid a double-free when parsing malformed DirServer lines.Roger Dingledine2007-01-05
| | | | svn:r9264
* Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix segRoger Dingledine2007-01-04
| | | | | | | fault when starting a server without a fingerprint file present. svn:r9261
* man page entries for TunnelDirConns and PreferTunneledDirConnsRoger Dingledine2007-01-04
| | | | | | | and add a todo item for nick in case he gets bored :) svn:r9260
* more cleanups, including a shiny new XXX012Roger Dingledine2007-01-03
| | | | svn:r9250
* checkpoint as we add PreferTunneledDirConns config optionRoger Dingledine2007-01-03
| | | | svn:r9249
* - When the user uses bad syntax in the Log config line, stopRoger Dingledine2007-01-03
| | | | | | | suggesting other bad syntax as a replacement. svn:r9247
* r11749@Kushana: nickm | 2006-12-29 00:51:42 -0500Nick Mathewson2006-12-29
| | | | | | | Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames svn:r9211
* r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500Nick Mathewson2006-12-28
| | | | | | | Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests. svn:r9200
* r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500Nick Mathewson2006-12-28
| | | | | | | Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded. If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*. svn:r9199
* r11701@Kushana: nickm | 2006-12-24 01:24:39 -0500Nick Mathewson2006-12-24
| | | | | | | fix warning on win32. svn:r9184
* r11676@Kushana: nickm | 2006-12-23 20:42:17 -0500Nick Mathewson2006-12-24
| | | | | | | Add an orport option to dirserver lines so that clients can tell where to connect to open an encrypted tunnel to a dirserver even before they have its descriptor. svn:r9171
* r11658@Kushana: nickm | 2006-12-20 15:58:44 -0500Nick Mathewson2006-12-20
| | | | | | | Remove long-deprecated log and accounting options. svn:r9164
* r11657@Kushana: nickm | 2006-12-20 15:11:19 -0500Nick Mathewson2006-12-20
| | | | | | | Fixes to check-docs script; add some docs; mark some options as deprecated in the online docs. svn:r9163
* r11651@Kushana: nickm | 2006-12-20 12:05:04 -0500Nick Mathewson2006-12-20
| | | | | | | Add a maintainer script and a new make target "make check-docs" to get a quick dump of which options are undocumented where, and which documentation refers to nonexistent options. svn:r9160
* r11645@Kushana: nickm | 2006-12-19 14:22:36 -0500Nick Mathewson2006-12-19
| | | | | | | Reject hostnames with invalid characters, in an attempt to catch more errors earlier. Add an option to disable this behavior. svn:r9156
* r11598@Kushana: nickm | 2006-12-15 15:59:00 -0500Nick Mathewson2006-12-15
| | | | | | | Add internal documentation for a bunch of configuration options. We should do something to keep this list, the canonical list, the tor.1 list, and the torrc.complete list in sync. svn:r9133
* turn TunnelDirConns on by default.Roger Dingledine2006-12-15
| | | | | | | that's what alpha releases are for, right? svn:r9129
* r11588@Kushana: nickm | 2006-12-15 02:04:32 -0500Nick Mathewson2006-12-15
| | | | | | | Add a LastRotatedOnionKey variable to the state file, so we can rotate onion keys a week after they change even if we never stay up for a whole week at a time. Should fix bug 368. svn:r9120
* r11580@Kushana: nickm | 2006-12-15 00:09:46 -0500Nick Mathewson2006-12-15
| | | | | | | Resolve bug 369: Check for integer underflow when printing "bytes left" accounting numbers. Also fix a copyright date that I noticed while reading the bug. Also make a buffer big enough that strings will not get truncated. All are backport candidates. svn:r9115
* clarify our use of local time vs GMTRoger Dingledine2006-12-14
| | | | svn:r9109
* Infrastructure to test BEGIN_DIR cells.Roger Dingledine2006-12-13
| | | | | | | | | | New socks command CONNECT_DIR. New config option TunnelDirConns that builds a circ ending at the directory server and delivers a BEGIN_DIR cell if it's running 0.1.2.2-alpha or later. We still need to make one-hop circs when appropriate, while making other conns avoid them. svn:r9098
* fix xiando's bug -- we were reporting stuff about hibernationRoger Dingledine2006-12-09
| | | | | | | even though it wasn't enabled. svn:r9055
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson2006-12-08
| | | | | | | Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
* r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500Nick Mathewson2006-12-07
| | | | | | | Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second. svn:r9047
* r11461@Kushana: nickm | 2006-12-07 13:16:45 -0500Nick Mathewson2006-12-07
| | | | | | | Change logging format of state file to only include non-default values. Adjust clients to never store bandwidth history in the state file. (Possible backport candidate.) svn:r9043
* r9313@totoro: nickm | 2006-11-13 20:07:41 -0500Nick Mathewson2006-11-14
| | | | | | | | | | | | | | | | | | | | | | | Try to compile with fewer warnings on irix64's MIPSpro compiler / environment, which apparently believes that: - off_t can be bigger than size_t. - only mean kids assign things they do not subsequently inspect. I don't try to fix the "error" that makes it say: cc-3970 cc: WARNING File = main.c, Line = 1277 conversion from pointer to same-sized integral type (potential portability problem) uintptr_t sig = (uintptr_t)arg; Because really, what can you do about a compiler that claims to be c99 but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x; is safe? svn:r8948
* r9309@totoro: nickm | 2006-11-13 19:05:41 -0500Nick Mathewson2006-11-14
| | | | | | | Whitespace fixes, and clean up code from last natd patch. svn:r8947
* r9308@totoro: nickm | 2006-11-13 18:41:23 -0500Nick Mathewson2006-11-14
| | | | | | | | | | Add support for (Free?)BSD's natd, which was an old way to let you have your firewall automatically redirect traffic. (Original patch from Zajcev Evgeny, updated for 0.1.2.x by tup.) svn:r8946
* give a nicer warning message when windows people try toRoger Dingledine2006-10-27
| | | | | | | configure syslog in their torrc svn:r8841
* good thing we didn't have to track this bug down the old-fashioned wayRoger Dingledine2006-10-23
| | | | svn:r8800
* r9318@Kushana: nickm | 2006-10-22 15:22:57 -0400Nick Mathewson2006-10-23
| | | | | | | Let directory authorities set the BadExit flag if they like. Also, refactor directory authority code so we can believe multiple things about a single router, and do fewer linear searches. svn:r8794
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400Nick Mathewson2006-10-19
| | | | | | | Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762
* r9061@totoro: nickm | 2006-10-17 11:18:28 -0400Nick Mathewson2006-10-17
| | | | | | | Oops. Libevent 1.2 exists. Add it to our enum, even though we dont care yet. svn:r8740
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson2006-10-17
| | | | | | | Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400Nick Mathewson2006-10-09
| | | | | | | The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
* more minor cleanupsRoger Dingledine2006-10-07
| | | | svn:r8630
* the other half of the is_local_IP patchRoger Dingledine2006-10-03
| | | | svn:r8581