| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
| |
if it doesn't have an approved-routers file. if it does,
read it and parse it as usual.
svn:r6182
|
|
|
|
| |
svn:r6165
|
|
|
|
|
|
|
| |
add a comment in a few places where we add weird numbers to buffer lengths
svn:r6161
|
|
|
|
|
|
|
| |
three authorities but broke sjmurdoch's own tor network.
svn:r6157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Surround all constants by (parens), whether we'll be using them
in a denominator or not.
2) Express all time periods as products (24*60*60), not as multiplied-out
constants (86400).
3) Comments like "(60*60) /* one hour */" are as pointless as comments
like "c = a + b; /* set c to the sum of a and b */". Remove them.
4) All time periods should be #defined constants, not given inline.
5) All time periods should have doxygen comments.
6) All time periods, unless specified, are in seconds. It's not necessary
to say so.
To summarize, the old (lack of) style would allow:
#define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */
next_try = now + 3600;
The new style is:
/** How often do we reattempt foo? */
#define FOO_RETRY_INTERVAL (60*60)
next_try = now + RETRY_INTERVAL;
svn:r6142
|
|
|
|
|
|
|
| |
quickly if a server stops being reachable.
svn:r6141
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Old servers won't realize they're supposed to stay connected
to the new dirservers, so they'll expire connections to them,
but that means the dirservers will list them as unreachable.
So the fix is to stop requiring an open connection when deciding
if a server is reachable. This makes us slightly less accurate,
but at least it will work.
svn:r6140
|
|
|
|
| |
svn:r6117
|
|
|
|
|
|
| |
of acceptable routers; make routers publish every 12 hours; client ROUTER_MAX_AGE must be greater than NETWORKSTATUS_MAX_AGE+authoirty ROUTER_MAX_AGE.
svn:r6095
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
|
|
|
| |
i hope they appreciate it.
svn:r6004
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
| |
code say which versions it would have accepted. (not tested.)
svn:r5927
|
|
|
|
|
|
|
|
|
|
| |
existence of descriptors older than a day.
we still cache them in case anybody asks, but we don't actively
mention them.
svn:r5913
|
|
|
|
| |
svn:r5861
|
|
|
|
|
|
| |
entry guard". Make clients parse it and vote on it.
svn:r5856
|
|
|
|
|
|
| |
them lazily on disk.
svn:r5827
|
|
|
|
| |
svn:r5792
|
|
|
|
|
|
|
|
| |
every 10 seconds. this way we don't try to do 500 tls's at
once every 20 minutes.
svn:r5763
|
|
|
|
|
|
| |
of no use to anybody. Better still: dont serve expired descriptors by fingerprint. The only people who ask for them are busted 0.1.1.10 Tors that will throw them away and re-request them after 30 minutes.
svn:r5762
|
|
|
|
|
|
| |
their own descriptor changes as cosmetic.
svn:r5755
|
|
|
|
| |
svn:r5754
|
|
|
|
| |
svn:r5727
|
|
|
|
|
|
|
|
| |
from other dirservers. now when there's a log complaint, it's for sure
from a freshly uploaded descriptor.
svn:r5726
|
|
|
|
|
|
|
| |
log it so loudly.
svn:r5713
|
|
|
|
|
|
|
|
| |
of running valid servers. that way the cutoff adapts to the stability
of the network as a whole.
svn:r5693
|
|
|
|
| |
svn:r5601
|
|
|
|
|
|
| |
bandwidth and uptime declared in the router descriptors.
svn:r5599
|
|
|
|
| |
svn:r5596
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
| |
publishe network-status.
svn:r5574
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r5550
|
|
|
|
|
|
| |
160-character-per-line limit; this will creep down.
svn:r5548
|
|
|
|
|
|
|
|
| |
besides 127.x.y.z without complaining.
and give a better message in the log.
svn:r5544
|
|
|
|
|
|
| |
descriptors that they know they will reject.
svn:r5514
|
|
|
|
|
|
| |
Make it use a hashtable instead of a linear search.
svn:r5469
|
|
|
|
| |
svn:r5467
|
|
|
|
|
|
| |
statuses, cconsider regenerating our own.
svn:r5466
|
|
|
|
|
|
| |
block
svn:r5437
|
|
|
|
|
|
|
|
| |
server descriptors that were uploaded to a router in its role as authoritative
dirserver.
svn:r5436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:r5336
|
|
|
|
| |
svn:r5330
|
|
|
|
|
|
| |
was no leak here.
svn:r5329
|
|
|
|
|
|
| |
old ones is definitely some textbook C problem.
svn:r5323
|
|
|
|
| |
svn:r5319
|
|
|
|
| |
svn:r5317
|
|
|
|
| |
svn:r5315
|