aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Avoid a double-mark in connection_or_close_connection_cbNick Mathewson2011-11-25
|
* Refactor tor_event_base_once to do what we actually wantNick Mathewson2011-11-25
| | | | | This version avoids the timeout system entirely, gives a nicer interface, and lets us manage allocation explicitly.
* Merge remote-tracking branch 'asn/bug4312'Nick Mathewson2011-11-25
|\
| * Use callback-driven approach to block renegotiations.George Kadianakis2011-11-13
| | | | | | | | Also use this new approach in the bufferevents-enabled case.
| * Get rid of tor_tls_block_renegotiation().George Kadianakis2011-10-26
| | | | | | | | | | | | | | Since we check for naughty renegotiations using tor_tls_t.server_handshake_count we don't need that semi-broken function (at least till there is a way to disable rfc5746 renegotiations too).
* | Make the pt/transports test not crash.Nick Mathewson2011-11-25
| |
* | Make process_handle_t private and fix some unit testsNick Mathewson2011-11-25
| | | | | | | | | | | | | | | | Let's *not* expose more cross-platform-compatibility structures, or expect code to use them right. Also, don't fclose() stdout_handle and stdin_handle until we do tor_process_handle_destroy, or we risk a double-fclose.
* | Merge remote-tracking branch 'asn/bug3472_act2'Nick Mathewson2011-11-25
|\ \
| * | Tell the bridge operator on what ports his transports spawned.George Kadianakis2011-11-02
| | | | | | | | | | | | | | | | | | - Add a LOG_WARN message when registering the transports of a server managed proxy, so that the bridge operator can see in what ports the transports spawned and notify his/her clients.
| * | Rename tor_process_destroy() to tor_process_handle_destroy().George Kadianakis2011-10-24
| | |
| * | Improve general code quality.George Kadianakis2011-10-24
| | | | | | | | | | | | | | | | | | | | | | | | - Add a tor_process_get_pid() function that returns the PID of a process_handle_t. - Conform to make check-spaces. - Add some more documentation. - Improve some log messages.
| * | Add PT_PROTO_FAILED_LAUNCH managed proxy state.George Kadianakis2011-10-24
| | | | | | | | | | | | | | | | | | We used to try to terminate the managed proxy process even if it failed while launching. We introduce a new managed proxy state, to represent a *broken* and *not launched* proxy.
| * | Make set_managed_proxy_environment() work on Windows.George Kadianakis2011-10-24
| | |
| * | Port managed proxy launching code to the new subprocess API.George Kadianakis2011-10-17
| |/
* | Merge remote-tracking branch 'sebastian/pure_removal'Nick Mathewson2011-11-25
|\ \
| * | Purge ATTR_PURE from the codeSebastian Hahn2011-11-25
| | | | | | | | | | | | | | | We're using it incorrectly in many cases, and it doesn't help as far as we know.
* | | Handle build-trees better.Peter Palfrader2011-11-24
| | | | | | | | | | | | | | | Properly create git revision and source file sha1sums include files when building tor not in its source tree but in a dedicated build tree.
* | | Move disable-debugger-attachment fn to compat where it belongs. Fix whitespaceNick Mathewson2011-11-24
| | |
* | | Tweak disable_debugger_attachment a littleNick Mathewson2011-11-24
| | | | | | | | | | | | | | | Don't warn when we have no implementation of this function (since it's on-by-default); reformat the changes entry; fix an overlong line.
* | | Merge remote-tracking branch 'ioerror/DisableDebuggerAttachment'Nick Mathewson2011-11-24
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/or/config.c
| * | | New configuration option: DisableDebuggerAttachmentJacob Appelbaum2011-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If set to 1, Tor will attempt to prevent basic debugging attachment attempts by other processes. (Default: 1) Supports Mac OS X and Gnu/Linux. Sebastian provided useful feedback and refactoring suggestions. Signed-off-by: Jacob Appelbaum <jacob@appelbaum.net>
* | | | Merge remote-tracking branch 'public/feature4516'Nick Mathewson2011-11-24
|\ \ \ \ | |_|/ / |/| | |
| * | | New UserspaceIOCPBuffers option to set SO_{SND,RCV}BUF to zeroNick Mathewson2011-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running with IOCP, we are in theory able to use userspace- allocated buffers to avoid filling up the stingy amount of kernel space allocated for sockets buffers. The bufferevent_async implementation in Libevent provides this ability, in theory. (There are likely to be remaining bugs). This patch adds a new option that, when using IOCP bufferevents, sets each socket's send and receive buffers to 0, so that we should use this ability. When all the bugs are worked out here, if we are right about bug 98, this might solve or mitigate bug 98. This option is experimental and will likely require lots of testing and debugging.
* | | | Merge branch 'bug2474'Nick Mathewson2011-11-23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Had to resolve conflicts wrt the " (using bufferevents)" addition to the startup string. Conflicts: src/or/main.c
| * | | | Tweak the "this is not a stable release" warning some moreNick Mathewson2011-11-23
| | | | |
| * | | | Tweak the startup message to be more helpfulNick Mathewson2011-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of just saying "boogity boogity!" let's actually warn people that they need to configure stuff right to be safe, and point them at instructions for how to do that. Resolves bug 2474.
* | | | | Fix a compile warning on 64bit OS XSebastian Hahn2011-11-23
| | | | |
* | | | | raise AuthDirFastGuarantee from 20KB to 100KBRoger Dingledine2011-11-21
| | | | | | | | | | | | | | | | | | | | This patch reverts part of 39ceda7e05d7 (where it used to be 100KB).
* | | | | apparently or_options_t likes being a const in masterRoger Dingledine2011-11-21
| | | | |
* | | | | Merge branch 'maint-0.2.2'Roger Dingledine2011-11-21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/dirserv.c
| * | | | | parameterize bw cutoffs to guarantee Fast and Guard flagsRoger Dingledine2011-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it will be easier for researchers to simulate Tor networks with different values. Resolves ticket 4484.
| * | | | | Merge branch 'bug4518' into maint-0.2.2Nick Mathewson2011-11-21
| |\ \ \ \ \
| | * | | | | Only call cull_wedged_cpuworkers once every 60 seconds.Nick Mathewson2011-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function is over 10 or 20% on some of Moritz's profiles, depending on how you could. Since it's checking for a multi-hour timeout, this is safe to do. Fixes bug 4518.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-11-21
|\| | | | | |
| * | | | | | Merge remote-tracking branch 'public/bug3963' into maint-0.2.2Nick Mathewson2011-11-21
| |\ \ \ \ \ \
| | * | | | | | All NT service configuration commands should make the process exit.Nick Mathewson2011-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 3963; fix on 0.2.0.7-alpha.
* | | | | | | | Merge branch 'bug4360'Nick Mathewson2011-11-21
|\ \ \ \ \ \ \ \
| * | | | | | | | normalize the name of the CERTS cellRoger Dingledine2011-10-31
| | | | | | | | |
* | | | | | | | | Log more loudly on a bad cert from an authority.Nick Mathewson2011-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clock skew made this situation way too frequent so we demoted it to "protocol_warn", but when there's an authority, it should really just be warn.
* | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-11-18
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Don't log about stats when running as a client without geoipSebastian Hahn2011-11-19
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Completely disable stats if we aren't running as a relay. We won't collect any anyway, so setting up the infrastructure for them and logging about them is wrong. This also removes a confusing log message that clients without a geoip db would have seen. Fixes bug 4353.
* | | | | | | | Merge remote-tracking branch 'public/benchmark'Nick Mathewson2011-11-18
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | All-in-one benchmark test for cell cryptoNick Mathewson2011-11-11
| | | | | | | |
* | | | | | | | Fix a couple of memory leaks in rend_add_service spotted by coverityNick Mathewson2011-11-17
| | | | | | | |
* | | | | | | | trivial code cleanup in generate_v2_networkstatus_opinion()Roger Dingledine2011-11-16
| | | | | | | |
* | | | | | | | fix trivial typoRoger Dingledine2011-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | somebody should s/authoritative directory server/directory authority/g at some point
* | | | | | | | Merge remote-tracking branch 'sebastian/bug2893'Nick Mathewson2011-11-16
|\ \ \ \ \ \ \ \
| * | | | | | | | Eat all whitespace after a control commandSebastian Hahn2011-11-16
| | | | | | | | |
| * | | | | | | | allow manual control port authenticate via netcatRoger Dingledine2011-11-16
| | | | | | | | |
* | | | | | | | | Don't fail to send netinfo if real_addr is unsetSebastian Hahn2011-11-16
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we haven't set real_addr on a connection, we also now that _base.addr hasn't been tampered with. So we can use that.