aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* 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
* finish enabling begin-dir cells. require one-hop circs forRoger Dingledine2006-12-13
| | | | | | | | socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
* Infrastructure to test BEGIN_DIR cells.Roger Dingledine2006-12-13
| | | | | | | | | | 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
* actually, i think this fix was closest to what i originallyRoger Dingledine2006-11-26
| | | | | | | | | 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
* r9399@totoro: nickm | 2006-11-26 14:22:17 -0500Nick Mathewson2006-11-26
| | | | | | | Actually, clients *should* try to guess their addresses. svn:r8997
* r9396@totoro: nickm | 2006-11-26 13:36:29 -0500Nick Mathewson2006-11-26
| | | | | | | 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
* r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500Nick Mathewson2006-10-31
| | | | | | | 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
* r8970@totoro: nickm | 2006-10-09 10:12:53 -0400Nick Mathewson2006-10-09
| | | | | | | 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
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400Nick Mathewson2006-10-09
| | | | | | | 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
* minor cleanupsRoger Dingledine2006-10-07
| | | | svn:r8622
* bugfix: When testing reachability of our dirport, don't launch a newRoger Dingledine2006-10-06
| | | | | | | test if there's already one in progress. svn:r8604
* r8838@totoro: nickm | 2006-10-02 15:24:39 -0400Nick Mathewson2006-10-03
| | | | | | | 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
* - V1 authorities should set "HSAuthoritativeDir 1" to continue beingRoger Dingledine2006-10-01
| | | | | | | | | | 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
* stop trying to hammer router_rebuild_descriptor() when we don'tRoger Dingledine2006-09-30
| | | | | | | have a public address we like yet. svn:r8554
* r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400Nick Mathewson2006-09-29
| | | | | | | Now, all log messages should be distinct. svn:r8545
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400Nick Mathewson2006-09-29
| | | | | | | Differentiate more duplicated log entries svn:r8542
* r9005@Kushana: nickm | 2006-09-29 10:37:55 -0400Nick Mathewson2006-09-29
| | | | | | | Implement DESCCHANGED event to tell controller when our router descriptor changes. svn:r8533
* r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400Nick Mathewson2006-09-28
| | | | | | | 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
* r8879@Kushana: nickm | 2006-09-21 17:20:31 -0400Nick Mathewson2006-09-21
| | | | | | | Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation. svn:r8444
* r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400Nick Mathewson2006-09-21
| | | | | | | Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled. svn:r8437
* Stop searching routerlist for routers with the same identity as other ↵Nick Mathewson2006-09-19
| | | | | | routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise? svn:r8432