Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-18 | Set EV_PERSIST flag on signal events with Libevent < 2.0. | Nick Mathewson | |
Fix for bug 1007. | |||
2009-06-16 | Fix bug 1001 | Sebastian Hahn | |
For compatibility with Libevent2, tor_event_new should accept a NULL base without crashing. | |||
2009-06-12 | Whitespace and osx fixes on libevent2 patch. | Nick Mathewson | |
2009-06-12 | Make Tor compile with Libevent 1.0 again. | Nick Mathewson | |
2009-06-12 | Move the Libvent setup logic into compat_libevent from config. | Nick Mathewson | |
This has been some pretty ugly and voodoo-laden code. I've tried to clean it up a bit, but more work probably remains. | |||
2009-06-12 | Update Tor to use Libevent 2.0 APIs when available. | Nick Mathewson | |
This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920). | |||
2009-05-31 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2009-05-31 | Merge branch 'hardware_accel_improvements' | Nick Mathewson | |
2009-05-30 | Don't attempt to log messages to a controller from a worker thread. | Nick Mathewson | |
This patch adds a function to determine whether we're in the main thread, and changes control_event_logmsg() to return immediately if we're in a subthread. This is necessary because otherwise we will call connection_write_to_buf, which modifies non-locked data structures. Bugfix on 0.2.0.x; fix for at least one of the things currently called "bug 977". | |||
2009-05-28 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2009-05-28 | Fixes to spelling fixes. Thanks, Roger! | Nick Mathewson | |
2009-05-27 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2009-05-27 | Spell-check Tor. | Nick Mathewson | |
2009-05-27 | Spelling fixes in comments and strings | Nick Mathewson | |
2009-05-23 | Add support for dynamic OpenSSL hardware crypto acceleration engines. | Martin Peck | |
2009-05-22 | Add a quick macro to calculate hashtable memory usage | Nick Mathewson | |
2009-05-17 | Merge branch 'maint-0.2.1' into merge_tmp | Nick Mathewson | |
2009-05-17 | Stop using malloc_usable_size(): valgrind hates it. | Nick Mathewson | |
2009-05-17 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2009-05-17 | Fix an assertion-failure in memarea_alloc() on 64-bit platforms. | Nick Mathewson | |
The trick is that we should assert that our next_mem pointer has not run off the end of the array _before_ we realign the pointer, since doing that could take us over the end... but only if we're on a system where malloc() gives us ram in increments smaller than sizeof(void*). | |||
2009-05-13 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2009-05-13 | Use a mutex to protect the count of open sockets. | Nick Mathewson | |
This matters because a cpuworker can close its socket when it finishes. Cpuworker typically runs in another thread, so without a lock here, we can have a race condition and get confused about how many sockets are open. Possible fix for bug 939. | |||
2009-05-12 | Add sentinel values to the end of memarea chunks. | Nick Mathewson | |
This might detect some possible causes of bug 930, and will at least make sure we aren't doing some dumb memory-corruption stuff with the heap and router-parsing. | |||
2009-05-08 | Include the *_sha1.i files in their own *_codedigest.c files. | Nick Mathewson | |
This way we do not need to rebuild util.c and/or config.c whenever any unrelated source file in src/common or src/or has changed. | |||
2009-05-05 | Add a missing newline | Sebastian Hahn | |
2009-05-04 | Update copyright to 2009. | Karsten Loesing | |
2009-05-02 | Update copyright to 2009. | Karsten Loesing | |
2009-04-29 | Command-line option to dump SHA1 digests of all source files. | Nick Mathewson | |
Now, when you call tor --digests, it dumps the SHA1 digest of each source file that Tor was built with. We support both 'sha1sum' and 'openssl sha1'. If the user is building from a tarball and they haven't edited anything, they don't need any program that calculates SHA1. If they _have_ modified a file but they don't have a program to calculate SHA1, we try to build so we do not output digests. | |||
2009-03-21 | Actually do that memarea_strndup fix right. Not only must you not examine ↵ | Nick Mathewson | |
unmapped ram, but you also must not copy it. From lark. svn:r19095 | |||
2009-03-21 | fix from lark: make memarea_strndup() work even at the end of a mmap chunk. ↵ | Nick Mathewson | |
Bug was harmless for now, I think. svn:r19094 | |||
2009-03-18 | Add some asserts to try to catch bug 930 | Nick Mathewson | |
svn:r19074 | |||
2009-03-09 | doxygen tweak | Roger Dingledine | |
svn:r18818 | |||
2009-03-03 | Actually use tor_sscanf() to parse untrusted input. | Nick Mathewson | |
svn:r18761 | |||
2009-03-03 | Add a simple locale-independent no-surprises sscanf replacement. | Nick Mathewson | |
tor_sscanf() only handles %u and %s for now, which will make it adequate to replace sscanf() for date/time/IP parsing. We want this to prevent attackers from constructing weirdly formed descriptors, cells, addresses, HTTP responses, etc, that validate under some locales but not others. svn:r18760 | |||
2009-03-02 | Add and use set/get_uint64 on onion tags. [bug 604; backportable] | Nick Mathewson | |
It seems that 64-bit Sparc Solaris demands 64-bit-aligned access to uint64_t, but does not 64-bit-align the stack-allocated char array we use for cpuworker tags. So this patch adds a set/get_uint64 pair, and uses them to access the conn_id field in the tag. svn:r18743 | |||
2009-02-09 | Use prctl to reenable core dumps when we have setuid to a non-root user. | Nick Mathewson | |
svn:r18449 | |||
2009-02-09 | Remove some deadcode and use tor_inet_aton uniformly. | Nick Mathewson | |
svn:r18422 | |||
2009-01-23 | Fix typo found by Justin Coffi on or-talk | Nick Mathewson | |
svn:r18258 | |||
2009-01-22 | Support 64-bit time_t. Patch from Matthias Drochner. Partial backport ↵ | Nick Mathewson | |
candidate. svn:r18234 | |||
2009-01-21 | Make sure that even in the weird fiddly paths that lead to init_keys, | Nick Mathewson | |
crypto_global_init gets called. Also have it be crypto_global_init that calls crypto_seed_rng, so we are not dependent on OpenSSL's RAND_poll in these fiddly cases. Should fix bug 907. Bugfix on 0.0.9pre6. Backport candidate. svn:r18210 | |||
2009-01-21 | Fix an error in tor_addr_parse that kept us from having a hidden service or ↵ | Nick Mathewson | |
a bridge live at an IPv6 address. svn:r18206 | |||
2009-01-21 | Fix warning on panther compile, and bug 913. Backport candidate. | Nick Mathewson | |
svn:r18203 | |||
2009-01-20 | Add a better (non-locale-having) ctypes implementation to avoid protocol and ↵ | Nick Mathewson | |
parsing mismatches on different platforms. svn:r18189 | |||
2009-01-13 | Fix up (I hope) most ot the things that coverity suddenly claimed were ↵ | Nick Mathewson | |
REVERSE_INULL. This is what we get for bragging about being down to 0 issues. svn:r18096 | |||
2009-01-13 | Fix a leak memory on the failing case of test_memeq_hex | Nick Mathewson | |
svn:r18094 | |||
2009-01-10 | Fix a harmless-to-us bug in ht.h. | Nick Mathewson | |
There was a field that _HT_FOI_INSERT was never setting. Everything that calls _HT_FOI_INSERT was setting it via tor_malloc_zero, but that's fragile. svn:r18064 | |||
2009-01-06 | Note a problem in the interface tor_addr_to_sockaddr. | Nick Mathewson | |
svn:r17982 | |||
2009-01-04 | Another fun openbsd warning fix. On ioerror's computer at least, they ↵ | Nick Mathewson | |
redefined an unsigned field in zlib.h to be signed. I am quite sure this makes me more secure somehow. svn:r17892 | |||
2009-01-04 | OpenBSD malloc.h believes that you should be able to detect headers with ↵ | Nick Mathewson | |
autoconf, or build without warnings, but not both. So never include malloc.h on OpenBSD. Backport candidate. svn:r17891 | |||
2009-01-04 | Fix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address ↵ | Nick Mathewson | |
on any platform. svn:r17887 |