aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
| * | | | | | | | 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.
* | | | | | | | | | Make --version, --help, etc incremement quiet level, never decrease itNick Mathewson2013-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes other case of #9578
* | | | | | | | | | Report bootstrapping progress correctly when downloading microdescsRoger Dingledine2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had updated our "do we have enough microdescs to begin building circuits?" logic most recently in 0.2.4.10-alpha (see bug 5956), but we left the bootstrap status event logic at "how far through getting 1/4 of them are we?" Fixes bug 9958; bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
* | | | | | | | | | Merge remote-tracking branch 'sysrqb/bug9950'Nick Mathewson2013-10-10
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Free the smartlist after parsing csv config optionMatthew Finkel2013-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfix on 1293835440dd4debf6fbfc66e755d9b9384aa362, which implemented 6752: Not in any released tor.
* | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-10
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | / / / / / / / / | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'bug9644_024' into maint-0.2.4Nick Mathewson2013-10-10
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | When freeing a cert_list_t, avoid memory leak.Nick Mathewson2013-09-19
| | | |_|_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were freeing these on exit, but when we added the dl_status_map field to them in fddb814f, we forgot to arrange for it to be freed. I've moved the cert_list_free() code into its own function, and added an appropriate dsmap_free() call. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/relay.c
| * | | | | | | | | Merge remote-tracking branch 'public/bug9927' into maint-0.2.4Nick Mathewson2013-10-08
| |\ \ \ \ \ \ \ \ \