| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fix some test and warn failures in last commit
svn:r8665
|
|
|
|
|
|
|
| |
whitespace fixes; add changelog for last commit.
svn:r8644
|
|
|
|
| |
svn:r8620
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r6709
|
|
|
|
| |
svn:r6613
|
|
|
|
|
|
|
|
|
|
|
|
| |
reachable if they changed IP addresses. This happened because
middle servers knew the old descriptor, and kept swapping the
addr/port we asked for with the one they thought was right.
So the create cell never got sent, because it was asking for a
different addr/port than we believed we had connected to.
svn:r6610
|
|
|
|
|
|
|
| |
maybe we will actually be able to fix it, instead.
svn:r6585
|
|
|
|
|
|
|
|
| |
concept. lay groundwork for "bandwidth classes" -- separate global
buckets that apply depending on what sort of conn it is.
svn:r6563
|
|
|
|
|
|
|
|
| |
believing that they're reachable. this may help resolve the
servers-on-dynamic-ip-addresses problem.
svn:r6561
|
|
|
|
|
|
|
| |
voodooey. it turns out we already do keep a flag like that around.
svn:r6560
|
|
|
|
|
|
|
| |
a client-only tls, that is, one with no certs.
svn:r6558
|
|
|
|
| |
svn:r6539
|
|
|
|
|
|
|
| |
free it. perhaps we don't need it after all?
svn:r6518
|
|
|
|
|
|
|
| |
shout about it unless we want to hear about protocol violations.
svn:r6507
|
|
|
|
|
|
|
|
|
| |
when they created a network status. so if nobody asked for a
network status, they would never discover that any servers are
is_running, so they could never build a circuit.
svn:r6183
|
|
|
|
| |
svn:r6143
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
| |
svn:r6016
|
|
|
|
|
|
|
|
|
| |
didn't have any circuits on it, but conn had circuits, we would not make
conn our new best unless it was also newer. Also, restructure the code
a bit to maybe make it clearer.
svn:r6012
|
|
|
|
|
|
|
| |
whee.
svn:r6003
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
|
| |
this is our last easy chance for a wholesale change. heave ho.
svn:r5782
|
|
|
|
| |
svn:r5734
|
|
|
|
|
|
|
|
| |
(config options EntryNodes and StrictEntryNodes still not
implemented.)
svn:r5673
|
|
|
|
|
|
|
|
|
| |
that connection and its circuits. this lets us go back to
using the old helper nodes rather than immediately using
the last one in the list.
svn:r5670
|
|
|
|
| |
svn:r5644
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
|
| |
out NULL and didn't change until it needed to change.
svn:r5578
|
|
|
|
|
|
|
| |
our https proxy.
svn:r5566
|
|
|
|
|
|
|
|
|
|
|
|
| |
we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
|
|
|
|
|
|
| |
shutdown.
svn:r5509
|
|
|
|
|
|
| |
likely to be used.
svn:r5471
|
|
|
|
|
|
| |
Make it use a hashtable instead of a linear search.
svn:r5469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't tell you (it happens!); and rotate TLS connections once a week.
1) If an OR conn becomes more than a week old, make it obsolete.
2) If it's obsolete and empty, kill it.
3) When an OR makes a second connection to you, allow it.
4) If we want to send a new create cell, but the best conn we've
got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask
for a new conn instead.
5) When we time out on circuit building on the first hop, make that
connection obsolete.
svn:r5429
|
|
|
|
|
|
| |
superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
svn:r5349
|
|
|
|
| |
svn:r5317
|
|
|
|
|
|
| |
domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
svn:r5309
|
|
|
|
|
|
|
|
| |
logs in cases where a calling function's log was downgraded and we wouldn't
get any log message otherwise.
svn:r5263
|
|
|
|
| |
svn:r5254
|
|
|
|
| |
svn:r5253
|
|
|
|
|
|
| |
responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
svn:r5249
|
|
|
|
| |
svn:r5209
|
|
|
|
| |
svn:r5208
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
warn when we'recalling a non-named server by its nickname;
don't warn twice about the same name.
Fix a bug in routers_update_status_from_networkstatus that made nearly
all clients never update routerinfo_t.is_named.
Try to list MyFamily elements by key, not by nickname.
Only warn about names that we generated ourself, or got from the local
user.
On TLS handshake, only check the other router's nickname against its
expected nickname if is_named is set.
svn:r5185
|
|
|
|
|
|
|
|
| |
Also, let authdirservers start without setting their Address field.
Something is still not working though. Will fix in morning.
svn:r4839
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tor server, and only list them as running if they've been found to
be reachable.
Dirservers also log trouble servers, but only start complaining loudly
after they've been up for an hour, to reduce false positives. We still
need to do something about the fact that it is quite loud when there
are many trouble servers.
svn:r4829
|
|
|
|
|
|
|
|
|
|
| |
was brittle and maybe open to a mitm for unverified routers.
Now we be sure to check the digest, and if the nickname he claims is
not a verified one then we don't care what nickname he claims.
svn:r4823
|