| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r4939
|
|
|
|
| |
svn:r4938
|
|
|
|
| |
svn:r4937
|
|
|
|
| |
svn:r4936
|
|
|
|
|
|
| |
networkstatus format
svn:r4933
|
|
|
|
| |
svn:r4912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Distinguish v1 authorities (all currently trusted directories) from
v2 authorities (all trusted directories).
- Add configuration option for which dirs are v1 authories.
- Add configuration option for whether to be a v1 authority.
- Make trusted dirserver selection functions take options to
choose which functionality we need.
- Remove option when getting directory cache to see whether they
support running-routers; they all do now. Replace it with one
to see whether caches support v2 stuff.
- Parse, cache, and serve network-status objects properly.
- Serve compressed groups of router descriptors. The compression logic
here could be more memory-efficient.
-
svn:r4911
|
|
|
|
| |
svn:r4908
|
|
|
|
|
|
| |
functions to parse them. Re-do the parsing logic a litt.e. Change signatures in or.h to support new DNS TTL logic.
svn:r4898
|
|
|
|
| |
svn:r4888
|
|
|
|
|
|
| |
routerparse.c along with the hash generation logic; make router signing use it as well.
svn:r4840
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Probably very buggy, since I can't actually run an authdir.
Features
- Generate and publish new network-status format
- Code to cache and re-serve network-status objects generated by others.
- Publish individual descriptors (by fingerprint, by "all", and by
"tell me yours.") [Still needs compression logic]
- Publish client and server recommended versions seprately.
- Add digest of descriptor to routerinfo_t, so we can track them better, and
length, so we can server them more easily.
Cleanups
- Unify code to sign directory-like things
- Make resolve_my_address() able to tell you which name it wound up resolving.
- Unify code to store and serve directory-like things so it all uses
cached_dir_t.
- Unify code to set the value of cached_dir_t objects.
svn:r4835
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tor server, and only list them as running if they've been found to
be reachable.
Dirservers also log trouble servers, but only start complaining loudly
after they've been up for an hour, to reduce false positives. We still
need to do something about the fact that it is quite loud when there
are many trouble servers.
svn:r4829
|
|
|
|
|
|
|
|
|
|
| |
it if it's not.
(this also fixes some potential security problems with people providing
hostnames as their address and then preferentially resolving them and
partitioning users.)
svn:r4790
|
|
|
|
| |
svn:r4755
|
|
|
|
|
|
| |
understands address policies.
svn:r4751
|
|
|
|
| |
svn:r4746
|
|
|
|
| |
svn:r4480
|
|
|
|
| |
svn:r4435
|
|
|
|
|
|
| |
function definition format uniform.
svn:r4411
|
|
|
|
| |
svn:r4404
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4262
|
|
|
|
| |
svn:r4184
|
|
|
|
| |
svn:r4155
|
|
|
|
|
|
| |
non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff.
svn:r4154
|
|
|
|
| |
svn:r3986
|
|
|
|
| |
svn:r3982
|
|
|
|
| |
svn:r3936
|
|
|
|
|
|
| |
functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
svn:r3769
|
|
|
|
|
|
| |
recommended and (1) there is a newer recommended version in the same series, or (2) there are no recommended versions in the same series, but there are some recommended versions in a newer series. A version is "new" if it is newer than any recommended version in the same series.
svn:r3716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Mapaddress
- Postdescriptor
- GetInfo on descriptors
Required changes elsewhere:
- Keep the most recent running_routers_t in the routerlist_t. That way we
can learn about new routers and remember whether we were last told that
they were up or down. Also enables more simplifications.
- Keep the signed descriptor inside routerinfo_t. This makes
descriptor_entry_t in dirservers.c unneeded.
- Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun.
- Check addresses for plausibility before mapping them.
svn:r3696
|
|
|
|
| |
svn:r3656
|
|
|
|
|
|
|
|
|
|
|
|
| |
clock, then don't bother checking recommended-versions: it will
just make us sad.
as a side effect, people running obsolete versions and whose
clocks are wildly skewed will not be auto-shut-down. but they
will still get warns about their clock skew.
svn:r3459
|
|
|
|
|
|
| |
otherwise we will think it is recent and not fetch a newer one.
svn:r3319
|
|
|
|
|
|
| |
compatibility, publish a socks_port of 0, and never read socks_port.
svn:r3279
|
|
|
|
|
|
| |
read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch.
svn:r3244
|
|
|
|
| |
svn:r3237
|
|
|
|
|
|
|
| |
just because it says snprintf doesn't mean it's a noop
svn:r3071
|
|
|
|
|
|
| |
addr_policy_t to addr_policy_t.
svn:r3070
|
|
|
|
| |
svn:r3068
|
|
|
|
| |
svn:r3052
|
|
|
|
| |
svn:r3028
|
|
|
|
| |
svn:r3022
|
|
|
|
|
|
| |
every file.
svn:r3019
|
|
|
|
|
|
|
| |
totally unacceptable to me.
svn:r3005
|
|
|
|
| |
svn:r3003
|
|
|
|
| |
svn:r2989
|
|
|
|
|
|
|
| |
text "is_obsolete_version():".
svn:r2986
|
|
|
|
| |
svn:r2983
|