Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-30 | Fix a memory leak in tor-resolve | Nick Mathewson | |
Resolves bug 14050 | |||
2014-12-30 | Remove a logically dead check to please coverity | Nick Mathewson | |
2014-12-29 | Wipe all of the target space in tor_addr_{to,from}_sockaddr() | Nick Mathewson | |
Otherwise we risk a subsequent memdup or memcpy copying uninitialized RAM into some other place that might eventually expose it. Let's make sure that doesn't happen. Closes ticket 14041 | |||
2014-12-29 | Merge branch 'resolvemyaddr_squashed' | Nick Mathewson | |
2014-12-29 | Adding comprehensive test cases for resolve_my_address. | rl1987 | |
Also, improve comments on resolve_my_address to explain what it actually does. | |||
2014-12-29 | Fix a few comments | rl1987 | |
2014-12-23 | tweak whitespace; log bad socket family if bug occurs | Nick Mathewson | |
2014-12-23 | Add the transparent proxy getsockopt to the sandbox | Francisco Blas Izquierdo Riera (klondike) | |
When receiving a trasnsparently proxied request with tor using iptables tor dies because the appropriate getsockopt calls aren't enabled on the sandbox. This patch fixes this by adding the two getsockopt calls used when doing transparent proxying with tor to the sandbox for the getsockopt policy. This patch is released under the same license as the original file as long as the author is credited. Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> | |||
2014-12-22 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2014-12-22 | Merge remote-tracking branch 'public/bug14013_024' into maint-0.2.5 | Nick Mathewson | |
2014-12-22 | When decoding a base-{16,32,64} value, clear the target buffer first | Nick Mathewson | |
This is a good idea in case the caller stupidly doesn't check the return value from baseX_decode(), and as a workaround for the current inconsistent API of base16_decode. Prevents any fallout from bug 14013. | |||
2014-12-21 | Make log bufer 10k, not 9.78k. | teor | |
2014-12-21 | Fix a comment in tor_addr_parse | teor | |
2014-12-19 | Define an int64_min when it is missing | Nick Mathewson | |
2014-12-10 | Add better support to obfuscate statistics. | Karsten Loesing | |
2014-12-02 | Constify crypto_pk_get_digest(). | George Kadianakis | |
2014-11-27 | Merge remote-tracking branch 'andrea/cmux_refactor_configurable_threshold' | Nick Mathewson | |
Conflicts: src/or/or.h src/test/Makefile.nmake | |||
2014-11-12 | Merge remote-tracking branch 'public/bug7484' | Nick Mathewson | |
Conflicts: src/test/test_addr.c | |||
2014-11-12 | Replace operators used as macro arguments with OP_XX macros | Nick Mathewson | |
Part of fix for 13172 | |||
2014-11-12 | Merge branch 'ticket13172' | Nick Mathewson | |
2014-11-09 | Downgrade RSA signature verification failure error message to info loglevel. | rl1987 | |
2014-11-06 | Define macros meaning <,>,==,!=,<=,>= | Nick Mathewson | |
This lets us avoid putting operators directly in macro arguments, and thus will help us unconfuse coccinelle. For ticket 13172. | |||
2014-11-05 | 11291: Fix warnings, add changes file, rename 'mask'. | Nick Mathewson | |
2014-11-05 | Merge remote-tracking branch 'meejah/ticket-11291-extra-utests' | Nick Mathewson | |
Conflicts: src/or/config.c | |||
2014-11-04 | Merge branch 'bug13315_squashed' | Nick Mathewson | |
Conflicts: src/or/buffers.c | |||
2014-11-04 | fix indentation | Nick Mathewson | |
2014-11-04 | Use correct argument types for inet_pton. | Nick Mathewson | |
(I blame whoever decided that using a void* for a union was a good idea.) | |||
2014-11-04 | Checking if FQDN is actually IPv6 address string and handling that case. | rl1987 | |
2014-11-04 | Adding helper function that checks if string is a valid IPv6 address. | rl1987 | |
2014-11-04 | Introducing helper function to validate IPv4 address strings. | rl1987 | |
2014-11-04 | Introducing helper function to validate DNS name strings. | rl1987 | |
2014-11-02 | Use tor_malloc_zero(x), not tor_calloc(x,sizeof(char)) | Nick Mathewson | |
(Also, fixes a wide line.) | |||
2014-11-02 | Apply new calloc coccinelle patch | Nick Mathewson | |
2014-11-02 | Use the | trick to save a comparison in our calloc check. | Nick Mathewson | |
2014-11-02 | Switch to a < comparison for our calloc check; explain how it works | Nick Mathewson | |
2014-11-02 | Document the calloc function overflow check. | Mansour Moufid | |
2014-11-02 | Remove a duplicate comment. | Mansour Moufid | |
2014-11-02 | Refactor the tor_reallocarray_ overflow check. | Mansour Moufid | |
2014-11-02 | Refactor the tor_calloc_ overflow check. | Mansour Moufid | |
2014-10-31 | Refactor {str,digest}map into a common implementation; add digest256map | Nick Mathewson | |
Needed for #13399. | |||
2014-10-30 | Silence spurious clang warnings | teor | |
Silence clang warnings under --enable-expensive-hardening, including: + implicit truncation of 64 bit values to 32 bit; + const char assignment to self; + tautological compare; and + additional parentheses around equality tests. (gcc uses these to silence assignment, so clang warns when they're present in an equality test. But we need to use extra parentheses in macros to isolate them from other code). | |||
2014-10-28 | Add another year to our copyright dates. | Nick Mathewson | |
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right? | |||
2014-10-27 | Remove configure option to disable curve25519 | Sebastian Hahn | |
By now, support in the network is widespread and it's time to require more modern crypto on all Tor instances, whether they're clients or servers. By doing this early in 0.2.6, we can be sure that at some point all clients will have reasonable support. | |||
2014-10-23 | Fix minor typos, two line lengths, and a repeated include | teor | |
2014-10-22 | Merge remote-tracking branch 'public/bug11824_v2' | Nick Mathewson | |
2014-10-22 | Merge remote-tracking branch 'public/ticket6938' | Nick Mathewson | |
Conflicts: src/tools/tor-resolve.c | |||
2014-10-21 | Merge remote-tracking branch 'teor/bug13476-improve-time-handling' | Nick Mathewson | |
2014-10-20 | Merge remote-tracking branch 'teor/memwipe-more-keys' | Nick Mathewson | |
2014-10-20 | Use a macro to indicate "The ecdhe group we use by default". | Nick Mathewson | |
This might make Coverity happier about the if statement where we have a default case that's the same as one of the other cases. CID 1248515 | |||
2014-10-20 | Memwipe more keys after tor has finished with them | teor | |
Ensure we securely wipe keys from memory after crypto_digest_get_digest and init_curve25519_keypair_from_file have finished using them. Fixes bug 13477. |