aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
Commit message (Expand)AuthorAge
* 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
* | 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
|/
* Merge commit 'origin/maint-0.2.1'Roger Dingledine2009-11-23
|\
| * fix race condition that can cause crashes at client or exit relay•••Avoid crashing if the client is trying to upload many bytes and the circuit gets torn down at the same time, or if the flip side happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150. Roger Dingledine2009-11-23
| * read the "circwindow" parameter from the consensus•••backport of c43859c5c12361fad505 backport of 0d13e0ed145f4c1b5bd1 Roger Dingledine2009-10-14
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | stop assuming that our downcasts have a struct offset of 0•••shouldn't actually change anything, but who knows. Roger Dingledine2009-11-21
* | Be more robust to bad circwindow values•••If the networkstatus consensus tells us that we should use a negative circuit package window, ignore it. Otherwise we'll believe it and then trigger an assert. Also, change the interface for networkstatus_get_param() so we don't have to lookup the consensus beforehand. Roger Dingledine2009-09-22
* | Fix the math.h log() conflict.•••It was compiling, but causing segfaults. Also, adjust when the timer starts for new test circs and save state every 25 circuits. Mike Perry2009-09-16
* | Clean up Fallon's partially complete GSoC project.•••The code actually isn't that bad. It's a shame she didn't finish. Using it as the base for this feature. Mike Perry2009-09-16
* | Read "circwindow=x" from the consensus and use it•••Tor now reads the "circwindow" parameter out of the consensus, and uses that value for its circuit package window rather than the default of 1000 cells. Begins the implementation of proposal 168. Roger Dingledine2009-09-15
* | Write all statistics to disk exactly every 24 hours.Karsten Loesing2009-08-19
* | Remove ./configure option for cell statistics.Karsten Loesing2009-08-17
* | If configured, write cell statistics to disk periodically.Karsten Loesing2009-07-05
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Do not cannibalize a circuit that has run out of RELAY_EARLY cells. Partial ...•••svn:r17814 Nick Mathewson2008-12-29
* Document the purpose argument of circuit_find_to_cannibalize•••svn:r17689 Nick Mathewson2008-12-18
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Move edge-only flags from connection_t to edge_connection_t.•••svn:r17643 Nick Mathewson2008-12-17
* we missed a case when printing circuit purposes in circ events.•••svn:r17230 Roger Dingledine2008-11-09
* Fix an assertion failure on double-marked circuits, and a double-mark.•••svn:r17179 Nick Mathewson2008-11-01
* Include circuit purposes in circuit events. Now all circuit events are exten...•••svn:r17007 Nick Mathewson2008-09-29
* Add patch 4 from Karsten for proposal 121, slightly modified. Karsten should...•••svn:r16955 Nick Mathewson2008-09-24
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400••• Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435 Nick Mathewson2008-08-05
* Make check-spaces happy.•••svn:r16406 Karsten Loesing2008-08-04
* r17436@tombo: nickm | 2008-07-30 09:03:19 -0400••• Move n_addr, n_port, and n_conn_id_digest fields of circuit_t into a separately allocated extend_info_t. Saves 22 bytes per connected circuit_t on 32-bit platforms, and makes me more comfortable with using tor_addr_t in place of uint32_t n_addr. svn:r16257 Nick Mathewson2008-07-30
* r17323@aud-055: nickm | 2008-07-23 17:58:25 +0200••• Implement most of proposal 110. svn:r16156 Nick Mathewson2008-07-23
* r17322@aud-055: nickm | 2008-07-23 16:50:50 +0200••• Make circid_t and streamid_t get used instead of uint16_t; it is possible we will soon want to make circid_t change to uint32_t. svn:r16155 Nick Mathewson2008-07-23
* r17309@aud-055: nickm | 2008-07-23 16:05:43 +0200••• Patch from Christian Wilms: remove (HiddenService|Rend)(Exclude)?Nodes options. They never worked properly, and nobody seems to be using them. Resolves bug 754. svn:r16144 Nick Mathewson2008-07-23
* r17302@aud-055: nickm | 2008-07-23 14:55:28 +0200••• Never allow a circuit to be created with the same circid as a circuit that has been marked for close. May be a fix for bug 779. Needs testing. Backport candidate. svn:r16136 Nick Mathewson2008-07-23
* Mar 24 08:43:30.014 [debug] circuit_find_to_cannibalize(): Hunting for•••a circ to cannibalize: purpose 5, uptime 0, capacity 4, internal 0 svn:r14166 Roger Dingledine2008-03-24
* similarly, don't throw around an int for the uint8_t circ->state•••svn:r13608 Roger Dingledine2008-02-20
* r14181@tombo: nickm | 2008-02-15 16:48:17 -0500••• Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs). svn:r13529 Nick Mathewson2008-02-15
* r18056@catbus: nickm | 2008-02-12 17:21:10 -0500••• Add roger's responses from IRC to some XXX020 items. svn:r13487 Nick Mathewson2008-02-12
* r17963@catbus: nickm | 2008-02-07 10:14:25 -0500••• Be more thorough about memory poisoning and clearing. Add an in-place version of aes_crypt in order to remove a memcpy from relay_crypt_one_payload. svn:r13414 Nick Mathewson2008-02-07
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17930@catbus: nickm | 2008-02-05 18:20:40 -0500••• Initial attempts to track down bug 600, and refactor possibly offending code. 1) complain early if circuit state is set to OPEN when an onionskin is pending. 2) refactor onionskin field into one only used when n_conn is pending, and a separate onionskin field waiting for attention by a cpuworker. This might even fix the bug. More likely, it will make it fail with a more useful core. svn:r13394 Nick Mathewson2008-02-05
* r15653@tombo: nickm | 2007-12-23 14:15:12 -0500••• Refactor circuit_launch* functions to take a bitfield of flags rather than 4 separate nonconsecutive flags arguments. Also, note a possible but in circuit_find_to_cannibalize, which seems to be ignoring its purpose argument. svn:r12948 Nick Mathewson2007-12-23
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r16301@catbus: nickm | 2007-10-31 16:43:49 -0400••• A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int. svn:r12300 Nick Mathewson2007-10-31
* r15843@catbus: nickm | 2007-10-16 09:58:49 -0400••• Clean up our code to fix a warning under gcc 4.2 svn:r11982 Nick Mathewson2007-10-16
* r15703@catbus: nickm | 2007-10-11 17:30:34 -0400••• Fix for the reported case of bug 438: check families as well as identities in circuit_find_to_cannibalize(). Code audit still pending. ;) svn:r11886 Nick Mathewson2007-10-11
* oh, and make it compile too•••svn:r11185 Roger Dingledine2007-08-19
* generalize circuit_find_to_cannibalize() so it knows what•••purpose circuit we're planning to become svn:r11184 Roger Dingledine2007-08-19
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400••• Include fewer redundant headers; use the compiler search paths better. svn:r11060 Nick Mathewson2007-08-08
* Be even more aggressive about separating local traffic from relayed•••traffic when RelayBandwidthRate is set. (Refines proposal 111.) svn:r10974 Roger Dingledine2007-07-29
* backport candidate:•••When sending destroy cells from a circuit's origin, don't include the reason for tearing down the circuit. The spec says we didn't, and now we actually don't. Reported by lodger. [Bugfix on 0.1.2.x] svn:r10790 Roger Dingledine2007-07-11