aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Expand)AuthorAge
* Create routerparse.hSebastian Hahn2010-07-27
* Create rephist.hSebastian Hahn2010-07-27
* Create relay.hSebastian Hahn2010-07-27
* Create reasons.hSebastian Hahn2010-07-27
* Create policies.hSebastian Hahn2010-07-27
* Create main.hSebastian Hahn2010-07-27
* Create dns.hSebastian Hahn2010-07-27
* Create dirserv.hSebastian Hahn2010-07-27
* Create directory.hSebastian Hahn2010-07-27
* Create cpuworker.hSebastian Hahn2010-07-27
* Create control.hSebastian Hahn2010-07-27
* Create connection_or.hSebastian Hahn2010-07-27
* Create connection_edge.hSebastian Hahn2010-07-27
* Create connection.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Create circuituse.hSebastian Hahn2010-07-27
* Create circuitlist.hSebastian Hahn2010-07-27
* Create circuitbuild.hSebastian Hahn2010-07-27
* Create buffers.hSebastian Hahn2010-07-27
* Create rendclient.hSebastian Hahn2010-07-27
* Create rendcommon.hSebastian Hahn2010-07-27
* Create router.hSebastian Hahn2010-07-27
* Create geoip.hSebastian Hahn2010-07-27
* Split headers for dnsserv.c functions out of or.h•••The next series of commits begins addressing the issue that we're currently including the complete or.h file in all of our source files. To change that, we're splitting function definitions into new header files (one header file per source file). Sebastian Hahn2010-07-27
* commit my annotations while i was hunting down the host order bugRoger Dingledine2010-03-05
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Don't spam controllers with TOO_MANY_CONNECTIONS events•••We implemented ratelimiting for warnings going into the logfile, but didn't rate-limit controller events. Now both log warnings and controller events are rate-limited. Sebastian Hahn2010-02-08
* | Don't use OutboundBindAddress to connect to localhost•••The OutboundBindAddress option is useful for making sure that all of your outbond connections use a given interface. But when connecting to 127.0.0.1 (or ::1 even) it's important to actually have the connection come _from_ localhost, since lots of programs running on localhost use the source address to authenticate that the connection is really coming from the same host. Our old code always bound to OutboundBindAddress, whether connecting to localhost or not. This would potentially break DNS servers on localhost, and socks proxies on localhost. This patch changes the behavior so that we only look at OutboundBindAddress when connecting to a non-loopback address. Nick Mathewson2010-01-20
* | Log a notice when we get a new control connectionSebastian Hahn2010-01-18
* | whitespace fixesRoger Dingledine2010-01-15
* | add separate per-conn write limitingRoger Dingledine2009-12-29
* | Merge branch 'ewma'Nick Mathewson2009-12-18
|\ \
| * | Optimize cell-ewma circuit priority algorithm.•••There are two big changes here: - We store active circuits in a priority queue for each or_conn, rather than doing a linear search over all the active circuits before we send each cell. - Rather than multiplying every circuit's cell-ewma by a decay factor every time we send a cell (thus normalizing the value of a current cell to 1.0 and a past cell to alpha^t), we instead only scale down the cell-ewma every tick (ten seconds atm), normalizing so that a cell sent at the start of the tick has value 1.0). Nick Mathewson2009-12-13
| * | Adjust EWMA patch to conform to whitespace style.Nick Mathewson2009-12-12
| * | Favor quiet circuits when choosing which order to relay cells in.•••Each circuit is ranked in terms of how many cells from it have been relayed recently, using a time-weighted average. This patch has been tested this on a private Tor network on PlanetLab, and gotten improvements of 12-35% in time it takes to fetch a small web page while there's a simultaneous large data transfer going on simultaneously. [Commit msg by nickm based on mail from Ian Goldberg.] Can Tang2009-12-12
* | | Remove duplicate words and a duplicate newline.Karsten Loesing2009-12-18
* | | Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\ \ \ | |/ / |/| |
| * | Refactor the safe_str_*() API to make more sense.•••The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log". Nick Mathewson2009-12-15
| * | Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
* | | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* | | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
|/ /
* | clobber connections with different number than we clobber circuitsRoger Dingledine2009-11-21
* | stop assuming that our downcasts have a struct offset of 0•••shouldn't actually change anything, but who knows. Roger Dingledine2009-11-21
* | Remove checks for array existence. (CID 410..415)•••In C, the code "char x[10]; if (x) {...}" always takes the true branch of the if statement. Coverity notices this now. In some cases, we were testing arrays to make sure that an operation we wanted to do would suceed. Those cases are now always-true. In some cases, we were testing arrays to see if something was _set_. Those caes are now tests for strlen(s), or tests for !tor_mem_is_zero(d,len). Nick Mathewson2009-10-26
* | fix a bug where we were decrementing the wrong bucket•••i think this doesn't actually affect anything, since linked conns usually don't impact buckets Roger Dingledine2009-10-10
* | minor fixes in some commentsRoger Dingledine2009-09-06
* | Merge commit 'karsten/proposal-166-impl-master'Nick Mathewson2009-08-26
|\ \
| * | Write all statistics to disk exactly every 24 hours.Karsten Loesing2009-08-19
| * | Clean up proposal 166 and its implementation.Karsten Loesing2009-08-18