summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2007-06-04 r13243@catbus: nickm | 2007-06-04 15:17:15 -0400Nick Mathewson
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack. svn:r10489
2007-06-04 r13239@catbus: nickm | 2007-06-04 11:30:37 -0400Nick Mathewson
Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400. svn:r10485
2007-06-03 r13191@catbus: nickm | 2007-06-03 19:38:18 -0400Nick Mathewson
Set umask(0700) when starting tor-gencert; resolves bug 445. svn:r10475
2007-06-02 r13154@catbus: nickm | 2007-06-02 11:26:44 -0400Nick Mathewson
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451
2007-06-02 r13143@catbus: nickm | 2007-06-01 16:43:40 -0400Nick Mathewson
Try to fix some mipspro compiler warnings. There will still be some left. svn:r10444
2007-05-31trivial changes from my sandboxRoger Dingledine
svn:r10429
2007-05-31 r13111@catbus: nickm | 2007-05-31 15:03:41 -0400Nick Mathewson
Cleanup whitespace. svn:r10425
2007-05-31 r13110@catbus: nickm | 2007-05-31 15:03:24 -0400Nick Mathewson
Fix windows build. svn:r10424
2007-05-31 r13101@catbus: nickm | 2007-05-31 12:57:42 -0400Nick Mathewson
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton() svn:r10420
2007-05-29 r13058@catbus: nickm | 2007-05-29 14:39:53 -0400Nick Mathewson
Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days. svn:r10397
2007-05-29 r13054@catbus: nickm | 2007-05-29 14:20:50 -0400Nick Mathewson
An even better workaround for the probably-already-fixed bug 222. svn:r10395
2007-05-29 r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson
Resolve all but 3 DOCDOCs. svn:r10393
2007-05-29 r13042@catbus: nickm | 2007-05-29 10:41:10 -0400Nick Mathewson
oops; use tor_inet_aton rather than inet_aton in tor_inet_ntop. Spotted by Li-Hui Zhou. svn:r10389
2007-05-25polish r9933-r9994Roger Dingledine
svn:r10335
2007-05-25 r12955@catbus: nickm | 2007-05-25 13:17:30 -0400Nick Mathewson
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them. svn:r10326
2007-05-24 r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson
Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
2007-05-24 r12933@catbus: nickm | 2007-05-24 14:10:28 -0400Nick Mathewson
Optimize digestmap_set, since it sometimes shows up in profiles. Seems to work so far, but it isnt the prettiest thing ever. svn:r10312
2007-05-24 r12916@catbus: nickm | 2007-05-24 12:43:45 -0400Nick Mathewson
Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more. svn:r10304
2007-05-22 r12898@catbus: nickm | 2007-05-22 13:11:04 -0400Nick Mathewson
More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities. svn:r10293
2007-05-22 r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson
Use svn revisions consistently throughout all log messages. svn:r10291
2007-05-22 r12850@catbus: nickm | 2007-05-21 22:20:42 -0400Nick Mathewson
Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up. svn:r10248
2007-05-20 r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400Nick Mathewson
Address points in r10227. svn:r10229
2007-05-20point out two remote crash bugs, a memory leak, and a few otherRoger Dingledine
items we should probably look into. svn:r10227
2007-05-19 r12812@catbus: nickm | 2007-05-19 16:17:36 -0400Nick Mathewson
Fix compilation with -O0; add unit tests for swap and shuffle. svn:r10223
2007-05-18 r12790@catbus: nickm | 2007-05-18 17:24:26 -0400Nick Mathewson
Fix build on gcc 4.2 svn:r10212
2007-05-18 r12980@Kushana: nickm | 2007-05-18 14:11:05 -0400Nick Mathewson
Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const. svn:r10208
2007-05-17 r12777@catbus: nickm | 2007-05-16 21:52:23 -0400Nick Mathewson
Fix dumb bug introduced in r10199 svn:r10202
2007-05-16 r12769@catbus: nickm | 2007-05-16 17:32:01 -0400Nick Mathewson
Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed. svn:r10199
2007-05-15 r12764@catbus: nickm | 2007-05-15 17:17:39 -0400Nick Mathewson
Enable (and cope with) more GCC 4.2 warnings. svn:r10196
2007-05-13polish r9726-r9903Roger Dingledine
svn:r10182
2007-05-09 r12700@catbus: nickm | 2007-05-09 17:22:53 -0400Nick Mathewson
[Backport candidate] On windows, open cached-routers with the sharing mode "FILE_SHARE_READ so that other processes can read it while Tor is running. (Reported by Janbar). svn:r10148
2007-05-04fix some code comments, a wrapper, and add a todo itemRoger Dingledine
svn:r10111
2007-05-02 r12638@catbus: nickm | 2007-05-02 17:37:30 -0400Nick Mathewson
Remove the "RSA keys are 128-bits" assumption from crypto.c svn:r10096
2007-05-01 r12607@catbus: nickm | 2007-04-30 21:36:28 -0400Nick Mathewson
More attempt to fix win32 building. This time, with extra linking. svn:r10080
2007-04-30 r12595@catbus: nickm | 2007-04-30 18:32:34 -0400Nick Mathewson
Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h svn:r10074
2007-04-30 r12546@catbus: nickm | 2007-04-29 21:27:43 -0400Nick Mathewson
Correctly report win98se and win95osr2 versions. svn:r10047
2007-04-23 r12499@catbus: nickm | 2007-04-23 10:42:23 -0400Nick Mathewson
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t. svn:r10006
2007-04-21 r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400Nick Mathewson
Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections. svn:r9994
2007-04-19 r12458@catbus: nickm | 2007-04-19 15:52:23 -0400Nick Mathewson
Fix a bug in displaying memory pool usage. Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells. svn:r9992
2007-04-19 r12456@catbus: nickm | 2007-04-19 14:47:01 -0400Nick Mathewson
Make dumpmemusage() dump cell pool usage information. svn:r9991
2007-04-16 r12414@catbus: nickm | 2007-04-16 17:37:17 -0400Nick Mathewson
More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
2007-04-11 r12353@catbus: nickm | 2007-04-11 15:58:46 -0400Nick Mathewson
Apparently some compilers think that anonymous unions are bad C. Technically, they're right, so let's name the union in mempool.c. svn:r9946
2007-04-11 r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944
2007-04-11 r12344@catbus: nickm | 2007-04-10 21:27:25 -0400Nick Mathewson
Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942
2007-04-11 r12338@catbus: nickm | 2007-04-10 20:29:05 -0400Nick Mathewson
Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940
2007-04-11 r12337@catbus: nickm | 2007-04-10 17:55:26 -0400Nick Mathewson
Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939
2007-04-11 r12336@catbus: nickm | 2007-04-10 17:34:25 -0400Nick Mathewson
Unit tests and debugging for memory pool implementation. svn:r9938
2007-04-11 r12335@catbus: nickm | 2007-04-10 16:53:48 -0400Nick Mathewson
Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937
2007-03-29Turn bool_neq and bool_eq into macros.Nick Mathewson
svn:r9914
2007-03-17 r12191@catbus: nickm | 2007-03-15 15:33:37 -0400Nick Mathewson
Check return values from pthread_mutex functions. svn:r9862