| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r8620
|
|
|
|
|
|
|
| |
Fix bug in r8579: TrackHostExits .foo.bar implies TrackHostExits foo.bar; also fix logic error.
svn:r8592
|
|
|
|
|
|
|
| |
Make TrackExitHosts case-insensitive, and fix the behavior of .suffix TrackExitHosts items to avoid matching in the middle of an address. (Resolves an XXXX)
svn:r8579
|
|
|
|
|
|
|
| |
not mandatory that we use that enclave, stop wanting it.
svn:r8559
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Debug client-side reverse dns code.
svn:r8452
|
|
|
|
|
|
|
| |
Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit).
svn:r8446
|
|
|
|
|
|
|
| |
Consider non-exit servers unsuitable for RESOLVE commands.
svn:r8442
|
|
|
|
|
|
|
| |
minutes, trying to establish reachability of my unreachable server.
svn:r8415
|
|
|
|
|
|
|
|
| |
where if circuits fail quickly, we'll fail a lot of them very
quickly and not retry for a while. so be it.
svn:r8407
|
|
|
|
| |
svn:r8400
|
|
|
|
|
|
|
|
| |
we're reachable. Spread them over 4 circuits, so hopefully a few will
be fast. This exercises our bandwidth and bootstraps us quicker.
svn:r8399
|
|
|
|
|
|
|
| |
Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().]
svn:r8226
|
|
|
|
|
|
|
| |
Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit.
svn:r6903
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
its webserver is misconfigured to not listen on localhost, then back
off and try connecting from somewhere else before we fail.
svn:r6783
|
|
|
|
| |
svn:r6782
|
|
|
|
| |
svn:r6566
|
|
|
|
|
|
|
| |
consider ourselves reachable. this just confuses them.
svn:r6546
|
|
|
|
|
|
|
| |
on non-open circuits.
svn:r6540
|
|
|
|
|
|
| |
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
|
|
|
|
|
| |
haven't tried to establish any circuits lately.
svn:r6516
|
|
|
|
| |
svn:r6396
|
|
|
|
|
|
|
|
| |
are reachability testing and rendserv upload/downloads, and they
have their own failure messages elsewhere.
svn:r6343
|
|
|
|
|
|
|
| |
Fix some minor bugs and memory leaks along the way.
svn:r6246
|
|
|
|
|
|
|
| |
first hop, so they don't have to time out.
svn:r6225
|
|
|
|
| |
svn:r6220
|
|
|
|
|
|
|
|
|
|
| |
wait unattached before we fail it?
Use this value for controller socks timeout, for normal socks
timeout, and for hidden-service socks timeout.
svn:r6217
|
|
|
|
| |
svn:r6214
|
|
|
|
|
|
|
|
| |
I have absolutely no idea if this change helps or hurts.
Somebody should study this.
svn:r6212
|
|
|
|
|
|
|
| |
'named' and 'valid'.
svn:r6188
|
|
|
|
| |
svn:r6174
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Surround all constants by (parens), whether we'll be using them
in a denominator or not.
2) Express all time periods as products (24*60*60), not as multiplied-out
constants (86400).
3) Comments like "(60*60) /* one hour */" are as pointless as comments
like "c = a + b; /* set c to the sum of a and b */". Remove them.
4) All time periods should be #defined constants, not given inline.
5) All time periods should have doxygen comments.
6) All time periods, unless specified, are in seconds. It's not necessary
to say so.
To summarize, the old (lack of) style would allow:
#define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */
next_try = now + 3600;
The new style is:
/** How often do we reattempt foo? */
#define FOO_RETRY_INTERVAL (60*60)
next_try = now + RETRY_INTERVAL;
svn:r6142
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
| |
svn:r6002
|
|
|
|
|
|
| |
when we unexpectedly get an app connection
svn:r5962
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
|
| |
this is our last easy chance for a wholesale change. heave ho.
svn:r5782
|
|
|
|
| |
svn:r5734
|
|
|
|
|
|
|
|
| |
(config options EntryNodes and StrictEntryNodes still not
implemented.)
svn:r5673
|
|
|
|
| |
svn:r5669
|
|
|
|
|
|
|
|
|
| |
have a circuit in mind, and we timeout (30 seconds) because the
network never answers, we were expiring the circuit, but we weren't
obsoleting the connection or telling the helper functions. now do that.
svn:r5668
|
|
|
|
|
|
| |
have_minimum_dir_info, and make the latter function smarter.
svn:r5591
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
|
| |
with him.
svn:r5567
|
|
|
|
|
|
|
|
|
|
|
|
| |
we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
|
|
|
|
| |
svn:r5511
|