aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
| * | | | | | circuit_build_failed: distinguish "got DESTROY" caseNick Mathewson2013-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Roger spotted this on tor-dev in his comments on proposal 221. We etect DESTROY vs everything else, since arma likes network timeout indicating failure but not overload indicating failure.
| * | | | | | Implement proposal 221: Stop sending CREATE_FASTNick Mathewson2013-11-01
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | This makes FastFirstHopPK an AUTOBOOL; makes the default "auto"; and makes the behavior of "auto" be "look at the consensus."
| * | | | | Merge remote-tracking branch 'public/bug9645' into maint-0.2.4Nick Mathewson2013-10-31
| |\ \ \ \ \
| * \ \ \ \ \ Merge remote-tracking branch 'public/bug9731b' into maint-0.2.4Nick Mathewson2013-10-31
| |\ \ \ \ \ \
| | * | | | | | Don't apply read/write buckets to cpuworker connectionsNick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 9731
* | | | | | | | Appease make check-spacesNick Mathewson2013-10-31
| | | | | | | |
* | | | | | | | Merge remote-tracking branch 'public/bug10063'Nick Mathewson2013-10-31
|\ \ \ \ \ \ \ \
| * | | | | | | | Add missing includes for circpathbias.hNick Mathewson2013-10-31
| | | | | | | | |
| * | | | | | | | Make circpathbias and circuitbuild compile.Nick Mathewson2013-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That was the tricky part
| * | | | | | | | Move pathbias functions into a new file.Nick Mathewson2013-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Does not compile yet. This is the "no code changed" diff.
* | | | | | | | | Move other #9731 check to start of its functionsNick Mathewson2013-10-31
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | At arma's suggestion. Looks like I missed this one.
* | | | | | | | Move #9731 checks to start of their functionsNick Mathewson2013-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At arma's suggestion.
* | | | | | | | Merge remote-tracking branch 'public/bug9731'Nick Mathewson2013-10-31
|\ \ \ \ \ \ \ \
| * | | | | | | | Don't apply read/write buckets to non-limited connectionsNick Mathewson2013-09-13
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes bug 9731
* | | | | | | | Add some clarity and checks to cell_queue_append_packed_copyNick Mathewson2013-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not cool to have "circ may be NULL if use_stats false, but otherwise we crash" as an undocumented API constraint. :)
* | | | | | | | Merge remote-tracking branch 'karsten/morestats5'Nick Mathewson2013-10-30
|\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'morestats4' into morestats5Karsten Loesing2013-10-28
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.h src/or/control.c src/or/control.h src/or/or.h src/or/relay.c src/or/relay.h src/test/test.c
| | * | | | | | | | squash! Pass const uint64_t pointers, document array length.Karsten Loesing2013-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't cast uint64_t * to const uint64_t * explicitly. The cast is always safe, so C does it for us. Doing the cast explitictly can hide bugs if the input is secretly the wrong type. Suggested by Nick.
| | * | | | | | | | Pass const uint64_t pointers, document array length.Karsten Loesing2013-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by nickm.
| | * | | | | | | | Pass around const struct timeval * instead of struct timeval.Karsten Loesing2013-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by nickm.
| | * | | | | | | | Don't format cell stats for unattached circuits.Karsten Loesing2013-09-12
| | | | | | | | | |
| | * | | | | | | | Test functions used for TB_EMPTY and CELL_STATS events.Karsten Loesing2013-05-31
| | | | | | | | | |
| | * | | | | | | | Tweak CIRC_BW event based on comments by nickm.Karsten Loesing2013-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename n_read and n_written in origin_circuit_t to make it clear that these are only used for CIRC_BW events. - Extract new code in control_update_global_event_mask to new clear_circ_bw_fields function.
| | * | | | | | | | Tweak TB_EMPTY event based on comments by nickm.Karsten Loesing2013-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Avoid control_event_refill_global function with 13 arguments and increase code reuse factor by moving more code from control.c to connection.c. - Avoid an unsafe uint32_t -> int cast. - Add TestingEnableTbEmptyEvent option. - Prepare functions for testing. - Rename a few functions and improve documentation.
| | * | | | | | | | Tweak CELL_STATS event based on comments by nickm.Karsten Loesing2013-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move cell_command_to_string from control.c to command.c. - Use accessor for global_circuitlist instead of extern. - Add a struct for cell statistics by command instead of six arrays. - Split up control_event_circuit_cell_stats by using two helper functions. - Add TestingEnableCellStatsEvent option. - Prepare functions for testing. - Rename a few variables and document a few things better.
| | * | | | | | | | Tweak CONN_BW event based on comments by nickm.Karsten Loesing2013-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename read/write counters in connection_t to make it clear that these are only used for CONN_BW events. - Add TestingEnableConnBwEvent option.
| | * | | | | | | | Tweak ORCONN event based on comments by nickm.Karsten Loesing2013-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move new ID= parameter in ORCONN event to end. Avoids possible trouble from controllers that parse parameters by position, even though they shouldn't.
| | * | | | | | | | Add new CIRC_BW event.Karsten Loesing2013-05-16
| | | | | | | | | |
| | * | | | | | | | Add new TB_EMPTY event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
| | * | | | | | | | Add new CELL_STATS event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
| | * | | | | | | | Add new CONN_BW event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
| | * | | | | | | | Add connection ID to ORCONN event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
* | | | | | | | | | Fix an always-true assert in PT code.George Kadianakis2013-10-29
| | | | | | | | | |
* | | | | | | | | | Merge remote-tracking branch 'public/bug5018'Nick Mathewson2013-10-29
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/entrynodes.c
| * | | | | | | | | Document that unneeded transports are ignored.David Fifield2013-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Roger in https://trac.torproject.org/projects/tor/ticket/5018#comment:11.
| * | | | | | | | | Simplify transport_is_needed.David Fifield2013-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By Roger at https://trac.torproject.org/projects/tor/ticket/5018#comment:11.
| * | | | | | | | | Only launch transport proxies that provide useful transports.George Kadianakis2013-10-29
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Merge remote-tracking branch 'public/bug9934_nm'Nick Mathewson2013-10-25
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | DROPGUARDS controller commandNick Mathewson2013-10-21
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Implements ticket 9934; patch from "ra"
* | | | | | | | | Merge remote-tracking branch 'Ryman/bug5605'Nick Mathewson2013-10-25
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | No longer writing control ports to file if updating reversible options fail. ↵Kevin Butler2013-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #5605.
* | | | | | | | | | Log the origin address of controller connectionsNick Mathewson2013-10-25
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Resolves 9698; patch from "sigpipe".
* | | | | | | | | Merge remote-tracking branch 'linus/bug9206_option'Nick Mathewson2013-10-16
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add TestingDirAuthVoteGuard option for specifying relays to vote Guard on.Linus Nordberg2013-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses ticket 9206.
* | | | | | | | | | Merge remote-tracking branch 'asn/bug9651'Nick Mathewson2013-10-14
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Warn when the Extended ORPort should be on but it's not.George Kadianakis2013-09-24
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'maint-0.2.4'Roger Dingledine2013-10-12
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | |
| * | | | | | | | | | be willing to bootstrap from all three of our directory guardsRoger Dingledine2013-10-12
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix a bug where if the guard we choose first doesn't answer, we would try the second guard, but once we connected to the second guard we would abandon it and retry the first one, slowing down bootstrapping. The fix in both cases is to treat all our initially chosen guards as acceptable to use. Fixes bug 9946.
* | | | | | | | | | Merge branch 'bug1376'Nick Mathewson2013-10-11
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Added no_tempfile parameter to write_chunks_to_file to do non-atomic writes. ↵Kevin Butler2013-09-01
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements #1376.