| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Split handshake state into its own structure. Revise versions and netinfo code to use this structure.
svn:r12380
|
|
|
|
|
|
|
| |
Add a log message when we start retrieving networkstatus
svn:r12378
|
|
|
|
|
|
|
| |
Define SHARE_DATADIR, LOCALSTATEDIR, and BINDIR in Makefile.am as autoconf recommends. Do not move CONFDIR yet, since we seem to support overriding it in a weird way. Resolves bug 542.
svn:r12376
|
|
|
|
|
|
|
| |
again even when my datadir starts empty. phew.
svn:r12372
|
|
|
|
|
|
|
| |
Fix sign error in networkstatus_note_certs_arrived().
svn:r12371
|
|
|
|
|
|
|
|
| |
request) if we need more v3 certs but we've already got pending requests
for all of them.
svn:r12370
|
|
|
|
|
|
|
|
|
|
|
| |
consensus and certs cached in our datadirectory: we were
caching the consensus in consensus_waiting_for_certs but then
free'ing it right after.
more bugs remain here, i think.
svn:r12369
|
|
|
|
|
|
|
|
| |
they ask for is a 404 from the bridge authority, they now fall
back to trying the bridge directly.
svn:r12368
|
|
|
|
|
|
|
| |
descriptors, no matter our config
svn:r12365
|
|
|
|
|
|
|
|
| |
accommodate the growing number of servers that use the default
and are reaching it.
svn:r12364
|
|
|
|
|
|
|
| |
Try to make hidden service directory lookup functions a bit more efficient: go for fewer O(n) operations, and look at the consensus rather than the routerinfo list.
svn:r12361
|
|
|
|
|
|
|
| |
Add a smartlist_bsearch_idx function that gives more useful output than regular bsearch for the value-not-found case.
svn:r12360
|
|
|
|
|
|
|
|
|
|
| |
consensus directory (size 330543) from server '86.59.21.38:80'
Nov 03 11:15:13.129 [info] networkstatus_set_current_consensus(): Got a consensus we already have
Nov 03 11:15:13.129 [warn] Unable to load consensus directory dowloaded from server '86.59.21.38:80'
svn:r12359
|
|
|
|
|
|
|
|
| |
Tor relay without knowing its expected identity digest (e.g. when
using bridges). Bugfix on 0.2.0.3-alpha.
svn:r12355
|
|
|
|
|
|
|
| |
Space fixes.
svn:r12345
|
|
|
|
|
|
|
| |
If setting our rlimit to rlim_max or cap fails, fall back to OPEN_FILES if defiled. This makes Tor run on OSX 10.5, while allowing OSX to mend its ways in the future.
svn:r12341
|
|
|
|
|
|
|
| |
Use rlim_t instead of unsigned long to manipulate rlimit values.
svn:r12339
|
|
|
|
|
|
|
| |
Better log messages for "not enough to build a circuit" message.
svn:r12324
|
|
|
|
|
|
|
| |
More tweaks from karsten, with some cleanup and commentary.
svn:r12319
|
|
|
|
|
|
|
| |
Remove superseded assert in directory.c
svn:r12317
|
|
|
|
| |
svn:r12315
|
|
|
|
| |
svn:r12314
|
|
|
|
|
|
|
| |
As an authority, send back an X-Descriptor-Not-New header when we accept but do not store a descriptor. Partial implementation of fix for bug 535.
svn:r12310
|
|
|
|
|
|
|
| |
Implement --quiet.
svn:r12306
|
|
|
|
|
|
|
| |
Learn new addresses for authorities from their certificates.
svn:r12305
|
|
|
|
|
|
|
| |
Use HMAC() function from openssl. Oops.
svn:r12304
|
|
|
|
|
|
|
| |
Clients download and cache new hidden descriptor format.
svn:r12302
|
|
|
|
|
|
|
| |
Clean spaces.
svn:r12301
|
|
|
|
|
|
|
| |
A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int.
svn:r12300
|
|
|
|
|
|
|
| |
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate.
svn:r12299
|
|
|
|
|
|
|
| |
HMAC-SHA-1 implementation, with unit tests based on vectors from RVFC2202. Steven's stuff will need this.
svn:r12289
|
|
|
|
|
|
|
| |
Implement (but do not enable) link connection version negotiation
svn:r12286
|
|
|
|
|
|
|
| |
Implement lots of proposal 105. None of it is enabled yet.
svn:r12285
|
|
|
|
|
|
|
| |
Improved skew reporting: "You are 365 days in the duture" is more useful than "You are 525600 minutes in the future". Also, when we get something that proves we are at least an hour in the past, tell the controller "CLOCK_SKEW MIN_SKEW=-3600" rather than just "CLOCK_SKEW"
svn:r12283
|
|
|
|
|
|
|
| |
Accept future networkstatus documents, but warn about skew when we get them.
svn:r12282
|
|
|
|
|
|
|
| |
Tidy last patch a bit.
svn:r12273
|
|
|
|
|
|
|
| |
Patch from Karsten: Code to act as (and use) v2 hidden service directories.
svn:r12272
|
|
|
|
|
|
|
| |
Change symbol from DATADIR to SHARE_DATADIR, since DATADIR conflicts with objidl.h in mingw.
svn:r12268
|
|
|
|
|
|
|
| |
Do not count a server as having any WFU until we have known about it for 18 hours (weighted).
svn:r12261
|
|
|
|
|
|
|
| |
Implement a FallbackNetworkstatusFile (default to $prefix/share/tor/fallback-consensus) to that we know about lots of directory servers and routers when we start up the first time.
svn:r12259
|
|
|
|
|
|
|
| |
Implement if-modified-since for consensus networkstatuses so that we do not download duplicates needlessly.
svn:r12258
|
|
|
|
| |
svn:r12257
|
|
|
|
|
|
|
| |
Whitespace fix.
svn:r12256
|
|
|
|
|
|
|
| |
Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported.
svn:r12255
|
|
|
|
|
|
|
| |
Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors.
svn:r12254
|
|
|
|
|
|
|
| |
Clean up a couple of comments from r12244.
svn:r12253
|
|
|
|
|
|
|
|
|
|
|
|
| |
edge_connection_t: want_onehop if it must attach to a circuit with
only one hop (e.g. for the current tunnelled connections that use
begin_dir), and use_begindir if we mean to use a BEGIN_DIR relay
command to establish the stream rather than the normal BEGIN. Now
we can make anonymized begin_dir connections for (e.g.) more secure
hidden service posting and fetching.
svn:r12244
|
|
|
|
|
|
|
|
|
| |
Stop servers from crashing if they set a Family option (or
maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
by Fabian Keil.
svn:r12235
|
|
|
|
|
|
|
| |
file. we can live without it.
svn:r12221
|
|
|
|
|
|
|
| |
base "Guard" flag on WFU rather than MTBF. Note an issue in the TODO. Roger: thoughts?
svn:r12219
|