aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* Tweak values for when to discard all of our history.•••This seems to be happening to me a lot on a garbage DSL line. We may need to come up with 2 threshholds: a high short onehop count and a lower longer count. Mike Perry2009-10-07
* Fix a couple of smaller issues with gathering statistics.•••- Avoid memmoving 0 bytes which might lead to compiler warnings. - Don't require relays to be entry node AND bridge at the same to time to record clients. - Fix a memory leak when writing dirreq-stats. - Don't say in the stats files that measurement intervals are twice as long as they really are. - Reduce minimum observation time for requests to 12 hours, or we might never record usage. - Clear exit stats correctly after writing them, or we accumulate old stats over time. - Reset interval start for buffer stats, too. Karsten Loesing2009-09-24
* Fix typos and comments, plus two bugs•••A) We were considering a circuit had timed out in the special cases where we close rendezvous circuits because the final rendezvous circuit couldn't be built in time. B) We were looking at the wrong timestamp_created when considering a timeout. Roger Dingledine2009-09-20
* Implement and document new network liveness algorithm.•••Based on irc discussion with arma. Mike Perry2009-09-20
* Fix some precision-related asserts in unit tests.•••Mostly by storing the timeout as milliseconds and not seconds internally. Mike Perry2009-09-20
* give proposal 151 a changelog and other touchupsRoger Dingledine2009-09-17
* Clarify use of magic number 0.98 with #define.Mike Perry2009-09-16
* Change liveness value to be a function of the timeout.•••And also the number of recent circuits used to decide when the network changes. Mike Perry2009-09-16
* Add log message so we have accurate build time values.Mike Perry2009-09-16
* Address nickm's issues from his review #1.Mike Perry2009-09-16
* Move circuitbuildtimeout config check.•••We want it to be under our control so it doesn't mess up initialization. This is likely the cause for the bug the previous assert-adding commit (09a75ad) was trying to address. Mike Perry2009-09-16
* Document functions and constants.Mike Perry2009-09-16
* space/indent cleanups, plus point out three bugsRoger Dingledine2009-09-16
* Use our variable directly for timeout.•••Using CircuitBuildTimeout is prone to issues with SIGHUP, etc. Also, shuffle the circuit build times array after loading it in so that newer measurements don't replace chunks of similarly timed measurements. Mike Perry2009-09-16
* Fix a couple of assert bugs.Mike Perry2009-09-16
* Fix timeout edge case when we get enough samples.•••Also switch Xm calculation to mode, not min. Mike Perry2009-09-16
* 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
* Recover from changing network connections.•••Also add code to keep creating circuits every minute until we hit our minimum threshhold. Mike Perry2009-09-16
* Write unit tests and fix issues they uncovered.Mike Perry2009-09-16
* Implement the pareto fitting and timeout calculating bits.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
* ConsensusParams config option lists key=value params•••finishes the authority-operator interface side of proposal 167. Roger Dingledine2009-09-15
* Parameter access function, with unit tests.Nick Mathewson2009-09-14
* Implement proposal 167: Authorities vote on network parameters.•••This code adds a new field to vote on: "params". It consists of a list of sorted key=int pairs. The output is computed as the median of all the integers for any key on which anybody voted. Improved with input from Roger. Nick Mathewson2009-09-14
* 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
| * Implement queue with O(1) operations, and correct some math.Karsten Loesing2009-08-17
| * Include contents of *-stats files in descriptor.Karsten Loesing2009-08-17
| * Remove ./configure option for cell statistics.Karsten Loesing2009-08-17
| * Remove ./configure option for entry and dir request statistics.Karsten Loesing2009-08-17
| * Remove ./configure option for exit port statistics.Karsten Loesing2009-08-14
* | A changelog entry and a bit more documentation for socks-clientNick Mathewson2009-08-26
* | Merge commit 'public/socks-client'•••Resolved conflict in: src/or/or.h Nick Mathewson2009-08-26
|\ \
| * | Change proxy-address type to tor_addr_t to allow ipv6 proxies.Nick Mathewson2009-06-19
| * | Move SOCKS reason-decoding switches into reasons.cNick Mathewson2009-06-19
| * | Enable Tor to connect through SOCKS 4/5 proxies•••Added a sanity check in config.c and a check in directory.c directory_initiate_command_rend() to catch any direct connection attempts when a socks proxy is configured. Christopher Davis2009-06-19
* | | Add the first 8 bytes of the git commit digest to our versions.•••Note that unlike subversion revision numbers, it isn't meaningful to compare these for anything but equality. We define a sort-order anyway, in case one of these accidentally slips into a recommended-versions list. Nick Mathewson2009-08-21
* | | Merge commit 'mikeperry/bandwidth-voting-final'Nick Mathewson2009-08-14
|\ \ \ | |_|/ |/| |
| * | Fix issues found by Nick in code review.Mike Perry2009-08-09
| * | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
* | | Disable .exit notation unless AllowDotExit is 1.Roger Dingledine2009-08-07
|/ /
* | Merge commit 'origin/maint-0.2.1'•••Resolved onflicts in: ChangeLog src/or/config.c src/or/or.h Nick Mathewson2009-07-30
|\ \
| * | Fix a signed/unsigned compile warning in 0.2.1.19Roger Dingledine2009-07-28
* | | Merge branch 'maint-0.2.1' into masterRoger Dingledine2009-07-28
|\| |
| * | Changing MaxAdvertisedBW may not need a republish•••Relays no longer publish a new server descriptor if they change their MaxAdvertisedBandwidth config option but it doesn't end up changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc; fixes bug 1026. Patch from Sebastian. Sebastian Hahn2009-07-27
| * | three hacks to workaround bug 1038•••The problem is that clients and hidden services are receiving relay_early cells, and they tear down the circuit. Hack #1 is for rendezvous points to rewrite relay_early cells to relay cells. That way there are never any incoming relay_early cells. Hack #2 is for clients and hidden services to never send a relay_early cell on an established rendezvous circuit. That works around rendezvous points that haven't upgraded yet. Hack #3 is for clients and hidden services to not tear down the circuit when they receive an inbound relay_early cell. We already refuse extend cells at clients. Roger Dingledine2009-07-27
* | | Merge commit 'ioerror/DirFetchInfoExtraEarly'•••Conflicts: ChangeLog Nick Mathewson2009-07-25
|\ \ \
| * | | Add support for a new option: FetchDirInfoExtraEarly•••This new option will allow clients to download the newest fresh consensus much sooner than they normally would do so, even if they previously set FetchDirInfoEarly. This includes a proper ChangeLog entry and an updated man page. Jacob Appelbaum2009-07-13