summaryrefslogtreecommitdiff
path: root/src/or/router.c
AgeCommit message (Collapse)Author
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2007-02-07make a log message make more senseRoger Dingledine
svn:r9504
2007-02-02 r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson
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
2007-01-28there's such a thing as too much indirectionRoger Dingledine
svn:r9451
2007-01-27stop trying to hand 'platform' all around directory.c when we have aRoger Dingledine
bit in routerstatus_t that tells us what we need to know. svn:r9448
2007-01-25Inform the server operator when we decide not to advertise aRoger Dingledine
DirPort due to AccountingMax enabled or a low BandwidthRate. It was confusing Zax, so now we're hopefully more helpful. svn:r9404
2007-01-22 r9715@catbus: nickm | 2007-01-22 02:51:04 -0500Nick Mathewson
Document a few undocumented functions and arguments. svn:r9385
2007-01-09Fix an assert error introduced in 0.1.2.5-alpha: if you're anRoger Dingledine
advertised exit node, somebody might try to exit from you when you're bootstrapping and before you've built your descriptor yet. svn:r9305
2007-01-06 r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500Nick Mathewson
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
2007-01-04Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix segRoger Dingledine
fault when starting a server without a fingerprint file present. svn:r9261
2007-01-02 r11787@Kushana: nickm | 2007-01-02 14:40:14 -0500Nick Mathewson
Stop polluting new descriptors with the defaults-to-1 "opt eventdns" entry. svn:r9239
2006-12-29Okay, now descriptors seem to be buildable.Nick Mathewson
svn:r9216
2006-12-29 r11753@Kushana: nickm | 2006-12-29 11:30:28 -0500Nick Mathewson
Fix flipped sign in compare: make descriptors buildable again. svn:r9214
2006-12-29 r11737@Kushana: nickm | 2006-12-28 18:32:13 -0500Nick Mathewson
Remove some dead code; refactor some duplicated code. svn:r9206
2006-12-29 r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500Nick Mathewson
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205
2006-12-28 r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500Nick Mathewson
Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests. svn:r9200
2006-12-28 r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500Nick Mathewson
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
2006-12-25 r11713@Kushana: nickm | 2006-12-24 22:42:08 -0500Nick Mathewson
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
2006-12-24 r11690@Kushana: nickm | 2006-12-23 22:09:53 -0500Nick Mathewson
Hmm. Maybe I should have been compiling these before I checked them in. svn:r9178
2006-12-24 r11686@Kushana: nickm | 2006-12-23 22:05:57 -0500Nick Mathewson
More changes wrt unnecessary disk writes. svn:r9176
2006-12-24 r11680@Kushana: nickm | 2006-12-23 21:45:05 -0500Nick Mathewson
Remove code to look for keys in their old locations: we havent stored them there since 0.0.7.2. svn:r9175
2006-12-24 r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500Nick Mathewson
Update the state file less often when AvoidDiskWrites is set. svn:r9174
2006-12-24 r11676@Kushana: nickm | 2006-12-23 20:42:17 -0500Nick Mathewson
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
2006-12-16and then revert half of r9138Roger Dingledine
svn:r9140
2006-12-16 r11618@Kushana: nickm | 2006-12-16 02:00:52 -0500Nick Mathewson
Make router_is_me work without calling router_rebuild_descriptor. svn:r9139
2006-12-16fix an infinite loop and a memory leak in r9131Roger Dingledine
svn:r9138
2006-12-15a changelog for write limiting. also, disable the "advertise dirportRoger Dingledine
until we reach our max bandwidth if it's tiny" trick now that we do the bandwidth self-test on boot. svn:r9134
2006-12-15 r11596@Kushana: nickm | 2006-12-15 10:57:12 -0500Nick Mathewson
Mark some TODO items as done. Also, never include ourself in our family list. svn:r9131
2006-12-15oh, and catch the other instance we should fixRoger Dingledine
svn:r9122
2006-12-15if we rotate our onion key, publish a new descriptor, andRoger Dingledine
die soon after, we want to stick with that onion key when we restart. svn:r9121
2006-12-15 r11588@Kushana: nickm | 2006-12-15 02:04:32 -0500Nick Mathewson
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
2006-12-13finish enabling begin-dir cells. require one-hop circs forRoger Dingledine
socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
2006-12-13Infrastructure to test BEGIN_DIR cells.Roger Dingledine
New socks command CONNECT_DIR. New config option TunnelDirConns that builds a circ ending at the directory server and delivers a BEGIN_DIR cell if it's running 0.1.2.2-alpha or later. We still need to make one-hop circs when appropriate, while making other conns avoid them. svn:r9098
2006-11-26actually, i think this fix was closest to what i originallyRoger Dingledine
intended. this way we don't call resolve-my-address, which yells and screams if we're using an internal address (mere clients should not have to care). svn:r8998
2006-11-26 r9399@totoro: nickm | 2006-11-26 14:22:17 -0500Nick Mathewson
Actually, clients *should* try to guess their addresses. svn:r8997
2006-11-26 r9396@totoro: nickm | 2006-11-26 13:36:29 -0500Nick Mathewson
Fix router_new_address_suggestion() so it only changes last_guessed_ip() when it actually calls resolve_my_address(). (bug found by dev-girl) svn:r8996
2006-10-31 r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500Nick Mathewson
Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons. svn:r8881
2006-10-09 r8970@totoro: nickm | 2006-10-09 10:12:53 -0400Nick Mathewson
Win32 patch from Matt Edman: fix compilation bugs by casting to int; defining SSIZE_T; defining USE_TWOS_COMPLEMENT in windows orconfig.h; and using the proper names for win32 functions on GetProcAddress. Also fixes bug 295. svn:r8669
2006-10-09 r8957@totoro: nickm | 2006-10-08 22:35:17 -0400Nick Mathewson
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
2006-10-07minor cleanupsRoger Dingledine
svn:r8622
2006-10-06bugfix: When testing reachability of our dirport, don't launch a newRoger Dingledine
test if there's already one in progress. svn:r8604
2006-10-03 r8838@totoro: nickm | 2006-10-02 15:24:39 -0400Nick Mathewson
Partial implementation of revised nickname syntax for controllers. Implement ability to look up routers by "verbose" nicknames; add a per-v1-control-connection flag to turn the feature on in events. Needs testing, spec, ability to actually turn on the flag, double-checking that we wont overflow any nickname buffers, and changelog. svn:r8582
2006-10-01- V1 authorities should set "HSAuthoritativeDir 1" to continue beingRoger Dingledine
hidden service authorities too. - Just because your DirPort is open doesn't mean people should be able to remotely teach you about hidden service descriptors. Now only accept rendezvous posts if you've got HSAuthoritativeDir set. svn:r8573
2006-09-30stop trying to hammer router_rebuild_descriptor() when we don'tRoger Dingledine
have a public address we like yet. svn:r8554
2006-09-29 r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400Nick Mathewson
Now, all log messages should be distinct. svn:r8545
2006-09-29 r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400Nick Mathewson
Differentiate more duplicated log entries svn:r8542
2006-09-29 r9005@Kushana: nickm | 2006-09-29 10:37:55 -0400Nick Mathewson
Implement DESCCHANGED event to tell controller when our router descriptor changes. svn:r8533
2006-09-28 r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400Nick Mathewson
Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria. svn:r8523
2006-09-21 r8879@Kushana: nickm | 2006-09-21 17:20:31 -0400Nick Mathewson
Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation. svn:r8444
2006-09-21 r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400Nick Mathewson
Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled. svn:r8437