aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-24 r11929@catbus: nickm | 2007-02-24 15:02:43 -0500Nick Mathewson
Split possibly long log line. svn:r9643
2007-02-24 r11927@catbus: nickm | 2007-02-24 14:49:31 -0500Nick Mathewson
Make sure every error case of router_dump_router_to_string warns about what actually went wrong. svn:r9642
2007-02-24if we can't read bandwidthrate, at least tell us what it was.Roger Dingledine
svn:r9640
2007-02-24 r11917@catbus: nickm | 2007-02-24 03:18:52 -0500Nick Mathewson
Fix another XXX012 in eventdns.c: tell the DNS request about malformed DNS replies. svn:r9637
2007-02-24doc pedantRoger Dingledine
svn:r9634
2007-02-24 r11909@catbus: nickm | 2007-02-24 02:37:40 -0500Nick Mathewson
Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro. svn:r9633
2007-02-24fix crash introduced in r9622Roger Dingledine
svn:r9632
2007-02-24fix a log message that was broken long ago and never noticedRoger Dingledine
svn:r9630
2007-02-24make it stop crashing when i exercise the new entrynodes behavior inRoger Dingledine
r9574. this hack is getting pretty darn hackish; perhaps it's time to not use SMARTLIST_FOREACH in this situation. svn:r9629
2007-02-24bugfix on r9568: we were throwing around an uninitializedRoger Dingledine
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
2007-02-24cosmetic, comment, and todo fixesRoger Dingledine
svn:r9627
2007-02-23 r11900@catbus: nickm | 2007-02-23 18:11:04 -0500Nick Mathewson
Fix null-pointer access on update_router_descriptor_cache_downloads. svn:r9626
2007-02-23 r11898@catbus: nickm | 2007-02-23 16:55:43 -0500Nick Mathewson
Two XXX012 comments turned out to be bogus; remove them and document why. svn:r9625
2007-02-23 r11895@catbus: nickm | 2007-02-23 15:12:58 -0500Nick Mathewson
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
2007-02-23 r11885@catbus: nickm | 2007-02-23 13:34:24 -0500Nick Mathewson
Fix an XXXX012: make entry guards _really_ get retried when the network comes back online. svn:r9622
2007-02-22 r11877@catbus: nickm | 2007-02-22 02:24:50 -0500Nick Mathewson
Fix doc about when circuit_build_needed_circs() is called. Resolves another xxxx012. svn:r9617
2007-02-22 r11876@catbus: nickm | 2007-02-22 02:23:13 -0500Nick Mathewson
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
2007-02-22 r11873@catbus: nickm | 2007-02-22 01:21:14 -0500Nick Mathewson
twiddle signewnym rate-limiting patch so every signal gets handled eventually. document it in control-spec. add a changelog. svn:r9615
2007-02-22 r11872@catbus: nickm | 2007-02-22 01:08:46 -0500Nick Mathewson
patch from mwenge: rate-limit newnym. svn:r9614
2007-02-21 r11860@catbus: nickm | 2007-02-21 00:56:15 -0500Nick Mathewson
Another optimization suggested by Shark output: shave off >90% of uses of logv by cutting down on calls to log_debug when log actually debugging. This is showing up in some profiles bug not others, and might be as much as 2.5%. svn:r9612
2007-02-21 r11859@catbus: nickm | 2007-02-21 00:53:27 -0500Nick Mathewson
Fix use of predict. this should get refactored, but now now. svn:r9611
2007-02-21 r11858@catbus: nickm | 2007-02-21 00:27:44 -0500Nick Mathewson
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
2007-02-20 r11852@catbus: nickm | 2007-02-20 17:25:17 -0500Nick Mathewson
Reverse arguments in memset() call in no-mmap version of tor_munmap_file(). Resolves bug 392. Spotted by "fookoowa"--thanks! svn:r9604
2007-02-20 r11850@catbus: nickm | 2007-02-20 13:34:13 -0500Nick Mathewson
Apply patch from coderman: have posix subthreads mask out signals. This could prevent some kinds of crashes when subthreads try to handle SIGPIPEs and die in the attempt. Backport candidate. svn:r9603
2007-02-17 r11844@catbus: nickm | 2007-02-17 16:53:42 -0500Nick Mathewson
Note a problematic warning. svn:r9599
2007-02-16 r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson
Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
2007-02-16 r11827@catbus: nickm | 2007-02-16 15:00:39 -0500Nick Mathewson
Try to fix VC++ int conversion warning. svn:r9595
2007-02-16 r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson
Resolve 56 DOCDOC comments. svn:r9594
2007-02-16 r11825@catbus: nickm | 2007-02-16 14:04:36 -0500Nick Mathewson
Fix DOCDOC items in or.h; rename a couple of macros to be more sensible. svn:r9593
2007-02-16 r11824@catbus: nickm | 2007-02-16 13:16:47 -0500Nick Mathewson
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
2007-02-16 r11822@catbus: nickm | 2007-02-16 12:49:20 -0500Nick Mathewson
Tech config.c about libevent 1.3, and resolve all docdoc elements in config.c svn:r9591
2007-02-14 r11813@catbus: nickm | 2007-02-14 11:42:58 -0500Nick Mathewson
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
2007-02-14 r11812@catbus: nickm | 2007-02-14 11:22:08 -0500Nick Mathewson
Apply stream_bw patch from Robert Hogan. svn:r9585
2007-02-13 r11797@catbus: nickm | 2007-02-13 16:17:40 -0500Nick Mathewson
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
2007-02-13 r11791@catbus: nickm | 2007-02-13 11:36:07 -0500Nick Mathewson
Try to fix mingw compile error reported by Li-Hui Zhou. svn:r9578
2007-02-13 r11787@catbus: nickm | 2007-02-12 21:01:34 -0500Nick Mathewson
Always remove expired routers and networkstatus docs before checking whether we have enough information to build circuits. (Fixes bug 373.) svn:r9575
2007-02-13 r11785@catbus: nickm | 2007-02-12 20:27:48 -0500Nick Mathewson
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
2007-02-12 r11781@catbus: nickm | 2007-02-12 18:31:33 -0500Nick Mathewson
Discard any v1 directory info that is so old as to be useless. (Fixes bug 387) svn:r9572
2007-02-12 r11779@catbus: nickm | 2007-02-12 16:52:29 -0500Nick Mathewson
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
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2007-02-12 r11774@catbus: nickm | 2007-02-12 16:31:47 -0500Nick Mathewson
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
2007-02-12 r11773@catbus: nickm | 2007-02-12 15:18:48 -0500Nick Mathewson
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
2007-02-12be even pickier about our socks command. this resolves a warningRoger Dingledine
we get when we hang up on an unhandshaked socks connection. i'm still seeing these from polipo. darn it. svn:r9565
2007-02-11remove the socks-wait verbose logging. juliusz found and fixed theRoger Dingledine
polipo bug. svn:r9553
2007-02-11more useful log messages when we give up on a streamRoger Dingledine
svn:r9552
2007-02-10 r12213@Kushana: nickm | 2007-02-10 16:25:39 -0500Nick Mathewson
Refactor setconf implementation to be a little slower, but far less error prone. svn:r9549
2007-02-10 r12212@Kushana: nickm | 2007-02-10 16:09:38 -0500Nick Mathewson
Remove XXXX012 for apparently resolved bug svn:r9548
2007-02-10Stop crashing when the controller asks us to resetconf more thanRoger Dingledine
one config option at once. (Vidalia 0.0.11 does this.) Backport candidate. svn:r9545
2007-02-09If we start a server with ClientOnly 1, then set ClientOnly to 0 Roger Dingledine
and hup, stop triggering an assert based on an empty onion_key. svn:r9540
2007-02-08 r11732@catbus: nickm | 2007-02-08 18:12:54 -0500Nick Mathewson
Fix an "uninitialized variable" warning. svn:r9536