aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* Make PreferTunneledDirConns and TunnelDirConns work even whenRoger Dingledine2007-04-27
| | | | | | | | we have no cached directory info. This means Tor clients can now do all of their connections protected by TLS. svn:r10035
* A hack I've been wanting for a while: when building a -dev versionNick Mathewson2007-04-16
| | | | | | | | | from an SVN repository, use the current svn revision in the platform string and in the output of --version. svn:r9976
* r12414@catbus: nickm | 2007-04-16 17:37:17 -0400Nick Mathewson2007-04-16
| | | | | | | More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
* Fix some proposal-104 bugs.Nick Mathewson2007-04-16
| | | | svn:r9972
* r12406@catbus: nickm | 2007-04-16 14:39:33 -0400Nick Mathewson2007-04-16
| | | | | | | More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing. svn:r9971
* r12403@catbus: nickm | 2007-04-16 13:55:03 -0400Nick Mathewson2007-04-16
| | | | | | | Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson2007-04-11
| | | | | | | Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson2007-03-24
| | | | | | | Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
* r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500Nick Mathewson2007-03-09
| | | | | | | We have a PATH_SEPARATOR macro. How about we use it? svn:r9782
* r12080@catbus: nickm | 2007-03-04 21:40:55 -0500Nick Mathewson2007-03-05
| | | | | | | Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson2007-03-04
| | | | | | | Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733
* r12057@catbus: nickm | 2007-03-04 13:58:32 -0500Nick Mathewson2007-03-04
| | | | | | | Clarify some log messages; note others that could be improved later. svn:r9724
* r11981@catbus: nickm | 2007-02-28 11:55:27 -0500Nick Mathewson2007-02-28
| | | | | | | Clamp declarable bandwidth at INT32_MAX, not INT_MAX. svn:r9677
* r11958@catbus: nickm | 2007-02-26 22:28:03 -0500Nick Mathewson2007-02-27
| | | | | | | Add a missing set to onion_key_set_at to avoid premature rotates. svn:r9662
* more cleanups; getting closerRoger Dingledine2007-02-26
| | | | svn:r9655
* r11929@catbus: nickm | 2007-02-24 15:02:43 -0500Nick Mathewson2007-02-24
| | | | | | | Split possibly long log line. svn:r9643
* r11927@catbus: nickm | 2007-02-24 14:49:31 -0500Nick Mathewson2007-02-24
| | | | | | | Make sure every error case of router_dump_router_to_string warns about what actually went wrong. svn:r9642
* doc pedantRoger Dingledine2007-02-24
| | | | svn:r9634
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson2007-02-16
| | | | | | | Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* make a log message make more senseRoger Dingledine2007-02-07
| | | | svn:r9504
* 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
* 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
* Inform the server operator when we decide not to advertise aRoger Dingledine2007-01-25
| | | | | | | | DirPort due to AccountingMax enabled or a low BandwidthRate. It was confusing Zax, so now we're hopefully more helpful. svn:r9404
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500Nick Mathewson2007-01-22
| | | | | | | Document a few undocumented functions and arguments. svn:r9385
* Fix an assert error introduced in 0.1.2.5-alpha: if you're anRoger Dingledine2007-01-09
| | | | | | | | advertised exit node, somebody might try to exit from you when you're bootstrapping and before you've built your descriptor yet. svn:r9305
* 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
* 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
* r11787@Kushana: nickm | 2007-01-02 14:40:14 -0500Nick Mathewson2007-01-02
| | | | | | | Stop polluting new descriptors with the defaults-to-1 "opt eventdns" entry. svn:r9239
* Okay, now descriptors seem to be buildable.Nick Mathewson2006-12-29
| | | | svn:r9216
* r11753@Kushana: nickm | 2006-12-29 11:30:28 -0500Nick Mathewson2006-12-29
| | | | | | | Fix flipped sign in compare: make descriptors buildable again. svn:r9214
* r11737@Kushana: nickm | 2006-12-28 18:32:13 -0500Nick Mathewson2006-12-29
| | | | | | | Remove some dead code; refactor some duplicated code. svn:r9206
* r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500Nick Mathewson2006-12-29
| | | | | | | Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205
* 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
* r11713@Kushana: nickm | 2006-12-24 22:42:08 -0500Nick Mathewson2006-12-25
| | | | | | | Better handling of internal addresses wrt X-Your-Address-Is (never believe them; never provide them.) Also, report something useful for X-Your-Address-Is with one-hop tunneled connections. svn:r9191
* r11690@Kushana: nickm | 2006-12-23 22:09:53 -0500Nick Mathewson2006-12-24
| | | | | | | Hmm. Maybe I should have been compiling these before I checked them in. svn:r9178
* r11686@Kushana: nickm | 2006-12-23 22:05:57 -0500Nick Mathewson2006-12-24
| | | | | | | More changes wrt unnecessary disk writes. svn:r9176
* r11680@Kushana: nickm | 2006-12-23 21:45:05 -0500Nick Mathewson2006-12-24
| | | | | | | Remove code to look for keys in their old locations: we havent stored them there since 0.0.7.2. svn:r9175
* r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500Nick Mathewson2006-12-24
| | | | | | | Update the state file less often when AvoidDiskWrites is set. svn:r9174
* 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
* and then revert half of r9138Roger Dingledine2006-12-16
| | | | svn:r9140
* r11618@Kushana: nickm | 2006-12-16 02:00:52 -0500Nick Mathewson2006-12-16
| | | | | | | Make router_is_me work without calling router_rebuild_descriptor. svn:r9139
* fix an infinite loop and a memory leak in r9131Roger Dingledine2006-12-16
| | | | svn:r9138
* a changelog for write limiting. also, disable the "advertise dirportRoger Dingledine2006-12-15
| | | | | | | | until we reach our max bandwidth if it's tiny" trick now that we do the bandwidth self-test on boot. svn:r9134
* r11596@Kushana: nickm | 2006-12-15 10:57:12 -0500Nick Mathewson2006-12-15
| | | | | | | Mark some TODO items as done. Also, never include ourself in our family list. svn:r9131
* oh, and catch the other instance we should fixRoger Dingledine2006-12-15
| | | | svn:r9122
* if we rotate our onion key, publish a new descriptor, andRoger Dingledine2006-12-15
| | | | | | | | die soon after, we want to stick with that onion key when we restart. svn:r9121
* 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