aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* r8860@totoro: nickm | 2006-10-03 14:48:33 -0400Nick Mathewson2006-10-03
| | | | | | | Use ANSI-style definition syntax in strlcat.c and strlcpy.c so that gcc stops barfing with -Wold-style-definition svn:r8591
* r8857@totoro: nickm | 2006-10-03 13:54:21 -0400Nick Mathewson2006-10-03
| | | | | | | Implement ORCONN with verbose names. svn:r8588
* r8841@totoro: nickm | 2006-10-02 15:59:21 -0400Nick Mathewson2006-10-03
| | | | | | | Add EXTENDED_EVENTS to the USEFEATURE command; move flag from connection_t into control_conn, since we will probably grow more of these. svn:r8585
* r8840@totoro: nickm | 2006-10-02 15:56:16 -0400Nick Mathewson2006-10-03
| | | | | | | Add USEFEATURE to control changes to control protocol. Use like __future__ directive from Python. Will spec before pushing changes. No, really. :) svn:r8584
* r8839@totoro: nickm | 2006-10-02 15:31:49 -0400Nick Mathewson2006-10-03
| | | | | | | Make a field longer to accomodate verbose nicknames; note that verbose nicknames will never reach this point. svn:r8583
* 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
* the other half of the is_local_IP patchRoger Dingledine2006-10-03
| | | | svn:r8581
* r8851@totoro: nickm | 2006-10-02 18:13:27 -0400Nick Mathewson2006-10-02
| | | | | | | Remove/clarify some XXXs for no longer being accurate; for begin things we do not indend to fix; for already being parts of big todo issues (like "/* XXX ipv6 */"); etc. Also fix some spaces. svn:r8580
* r8850@totoro: nickm | 2006-10-02 17:21:11 -0400Nick Mathewson2006-10-02
| | | | | | | Make TrackExitHosts case-insensitive, and fix the behavior of .suffix TrackExitHosts items to avoid matching in the middle of an address. (Resolves an XXXX) svn:r8579
* r8846@totoro: nickm | 2006-10-02 16:59:57 -0400Nick Mathewson2006-10-02
| | | | | | | Move is_local_IP to config.c; have it check for same-/24; make it used only for reachability (not for banwidth, because that is probably not what we want). Fixes an XXX. svn:r8578
* r8845@totoro: nickm | 2006-10-02 16:34:58 -0400Nick Mathewson2006-10-02
| | | | | | | Fix an XXXX: make path_is_relative work on windows even though we never use it there. svn:r8577
* r8844@totoro: nickm | 2006-10-02 16:32:44 -0400Nick Mathewson2006-10-02
| | | | | | | Resolve an XXXX: make sure that we are actually on 2s-complement hardware. svn:r8576
* r8835@totoro: nickm | 2006-10-02 12:54:41 -0400Nick Mathewson2006-10-02
| | | | | | | Improve error messages from AUTHENTICATE attempts to controller. svn:r8574
* - 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
* r8826@totoro: nickm | 2006-10-01 17:58:45 -0400Nick Mathewson2006-10-01
| | | | | | | Disprefer exit nodes for entry, middle positions (fixes bug 200). Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity. svn:r8571
* r8825@totoro: nickm | 2006-10-01 17:41:27 -0400Nick Mathewson2006-10-01
| | | | | | | Add function to return a random uint64_t. svn:r8570
* misc touchupsRoger Dingledine2006-10-01
| | | | svn:r8568
* r8822@totoro: nickm | 2006-10-01 16:24:22 -0400Nick Mathewson2006-10-01
| | | | | | | Fix bug 303: reject attempts to use Tor as a one-hop proxy. svn:r8566
* Track down a seg fault that's been bothering me a while: if youRoger Dingledine2006-10-01
| | | | | | | enable your dirport as a client, you'll crash. svn:r8561
* if we fail to build a circuit to an intended enclave, and it'sRoger Dingledine2006-10-01
| | | | | | | not mandatory that we use that enclave, stop wanting it. svn:r8559
* touchupsRoger Dingledine2006-10-01
| | | | svn:r8558
* stop trying to hammer router_rebuild_descriptor() when we don'tRoger Dingledine2006-09-30
| | | | | | | have a public address we like yet. svn:r8554
* Bugfix: when we tunnel our dir fetches via tor, don't believeRoger Dingledine2006-09-30
| | | | | | | the X-Forwarded-For header. svn:r8553
* r8805@totoro: nickm | 2006-09-30 16:07:13 -0400Nick Mathewson2006-09-30
| | | | | | | Oops; nameserver list is circular. svn:r8552
* make hidden service predicted circuits correct rather thanRoger Dingledine2006-09-30
| | | | | | | exactly incorrect. i wonder how much this will help. svn:r8550
* r8800@totoro: nickm | 2006-09-29 23:10:49 -0400Nick Mathewson2006-09-30
| | | | | | | Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames. svn:r8548
* r9036@Kushana: nickm | 2006-09-29 18:59:51 -0400Nick Mathewson2006-09-29
| | | | | | | I am glad that arma reviews my patches. svn:r8546
* 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
* r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400Nick Mathewson2006-09-29
| | | | | | | Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541
* r9008@Kushana: nickm | 2006-09-29 13:50:10 -0400Nick Mathewson2006-09-29
| | | | | | | Doxygen comments for code in common. Also simplify a few code paths to be more clear/speedy/correct. svn:r8536
* r9007@Kushana: nickm | 2006-09-29 13:17:32 -0400Nick Mathewson2006-09-29
| | | | | | | Make eventdns give strings for DNS errors, not just error numbers. svn:r8535
* r9006@Kushana: nickm | 2006-09-29 10:48:23 -0400Nick Mathewson2006-09-29
| | | | | | | Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG. svn:r8534
* 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
* r8776@totoro: nickm | 2006-09-29 00:50:46 -0400Nick Mathewson2006-09-29
| | | | | | | | | | | Reserve the nickname "Unnamed" for routers that can't pick a hostname; any router can call itself Unnamed; directory servers will never allocate Unnamed to any particular router; clients won't believe that any router is the canonical Unnamed. svn:r8529
* r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400Nick Mathewson2006-09-29
| | | | | | | | | | | | | | [Needs review.] Add a BEGIN_DIR relay cell type for an easier in-protocol way to connect to directory servers through Tor. Previously, clients could only connect to director servers over Tor from exit nodes, but couldn't get directory information anonymously from a non-exit cache without getting a directory server involved. This needs testing, and needs client-side code to actually exercise it. svn:r8527
* combine the cutoff log entriesRoger Dingledine2006-09-29
| | | | svn:r8524
* 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
* r8976@Kushana: nickm | 2006-09-28 17:18:57 -0400Nick Mathewson2006-09-28
| | | | | | | Another tweak to guard logic: ignore check for the Guard flag if a server is listed on EntryNodes. (Also remove redundant checks for always-set variables.) svn:r8522
* r8975@Kushana: nickm | 2006-09-28 17:13:53 -0400Nick Mathewson2006-09-28
| | | | | | | Document entry-guard related functions svn:r8521
* r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400Nick Mathewson2006-09-28
| | | | | | | Improvement to last entry guards patch: track when we last attempted to connect to a node in our state file along with how long it has been unreachable. Also clarify behavior of parse_iso_time() when it gets extra characters. svn:r8520
* r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400Nick Mathewson2006-09-28
| | | | | | | | | | Refactor entry guard status logic a lot; allow more factors [like not having a Guard flag or being listed in ExcludeNodes] to render a guard "unlisted" (now called "unusable"); track guard down status (now called "unreachable") separately from is_running. svn:r8519
* r9897@danube: weasel | 2006-09-29 01:08:44 +0200Peter Palfrader2006-09-28
| | | | | | | Add a space in a wrapped log message svn:r8517
* r9895@danube: weasel | 2006-09-29 01:05:00 +0200Peter Palfrader2006-09-28
| | | | | | | Restore to previous wording that svk merging made me mess up svn:r8516
* r9889@danube: weasel | 2006-09-29 00:57:42 +0200Peter Palfrader2006-09-28
| | | | | | | bandwidth is not measured in bytes svn:r8515
* r9888@danube: weasel | 2006-09-29 00:57:02 +0200Peter Palfrader2006-09-28
| | | | | | | Also log guard bandwidth cutoff svn:r8514
* r9770@danube: weasel | 2006-09-15 07:20:05 +0200Peter Palfrader2006-09-28
| | | | | | | | | | | | router_set_networkstatus() gets a list of status documents we asked for from connection_dir_client_reached_eof(). However, as a cache we (sometimes?) just ask for "all". router_set_networkstatus() would freak out over that, meaning it would log a warning and drop the status document instead of caching it as it is supposed to. Now we let router_set_networkstatus() know if the data comes from an all-request so it can do the right thing. svn:r8513
* r8750@totoro: nickm | 2006-09-27 20:52:01 -0400Nick Mathewson2006-09-28
| | | | | | | Fix some warnings on mingw; hopefully this should let us build on mingw without warnings. svn:r8509
* r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400Nick Mathewson2006-09-26
| | | | | | | Remove a signed/unsigned comparison in eventdns.c svn:r8508
* r8968@Kushana: nickm | 2006-09-26 17:53:27 -0400Nick Mathewson2006-09-26
| | | | | | | Fix for reverse dns: only assume we will get an answer when the result was success. svn:r8507