summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | 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
| | | | | | | | | | | | |
| * | | | | | | | | | | | Reverting the accounting thing introduced in 5492de76 till I think how it ↵George Kadianakis2011-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should be done properly.
| * | | | | | | | | | | | Changed a couple of 180 spec stuff according to #3578.George Kadianakis2011-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Restored "proxy" in external ServerTransportPlugin lines. * Changed the extended OR port and ORPort env. vars to addr:port.
| * | | | | | | | | | | | Add some unit tests.George Kadianakis2011-07-13
| | | | | | | | | | | | |
| * | | | | | | | | | | | Put some last missing pieces together.George Kadianakis2011-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add some utility transport functions in circuitbuild.[ch] so that we can use them from pt.c. * Make the accounting system consider traffic coming from proxies. * Make sure that we only fetch bridge descriptors when all the transports are configured.
| * | | | | | | | | | | | Create the pluggable_transports.[ch] source files responsible for talking ↵George Kadianakis2011-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the 180 talk.
| * | | | | | | | | | | | Make some utility functions.George Kadianakis2011-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create a function that will get input from a stream, so that we can communicate with the managed proxy. * Hackish change to tor_spawn_background() so that we can specify an environ for our spawn.
| * | | | | | | | | | | | Add support for managed {Client,Server}TransportPlugin parsing.George Kadianakis2011-07-13
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-10-07
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Avoid running DNS self-tests if we're operating as a bridgewarms0x2011-10-07
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | |