summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | | New function to get all digests of a public keyNick Mathewson2011-10-10
|/ / / / / / / / / /
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-10-10
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Update documentation comment for rend_client_reextend_intro_circuitRobert Ransom2011-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of its callers assumes a non-zero result indicates a permanent failure (i.e. the current attempt to connect to this HS either has failed or is doomed). The other caller only requires that this function's result never equal -2. Bug reported by Sebastian Hahn.
| * | | | | | | | | Don't launch a useless circuit in rend_client_reextend_intro_circuitRobert Ransom2011-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 4212. Bug reported by katmagic and found by Sebastian.
* | | | | | | | | | Merge remote-tracking branch 'sebastian/osxcompile'Nick Mathewson2011-10-10
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix a compile warning on OS X 10.6 and upSebastian Hahn2011-10-11
| | | | | | | | | | |
* | | | | | | | | | | Consider hibernation before dropping privsSebastian Hahn2011-10-11
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, Tor wasn't sure whether it would be hibernating or not, so it postponed opening listeners until after the privs had been dropped. This doesn't work so well for low ports. Bug was introduced in the fix for bug 2003. Fixes bug 4217, reported by Zax and katmagic. Thanks!
* | | | | | | | | | Add a missing comma in tor_check_port_forwardingNick Mathewson2011-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My fault; fix for bug 4213.
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-10-07
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merge is here to take a commit (feature 3951) that we already have in master, so use "merge -s ours"
| * | | | | | | | | Note ticket and source version for feature3951 in changes fileNick Mathewson2011-10-07
| | | | | | | | | |
| * | | | | | | | | Merge remote-tracking branch 'karsten/feature3951' into maint-0.2.2Nick Mathewson2011-10-07
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Turn on directory request statistics by default.Karsten Loesing2011-10-05
| | | |_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default values for collecting directory request statistics and inlcuding them in extra-info descriptors to 1. Don't break if we are configured to collect directory request or entry statistics and don't have a GeoIP database. Instead, print out a notice and skip initializing the affected statistics code. This is the cherry-picked 499661524b0a572303087af721325608dd91f7ce.
* | | | | | | | | | Merge remote-tracking branch 'public/bug2003_nm'Nick Mathewson2011-10-07
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Make the unit tests pass again after the bug2003 fixNick Mathewson2011-09-07
| | | | | | | | | | |
| * | | | | | | | | | Don't update AccountingSoftLimitHitAt on startupSebastian Hahn2011-09-01
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a "default" state which we use until we've decided whether we're live or hibernating. This allows us to properly track whether we're resuming a hibernation period or not. Fixes bug 2003.
* | | | | | | | | | reinstate a notice for the non-loopback socksport caseNick Mathewson2011-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to prop171, it's no longer a crazy thing to do, but you should make sure that you really meant it!
* | | | | | | | | | Merge remote-tracking branch 'rransom-tor/bug4018'Nick Mathewson2011-10-07
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix a bogus warningRobert Ransom2011-09-14
| | | | | | | | | | |
* | | | | | | | | | | Merge remote-tracking branch 'public/bug2430'Nick Mathewson2011-10-07
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Provide missing description for our FLEXIBLE_ARRAY_MEMBER definesNick Mathewson2011-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently autoheader throws a tantrum if you say 'AC_DEFINE([a], [b])'. Instead you must say 'AC_DEFINE([a], [b], [description of a])'. We were running into this in our replacement definitions for FLEXIBLE_ARRAY_MEMBER, which were only getting built on autoconf versions before 2.61 -- and this made us stop working with those autoconf versinos. Fixes bug 2430; bugfix on 0.2.3.1-alpha.
* | | | | | | | | | | | Merge remote-tracking branch 'asn2/bug3656'Nick Mathewson2011-10-07
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/util.c src/common/util.h src/or/config.h src/or/main.c src/test/test_util.c
| * | | | | | | | | | | | Revive our beautiful unit tests.George Kadianakis2011-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They broke when the PT_PROTO_INFANT proxy state was added.
| * | | | | | | | | | | | Make it compile on Windows™.George Kadianakis2011-10-07
| | | | | | | | | | | | |
| * | | | | | | | | | | | Support multiple transports in a single transport line.George Kadianakis2011-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support multiple comma-separated transpotrs in a single {Client,Server}TransportPlugin line.
| * | | | | | | | | | | | Improve wording in some comments and log messages.George Kadianakis2011-09-23
| | | | | | | | | | | | |
| * | | | | | | | | | | | Put some sense into our logging.George Kadianakis2011-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Transform our logging severities to something more sensible. Remove sneaky printf()s.
| * | | | | | | | | | | | Don't warn of stray Bridges if managed proxies are still unconfigured.George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With managed proxies you would always get the error message: "You have a Bridge line using the X pluggable transport, but there doesn't seem to be a corresponding ClientTransportPlugin line." because the check happened directly after parse_client_transport_line() when managed proxies were not fully configured and their transports were not registered. The fix is to move the validation to run_scheduled_events() and make sure that all managed proxies are configured first.
| * | | | | | | | | | | | Constification.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Make check-spaces happy.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Enforce transport names being C identifiers.George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce string_is_C_identifier() and use it to enforce transport names according to the 180 spec.
| * | | | | | | | | | | | Trivial fixes around the code.George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * C90-fy. * Remove ASN comments. * Don't smartlist_clear() before smartlist_free(). * Plug a mem. leak.
| * | | | | | | | | | | | Be more defensive in get_transport_bindaddr().George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that lines in get_transport_bindaddr() begin with the name of the transport and a space.
| * | | | | | | | | | | | Fix bug in get_transport_in_state_by_name() when using strcmpstart().George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now split the state lines into smartlists and compare the token properly. Not that efficient but it's surely correct.
| * | | | | | | | | | | | Improve how we access or_state_t.George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use get_or_state()->VirtualOption instead of relying on config_find_option(), STRUCT_VAR_P and voodoo.
| * | | | | | | | | | | | Remove connection_uses_transport() since it was unused.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Allow interwined {Client,Server}TransportPlugin lines.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Update the transports.c documentation based on the new data.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Update transports.[ch] to support SIGHUPs.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Prepare circuitbuild.[ch] and config.[ch] for SIGHUPs.George Kadianakis2011-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create mark/sweep functions for transports. * Create a transport_resolve_conflicts() function that tries to resolve conflicts when registering transports.
| * | | | | | | | | | | | Introduce tor_terminate_process() function.George Kadianakis2011-09-11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Replaced some leftover assert()s with tor_assert()s.George Kadianakis2011-09-10
| | | | | | | | | | | | |
| * | | | | | | | | | | | Improve the code a tad.George Kadianakis2011-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use strcmpstart() instead of strcmp(x,y,strlen(y)). * Warn the user if the managed proxy failed to launch. * Improve function documentation. * Use smartlist_len() instead of n_unconfigured_proxies. * Split managed_proxy_destroy() to managed_proxy_destroy() and managed_proxy_destroy_with_transports(). * Constification.
| * | | | | | | | | | | | Spawn multiple protocols using a single managed proxy.George Kadianakis2011-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple torrc transport lines have the same argv, tor instructs a single managed proxy to launch multiple protocols.
| * | | | | | | | | | | | Server transport proxies should bind on the same port each time, if possible.George Kadianakis2011-08-07
| | | | | | | | | | | | |
| * | | | | | | | | | | | Changed a printf() to a log_debug().George Kadianakis2011-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | Reuse get_string_from_pipe() in log_from_pipe().George Kadianakis2011-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | Let's be smarter while parsing {Client,Server}TransportPlugin lines.George Kadianakis2011-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | Replaced ST_* enum prefix for stream status with IO_STREAM_*.George Kadianakis2011-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | Updated #includes etc. to use transports.[ch].George Kadianakis2011-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | Renamed pluggable_transports.[ch] to transports.[ch].George Kadianakis2011-07-18
| | | | | | | | | | | | |