| Commit message (Collapse) | Author | Age |
|
|
|
| |
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
|
|
|
|
| |
svn:r5339
|
|
|
|
|
|
| |
coupld possibly have caused some segfaults: When post-processing a split fingerprint URL, we were trying to base16_decode() entries already in the fingerprint list, failing, and removing them. Ow.
svn:r5326
|
|
|
|
| |
svn:r5317
|
|
|
|
| |
svn:r5310
|
|
|
|
|
|
| |
fingerprint
svn:r5307
|
|
|
|
|
|
| |
of a generic "Servers unavailable."
svn:r5274
|
|
|
|
|
|
| |
and remove the period from all
svn:r5270
|
|
|
|
|
|
|
|
| |
logs in cases where a calling function's log was downgraded and we wouldn't
get any log message otherwise.
svn:r5263
|
|
|
|
|
|
|
|
|
| |
server descriptors with .z, we were leaving out the content-encoding
header. oops. (everything tolerated this just fine, but that doesn't
mean we need to be part of the problem.)
svn:r5258
|
|
|
|
| |
svn:r5257
|
|
|
|
| |
svn:r5250
|
|
|
|
|
|
| |
responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
svn:r5249
|
|
|
|
|
|
| |
compressed data. Also, fix a bug where truncated compressed data could break tor_gzip_uncompress. [This last part is a backport candidate.]
svn:r5247
|
|
|
|
|
|
| |
relevant has changed since the last upload.
svn:r5240
|
|
|
|
|
|
| |
chatty, but it will help us analyze things.
svn:r5197
|
|
|
|
| |
svn:r5194
|
|
|
|
| |
svn:r5188
|
|
|
|
| |
svn:r5187
|
|
|
|
|
|
| |
bytes of serverdesc we are dropping. This will help us determine whether it is smart to parse incomplete serverdesc responses.
svn:r5186
|
|
|
|
|
|
| |
when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download.
svn:r5166
|
|
|
|
| |
svn:r5163
|
|
|
|
|
|
| |
check this too.
svn:r5161
|
|
|
|
| |
svn:r5160
|
|
|
|
|
|
|
| |
it should be back and working now.
svn:r5155
|
|
|
|
| |
svn:r5154
|
|
|
|
|
|
|
|
| |
server descs.
also clean up some formatting.
svn:r5153
|
|
|
|
| |
svn:r5144
|
|
|
|
|
|
| |
servers more than once every 2 hours.
svn:r5134
|
|
|
|
|
|
| |
local_routerstatus_t objs); add a pile of logs back in; probe every 10sec; never autolaunch on failure. Let us see if this works better.
svn:r5125
|
|
|
|
|
|
| |
(download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
svn:r5110
|
|
|
|
|
|
| |
told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand.
svn:r5109
|
|
|
|
|
|
|
|
|
|
| |
http://seppia.noreply.org/tor/dir.z was being declared text/plain
and
http://seppia.noreply.org/tor/server/fp/719BE45DE224B607C53707D0E2143E2D423E74CF
was being declared application/octet-stream
svn:r5108
|
|
|
|
|
|
| |
test case.
svn:r5091
|
|
|
|
|
|
| |
remaining: the "give up forever" bug.
svn:r5090
|
|
|
|
| |
svn:r5083
|
|
|
|
| |
svn:r5082
|
|
|
|
| |
svn:r5079
|
|
|
|
| |
svn:r5077
|
|
|
|
|
|
| |
happening.
svn:r5076
|
|
|
|
| |
svn:r5073
|
|
|
|
|
|
| |
some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
svn:r5070
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only caches need to get running-routers; nobody needs to parse, store,
or use it. Same for the router-status line in the directories. Add
many #if 0's that can get removed once I'm convinced they don't
contain anything I'm forgetting.
Start all newly-parsed routers as non-running and non-valid; update
them from the list of network statuses.
Update all routers when a new networkstatus comes in.
After 3 tries for a networkstatus, clients give up until they're told
to try again.
"Let's get those missles ready to **DESTROY THE UNIVERSE**!"
-TMBG
svn:r5063
|
|
|
|
|
|
|
|
| |
and it doesn't work, don't freak out and mark ourselves as down and
try somewhere else. just calmly fail.
svn:r5050
|
|
|
|
| |
svn:r5031
|
|
|
|
|
|
|
|
| |
it has failed not only when the connection attempt fails, but also
if the conn reaches eof before we get a response that we're happy with.
svn:r5013
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
connection.c:
- Add some more connection accessor functions to make directory
download redundancy checking work.
directory.c, or.h, router.c, routerlist.c:
- Start on logic to note when networkstatus downloads fail.
dirserv.c, routerlist.c, routerparse.c:
- Start maintaining an is_named field in routerstatus_t. Don't
actually look at it yet.
dirserv.c, routerlist.c:
- Remove expired networkstatus objects.
or.h:
- Make some booleans into bitfields
- Add prototypes
routerlist.c:
- Sort networkstatus list by publication time
- Function to remove old (older than 10 days) networkstatus objects.
- Function to set a list of routerinfo_ts' status info from the
current set of networkstatus objects.
- Function to tell which routerinfos we need to download based no the
current set of networkstatus objects.
- Do not launch a networkstatus download if a redundant one is in progress.
routerparse.c:
- Keep router entries in networkstatus sorted by digest.
svn:r5012
|