| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Use set_uint16/32 instead of raw assignments in order to make gcc happier.
svn:r9399
|
|
|
|
|
|
|
| |
More documentation. (Again, trying to see whether I have buildbot working).
svn:r9394
|
|
|
|
| |
svn:r9387
|
|
|
|
|
|
|
| |
Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry.
svn:r9355
|
|
|
|
|
|
|
| |
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision.
svn:r9354
|
|
|
|
|
|
|
| |
Update the state file less often when AvoidDiskWrites is set.
svn:r9174
|
|
|
|
|
|
|
| |
Implement SETEVENTS GUARD. Needs review and testing.
svn:r9137
|
|
|
|
| |
svn:r9109
|
|
|
|
|
|
|
|
| |
socks-command-connect-dir streams, so we don't open new anonymity
questions.
svn:r9099
|
|
|
|
| |
svn:r9062
|
|
|
|
| |
svn:r9060
|
|
|
|
|
|
|
| |
Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts.
svn:r9052
|
|
|
|
|
|
|
| |
Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second.
svn:r9047
|
|
|
|
|
|
|
| |
Oops; fix bug in last fix. Time to get some coffee.
svn:r8970
|
|
|
|
|
|
|
| |
Fix leak in choose_good_exit_server_general()
svn:r8969
|
|
|
|
|
|
|
| |
some conventions.
svn:r8805
|
|
|
|
|
|
|
| |
and so vidalia can start handling them if it wants.
svn:r8802
|
|
|
|
|
|
|
| |
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)
svn:r8739
|
|
|
|
|
|
|
|
| |
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com"
svn:r8690
|
|
|
|
|
|
|
| |
printing a duplicate "$" in the keys we send. (Reported by mwenge)
svn:r8681
|
|
|
|
|
|
|
|
|
|
|
| |
Touch up last patch (to add REASON to CIRC events): make some reasons
more sensible, send reasons only to controllers that have enabled
extended events, and clean up whitespace.
svn:r8672
|
|
|
|
|
|
|
| |
Patch from Mike Perry: add a REASON field to closed and failed circ events.
svn:r8671
|
|
|
|
| |
svn:r8657
|
|
|
|
|
|
|
| |
whitespace fixes; add changelog for last commit.
svn:r8644
|
|
|
|
|
|
|
| |
refactor circuit_list_path and circuit_list_path_verbose into a common _impl function.
svn:r8642
|
|
|
|
| |
svn:r8633
|
|
|
|
| |
svn:r8630
|
|
|
|
|
|
|
| |
new xxx that we'll want to address one day.
svn:r8628
|
|
|
|
| |
svn:r8622
|
|
|
|
| |
svn:r8620
|
|
|
|
|
|
|
| |
Make verbose names get used (when appropriate and selected) in responses to getinfo requests.
svn:r8593
|
|
|
|
|
|
|
| |
Partial implementation of revised nickname syntax for controllers. Implement ability to look up routers by "verbose" nicknames; add a per-v1-control-connection flag to turn the feature on in events. Needs testing, spec, ability to actually turn on the flag, double-checking that we wont overflow any nickname buffers, and changelog.
svn:r8582
|
|
|
|
| |
svn:r8581
|
|
|
|
|
|
|
| |
Remove/clarify some XXXs for no longer being accurate; for begin things we do not indend to fix; for already being parts of big todo issues (like "/* XXX ipv6 */"); etc. Also fix some spaces.
svn:r8580
|
|
|
|
|
|
|
| |
Disprefer exit nodes for entry, middle positions (fixes bug 200). Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity.
svn:r8571
|
|
|
|
|
|
|
| |
Fix bug 303: reject attempts to use Tor as a one-hop proxy.
svn:r8566
|
|
|
|
|
|
|
| |
Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames.
svn:r8548
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r8400
|
|
|
|
|
|
|
| |
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
|
|
|
|
| |
svn:r6939
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
not therefore "up".
svn:r6798
|
|
|
|
| |
svn:r6796
|
|
|
|
|
|
|
| |
our own descriptor yet.
svn:r6775
|