| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Use ANSI-style definition syntax in strlcat.c and strlcpy.c so that gcc stops barfing with -Wold-style-definition
svn:r8591
|
|
|
|
|
|
|
| |
Implement ORCONN with verbose names.
svn:r8588
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add USEFEATURE to control changes to control protocol. Use like __future__ directive from Python. Will spec before pushing changes. No, really. :)
svn:r8584
|
|
|
|
|
|
|
| |
Make a field longer to accomodate verbose nicknames; note that verbose nicknames will never reach this point.
svn:r8583
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r8581
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix an XXXX: make path_is_relative work on windows even though we never use it there.
svn:r8577
|
|
|
|
|
|
|
| |
Resolve an XXXX: make sure that we are actually on 2s-complement hardware.
svn:r8576
|
|
|
|
|
|
|
| |
Improve error messages from AUTHENTICATE attempts to controller.
svn:r8574
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add function to return a random uint64_t.
svn:r8570
|
|
|
|
| |
svn:r8568
|
|
|
|
|
|
|
| |
Fix bug 303: reject attempts to use Tor as a one-hop proxy.
svn:r8566
|
|
|
|
|
|
|
| |
enable your dirport as a client, you'll crash.
svn:r8561
|
|
|
|
|
|
|
| |
not mandatory that we use that enclave, stop wanting it.
svn:r8559
|
|
|
|
| |
svn:r8558
|
|
|
|
|
|
|
| |
have a public address we like yet.
svn:r8554
|
|
|
|
|
|
|
| |
the X-Forwarded-For header.
svn:r8553
|
|
|
|
|
|
|
| |
Oops; nameserver list is circular.
svn:r8552
|
|
|
|
|
|
|
| |
exactly incorrect. i wonder how much this will help.
svn:r8550
|
|
|
|
|
|
|
| |
Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames.
svn:r8548
|
|
|
|
|
|
|
| |
I am glad that arma reviews my patches.
svn:r8546
|
|
|
|
|
|
|
| |
Now, all log messages should be distinct.
svn:r8545
|
|
|
|
|
|
|
| |
Differentiate more duplicated log entries
svn:r8542
|
|
|
|
|
|
|
| |
Make distinct all non-bug messages at notice or higher that appear 3 or more times.
svn:r8541
|
|
|
|
|
|
|
| |
Doxygen comments for code in common. Also simplify a few code paths to be more clear/speedy/correct.
svn:r8536
|
|
|
|
|
|
|
| |
Make eventdns give strings for DNS errors, not just error numbers.
svn:r8535
|
|
|
|
|
|
|
| |
Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG.
svn:r8534
|
|
|
|
|
|
|
| |
Implement DESCCHANGED event to tell controller when our router descriptor changes.
svn:r8533
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
| |
svn:r8524
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Document entry-guard related functions
svn:r8521
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add a space in a wrapped log message
svn:r8517
|
|
|
|
|
|
|
| |
Restore to previous wording that svk merging made me mess up
svn:r8516
|
|
|
|
|
|
|
| |
bandwidth is not measured in bytes
svn:r8515
|
|
|
|
|
|
|
| |
Also log guard bandwidth cutoff
svn:r8514
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix some warnings on mingw; hopefully this should let us build on mingw without warnings.
svn:r8509
|
|
|
|
|
|
|
| |
Remove a signed/unsigned comparison in eventdns.c
svn:r8508
|
|
|
|
|
|
|
| |
Fix for reverse dns: only assume we will get an answer when the result was success.
svn:r8507
|