| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Allow config values in quotes to contain special characters, with full C escape syntax. With tests. Addresses bug 557.
svn:r13021
|
|
|
|
|
|
|
| |
Fix bug 575: protect the list of logs with a mutex. I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you.
svn:r13019
|
|
|
|
|
|
|
| |
Bugfix for bug 569: do not try to download nonexistant certificates with signing key 000000000000000.
svn:r13018
|
|
|
|
|
|
|
| |
Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.)
svn:r13017
|
|
|
|
|
|
|
| |
Patch from Tup: make NS events work again.
svn:r13009
|
|
|
|
|
|
|
| |
Here, have some terribly clever new buffer code. It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data. Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation. I've tested it out a little on peacetime, and it seems to work so far. If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module.
svn:r12983
|
|
|
|
| |
svn:r12962
|
|
|
|
|
|
|
| |
self-reachability and authority-reachability tests.
svn:r12960
|
|
|
|
| |
svn:r12957
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for a v2 or v3 networkstatus object before we were prepared. This
was particularly bad for 0.2.0.13 and later bridge relays, who
would never have a v2 networkstatus and would thus always crash
when used. Bugfixes on 0.2.0.x.
Estimate the v3 networkstatus size more accurately, rather than
estimating it at zero bytes and giving it artificially high priority
compared to other directory requests. Bugfix on 0.2.0.x.
svn:r12952
|
|
|
|
|
|
|
|
|
| |
When we load a bridge descriptor from the cache,
and it was previously unreachable, mark it as retriable so we won't
just ignore it. Also, try fetching a new copy immediately.
svn:r12950
|
|
|
|
|
|
|
| |
Support building for iPhone; patch from cjacker huang.
svn:r12946
|
|
|
|
|
|
|
| |
Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling.
svn:r12945
|
|
|
|
| |
svn:r12938
|
|
|
|
| |
svn:r12935
|
|
|
|
|
|
|
|
| |
identical bridge-purpose descriptor soon after, don't discard
the next one as a duplicate.
svn:r12933
|
|
|
|
|
|
|
| |
Try to resolve bug 553 by adding a sys/time.h include to the autoconf test for rlim_t.
svn:r12931
|
|
|
|
|
|
|
|
| |
snapshot of known bridge routerstatuses from their DirPort to
anybody who knows that password. Unset by default.
svn:r12929
|
|
|
|
|
|
|
|
| |
without a datadirectory from a previous Tor install. Reported
by Zax.
svn:r12928
|
|
|
|
| |
svn:r12926
|
|
|
|
|
|
|
| |
RelayBandwidthBurst, then make them equal rather than erroring out.
svn:r12925
|
|
|
|
|
|
|
| |
PublishServerDescriptor is now "bridge" rather than "v2,v3".
svn:r12923
|
|
|
|
|
|
|
| |
have to change as we invent new directory protocol versions.
svn:r12922
|
|
|
|
|
|
|
|
| |
currently have a Bridge line for it in our torrc. Bugfix on
0.2.0.12-alpha.
svn:r12921
|
|
|
|
| |
svn:r12919
|
|
|
|
|
|
|
|
|
| |
time you use a given introduction point for your service, but
on subsequent requests we'd be using garbage memory. Fixed by
Karsten Loesing. Bugfix on 0.2.0.12-alpha.
svn:r12913
|
|
|
|
|
|
|
|
|
| |
unexpected (it used to be in our networkstatus when we started
fetching it, but it isn't in our current networkstatus), and we
aren't using bridges. Bugfix on 0.2.0.x.
svn:r12911
|
|
|
|
| |
svn:r12905
|
|
|
|
| |
svn:r12899
|
|
|
|
|
|
|
| |
documents if they're v1, v2, or v3 authorities.
svn:r12898
|
|
|
|
| |
svn:r12896
|
|
|
|
|
|
|
|
|
|
|
| |
create the "cached-status" directory in their datadir. All Tors
used to create it. Bugfix on 0.1.2.x.
Bridge relays with DirPort set to 0 no longer cache v1 or v2
directory information; there's no point. Bugfix on trunk.
svn:r12887
|
|
|
|
|
|
|
| |
Don't try to create the datadir when we are only verifying the configuration or hashing a password. Resolves bug 540.
svn:r12884
|
|
|
|
|
|
|
| |
When we decide to send a 503 in response to a request for server descriptors, disable spooling so that we do not then send the descriptors anyway. Fixes bug 539.
svn:r12882
|
|
|
|
|
|
|
| |
Initialize [un]named_server_map to empty strmaps when router_reload_consensus_networkstatus fails completely. Resolves bug 538.
svn:r12881
|
|
|
|
|
|
|
| |
Also, dump our bridge router status entries to disk every 30 minutes.
svn:r12871
|
|
|
|
|
|
|
|
| |
the annotations -- including reading in bridge-purpose descriptors
as general-purpose descriptors.
svn:r12867
|
|
|
|
|
|
|
| |
Fix some xxx020 items.
svn:r12864
|
|
|
|
|
|
|
| |
Changelog entry for geoip.
svn:r12858
|
|
|
|
|
|
|
|
|
| |
AlternateBridgeAuthority, and AlternateHSAuthority) that let the
user selectively replace the default directory authorities, rather
than the all-or-nothing replacement that DirServer offers.
svn:r12777
|
|
|
|
|
|
|
| |
Correct changelog: the bug mwenge noticed existed in 0.1.2.x, even though consensuses didn't.
svn:r12769
|
|
|
|
|
|
|
| |
Fix compilation when --disable-threads is passed in.
svn:r12768
|
|
|
|
|
|
|
| |
Fix some autoconf bugs, and prevent more from occurring. Partial backport candidate.
svn:r12767
|
|
|
|
|
|
|
| |
Patch from mwenge: fix consensus status lookup by nickname when nickname is a hexdigest.
svn:r12766
|
|
|
|
|
|
|
|
| |
directory authorities, but they didn't try publishing to v3-only
authorities. Fix this; and also stop publishing to v1 authorities.
svn:r12759
|
|
|
|
|
|
|
|
|
| |
using bridges or we have StrictEntryNodes set), don't mark relays
down when they fail a directory request. Otherwise we're too quick
to mark all our entry points down.
svn:r12755
|
|
|
|
|
|
|
|
|
| |
authorities to mark certain relays as "bad directories" in the
networkstatus documents. Also supports the "!baddir" directive in
the approved-routers file.
svn:r12754
|
|
|
|
|
|
|
| |
longer listed in the relevant networkstatus document.
svn:r12752
|
|
|
|
|
|
|
| |
multiple controller passwords.
svn:r12732
|
|
|
|
|
|
|
| |
authority.
svn:r12724
|