aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Collapse)AuthorAge
* log when we finish ssl handshake and move to renegotiationRoger Dingledine2011-06-17
| | | | | | debug-level since it will be quite common. logged at both client and server side. this step should help us track what's going on with people filtering tor connections by our ssl habits.
* Re-apply the automated conversion to 0.2.2 to make handle any memcmps that ↵Nick Mathewson2011-05-11
| | | | snuck in
* Merge remote-tracking branch 'public/3122_memcmp_squashed' into ↵Nick Mathewson2011-05-11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug3122_memcmp_022 Conflicts throughout. All resolved in favor of taking HEAD and adding tor_mem* or fast_mem* ops as appropriate. src/common/Makefile.am src/or/circuitbuild.c src/or/directory.c src/or/dirserv.c src/or/dirvote.c src/or/networkstatus.c src/or/rendclient.c src/or/rendservice.c src/or/router.c src/or/routerlist.c src/or/routerparse.c src/or/test.c
| * Hand-conversion and audit phase of memcmp transitionNick Mathewson2011-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here I looked at the results of the automated conversion and cleaned them up as follows: If there was a tor_memcmp or tor_memeq that was in fact "safe"[*] I changed it to a fast_memcmp or fast_memeq. Otherwise if there was a tor_memcmp that could turn into a tor_memneq or tor_memeq, I converted it. This wants close attention. [*] I'm erring on the side of caution here, and leaving some things as tor_memcmp that could in my opinion use the data-dependent fast_memcmp variant.
| * Automated conversion of memcmp to tor_memcmp/tor_mem[n]eqNick Mathewson2011-05-11
| | | | | | | | | | | | | | | | | | | | | | | | This commit is _exactly_ the result of perl -i -pe 's/\bmemcmp\(/tor_memcmp\(/g' src/*/*.[ch] perl -i -pe 's/\!\s*tor_memcmp\(/tor_memeq\(/g' src/*/*.[ch] perl -i -pe 's/0\s*==\s*tor_memcmp\(/tor_memeq\(/g' src/*/*.[ch] perl -i -pe 's/0\s*!=\s*tor_memcmp\(/tor_memneq\(/g' src/*/*.[ch] git checkout src/common/di_ops.[ch] git checkout src/or/test.c git checkout src/common/test.h
* | Remove some dead code, found by clangSebastian Hahn2011-05-09
| |
* | Clarify some documentation and comments wrt resetting OR token bucketsNick Mathewson2011-03-25
| |
* | Fix up all doxygen warnings other than "foo is not documented"Nick Mathewson2011-03-16
| |
* | Merge remote branch 'sebastian/bug1035' into maint-0.2.2Nick Mathewson2011-03-08
|\ \
| * | Remove an incorrect comment in connection_or_check_valid_tls_handshakeNick Mathewson2010-11-22
| | |
* | | Sanity-check consensus param valuesSebastian Hahn2011-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to make sure that the worst thing that a weird consensus param can do to us is to break our Tor (and only if the other Tors are reliably broken in the same way) so that the majority of directory authorities can't pull any attacks that are worse than the DoS that they can trigger by simply shutting down. One of these worse things was the cbtnummodes parameter, which could lead to heap corruption on some systems if the value was sufficiently large. This commit fixes this particular issue and also introduces sanity checking for all consensus parameters.
* | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-01-03
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * | Bump copyright statements to 2011Nick Mathewson2011-01-03
| | |
* | | Merge remote branch fix_security_bug_021 into fix_security_bug_022Nick Mathewson2010-12-15
|\| | | |/ |/| | | | | | | | | Conflicts: src/common/memarea.c src/or/or.h src/or/rendclient.c
| * Make payloads into uint8_t.Nick Mathewson2010-12-15
| | | | | | | | This will avoid some signed/unsigned assignment-related bugs.
* | Synx manpage and source wrt option capitalizationSebastian Hahn2010-11-10
| | | | | | | | | | | | We had a spelling discrepancy between the manpage and the source code for some option. Resolve these in favor of the manpage, because it makes more sense (for example, HTTP should be capitalized).
* | Rename get_client_identity_key to get_tlsclient_identity_keyNick Mathewson2010-10-21
| |
* | Maintain separate server and client identity keys when appropriate.Robert Ransom2010-10-04
| | | | | | | | Fixes a bug described in ticket #988.
* | improve code comments, based on comments from nickRoger Dingledine2010-09-28
| |
* | handle ugly edge case in retrying entrynodesRoger Dingledine2010-09-28
| | | | | | | | | | | | | | | | Specifically, a circ attempt that we'd launched while the network was down could timeout after we've marked our entrynodes up, marking them back down again. The fix is to annotate as bad the OR conns that were around before we did the retry, so if a circuit that's attached to them times out we don't do anything about it.
* | A start at a patch for bug 1943 (alignment issues)Roger Dingledine2010-09-20
| |
* | perconnbwrate and perconnbwburst consensus paramsRoger Dingledine2010-09-16
| |
* | Merge branch 'bug1184'Nick Mathewson2010-09-15
|\ \
| * | Clear cell queues when marking or truncating a circuit.Nick Mathewson2010-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | At best, this patch helps us avoid sending queued relayed cells that would get ignored during the time between when a destroy cell is sent and when the circuit is finally freed. At worst, it lets us release some memory a little earlier than it would otherwise. Fix for bug #1184. Bugfix on 0.2.0.1-alpha.
* | | Add a simple integer-ceiling-division macro before we get it wrongNick Mathewson2010-09-14
| | |
* | | reinit per-conn token buckets on config or consensus changeRoger Dingledine2010-08-15
| | |
* | | factor out rate/burst setting. no actual changes.Roger Dingledine2010-08-15
|/ /
* | Create rephist.hSebastian Hahn2010-07-27
| |
* | Create relay.hSebastian Hahn2010-07-27
| |
* | Create reasons.hSebastian Hahn2010-07-27
| |
* | Create networkstatus.hSebastian Hahn2010-07-27
| |
* | Create main.hSebastian Hahn2010-07-27
| |
* | Create dirserv.hSebastian Hahn2010-07-27
| |
* | Create control.hSebastian Hahn2010-07-27
| |
* | Create connection_or.hSebastian Hahn2010-07-27
| |
* | Create connection.hSebastian Hahn2010-07-27
| |
* | Create config.hSebastian Hahn2010-07-27
| |
* | Create command.hSebastian Hahn2010-07-27
| |
* | Create circuitbuild.hSebastian Hahn2010-07-27
| |
* | Create buffers.hSebastian Hahn2010-07-27
| |
* | Create routerlist.hSebastian Hahn2010-07-27
| |
* | Create router.hSebastian Hahn2010-07-27
| |
* | Create geoip.hSebastian Hahn2010-07-27
| |
* | Let bridge users use the non-primary address of a multi-homed bridgeRoger Dingledine2010-06-03
| |
* | Clarify 'marking connection as too old' messagesNick Mathewson2010-05-12
| | | | | | | | | | | | | | | | | | | | Back when we changed the idea of a connection being "too old" for new circuits into the connection being "bad" for new circuits, we didn't actually change the info messages. This led to telling the user that we were labelling connections as "too old" for being worse than connections that were actually older than them. Found by Scott on or-talk.
* | let people test the RefuseUnknownExits ideaRoger Dingledine2010-03-10
| |
* | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\| | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| |
* | add config options to override.Roger Dingledine2009-12-29
| | | | | | | | somebody should add man page entries.
* | add separate per-conn write limitingRoger Dingledine2009-12-29
| |