| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
did not at all match its behavior, and I can't think of a case
when it should return anything other than 0.
This fix may allow getinfo dir/status/foo to work.
svn:r6285
|
|
|
|
|
|
| |
server descriptors anymore
svn:r6252
|
|
|
|
|
|
|
| |
Fix some minor bugs and memory leaks along the way.
svn:r6246
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
building.
Make the warnings about invalid and unnamed nodes scale better, and
update the text of the warnings.
Change router_have_minimum_dir_info() to only be happy when it has
enough network-statuses ("more than half") to be willing to actually
build circuits.
Not yet done: when we fail to get a networkstatus that we wanted, and
!router_have_minimum_dir_info(), we should retry it quicker than a whole
minute from now.
svn:r6227
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r6135
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
|
|
|
| |
we can't do anything about them anyway.
svn:r6073
|
|
|
|
|
|
|
|
|
|
|
|
| |
FetchServerDescriptors and FetchHidServDescriptors for whether
to fetch server info and hidserv info or let the controller do it,
and also PublishServerDescriptor and PublishHidServDescriptors.
Add AllDirActionsPrivate undocumented option -- if you set it, you'll
need the controller to bootstrap you enough to build your first circuits.
svn:r6047
|
|
|
|
| |
svn:r6041
|
|
|
|
| |
svn:r6009
|
|
|
|
|
|
|
| |
i hope they appreciate it.
svn:r6004
|
|
|
|
|
|
|
| |
wants to hear it.
svn:r5990
|
|
|
|
|
|
|
|
| |
it's a shame that they're broken, but most people are just
confused by the warning.
svn:r5988
|
|
|
|
| |
svn:r5969
|
|
|
|
|
|
|
|
| |
is empty, don't give it to him. This way small servers can continue
to serve the directory *sometimes*, without getting overloaded.
svn:r5968
|
|
|
|
| |
svn:r5949
|
|
|
|
| |
svn:r5924
|
|
|
|
| |
svn:r5914
|
|
|
|
| |
svn:r5911
|
|
|
|
| |
svn:r5903
|
|
|
|
|
|
|
|
|
|
|
| |
to 96 (was 128 previously).
We limit this number even when we do not have a http proxy explicitly
configured as some people mistakenly believe transparent proxies are a neat
idea.
svn:r5901
|
|
|
|
|
|
|
|
| |
will pave the way for them being able to tell us to screw off
if they're busy.
svn:r5898
|
|
|
|
|
|
|
|
|
| |
Jan 18 18:42:05.671 [debug] Got data, not eof. Leaving on inbuf.
that's not very smart.
svn:r5843
|
|
|
|
|
|
| |
them lazily on disk.
svn:r5827
|
|
|
|
| |
svn:r5774
|
|
|
|
|
|
| |
when adding a rendezvous post connection. For 201, do not include a content-length 0 with a GET request.
svn:r5765
|
|
|
|
| |
svn:r5760
|
|
|
|
| |
svn:r5759
|
|
|
|
| |
svn:r5758
|
|
|
|
| |
svn:r5756
|
|
|
|
|
|
| |
in mind; remove fetch-from-authority special-case in directory_get_from_dirserver.
svn:r5741
|
|
|
|
|
|
| |
networkstatus, even when they want a compressed one. (Also, bullet-proof the logic in case we ever accidentally request a networkstatus for a non-authority.)
svn:r5740
|
|
|
|
|
|
|
| |
a base16 of the whole thing.
svn:r5678
|
|
|
|
| |
svn:r5677
|
|
|
|
|
|
| |
digest. Caches try to download all listed digests from authorities; clients try to download "best" digests from caches.
svn:r5659
|
|
|
|
| |
svn:r5612
|
|
|
|
| |
svn:r5597
|
|
|
|
|
|
| |
descs we want.
svn:r5595
|
|
|
|
|
|
| |
have_minimum_dir_info, and make the latter function smarter.
svn:r5591
|
|
|
|
|
|
| |
This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories.
svn:r5586
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r5432
|
|
|
|
|
|
|
|
|
|
|
|
| |
- If we can't get to a dirserver directly, try going via Tor.
- Don't ever try to connect (as a client) to a place our firewall
options forbid.
- If we specify a proxy and also firewall options, obey the firewall
options even when we're using the proxy: some proxies can only proxy
to certain destinations.
svn:r5431
|
|
|
|
| |
svn:r5351
|
|
|
|
|
|
| |
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
|