Age | Commit message (Collapse) | Author |
|
Backport 11166: When loading state info from disk, never believe any date in the future.
svn:r11925
|
|
Backport r11293: bulletproof the code that generates extend_info. I am still not sure whether this bug ever occurs on 0.1.2.x, or whether it only appears when the bridge code is present, but in any case it costs us nothing.
svn:r11607
|
|
of this right. other people should check too.
svn:r11274
|
|
svn:r11248
|
|
Backport r10730: Do not choose guard nodes that appear after any never-before-connected-to guard.
svn:r10817
|
|
Backport r10521: Fix a memory leak
svn:r10816
|
|
svn:r10318
|
|
svn:r10310
|
|
Fix a bug found by Udo van den Heuvel: avoid an assertion failure when a controller sets and clears EntryNodes before the next call to choose_random_entry(). Also make a function static.
svn:r9669
|
|
svn:r9634
|
|
Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro.
svn:r9633
|
|
svn:r9632
|
|
r9574. this hack is getting pretty darn hackish; perhaps it's time to
not use SMARTLIST_FOREACH in this situation.
svn:r9629
|
|
Fix an XXXX012: make entry guards _really_ get retried when the network comes back online.
svn:r9622
|
|
Fix 35 remaining DOCDOC comments. Yowza.
svn:r9596
|
|
Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list.
svn:r9574
|
|
Update copyright dates.
svn:r9570
|
|
Implement proposal 106: stop requiring clients to have certificates, and stop checking for nicknames in certificates. [See proposal 106 for rationale.] Also improve messages when checking TLS handshake, to re-resolve bug 382.
svn:r9568
|
|
Resolve some XXXX012 items:
- Remove PathlenCoinWeight: if we want it again, we can add it
back in.
- Ditto with RelayBandwidth*.
- Decide to leave in the "hey, you didn't set end_reason!" BUG log message,
but stop telling people to bug me personally.
- Postpone strengthening assert_connection_ok(): it's important, but
it's also a good way to introduce weird bugs.
- Move some expensive consistency checking from dns_free_all() into
assert_cache_ok().
svn:r9533
|
|
Wow. Remember when I wrote that script to tell me about macros that were never used? Good times.
svn:r9525
|
|
svn:r9491
|
|
Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there.
svn:r9482
|
|
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
Audit non-const char arguments; make a lot more of them const.
svn:r9466
|
|
Write the entry guards section of path-spec; note a possible bug in cirbuitbuild.c; add a const; defer work on torrc.complete to be part of a bigger config documentation reorg.
svn:r9465
|
|
unstable ones.
svn:r9441
|
|
directory tunnel without knowing a descriptor first. Still not
ready yet. As part of the change, now assume we can use a
create_fast cell if we don't know anything about a router.
svn:r9440
|
|
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
|