Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-31 | Fix compilation on Windows | Nick Mathewson | |
(Bugfix on tests for #9288 fix; bug not in any released Tor) | |||
2013-07-31 | Merge branch 'bug9288_rebased' | Nick Mathewson | |
Conflicts: src/test/test_pt.c | |||
2013-07-31 | Fix mixed declaration/statement warning | Nick Mathewson | |
2013-07-31 | Update pt/configure_proxy until it stops segfaulting | Nick Mathewson | |
2013-07-31 | Modifications to transports.c for the unit tests to work. | George Kadianakis | |
Both 'managed_proxy_list' and 'unconfigured_proxies_n' are global src/or/transports.c variables that are not initialized properly when unit tests are run. | |||
2013-07-31 | Write unit tests for configure_proxy(). | George Kadianakis | |
2013-07-31 | Prepare some mock functions to test #9288. | George Kadianakis | |
2013-07-31 | Fix invalid-read when a managed proxy configuration fails. | George Kadianakis | |
2013-07-26 | Allow {,k,kilo,m,mega,g,giga,t,tera}bit{,s} in torrc | Nick Mathewson | |
Patch from CharlieB for ticket #9214 | |||
2013-07-26 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-07-26 | Avoid assertion failure on unexepcted address family in DNS reply. | Nick Mathewson | |
Fixes bug 9337; bugfix on 0.2.4.7-alpha. | |||
2013-07-23 | Fix bug9309, and n_noncanonical count/continue code | Nick Mathewson | |
When we moved channel_matches_target_addr_for_extend() into a separate function, its sense was inverted from what one might expect, and we didn't have a ! in one place where we should have. Found by skruffy. | |||
2013-07-23 | Fix bug9309, and n_noncanonical count/continue code | Nick Mathewson | |
When we moved channel_matches_target_addr_for_extend() into a separate function, its sense was inverted from what one might expect, and we didn't have a ! in one place where we should have. Found by skruffy. | |||
2013-07-19 | Whoops; check in test_circuitmux.c | Nick Mathewson | |
2013-07-19 | Regression test for destroy cell queue | Nick Mathewson | |
This exercises the code that crashed and caused #9296. | |||
2013-07-19 | Initialize destroy_cell_queue. | Nick Mathewson | |
Likely fix for the crash bug of #9296, which was introduced through a combination of #7912 and #8586. Bugfix not in any released Tor. | |||
2013-07-18 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-07-18 | Merge remote-tracking branch 'public/bug9295_023' into maint-0.2.4 | Nick Mathewson | |
2013-07-18 | tmp | Nick Mathewson | |
2013-07-18 | Start 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-18 | Add a test for n_cells_in_circuit_queues | Nick Mathewson | |
2013-07-18 | Unit tests for cell queues. | Nick Mathewson | |
This removes some INLINE markers from functions that probably didn't need them. | |||
2013-07-18 | Use TOR_SIMPLEQ for packed_cell_t | Nick Mathewson | |
2013-07-18 | Remove a redundant declaration | 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 | |
Conflicts: src/test/test_pt.c | |||
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 | 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 | |
Since we are going to be using that function to also escape parameters passed to transport proxies using environment variables. | |||
2013-07-18 | Pass 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-18 | Write unit tests for the ServerTransportOptions parsing function. | George Kadianakis | |
2013-07-18 | Write function that parses ServerTransportOptions torrc lines. | George Kadianakis | |
And use it to validate them. | |||
2013-07-18 | 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-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 | |
Fix for #9254. Bugfix on 0.2.4.14-alpha. This is not actually a bug in the Tor code. | |||
2013-07-16 | Merge remote-tracking branch 'asn/bug9265' | Nick Mathewson | |
2013-07-16 | Remove an unused variable in test_replaycache_scrub | Nick Mathewson | |
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 | Test 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-15 | Appease "make check-spaces" | Nick Mathewson | |
2013-07-15 | Use format_hex_number_sigsafe to format syscalls in sandbox.c | Nick 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-15 | Lightly refactor and test format_hex_number_sigsafe | Nick 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. |