| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Change configuration strategy for eventdns. Instead of elaborate option set, just allow the user to specify another resolv.conf to use.
svn:r8254
|
|
|
|
|
|
|
| |
divide eventdns log messages into warn and info messages.
svn:r8252
|
|
|
|
|
|
|
| |
and revise some log severities to match the convention.
svn:r8234
|
|
|
|
| |
svn:r8233
|
|
|
|
|
|
|
| |
Resolve bug 321 when using dnsworkers: append a period to every address we resolve at the exit node, so that we do not accidentally pick up local addresses, and so that failing searches are retried in the resolver search domains. (This is already solved for eventdns.)
svn:r8225
|
|
|
|
|
|
|
| |
Implement reverse DNS lookup in eventdns: add new entry point; rename old entry point; revise TODO a little; add facility for parsing dns names.
svn:r7070
|
|
|
|
| |
svn:r7067
|
|
|
|
|
|
|
| |
Fix eventdns version of dns.c. Man, we need to get rid of this eventdns/dnsworker split.
svn:r7064
|
|
|
|
|
|
|
| |
remove extraneous #endif
svn:r7063
|
|
|
|
|
|
|
| |
Make it possible for dns_init() to fail; note failure of eventdns configuratoin.
svn:r7059
|
|
|
|
|
|
|
| |
Stop walking entire dns cache for every request, now that we found our hash table bug.
svn:r7057
|
|
|
|
|
|
|
|
| |
the idioms of other compare functions. hopefully i didn't
break it?
svn:r7048
|
|
|
|
| |
svn:r7026
|
|
|
|
|
|
|
| |
Fix a pedantic warning
svn:r7023
|
|
|
|
|
|
|
| |
Fix verbose compilation errors; make sure transparent proxy fails when no method is configured.
svn:r7012
|
|
|
|
|
|
|
| |
whitespace fixes
svn:r7011
|
|
|
|
| |
svn:r6982
|
|
|
|
|
|
|
| |
Add functions to eventdns to allow detecting whether we have any nameservers configured, and to change the list of nameservers after initial configuration.
svn:r6976
|
|
|
|
|
|
|
| |
Oops. We shouldnt initialize eventdns when we are not being a server and not resolving anything.
svn:r6975
|
|
|
|
|
|
|
| |
Export and use eventdns_config_windows_nameservers(); clean up some comments and log messages.
svn:r6974
|
|
|
|
| |
svn:r6969
|
|
|
|
| |
svn:r6963
|
|
|
|
|
|
|
| |
documentation and naming tweaks in dns.c
svn:r6961
|
|
|
|
|
|
|
| |
More asserts for cache correctness.
svn:r6960
|
|
|
|
|
|
|
| |
Solve timing-out pending connections. Add pending resolves to expiry queue; when we find an answer, change the pending resolve to "done" and stick the actual answer in the expiry queue as a new entry. This uses a little more memory, but makes the code simpler than other solutions.
svn:r6956
|
| |
|
|
|
|
|
|
|
| |
start restructuring dns to use priority queues for expiring entries.
svn:r6954
|
|
|
|
| |
svn:r6937
|
|
|
|
| |
svn:r6927
|
|
|
|
| |
svn:r6926
|
|
|
|
| |
svn:r6924
|
|
|
|
|
|
| |
dns_purge_resolve is the culprit.
svn:r6922
|
|
|
|
|
|
|
| |
Fix compilation for eventdns dns.c with split structs.
svn:r6908
|
|
|
|
|
|
|
| |
Clean up wide lines from last patch.
svn:r6907
|
|
|
|
|
|
|
| |
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
|
|
|
|
|
|
| |
pend->conn->s == -1 issue.
svn:r6803
|
|
|
|
| |
svn:r6763
|
|
|
|
|
|
| |
permanently.
svn:r6756
|
|
|
|
|
|
| |
we asked for.
svn:r6751
|
|
|
|
|
|
| |
active, and make set of nameservers configurable from torrc.
svn:r6744
|
|
|
|
| |
svn:r6730
|
|
|
|
| |
svn:r6728
|
|
|
|
| |
svn:r6628
|
|
|
|
|
|
|
|
|
|
|
| |
This happened when we got two create cells in a row from the same TLS
connection. It would hand one to the cpuworker, and then immediately
handle the second one -- after it had registered that the first one was
busy, but before it had updated the timestamp that we use to decide how
*long* it's been busy.
svn:r6606
|
|
|
|
|
|
|
|
|
|
| |
connection_add being called with socket = -1. The only places I can see
where that happen would be if our tor_socketpair succeeds but it hands
back negative values for some of its file descriptors. Perhaps this will
produce more useful assert errors next time.
svn:r6550
|
|
|
|
|
|
| |
what answers we are getting wrt eventdns.
svn:r6547
|
|
|
|
|
|
| |
(hoop-lah).
svn:r6534
|
|
|
|
|
|
| |
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
|
|
|
|
|
|
|
|
|
| |
possible. Cache at the server side independently from the TTL, to
prevent attackers from probing the server to see who has been asking
for what hostnames. (Hi, Dan Kaminski!)
Also, clean some whitespace.
svn:r6526
|