aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
* fix a log message that was broken long ago and never noticedRoger Dingledine2007-02-24
| | | | svn:r9630
* make it stop crashing when i exercise the new entrynodes behavior inRoger Dingledine2007-02-24
| | | | | | | | r9574. this hack is getting pretty darn hackish; perhaps it's time to not use SMARTLIST_FOREACH in this situation. svn:r9629
* bugfix on r9568: we were throwing around an uninitializedRoger Dingledine2007-02-24
| | | | | | | | | | nickname array, and only treating a server as reachable if the array magically has the right nickname in it. this was causing the authorities to label only themselves as running, and clients were "mysteriously" failing. svn:r9628
* cosmetic, comment, and todo fixesRoger Dingledine2007-02-24
| | | | svn:r9627
* r11900@catbus: nickm | 2007-02-23 18:11:04 -0500Nick Mathewson2007-02-23
| | | | | | | Fix null-pointer access on update_router_descriptor_cache_downloads. svn:r9626
* r11898@catbus: nickm | 2007-02-23 16:55:43 -0500Nick Mathewson2007-02-23
| | | | | | | Two XXX012 comments turned out to be bogus; remove them and document why. svn:r9625
* r11895@catbus: nickm | 2007-02-23 15:12:58 -0500Nick Mathewson2007-02-23
| | | | | | | Make remap stream events have a souce; make them generated every time we get a successful connected or resolved cell. Also change reported stream target address to IP consistently when we get the IP from an exit node. svn:r9624
* r11885@catbus: nickm | 2007-02-23 13:34:24 -0500Nick Mathewson2007-02-23
| | | | | | | Fix an XXXX012: make entry guards _really_ get retried when the network comes back online. svn:r9622
* r11877@catbus: nickm | 2007-02-22 02:24:50 -0500Nick Mathewson2007-02-22
| | | | | | | Fix doc about when circuit_build_needed_circs() is called. Resolves another xxxx012. svn:r9617
* r11876@catbus: nickm | 2007-02-22 02:23:13 -0500Nick Mathewson2007-02-22
| | | | | | | Fix two XXXX012 issues in routerlist.c: a possible performance issue hasnt shown up on any profiles, so unflag it. Stop warning when we get a router descriptor that we asked for but no longer want: just drop it (if we are not a cache) or cache if (if we are). svn:r9616
* r11873@catbus: nickm | 2007-02-22 01:21:14 -0500Nick Mathewson2007-02-22
| | | | | | | twiddle signewnym rate-limiting patch so every signal gets handled eventually. document it in control-spec. add a changelog. svn:r9615
* r11872@catbus: nickm | 2007-02-22 01:08:46 -0500Nick Mathewson2007-02-22
| | | | | | | patch from mwenge: rate-limit newnym. svn:r9614
* r11859@catbus: nickm | 2007-02-21 00:53:27 -0500Nick Mathewson2007-02-21
| | | | | | | Fix use of predict. this should get refactored, but now now. svn:r9611
* r11858@catbus: nickm | 2007-02-21 00:27:44 -0500Nick Mathewson2007-02-21
| | | | | | | As a trivial optimization, remove a redundant call to router_have_minimum_dir_info. This might shave 2% on some systems by according to some profilers. svn:r9610
* r11844@catbus: nickm | 2007-02-17 16:53:42 -0500Nick Mathewson2007-02-17
| | | | | | | Note a problematic warning. svn:r9599
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson2007-02-16
| | | | | | | Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
* r11827@catbus: nickm | 2007-02-16 15:00:39 -0500Nick Mathewson2007-02-16
| | | | | | | Try to fix VC++ int conversion warning. svn:r9595
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson2007-02-16
| | | | | | | Resolve 56 DOCDOC comments. svn:r9594
* r11825@catbus: nickm | 2007-02-16 14:04:36 -0500Nick Mathewson2007-02-16
| | | | | | | Fix DOCDOC items in or.h; rename a couple of macros to be more sensible. svn:r9593
* r11824@catbus: nickm | 2007-02-16 13:16:47 -0500Nick Mathewson2007-02-16
| | | | | | | Move all struct-offset-manipulation macros into util.h, and use them consistently. Because there are days when "SUBTYPE_P(handle, subtype, _base)" is just easier to read and write than "(basetp*)(((handle) - STRUCT_OFFSET(subtype, _base))". svn:r9592
* r11822@catbus: nickm | 2007-02-16 12:49:20 -0500Nick Mathewson2007-02-16
| | | | | | | Tech config.c about libevent 1.3, and resolve all docdoc elements in config.c svn:r9591
* r11813@catbus: nickm | 2007-02-14 11:42:58 -0500Nick Mathewson2007-02-14
| | | | | | | Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec. svn:r9586
* r11812@catbus: nickm | 2007-02-14 11:22:08 -0500Nick Mathewson2007-02-14
| | | | | | | Apply stream_bw patch from Robert Hogan. svn:r9585
* r11797@catbus: nickm | 2007-02-13 16:17:40 -0500Nick Mathewson2007-02-13
| | | | | | | Fix a longstanding dnsworker-related bug: when we decide to kill a DNS worker for having been in use too long, and we independently decide to close one of the exit connections waiting for that DNS worker (perhaps because we got an END relay cell), it was possible for us to try to double-free the connection. We were smart enough to detect this and assert, but not smart enough to fix this bug before now. This should resolve bug 390. Backport candidate. svn:r9581
* r11787@catbus: nickm | 2007-02-12 21:01:34 -0500Nick Mathewson2007-02-13
| | | | | | | Always remove expired routers and networkstatus docs before checking whether we have enough information to build circuits. (Fixes bug 373.) svn:r9575
* r11785@catbus: nickm | 2007-02-12 20:27:48 -0500Nick Mathewson2007-02-13
| | | | | | | Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list. svn:r9574
* r11781@catbus: nickm | 2007-02-12 18:31:33 -0500Nick Mathewson2007-02-12
| | | | | | | Discard any v1 directory info that is so old as to be useless. (Fixes bug 387) svn:r9572
* r11779@catbus: nickm | 2007-02-12 16:52:29 -0500Nick Mathewson2007-02-12
| | | | | | | Do not try to load advapi32.dll except when the user asks us to do something with NT services. When we _do_ try, always treat failure to load service functions as an exit-worthy error. Needs testing. (Fixes bug 389) svn:r9571
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r11774@catbus: nickm | 2007-02-12 16:31:47 -0500Nick Mathewson2007-02-12
| | | | | | | Handle errors on opening cached-routers* more uniformly and sanely: log not-found errors at level INFO, and all other errors at level WARN. Needs testing on win32. svn:r9569
* 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