aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-18Satisfy check-spaces.George Kadianakis
2013-07-18Various Extended ORPort code improvements.George Kadianakis
* Add documentation. * Free ext_or_auth_correct_client_hash. * Use VPORT(ExtORPort) instead of V(ExtORPOrt). See dfe03d36c8749eb07e9bb2ea47e88ff05e9e3127 for details.
2013-07-18Move USERADDR handling to a dedicated function.George Kadianakis
2013-07-18Implement Extended ORPort authentication.George Kadianakis
2013-07-18Prepare codebase for the implementation of Extended ORPort auth.George Kadianakis
2013-07-18Create the Extended ORPort authentication cookie file.George Kadianakis
2013-07-18Document code and change the Extended ORPort command numbers.George Kadianakis
2013-07-18Skeleton ExtORPort implementation. Needs testing, documentation.Nick Mathewson
Does not implement TransportControlPort yet.
2013-07-18Start of a unit test for options_validate.Nick Mathewson
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too.
2013-07-18Merge branch 'simpleq_for_cells_3'Nick Mathewson
2013-07-18Add a test for n_cells_in_circuit_queuesNick Mathewson
2013-07-18Unit tests for cell queues.Nick Mathewson
This removes some INLINE markers from functions that probably didn't need them.
2013-07-18Use TOR_SIMPLEQ for packed_cell_tNick Mathewson
2013-07-18Remove a redundant declarationNick Mathewson
2013-07-18Remove a stray debugging echo from configure.acNick Mathewson
2013-07-18Fix a wide line in test_pt.cNick Mathewson
2013-07-18Merge branch 'bug8978_rebase_2'Nick Mathewson
Conflicts: src/test/test_pt.c
2013-07-18Merge branch 'bug8929_rebase_2'Nick Mathewson
2013-07-18Improve test coverage of 8929 codeNick Mathewson
2013-07-18Fix memory leaks in test_config_parse_transport_options_lineNick Mathewson
2013-07-18Document what "escape" means in tor_escape_str_for_pt_argsNick Mathewson
2013-07-18Insert the environment variable only if we have options to pass.George Kadianakis
2013-07-18Add changes file and enrich the manual page.George Kadianakis
2013-07-18Place the options in the environment after processing them properly.George Kadianakis
2013-07-18Rename tor_escape_str_for_socks_arg() to something more generic.George Kadianakis
Since we are going to be using that function to also escape parameters passed to transport proxies using environment variables.
2013-07-18Pass characters to be escaped to tor_escape_str_for_socks_arg().George Kadianakis
This is in preparation for using tor_escape_str_for_socks_arg() to escape server-side pluggable transport parameters.
2013-07-18Write unit tests for the ServerTransportOptions parsing function.George Kadianakis
2013-07-18Write function that parses ServerTransportOptions torrc lines.George Kadianakis
And use it to validate them.
2013-07-18Add a basic unit test for pt_get_extra_info_descriptor_string.Nick Mathewson
2013-07-18Add a unit test for smethod lines with arguments.Nick Mathewson
2013-07-18Write transport ARGS to extra-info descriptor.George Kadianakis
2013-07-18Extract ARGS from SMETHOD line and attach them to transport.George Kadianakis
2013-07-16A python script to combin gcov output with git blameNick Mathewson
2013-07-16Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-07-16Re-do a cast in order to make old buggy freebsd gcc happyNick Mathewson
Fix for #9254. Bugfix on 0.2.4.14-alpha. This is not actually a bug in the Tor code.
2013-07-16Merge remote-tracking branch 'asn/bug9265'Nick Mathewson
2013-07-16Remove an unused variable in test_replaycache_scrubNick Mathewson
2013-07-16Make contrib/coverage smarter about check file-existence edge casesAndrea Shepard
2013-07-16Add more replaycache.c unit tests, bringing coverage to 100% for that fileAndrea Shepard
2013-07-16Eliminate an impossible case in replaycache_scrub_if_needed_internal()Andrea Shepard
2013-07-16Test deeper in test_pt_parsing().George Kadianakis
We used to test parse_{c,s}method_line() without actually testing that the resulting transport_t was well formed.
2013-07-15Add optional target directory parameter to coverage script and add ↵Andrea Shepard
reset-gcov target to Makefile.am
2013-07-15Appease "make check-spaces"Nick Mathewson
2013-07-15Use format_hex_number_sigsafe to format syscalls in sandbox.cNick Mathewson
This way, we don't have to use snprintf, which is not guaranteed to be signal-safe. (Technically speaking, strlen() and strlcpy() are not guaranteed to be signal-safe by the POSIX standard. But I claim that they are on every platform that supports libseccomp2, which is what matters here.)
2013-07-15Lightly refactor and test format_hex_number_sigsafeNick Mathewson
Better tests for upper bounds, and for failing cases. Also, change the function's interface to take a buffer length rather than a maximum length, and then NUL-terminate: functions that don't NUL-terminate are trouble waiting to happen.
2013-07-15HEX_ERRNO_SIZE is no longer the correct upper limit for ↵Nick Mathewson
format_hex_number_sigsafe
2013-07-15Expose format_hex_number_..., and rename it to ..._sigsafe().Nick Mathewson
There are some other places in the code that will want a signal-safe way to format numbers, so it shouldn't be static to util.c.
2013-07-15Don't build format_helper_exit_status on win32Nick Mathewson
The only thing that used format_helper_exit_status on win32 was the unit tests. This caused an error when we tried to leave a static format_helper_exit_status lying around in a production object file. The easiest solution is to admit that this way of dealing with process exit status is Unix-only.
2013-07-15Merge remote-tracking branch 'linus/unused_param'Nick Mathewson
2013-07-15Merge remote-tracking branch 'linus/binshify'Nick Mathewson