aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* r11606@catbus: nickm | 2007-01-30 16:52:23 -0500Nick Mathewson2007-01-30
| | | | | | | Write the entry guards section of path-spec; note a possible bug in cirbuitbuild.c; add a const; defer work on torrc.complete to be part of a bigger config documentation reorg. svn:r9465
* r11591@catbus: nickm | 2007-01-29 17:31:02 -0500Nick Mathewson2007-01-29
| | | | | | | Add an XXXX comment to dirserv.c so I can take it out of my todo email folder. svn:r9459
* r11586@catbus: nickm | 2007-01-29 13:13:27 -0500Nick Mathewson2007-01-29
| | | | | | | Add a couple of fixes I turned up while writing regression tests for libevent: Allow DNS servers on ports other than 53, and handle TTLs correctly on reverse hostname lookups. svn:r9458
* r11585@catbus: nickm | 2007-01-29 11:26:03 -0500Nick Mathewson2007-01-29
| | | | | | | Oops; fix compilation. svn:r9457
* r11584@catbus: nickm | 2007-01-29 11:25:40 -0500Nick Mathewson2007-01-29
| | | | | | | Fix/update some XXX012 points. svn:r9456
* 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
* there's such a thing as too much indirectionRoger Dingledine2007-01-28
| | | | svn:r9451
* stop trying to hand 'platform' all around directory.c when we have aRoger Dingledine2007-01-27
| | | | | | | bit in routerstatus_t that tells us what we need to know. svn:r9448
* fix all the bugs i could find in nick's bridge dir commit.Roger Dingledine2007-01-27
| | | | | | | let's hope i got them all. svn:r9442
* If the user asks to use invalid exit nodes, be willing to use theRoger Dingledine2007-01-27
| | | | | | | unstable ones. svn:r9441
* Bring us one step closer to being able to establish an encryptedRoger Dingledine2007-01-27
| | | | | | | | | directory tunnel without knowing a descriptor first. Still not ready yet. As part of the change, now assume we can use a create_fast cell if we don't know anything about a router. svn:r9440
* remove an XXX; add two more.Roger Dingledine2007-01-27
| | | | svn:r9438
* If the socks handshake hasn't started, don't send aRoger Dingledine2007-01-27
| | | | | | | "DNS resolve socks failed" handshake reply; just close it. svn:r9437
* avoid messy crashes (bugfix by nick)Roger Dingledine2007-01-27
| | | | svn:r9435
* the other half of my patch. more coming later.Roger Dingledine2007-01-27
| | | | svn:r9434
* Weight directory requests by advertised bandwidth. Now we canRoger Dingledine2007-01-27
| | | | | | | | let servers enable write limiting but still allow most clients to succeed at their directory requests. svn:r9433
* r11552@catbus: nickm | 2007-01-27 03:55:02 -0500Nick Mathewson2007-01-27
| | | | | | | | | | | | | | | | This one is a little tricky. Our BEGIN_DIR implementation has a problem: the dirserv conns will decide they can flush all their data immediately, since the edge_conns will read greedily. For our 0.1.2 workaround, we track which or_conn a bridged dirserv conn is attached to, and stop writing when its outbuf is too full, and start writing again when the or_conn's outbuf empties out a little. This requires a bit of pointer management. Let's hope it works. svn:r9432
* r11548@catbus: nickm | 2007-01-27 00:15:47 -0500Nick Mathewson2007-01-27
| | | | | | | Fix two assert bugs encountered when trying ipv6 lookups with eventdns code. svn:r9430
* Bugfix: If we're not marking exits as guards, ignore exit bandwidthRoger Dingledine2007-01-26
| | | | | | | when we're deciding the required bandwidth to become a guard. svn:r9423
* Stop saying !is_internal_IP() when we really meantRoger Dingledine2007-01-26
| | | | | | | connection_is_rate_limited(). One day this will be useful. svn:r9422
* never refuse directory requests from local addressesRoger Dingledine2007-01-26
| | | | svn:r9421