Age | Commit message (Collapse) | Author |
|
Make eventdns give strings for DNS errors, not just error numbers.
svn:r8535
|
|
Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG.
svn:r8534
|
|
Implement DESCCHANGED event to tell controller when our router descriptor changes.
svn:r8533
|
|
Reserve the nickname "Unnamed" for routers that can't pick a hostname; any
router can call itself Unnamed; directory servers will never allocate Unnamed
to any particular router; clients won't believe that any router is the
canonical Unnamed.
svn:r8529
|
|
[Needs review.] Add a BEGIN_DIR relay cell type for an easier
in-protocol way to connect to directory servers through Tor.
Previously, clients could only connect to director servers over Tor
from exit nodes, but couldn't get directory information anonymously
from a non-exit cache without getting a directory server involved.
This needs testing, and needs client-side code to actually exercise it.
svn:r8527
|
|
svn:r8524
|
|
Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria.
svn:r8523
|
|
Another tweak to guard logic: ignore check for the Guard flag if a server is listed on EntryNodes. (Also remove redundant checks for always-set variables.)
svn:r8522
|
|
Document entry-guard related functions
svn:r8521
|
|
Improvement to last entry guards patch: track when we last attempted to connect to a node in our state file along with how long it has been unreachable. Also clarify behavior of parse_iso_time() when it gets extra characters.
svn:r8520
|
|
Refactor entry guard status logic a lot; allow more factors [like not
having a Guard flag or being listed in ExcludeNodes] to render a guard
"unlisted" (now called "unusable"); track guard down status (now
called "unreachable") separately from is_running.
svn:r8519
|
|
Add a space in a wrapped log message
svn:r8517
|
|
Restore to previous wording that svk merging made me mess up
svn:r8516
|
|
bandwidth is not measured in bytes
svn:r8515
|
|
Also log guard bandwidth cutoff
svn:r8514
|
|
router_set_networkstatus() gets a list of status documents we asked for from
connection_dir_client_reached_eof(). However, as a cache we (sometimes?) just
ask for "all". router_set_networkstatus() would freak out over that, meaning
it would log a warning and drop the status document instead of caching it
as it is supposed to. Now we let router_set_networkstatus() know if the
data comes from an all-request so it can do the right thing.
svn:r8513
|
|
Fix some warnings on mingw; hopefully this should let us build on mingw without warnings.
svn:r8509
|
|
Remove a signed/unsigned comparison in eventdns.c
svn:r8508
|
|
Fix for reverse dns: only assume we will get an answer when the result was success.
svn:r8507
|
|
doing (mainly people with private testing networks) can disable our same-/16 detection.
svn:r8504
|
|
should help valgrind and dmalloc freak out less.
svn:r8503
|
|
escaped().
svn:r8502
|
|
svn:r8500
|
|
svn:r8499
|
|
svn:r8498
|
|
svn:r8497
|
|
svn:r8496
|
|
svn:r8485
|
|
one or two are stability-related. This should make it easier to push our changes back towards libevent.
svn:r8482
|
|
client asks us to resolve (not connect to) an address, and we have a
cached answer, give them the cached answer. Previously, we would give
them no answer at all.
svn:r8478
|
|
Instead of just checking known-invalid addresses for DNS hijacking, we
now check randomly generated addresses, and if too many of them map to
the same IP, we assume that IP is the destination of a DNS hijack
attempt.
A little bird tells me that some DNS hijackers think that declining to
give an A record for RFC2606 addresses (like .invalid and .example)
makes them more standards compliant. Standardswise, this is like an
illicit brothel making sure that nobody has pulled the tags off the
mattresss, but that doesn't get us out of working around it.
svn:r8465
|
|
Consider changes to has_old_dnsworkers as noncosmetic
svn:r8464
|
|
on the list.
svn:r8461
|
|
I tracked a bug in server-side reverse DNS to something concerning the caching code. Ive disabled server-side cacheing for reverse DNS answers for now, and I am noting the bug in the TODO.
svn:r8454
|
|
Debug client-side reverse dns code.
svn:r8452
|
|
Specify and implement SOCKS5 interface for reverse hostname lookup.
svn:r8451
|
|
svn:r8450
|
|
svn:r8449
|
|
svn:r8448
|
|
svn:r8447
|
|
Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit).
svn:r8446
|
|
Trivial patch to appease warn-happy gcc: mark unused parameter
svn:r8445
|
|
Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation.
svn:r8444
|
|
Trivial whitespace cleanups.
svn:r8443
|
|
Consider non-exit servers unsuitable for RESOLVE commands.
svn:r8442
|
|
Trivial cleanup: !!x is a weird way to spell x != NULL.
svn:r8441
|
|
Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet.
svn:r8440
|
|
Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled.
svn:r8439
|
|
Fix a bug: Remember, each call to escaped() replaces the value returned from the last call to escaped().
svn:r8438
|
|
Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled.
svn:r8437
|