Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-21 | Use new mock functions in buffer/time_tracking test | Nick Mathewson | |
2016-07-21 | Actually make monotonic time functions mockable. | Nick Mathewson | |
This is different from making the functions mockable, since monotime_t is opaque and so providing mocks for the functions is really hard. | |||
2016-07-21 | Revert "Make the monotonic{_coarse,}_get() functions mockable." | Nick Mathewson | |
This reverts commit 2999f0b33fec8e91ba8e4680d3f9d03b09fe9501. | |||
2016-07-21 | Make the monotonic{_coarse,}_get() functions mockable. | Nick Mathewson | |
2016-07-19 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-19 | Merge branch 'maint-0.2.7' into maint-0.2.8 | Nick Mathewson | |
2016-07-19 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-07-19 | Merge branch 'maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2016-07-19 | Merge branch 'maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2016-07-19 | Merge branch 'monotonic_v2_squashed' | Nick Mathewson | |
2016-07-19 | Be sure to call monotime_init() at startup. | Nick Mathewson | |
2016-07-19 | Make sure initialized_at is initialized before use. | Nick Mathewson | |
2016-07-19 | Changes file for monotonic time branch. | Nick Mathewson | |
2016-07-19 | Unit tests for monotonic time | Nick Mathewson | |
2016-07-19 | Expose monotonic time ratchet functions for testing. | Nick Mathewson | |
2016-07-19 | Remove tor_gettimeofday_cached_monotonic as broken and unneeded | Nick Mathewson | |
2016-07-19 | Use coarse monotonic timer instead of cached monotonized libevent time. | Nick Mathewson | |
2016-07-19 | convert timers.c to use real monotonic time. | Nick Mathewson | |
2016-07-19 | Basic portable monotonic timer implementation | Nick Mathewson | |
This code uses QueryPerformanceCounter() [**] on Windows, mach_absolute_time() on OSX, clock_gettime() where available, and gettimeofday() [*] elsewhere. Timer types are stored in an opaque OS-specific format; the only supported operation is to compute the difference between two timers. [*] As you know, gettimeofday() isn't monotonic, so we include a simple ratchet function to ensure that it only moves forward. [**] As you may not know, QueryPerformanceCounter() isn't actually always as monotonic as you might like it to be, so we ratchet that one too. We also include a "coarse monotonic timer" for cases where we don't actually need high-resolution time. This is GetTickCount{,64}() on Windows, clock_gettime(CLOCK_MONOTONIC_COARSE) on Linux, and falls back to regular monotonic time elsewhere. | |||
2016-07-18 | Update geoip and geoip6 to the July 6 2016 database. | Karsten Loesing | |
2016-07-17 | Keep make check-spaces happy | Andrea Shepard | |
2016-07-17 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-17 | Merge remote-tracking branch 'weasel/bug19660' into maint-0.2.8 | Nick Mathewson | |
2016-07-17 | Fix warnings in test_util_formats. | Nick Mathewson | |
Storing 255 into a char gives a warning when char is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha, where these tests were added. | |||
2016-07-13 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-13 | changes file for bug18397 | Nick Mathewson | |
2016-07-13 | Merge remote-tracking branch 'Jigsaw52/seccomp-fix-18397' into maint-0.2.8 | Nick Mathewson | |
2016-07-11 | Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelist | Peter Palfrader | |
If we did not find a non-private IPaddress by iterating over interfaces, we would try to get one via get_interface_address6_via_udp_socket_hack(). This opens a datagram socket with IPPROTO_UDP. Previously all our datagram sockets (via libevent) used IPPROTO_IP, so we did not have that in the sandboxing whitelist. Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelist. Fixes bug 19660. | |||
2016-07-09 | Adds missing syscalls to seccomp filter. | Daniel Pinto | |
Fixes #18397 which prevented tor starting with Sandbox 1. | |||
2016-07-08 | Move our "what time is it now" compat functions into a new module | Nick Mathewson | |
I'm not moving our "format and parse the time" functions, since those have been pretty volatile over the last couple of years. | |||
2016-07-08 | Fix test-network-all target in out-of-tree builds | cypherpunks | |
The test-network-all target assumes the test-driver script lives in the current working directory. This assumption breaks out-of-tree builds because it actually lives in the source directory. Automake 1.12 introduces `LOG_DRIVER` which defines the location of the test driver script. Because Tor still supports Automake 1.11 we use the default value of this variable directly. The default value uses the configured shell for calling the test driver script and explicitly prefixes the source directory. | |||
2016-07-08 | Merge remote-tracking branch 'sebastian/libevent2' | Nick Mathewson | |
2016-07-07 | Remove already-merged changes files. | Nick Mathewson | |
These changes files already are merged in release-0.2.8, and therefor will not be "new in 0.2.9.1-alpha". | |||
2016-07-07 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-07 | Bump maint-0.2.8 to 0.2.8.5-rc-dev | Nick Mathewson | |
2016-07-07 | Forward-port the 0.2.8.5-rc changelog | Nick Mathewson | |
2016-07-06 | test coverage on onion_fast: 0%->100% | Nick Mathewson | |
2016-07-06 | Capture the LOG_ERR messages in our tests that had logged errors. | Nick Mathewson | |
(It's confusing for the test to write an expected error to stdout, and then tell the user "OK".) | |||
2016-07-06 | When saving mocked log messages, always create the list. | Nick Mathewson | |
Otherwise, our code needs to check "list && smarlist_len(list)..." | |||
2016-07-06 | Improve test coverage a little on onion*.c | Nick Mathewson | |
2016-07-06 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-06 | Fix sign in test-timers | Nick Mathewson | |
2016-07-06 | When checking if a routerstatus is reachable, don't check the node | teor (Tim Wilson-Brown) | |
This fixes #19608, allowing IPv6-only clients to use microdescriptors, while preserving the ability of bridge clients to have some IPv4 bridges and some IPv6 bridges. Fix on c281c036 in 0.2.8.2-alpha. | |||
2016-07-05 | Merge remote-tracking branch 'teor/bug18456' | Nick Mathewson | |
2016-07-05 | Merge remote-tracking branch 'dgoulet/sr-test-fix' | Nick Mathewson | |
2016-07-05 | Test: fix shared random test checking bad errno | David Goulet | |
The test was checking for EISDIR which is a Linux-ism making other OSes unhappy. Instead of checking for a negative specific errno value, just make sure it's negative indicating an error. We don't need more for this test. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2016-07-05 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-05 | Merge branch 'maint-0.2.7' into maint-0.2.8 | Nick Mathewson | |
2016-07-05 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-07-05 | Merge branch 'maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |