Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move Extended ORPort code to its own module. | George Kadianakis | 2013-07-18 |
| | | | | | | Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything. | ||
* | Satisfy check-spaces. | George Kadianakis | 2013-07-18 |
| | |||
* | Various Extended ORPort code improvements. | George Kadianakis | 2013-07-18 |
| | | | | | | | * Add documentation. * Free ext_or_auth_correct_client_hash. * Use VPORT(ExtORPort) instead of V(ExtORPOrt). See dfe03d36c8749eb07e9bb2ea47e88ff05e9e3127 for details. | ||
* | Move USERADDR handling to a dedicated function. | George Kadianakis | 2013-07-18 |
| | |||
* | Implement Extended ORPort authentication. | George Kadianakis | 2013-07-18 |
| | |||
* | Prepare codebase for the implementation of Extended ORPort auth. | George Kadianakis | 2013-07-18 |
| | |||
* | Create the Extended ORPort authentication cookie file. | George Kadianakis | 2013-07-18 |
| | |||
* | Document code and change the Extended ORPort command numbers. | George Kadianakis | 2013-07-18 |
| | |||
* | Skeleton ExtORPort implementation. Needs testing, documentation. | Nick Mathewson | 2013-07-18 |
| | | | | Does not implement TransportControlPort yet. | ||
* | Start of a unit test for options_validate. | Nick Mathewson | 2013-07-18 |
| | | | | | | 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. | ||
* | Merge branch 'simpleq_for_cells_3' | Nick Mathewson | 2013-07-18 |
|\ | |||
| * | Add a test for n_cells_in_circuit_queues | Nick Mathewson | 2013-07-18 |
| | | |||
| * | Unit tests for cell queues. | Nick Mathewson | 2013-07-18 |
| | | | | | | | | | | This removes some INLINE markers from functions that probably didn't need them. | ||
| * | Use TOR_SIMPLEQ for packed_cell_t | Nick Mathewson | 2013-07-18 |
|/ | |||
* | Remove a redundant declaration | Nick Mathewson | 2013-07-18 |
| | |||
* | Remove a stray debugging echo from configure.ac | Nick Mathewson | 2013-07-18 |
| | |||
* | Fix a wide line in test_pt.c | Nick Mathewson | 2013-07-18 |
| | |||
* | Merge branch 'bug8978_rebase_2' | Nick Mathewson | 2013-07-18 |
|\ | | | | | | | | | Conflicts: src/test/test_pt.c | ||
| * | Add a basic unit test for pt_get_extra_info_descriptor_string. | Nick Mathewson | 2013-07-18 |
| | | |||
| * | Add a unit test for smethod lines with arguments. | Nick Mathewson | 2013-07-18 |
| | | |||
| * | Write transport ARGS to extra-info descriptor. | George Kadianakis | 2013-07-18 |
| | | |||
| * | Extract ARGS from SMETHOD line and attach them to transport. | George Kadianakis | 2013-07-18 |
| | | |||
* | | Merge branch 'bug8929_rebase_2' | Nick Mathewson | 2013-07-18 |
|\ \ | |/ |/| | |||
| * | Improve test coverage of 8929 code | Nick Mathewson | 2013-07-18 |
| | | |||
| * | Fix memory leaks in test_config_parse_transport_options_line | Nick Mathewson | 2013-07-18 |
| | | |||
| * | Document what "escape" means in tor_escape_str_for_pt_args | Nick Mathewson | 2013-07-18 |
| | | |||
| * | Insert the environment variable only if we have options to pass. | George Kadianakis | 2013-07-18 |
| | | |||
| * | Add changes file and enrich the manual page. | George Kadianakis | 2013-07-18 |
| | | |||
| * | Place the options in the environment after processing them properly. | George Kadianakis | 2013-07-18 |
| | | |||
| * | Rename tor_escape_str_for_socks_arg() to something more generic. | George Kadianakis | 2013-07-18 |
| | | | | | | | | | | Since we are going to be using that function to also escape parameters passed to transport proxies using environment variables. | ||
| * | Pass characters to be escaped to tor_escape_str_for_socks_arg(). | George Kadianakis | 2013-07-18 |
| | | | | | | | | | | This is in preparation for using tor_escape_str_for_socks_arg() to escape server-side pluggable transport parameters. | ||
| * | Write unit tests for the ServerTransportOptions parsing function. | George Kadianakis | 2013-07-18 |
| | | |||
| * | Write function that parses ServerTransportOptions torrc lines. | George Kadianakis | 2013-07-18 |
| | | | | | | | | And use it to validate them. | ||
* | | A python script to combin gcov output with git blame | Nick Mathewson | 2013-07-16 |
| | | |||
* | | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | 2013-07-16 |
|\ \ | |||
| * | | Re-do a cast in order to make old buggy freebsd gcc happy | Nick Mathewson | 2013-07-16 |
| | | | | | | | | | | | | | | | | | | Fix for #9254. Bugfix on 0.2.4.14-alpha. This is not actually a bug in the Tor code. | ||
* | | | Merge remote-tracking branch 'asn/bug9265' | Nick Mathewson | 2013-07-16 |
|\ \ \ | |||
| * | | | Test deeper in test_pt_parsing(). | George Kadianakis | 2013-07-16 |
| | | | | | | | | | | | | | | | | | | | | We used to test parse_{c,s}method_line() without actually testing that the resulting transport_t was well formed. | ||
* | | | | Remove an unused variable in test_replaycache_scrub | Nick Mathewson | 2013-07-16 |
| | | | | |||
* | | | | Make contrib/coverage smarter about check file-existence edge cases | Andrea Shepard | 2013-07-16 |
| | | | | |||
* | | | | Add more replaycache.c unit tests, bringing coverage to 100% for that file | Andrea Shepard | 2013-07-16 |
| | | | | |||
* | | | | Eliminate an impossible case in replaycache_scrub_if_needed_internal() | Andrea Shepard | 2013-07-16 |
| | | | | |||
* | | | | Add optional target directory parameter to coverage script and add ↵ | Andrea Shepard | 2013-07-15 |
| | | | | | | | | | | | | | | | | reset-gcov target to Makefile.am | ||
* | | | | Appease "make check-spaces" | Nick Mathewson | 2013-07-15 |
| | | | | |||
* | | | | Use format_hex_number_sigsafe to format syscalls in sandbox.c | Nick Mathewson | 2013-07-15 |
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.) | ||
* | | | Lightly refactor and test format_hex_number_sigsafe | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | | | HEX_ERRNO_SIZE is no longer the correct upper limit for ↵ | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | format_hex_number_sigsafe | ||
* | | | Expose format_hex_number_..., and rename it to ..._sigsafe(). | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | | | | 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. | ||
* | | | Don't build format_helper_exit_status on win32 | Nick Mathewson | 2013-07-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | | | Merge remote-tracking branch 'linus/unused_param' | Nick Mathewson | 2013-07-15 |
|\ \ \ |