Age | Commit message (Collapse) | Author |
|
svn:r8657
|
|
whitespace fixes; add changelog for last commit.
svn:r8644
|
|
refactor circuit_list_path and circuit_list_path_verbose into a common _impl function.
svn:r8642
|
|
svn:r8633
|
|
svn:r8630
|
|
new xxx that we'll want to address one day.
svn:r8628
|
|
svn:r8622
|
|
svn:r8620
|
|
Make verbose names get used (when appropriate and selected) in responses to getinfo requests.
svn:r8593
|
|
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
|
|
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
|
|
Fix bug 303: reject attempts to use Tor as a one-hop proxy.
svn:r8566
|
|
Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames.
svn:r8548
|
|
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
|
|
svn:r8400
|
|
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
|
|
svn:r6939
|
|
Clean up wide lines from last patch.
svn:r6907
|
|
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
|
|
circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
|
|
not therefore "up".
svn:r6798
|
|
svn:r6796
|
|
our own descriptor yet.
svn:r6775
|
|
svn:r6727
|
|
it is still the case that we ignore it with respect to entry guards
that we've already picked.
svn:r6726
|
|
svn:r6709
|
|
svn:r6704
|
|
svn:r6660
|
|
and make the yelling only happen if you're a server.
svn:r6625
|
|
to report if it occurs.
svn:r6623
|
|
hops, even if they're running the right versions, since we probably
already have a connection established to them.
svn:r6622
|
|
we generate.
svn:r6620
|
|
server running the right version, if we can, and ask for that one.
svn:r6616
|
|
Now if we establish a connection with the right digest, regardless
of what the addr/port is, and we have pending create cells, use it.
svn:r6614
|
|
hops to use for testing circuits. Perhaps this will let me debug the
reachability problem better.
svn:r6581
|
|
error checking.
svn:r6576
|
|
already picked him, we would cycle endlessly picking him
again, being unhappy about it, and so forth.
now we specifically exclude guards when picking a new guard.
svn:r6575
|
|
voodooey. it turns out we already do keep a flag like that around.
svn:r6560
|
|
once we'd connected to a(nother) tor server.
svn:r6552
|
|
addr/port but the intended n_conn digest is wrong.
svn:r6544
|
|
guard, then don't mark it down at first. we had this implemented
but it was disabled due to a bug.
svn:r6541
|
|
create cell. Nick, is this a bug? If so, is my fix right?
svn:r6538
|
|
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
connect to a different OR than lives on the addr:port we connected
to. we don't actually remember whether that was the case, currently.
so call it END_CIRC_REASON_OR_CONN_CLOSED as a compromise.
svn:r6515
|
|
svn:r6512
|