summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Also ship compat_time.h in release tarballs. Fixes bug #19746bug19746Peter Palfrader2016-07-25
|
* ug no, the RIGHT fix.Nick Mathewson2016-07-21
|
* Avoid infinite stack explosion in windows monotime.Nick Mathewson2016-07-21
| | | | [init calls get calls init calls get calls init.... ]
* Once more, 32-bit fixes on monotime mockingNick Mathewson2016-07-21
|
* Merge branch 'maint-0.2.8'Nick Mathewson2016-07-21
|\
| * Coverity hates it when we do "E1 ? E2 : E2".Nick Mathewson2016-07-21
| | | | | | | | | | | | It says, 'Incorrect expression (IDENTICAL_BRANCHES)' Fix for CID 1364127. Not in any released Tor.
* | loony mingwcross bug: insist we dont have clock_gettime.Nick Mathewson2016-07-21
| |
* | fix monotime test mocking on 32-bit systemsNick Mathewson2016-07-21
| |
* | Make monotime test mocking work with oom tests.Nick Mathewson2016-07-21
| |
* | Use new mock functions in buffer/time_tracking testNick Mathewson2016-07-21
| |
* | Actually make monotonic time functions mockable.Nick Mathewson2016-07-21
| | | | | | | | | | | | This is different from making the functions mockable, since monotime_t is opaque and so providing mocks for the functions is really hard.
* | Revert "Make the monotonic{_coarse,}_get() functions mockable."Nick Mathewson2016-07-21
| | | | | | | | This reverts commit 2999f0b33fec8e91ba8e4680d3f9d03b09fe9501.
* | Make the monotonic{_coarse,}_get() functions mockable.Nick Mathewson2016-07-21
| |
* | Merge branch 'maint-0.2.8'Nick Mathewson2016-07-19
|\ \ | |/
| * Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson2016-07-19
| |\
| | * Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson2016-07-19
| | |\
| | | * Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson2016-07-19
| | | |\
| | | | * Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson2016-07-19
| | | | |\
| | | | | * Update geoip and geoip6 to the July 6 2016 database.Karsten Loesing2016-07-18
| | | | | |
* | | | | | Merge branch 'monotonic_v2_squashed'Nick Mathewson2016-07-19
|\ \ \ \ \ \
| * | | | | | Be sure to call monotime_init() at startup.Nick Mathewson2016-07-19
| | | | | | |
| * | | | | | Make sure initialized_at is initialized before use.Nick Mathewson2016-07-19
| | | | | | |
| * | | | | | Changes file for monotonic time branch.Nick Mathewson2016-07-19
| | | | | | |
| * | | | | | Unit tests for monotonic timeNick Mathewson2016-07-19
| | | | | | |
| * | | | | | Expose monotonic time ratchet functions for testing.Nick Mathewson2016-07-19
| | | | | | |
| * | | | | | Remove tor_gettimeofday_cached_monotonic as broken and unneededNick Mathewson2016-07-19
| | | | | | |
| * | | | | | Use coarse monotonic timer instead of cached monotonized libevent time.Nick Mathewson2016-07-19
| | | | | | |
| * | | | | | convert timers.c to use real monotonic time.Nick Mathewson2016-07-19
| | | | | | |
| * | | | | | Basic portable monotonic timer implementationNick Mathewson2016-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Move our "what time is it now" compat functions into a new moduleNick Mathewson2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not moving our "format and parse the time" functions, since those have been pretty volatile over the last couple of years.
* | | | | | | Keep make check-spaces happyAndrea Shepard2016-07-17
| | | | | | |
* | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-07-17
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge remote-tracking branch 'weasel/bug19660' into maint-0.2.8Nick Mathewson2016-07-17
| |\ \ \ \ \ \
| | * | | | | | Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelistbug19660Peter Palfrader2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | Fix warnings in test_util_formats.Nick Mathewson2016-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-07-13
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | / / / / / | |_|/ / / / / |/| | | | | |
| * | | | | | changes file for bug18397Nick Mathewson2016-07-13
| | | | | | |
| * | | | | | Merge remote-tracking branch 'Jigsaw52/seccomp-fix-18397' into maint-0.2.8Nick Mathewson2016-07-13
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | Adds missing syscalls to seccomp filter.Daniel Pinto2016-07-09
| | |/ / / / | | | | | | | | | | | | | | | | | | Fixes #18397 which prevented tor starting with Sandbox 1.
* | | | | | Fix test-network-all target in out-of-tree buildscypherpunks2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge remote-tracking branch 'sebastian/libevent2'Nick Mathewson2016-07-08
|\ \ \ \ \ \
| * | | | | | Remove src/or/eventdns_tor.h based on cypherpunk's reviewSebastian Hahn2016-07-04
| | | | | | |
| * | | | | | Add changes file for libevent version requirementSebastian Hahn2016-07-04
| | | | | | |
| * | | | | | Address review comments from cypherpunksSebastian Hahn2016-07-04
| | | | | | |
| * | | | | | Raise libevent dependency to 2.0.10-stable or newerSebastian Hahn2016-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
| * | | | | | Remove two wrong commentsSebastian Hahn2016-07-04
| | | | | | |
| * | | | | | Remove HAVE_EVENT_H from winconfigSebastian Hahn2016-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally left in in f25e2167f556.
| * | | | | | Remove HAVE_EVENT_* defines from winconfigSebastian Hahn2016-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | They were accidentally left sitting around in 517e0f965.
* | | | | | | Remove already-merged changes files.Nick Mathewson2016-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes files already are merged in release-0.2.8, and therefor will not be "new in 0.2.9.1-alpha".
* | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-07-07
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |