Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
Set umask(0700) when starting tor-gencert; resolves bug 445.
svn:r10475
|
|
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents.
svn:r10451
|
|
Try to fix some mipspro compiler warnings. There will still be some left.
svn:r10444
|
|
svn:r10429
|
|
Cleanup whitespace.
svn:r10425
|
|
Fix windows build.
svn:r10424
|
|
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton()
svn:r10420
|
|
Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days.
svn:r10397
|
|
An even better workaround for the probably-already-fixed bug 222.
svn:r10395
|
|
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
oops; use tor_inet_aton rather than inet_aton in tor_inet_ntop. Spotted by Li-Hui Zhou.
svn:r10389
|
|
svn:r10335
|
|
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them.
svn:r10326
|
|
Review XXXX comments without a version; upgrade some to XXXX020.
svn:r10315
|
|
Optimize digestmap_set, since it sometimes shows up in profiles. Seems to work so far, but it isnt the prettiest thing ever.
svn:r10312
|
|
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
|
|
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
|
|
Use svn revisions consistently throughout all log messages.
svn:r10291
|
|
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
|
|
Address points in r10227.
svn:r10229
|
|
items we should probably look into.
svn:r10227
|
|
Fix compilation with -O0; add unit tests for swap and shuffle.
svn:r10223
|
|
Fix build on gcc 4.2
svn:r10212
|
|
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
|
|
Fix dumb bug introduced in r10199
svn:r10202
|
|
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
|
|
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
|
|
svn:r10182
|
|
[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
|
|
svn:r10111
|
|
Remove the "RSA keys are 128-bits" assumption from crypto.c
svn:r10096
|
|
More attempt to fix win32 building. This time, with extra linking.
svn:r10080
|
|
Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h
svn:r10074
|
|
Correctly report win98se and win95osr2 versions.
svn:r10047
|
|
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t.
svn:r10006
|
|
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
|
|
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
|
|
Make dumpmemusage() dump cell pool usage information.
svn:r9991
|
|
More proposal-104 stuff: actually remember extra-info stuff.
svn:r9975
|
|
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
|
|
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
|
|
Fix documentation and usage of 2nd argument to mp_pool_new.
svn:r9942
|
|
Document memory pool implementation, and tweak it even mor. See? Programming is fun.
svn:r9940
|
|
Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this.
svn:r9939
|
|
Unit tests and debugging for memory pool implementation.
svn:r9938
|
|
Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor.
svn:r9937
|
|
svn:r9914
|
|
Check return values from pthread_mutex functions.
svn:r9862
|