aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* r11773@catbus: nickm | 2007-02-12 15:18:48 -0500Nick Mathewson2007-02-12
| | | | | | | Implement proposal 106: stop requiring clients to have certificates, and stop checking for nicknames in certificates. [See proposal 106 for rationale.] Also improve messages when checking TLS handshake, to re-resolve bug 382. svn:r9568
* be even pickier about our socks command. this resolves a warningRoger Dingledine2007-02-12
| | | | | | | | we get when we hang up on an unhandshaked socks connection. i'm still seeing these from polipo. darn it. svn:r9565
* remove the socks-wait verbose logging. juliusz found and fixed theRoger Dingledine2007-02-11
| | | | | | | polipo bug. svn:r9553
* more useful log messages when we give up on a streamRoger Dingledine2007-02-11
| | | | svn:r9552
* r12213@Kushana: nickm | 2007-02-10 16:25:39 -0500Nick Mathewson2007-02-10
| | | | | | | Refactor setconf implementation to be a little slower, but far less error prone. svn:r9549
* r12212@Kushana: nickm | 2007-02-10 16:09:38 -0500Nick Mathewson2007-02-10
| | | | | | | Remove XXXX012 for apparently resolved bug svn:r9548
* Stop crashing when the controller asks us to resetconf more thanRoger Dingledine2007-02-10
| | | | | | | | one config option at once. (Vidalia 0.0.11 does this.) Backport candidate. svn:r9545
* If we start a server with ClientOnly 1, then set ClientOnly to 0 Roger Dingledine2007-02-09
| | | | | | | and hup, stop triggering an assert based on an empty onion_key. svn:r9540
* r11732@catbus: nickm | 2007-02-08 18:12:54 -0500Nick Mathewson2007-02-08
| | | | | | | Fix an "uninitialized variable" warning. svn:r9536
* r11727@catbus: nickm | 2007-02-08 17:07:50 -0500Nick Mathewson2007-02-08
| | | | | | | Explain that update_router_desciptor_downloads happens every 10 seconds in main.c, and we don't need to call it from directory.c svn:r9534
* r11726@catbus: nickm | 2007-02-08 16:04:53 -0500Nick Mathewson2007-02-08
| | | | | | | | | | | | | | | | Resolve some XXXX012 items: - Remove PathlenCoinWeight: if we want it again, we can add it back in. - Ditto with RelayBandwidth*. - Decide to leave in the "hey, you didn't set end_reason!" BUG log message, but stop telling people to bug me personally. - Postpone strengthening assert_connection_ok(): it's important, but it's also a good way to introduce weird bugs. - Move some expensive consistency checking from dns_free_all() into assert_cache_ok(). svn:r9533
* add a comment so i stop worryingRoger Dingledine2007-02-08
| | | | svn:r9532
* r11717@catbus: nickm | 2007-02-08 14:44:30 -0500Nick Mathewson2007-02-08
| | | | | | | Clear up some XXX012s in routerlist.c: make smartlist_choose_by_bandwidth handle statuses with no corresponding routers much better. svn:r9531
* r11716@catbus: nickm | 2007-02-08 14:19:24 -0500Nick Mathewson2007-02-08
| | | | | | | Warn when we get a v0 control connection. svn:r9530
* r11715@catbus: nickm | 2007-02-08 14:07:03 -0500Nick Mathewson2007-02-08
| | | | | | | Oops; the change in tor_version_is_obsolete broke a unit test. svn:r9529
* r11702@catbus: nickm | 2007-02-08 02:10:19 -0500Nick Mathewson2007-02-08
| | | | | | | Wow. Remember when I wrote that script to tell me about macros that were never used? Good times. svn:r9525
* r11700@catbus: nickm | 2007-02-08 02:03:50 -0500Nick Mathewson2007-02-08
| | | | | | | Fix several bugs in computing recommended versions. 1) refactor is-this-version-good handling and which-vesions-are-good handling to be in the same place. 2) a version is recommended if more than half of the versioning authorities like it, not >= half. 3) "NEW_IN_SERIES" should mean, "I don't know of an 0.1.1.x this recent, and there are some 0.1.2.x versions out", not "I don't know of an 0.1.1.x this recent, but I know some older ones." This should resolve bug 383. svn:r9523
* r11694@catbus: nickm | 2007-02-07 13:25:01 -0500Nick Mathewson2007-02-07
| | | | | | | Fix patch for 9510: never call control_event_stream_status on an exit connection. Should fix assert() noticed by xiando. svn:r9514
* r11686@catbus: nickm | 2007-02-07 01:50:14 -0500Nick Mathewson2007-02-07
| | | | | | | Set hibernate_end_time whenever we start hibernating. This fixes a problem where we would start hibernating upon startup (since it isn't time to wake up yet) but we would wind up setting the "stop hibernating" time not to the wakeup time, but to the end of the interval. Also, split hibernate_end_time from shutdown_time. Possible fix for bug 362. svn:r9512
* r11673@catbus: nickm | 2007-02-06 14:40:07 -0500Nick Mathewson2007-02-07
| | | | | | | Report stream end events where a resolve succeeded or where we got a socks protocol error correctly, rather than calling both of them "INTERNAL". Turn ALREADY_SOCKS_REPLIED into a flag rather than a reason. This will help debug 367 part 2 a little. svn:r9511
* r11672@catbus: nickm | 2007-02-06 14:16:56 -0500Nick Mathewson2007-02-07
| | | | | | | Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events. svn:r9510
* r11684@catbus: nickm | 2007-02-07 00:46:37 -0500Nick Mathewson2007-02-07
| | | | | | | Bump version to 0.1.2.7-alpha-dev svn:r9509
* bump to 0.1.2.7-alphaRoger Dingledine2007-02-07
| | | | svn:r9507
* r11676@catbus: nickm | 2007-02-07 00:10:00 -0500Nick Mathewson2007-02-07
| | | | | | | (Hopefully) final changes for 0.1.2.7-alpha: disable checking for whether the user account in question exists on --service install, since that seems to make windows go boom. We can figure out why later. Also, let the admin specify a password for the target user. svn:r9506
* Only rewrite a conn's address based on X-Forwarded-For: headersRoger Dingledine2007-02-07
| | | | | | | | if it's a parseable public IP address; and stop adding extra quotes to the resulting address. svn:r9505
* make a log message make more senseRoger Dingledine2007-02-07
| | | | svn:r9504
* r11674@catbus: nickm | 2007-02-06 17:00:22 -0500Nick Mathewson2007-02-06
| | | | | | | Remove a now-bogus assert() from nt_service_command_line(), and change option handling. (Now that we no longer force a -f, it is possible to have no command-line options for Tor-as-service.) svn:r9503
* r11667@catbus: nickm | 2007-02-06 13:36:18 -0500Nick Mathewson2007-02-06
| | | | | | | The --service install code can no longer default to adding an -f option for the appdata directory of the current user, since the target user probably will not be able to read it. Instead, warn the user if no explicit torrc filename is given. svn:r9502
* r11666@catbus: nickm | 2007-02-06 13:17:24 -0500Nick Mathewson2007-02-06
| | | | | | | Implement an --ignore-missing-torrc option svn:r9501
* r11664@catbus: nickm | 2007-02-06 11:55:37 -0500Nick Mathewson2007-02-06
| | | | | | | | More win32 account flumdummery: when LocalService exists, you can't detect it via LookupAccountName. The only good test is to see whether we're on win2k or earlier. Apparently, somebody wouldn't know where to draw the line between implementation and interface if you gave them tracing paper and a copy of Stevens. svn:r9499
* stop crashing on nt service install; but matt says still not rightRoger Dingledine2007-02-06
| | | | svn:r9496
* more changes. i'm all caught up now.Roger Dingledine2007-02-06
| | | | svn:r9495
* cleanups based on looking through svn commitsRoger Dingledine2007-02-06
| | | | svn:r9491
* r11650@catbus: nickm | 2007-02-05 17:02:54 -0500Nick Mathewson2007-02-05
| | | | | | | Resolve (I hope) remaining nt service compilation issues. svn:r9489
* r11648@catbus: nickm | 2007-02-05 16:48:50 -0500Nick Mathewson2007-02-05
| | | | | | | Fix bugs in last nt services patch: syntax, typename. svn:r9488
* r11646@catbus: nickm | 2007-02-05 16:15:48 -0500Nick Mathewson2007-02-05
| | | | | | | Make default NT service user be LocalService. Again, I have no idea if this compiles, let alone if it works. svn:r9487
* r11643@catbus: nickm | 2007-02-05 15:44:59 -0500Nick Mathewson2007-02-05
| | | | | | | Fix bug 254, sort of: make the default NT service user NetworkService rather than NULL (system). Also, add a --user argument to --service install so that admins can override this default: this latter point should take care of most of my objections to NetworkService. I have no idea whether this even compiles. svn:r9486
* r11641@catbus: nickm | 2007-02-05 13:59:26 -0500Nick Mathewson2007-02-05
| | | | | | | Add a REMAP state to stream events so that controllers can learn exactly when the target address for a stream has changed. May help Vidalia resolve confusions related to bug 375. svn:r9484
* r11639@catbus: nickm | 2007-02-05 13:33:38 -0500Nick Mathewson2007-02-05
| | | | | | | Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500Nick Mathewson2007-02-05
| | | | | | | Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there. svn:r9482
* r12129@Kushana: nickm | 2007-02-03 09:57:36 -0500Nick Mathewson2007-02-03
| | | | | | | Update assert_connection_ok() to match the "block tunnelled dir conn if the or conn is full" logic. This may fix bug 385. svn:r9479
* r11631@catbus: nickm | 2007-02-02 15:39:53 -0500Nick Mathewson2007-02-02
| | | | | | | Add missing return statement. svn:r9478
* 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
* r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500Nick Mathewson2007-02-02
| | | | | | | Resolve remaining DOCDOC comments. svn:r9476
* 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
* r11624@catbus: nickm | 2007-02-01 13:17:35 -0500Nick Mathewson2007-02-01
| | | | | | | Note a few questionable bits pointed out by RATS. (And no, RATS, I'm not about to stop having fixed-sized local buffers for you. I know how to use them, thankyouverymuch.) svn:r9474
* r11621@catbus: nickm | 2007-02-01 13:09:18 -0500Nick Mathewson2007-02-01
| | | | | | | Fix another VC compiler warning. svn:r9473
* r11620@catbus: nickm | 2007-02-01 13:06:27 -0500Nick Mathewson2007-02-01
| | | | | | | Call stat() slightly less often; use fstat() when possible. svn:r9472
* r11613@catbus: nickm | 2007-01-30 19:58:03 -0500Nick Mathewson2007-01-31
| | | | | | | Re-enable server side PTR-record cacheing. svn:r9468
* r11610@catbus: nickm | 2007-01-30 17:44:02 -0500Nick Mathewson2007-01-30
| | | | | | | Fix a bug in our assertions related to removing recently-completed DNS lookup attempts on exit. It is okay to find a cache entry with the same name as a DONE entry, so long it is not the same struct as the DONE entry. svn:r9467