aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Collapse)AuthorAge
* Remove a bunch of functions that were never called.Nick Mathewson2014-02-15
|
* Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-02-07
|\
| * NULL out conns on tlschans when freeing in case channel_run_cleanup() is ↵Andrea Shepard2014-02-06
| | | | | | | | late; fixes bug 9602
| * Merge remote-tracking branch 'public/bug9716_024' into maint-0.2.4Nick Mathewson2014-02-06
| |\
| * | Don't apply read/write buckets to cpuworker connectionsNick Mathewson2013-09-13
| | | | | | | | | | | | Fixes bug 9731
* | | TransProxyType replaces TransTPROXY optionNick Mathewson2014-02-03
| | | | | | | | | | | | | | | | | | | | | I'm making this change now since ipfw will want its own option too, and proliferating options here isn't sensible. (See #10582 and #10267)
* | | Move the friendly warning about TPROXY and root to EPERM timeNick Mathewson2014-02-02
| | | | | | | | | | | | | | | | | | | | | | | | I'm doing this because: * User doesn't mean you're running as root, and running as root doesn't mean you've set User. * It's possible that the user has done some other capability-based hack to retain the necessary privileges.
* | | Add support for TPROXY via new TransTPRoxy optionNick Mathewson2014-01-31
| | | | | | | | | | | | Based on patch from "thomo" at #10582.
* | | 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
* | | 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
| * | | Pass around const struct timeval * instead of struct timeval.Karsten Loesing2013-09-12
| | | | | | | | | | | | | | | | Suggested by nickm.
| * | | 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 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.
| * | | 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 CONN_BW event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
* | | | Log the origin address of controller connectionsNick Mathewson2013-10-25
| | | | | | | | | | | | | | | | Resolves 9698; patch from "sigpipe".
* | | | Merge remote-tracking branch 'public/bug9716_024'Nick Mathewson2013-09-19
|\ \ \ \ | | |_|/ | |/| |
| * | | Try using INT_MAX, not SOMAXCONN, to set listen() backlog.Nick Mathewson2013-09-11
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Fall back to SOMAXCONN if INT_MAX doesn't work. We'd like to do this because the actual maximum is overrideable by the kernel, and the value in the header file might not be right at all. All implementations I can find out about claim that this is supported. Fix for 9716; bugfix on every Tor.
* | | Merge branch 'bug5040_4773_rebase_3'Nick Mathewson2013-08-15
|\ \ \
| * | | Tests for connection_write_ext_or_command.Nick Mathewson2013-08-15
| | | |
| * | | Unit tests for ext_or_id_map.Nick Mathewson2013-08-15
| | | |
| * | | Make the Extended ORPort understand the TRANSPORT command.George Kadianakis2013-07-18
| | | |
| * | | More Extended ORPort code improvements.George Kadianakis2013-07-18
| | | | | | | | | | | | | | | | | | | | * Change name of init_ext_or_auth_cookie_authentication(). * Add a small comment.
| * | | Move Extended ORPort code to its own module.George Kadianakis2013-07-18
| | | | | | | | | | | | | | | | | | | | | | | | Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything.
| * | | Various Extended ORPort code improvements.George Kadianakis2013-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add documentation. * Free ext_or_auth_correct_client_hash. * Use VPORT(ExtORPort) instead of V(ExtORPOrt). See dfe03d36c8749eb07e9bb2ea47e88ff05e9e3127 for details.
| * | | Prepare codebase for the implementation of Extended ORPort auth.George Kadianakis2013-07-18
| | | |
| * | | Create the Extended ORPort authentication cookie file.George Kadianakis2013-07-18
| | | |
| * | | Skeleton ExtORPort implementation. Needs testing, documentation.Nick Mathewson2013-07-18
| | | | | | | | | | | | | | | | Does not implement TransportControlPort yet.
* | | | Prepare patch for ticket 5129 for merging.Peter Retzlaff2013-08-02
|/ / / | | | | | | | | | | | | | | | - Preserve old eventdns code. - Add function to close sockets cross-platform, without accounting. - Add changes/ file.
* | | Fix two pre-coffee typosPeter Palfrader2013-07-15
| | |
* | | Reject relative control socket paths and emit a warning.Peter Palfrader2013-07-15
| | | | | | | | | | | | | | | | | | | | | | | | Previously we would accept relative paths, but only if they contained a slash somewhere (not at the end). Otherwise we would silently not work. Closes: #9258. Bugfix on 0.2.3.16-alpha.
* | | Tweak fix for #8789 a bit; avoid double-close and add changes fileNick Mathewson2013-05-24
| | |
* | | Close socket at err target.Arlo Breault2013-05-24
| |/ |/| | | | | | | In connection_listener_new(). See #8789.
* | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-24
|\|
| * Merge remote-tracking branch 'public/bug6026' into maint-0.2.4Nick Mathewson2013-04-24
| |\
| | * Treat a changed IPv6 ORPort like an IPv4 one in retry_all_listeners()Nick Mathewson2013-03-11
| | | | | | | | | | | | Fix for bug 6026
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-12
|\| |
| * | Merge remote-tracking branch 'public/bug5650_squashed' into maint-0.2.4Nick Mathewson2013-04-12
| |\ \
| | * | Avoid busy-looping on WANTREAD within connection_handle_writeNick Mathewson2013-04-12
| | | | | | | | | | | | | | | | | | | | Fix for bug 5650. Also, if we get a WANTREAD while reading while writing, make sure we're reading.
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-11
|\| | |
| * | | Merge remote-tracking branch 'public/bug8117_023' into maint-0.2.4Nick Mathewson2013-04-11
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.c
| | * | | Per-SOCKSPort configuration for bug 8117 fix.Nick Mathewson2013-03-20
| | |/ / | | | | | | | | | | | | | | | | | | | | This might be necessary if the bug8117 fix confuses any applications. Also add a changes file.
* | | | fix text in function commentRoger Dingledine2013-04-11
| | | | | | | | | | | | | | | | (now that we moved to libevent)
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-02
|\| | |