aboutsummaryrefslogtreecommitdiff
path: root/src/or/transports.h
AgeCommit message (Collapse)Author
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-12-22Fix a bunch of memory leaks in the unit tests. Found with valgrindNick Mathewson
2014-11-04Merge remote-tracking branch 'andrea/ticket6456'Nick Mathewson
Somewhat tricky conflicts: src/or/config.c Also, s/test_assert/tt_assert in test_config.c
2014-10-28Add another year to our copyright dates.Nick Mathewson
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right?
2014-09-09Fix issues brought up in nickm's review.Yawning Angel
* Update pt_get_proxy_uri() documentation. * proxy_supported is now unsigned. * Added a changes file.
2014-07-25Add some mocks needed to unit test ↵Andrea Shepard
ClientTransportPlugin/ServerTransportPlugin config line parsing
2014-05-21Allow ClientTransportPlugins to use proxiesYawning Angel
This change allows using Socks4Proxy, Socks5Proxy and HTTPSProxy with ClientTransportPlugins via the TOR_PT_PROXY extension to the pluggable transport specification. This fixes bug #8402.
2014-04-23Rename the got_hup element of managed proxies.George Kadianakis
Since we need to toggle that element in non-SIGHUP situations too where the config was re-read (like in SETCONF or RESETCONF).
2013-07-31Merge branch 'bug9288_rebased'Nick Mathewson
Conflicts: src/test/test_pt.c
2013-07-31Write unit tests for configure_proxy().George Kadianakis
2013-07-18Remove a redundant declarationNick Mathewson
2013-07-18Merge branch 'bug8978_rebase_2'Nick Mathewson
Conflicts: src/test/test_pt.c
2013-07-18Improve test coverage of 8929 codeNick Mathewson
2013-07-18Add a basic unit test for pt_get_extra_info_descriptor_string.Nick Mathewson
2013-07-18Extract ARGS from SMETHOD line and attach them to transport.George Kadianakis
2013-07-10Completely refactor how FILENAME_PRIVATE worksNick Mathewson
We previously used FILENAME_PRIVATE identifiers mostly for identifiers exposed only to the unit tests... but also for identifiers exposed to the benchmarker, and sometimes for identifiers exposed to a similar module, and occasionally for no really good reason at all. Now, we use FILENAME_PRIVATE identifiers for identifiers shared by Tor and the unit tests. They should be defined static when we aren't building the unit test, and globally visible otherwise. (The STATIC macro will keep us honest here.) For identifiers used only by the unit tests and never by Tor at all, on the other hand, we wrap them in #ifdef TOR_UNIT_TESTS. This is not the motivating use case for the split test/non-test build system; it's just a test example to see how it works, and to take a chance to clean up the code a little.
2013-02-09Send SOCKS arguments when doing SOCKS4.George Kadianakis
2013-02-09Validate SOCKS arguments.George Kadianakis
2013-01-16Update the copyright date to 201.Nick Mathewson
2012-09-05Start passing ports to tor_check_port_forwarding().George Kadianakis
Conflicts: src/or/transports.c
2012-07-12Address Nick's comments.George Kadianakis
- Add a changes/ file. - Make it compile under --enable-gcc-warnings. - Update the file-level documentation of src/or/transports.c. - Only update descriptor if at least a managed proxy was configured. - Add our external IP address to the extra-info descriptor instead of 0.0.0.0.
2012-07-03Add pluggable transport info to extra-info descriptors.George Kadianakis
2012-07-03Make some transports.c functions static.George Kadianakis
- Also reorder functions.
2012-07-03Refactor mp->transports to use transport_t.George Kadianakis
2012-07-03Move transport-related functions from circuitbuild.c to transports.c.George Kadianakis
Move 'transport_t' to transports.h, and all transport-related functions that don't rely on 'bridge_list' to transports.c.
2012-06-04Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson
2011-10-24Add PT_PROTO_FAILED_LAUNCH managed proxy state.George Kadianakis
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.
2011-10-17Port managed proxy launching code to the new subprocess API.George Kadianakis
2011-10-07Make it compile on Windows™.George Kadianakis
2011-10-07Support multiple transports in a single transport line.George Kadianakis
Support multiple comma-separated transpotrs in a single {Client,Server}TransportPlugin line.
2011-09-11Make check-spaces happy.George Kadianakis
2011-09-11Update transports.[ch] to support SIGHUPs.George Kadianakis
2011-08-15Improve the code a tad.George Kadianakis
* 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.
2011-08-12Spawn multiple protocols using a single managed proxy.George Kadianakis
If multiple torrc transport lines have the same argv, tor instructs a single managed proxy to launch multiple protocols.
2011-08-07Server transport proxies should bind on the same port each time, if possible.George Kadianakis
2011-07-18Updated #includes etc. to use transports.[ch].George Kadianakis
2011-07-18Renamed pluggable_transports.[ch] to transports.[ch].George Kadianakis