aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-26 r15715@tombo: nickm | 2007-12-26 13:09:27 -0500Nick Mathewson
Peacetime managed to run overnight in paranoia mode. Disabling paranoia, so that buffers.c can be a little speedy again. svn:r12987
2007-12-26bump torbutton versionAndrew Lewman
svn:r12985
2007-12-26 r15710@tombo: nickm | 2007-12-25 19:36:03 -0500Nick Mathewson
Fix in flush_buf_tls: it is okay to flush an empty buffer, since we may have a partial TLS record pending. svn:r12984
2007-12-26 r15693@tombo: nickm | 2007-12-25 19:11:29 -0500Nick Mathewson
Here, have some terribly clever new buffer code. It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data. Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation. I've tested it out a little on peacetime, and it seems to work so far. If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module. svn:r12983
2007-12-26 r15692@tombo: nickm | 2007-12-25 18:15:50 -0500Nick Mathewson
Bump version to 0.2.0.15-alpha-dev svn:r12982
2007-12-26 r15691@tombo: nickm | 2007-12-25 18:13:54 -0500Nick Mathewson
New, slightly esoteric function, tor_malloc_roundup(). While tor_malloc(x) allocates x bytes, tor_malloc_roundup(&x) allocates the same size of chunk it would use to store x bytes, and sets x to the usable size of that chunk. svn:r12981
2007-12-25Fix a typo. Thanks sjmurdoch.Andrew Lewman
svn:r12978
2007-12-25proposal 121: replaced misleading term "authentication" by "authorization", ↵Karsten Loesing
added some clarifications (comments by Sven Kaffille) svn:r12967
2007-12-25New upstream versionPeter Palfrader
svn:r12965
2007-12-25bump to 0.2.0.15-alphator-0.2.0.15-alphaRoger Dingledine
svn:r12962
2007-12-25The bridge GeoIP stats were counting other relays, for exampleRoger Dingledine
self-reachability and authority-reachability tests. svn:r12960
2007-12-24tweaksRoger Dingledine
svn:r12959
2007-12-24minor patches from Christian BruefferRoger Dingledine
svn:r12958
2007-12-240.2.0.15-alpha is coming out tonight. get yer bug reports in now!Roger Dingledine
svn:r12957
2007-12-24correct the patch from cjacker huang for iphone compilingRoger Dingledine
svn:r12953
2007-12-24Fix several remotely triggerable asserts based on DirPort requestsRoger Dingledine
for a v2 or v3 networkstatus object before we were prepared. This was particularly bad for 0.2.0.13 and later bridge relays, who would never have a v2 networkstatus and would thus always crash when used. Bugfixes on 0.2.0.x. Estimate the v3 networkstatus size more accurately, rather than estimating it at zero bytes and giving it artificially high priority compared to other directory requests. Bugfix on 0.2.0.x. svn:r12952
2007-12-24some geoip related todo itemsRoger Dingledine
svn:r12951
2007-12-24bugfix on r10612:Roger Dingledine
When we load a bridge descriptor from the cache, and it was previously unreachable, mark it as retriable so we won't just ignore it. Also, try fetching a new copy immediately. svn:r12950
2007-12-23 r15653@tombo: nickm | 2007-12-23 14:15:12 -0500Nick Mathewson
Refactor circuit_launch* functions to take a bitfield of flags rather than 4 separate nonconsecutive flags arguments. Also, note a possible but in circuit_find_to_cannibalize, which seems to be ignoring its purpose argument. svn:r12948
2007-12-23 r15648@tombo: nickm | 2007-12-23 13:27:30 -0500Nick Mathewson
Support building for iPhone; patch from cjacker huang. svn:r12946
2007-12-23 r15646@tombo: nickm | 2007-12-23 13:17:33 -0500Nick Mathewson
Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling. svn:r12945
2007-12-23 r15644@tombo: nickm | 2007-12-23 12:56:38 -0500Nick Mathewson
Bump to 0.2.0.14-alpha-dev svn:r12944
2007-12-23* New upstream version.Peter Palfrader
* Work around fig2dev failing to build the images on sparc like we do on s390. svn:r12942
2007-12-23Remove 13_r12907-fix-unit-tests.dpatch (Fix unit tests from HEAD) again - it'sPeter Palfrader
included upstream. svn:r12941
2007-12-23ok, going to release nowtor-0.2.0.14-alphaRoger Dingledine
svn:r12938
2007-12-23add a 'bridge relay' config section to the sample torrcRoger Dingledine
svn:r12937
2007-12-23fix some irix compile complaints; make "kbytes" work as a memory unitRoger Dingledine
svn:r12936
2007-12-23bump to 0.2.0.14-alphaRoger Dingledine
svn:r12935
2007-12-23minor other things in my sandboxRoger Dingledine
svn:r12934
2007-12-23If we receive a general-purpose descriptor and then receive anRoger Dingledine
identical bridge-purpose descriptor soon after, don't discard the next one as a duplicate. svn:r12933
2007-12-22 r17340@catbus: nickm | 2007-12-22 12:30:07 -0500Nick Mathewson
Try to resolve bug 553 by adding a sys/time.h include to the autoconf test for rlim_t. svn:r12931
2007-12-22and clean up after myselfRoger Dingledine
svn:r12930
2007-12-22If bridge authorities set BridgePassword, they will serve aRoger Dingledine
snapshot of known bridge routerstatuses from their DirPort to anybody who knows that password. Unset by default. svn:r12929
2007-12-22Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh Roger Dingledine
without a datadirectory from a previous Tor install. Reported by Zax. svn:r12928
2007-12-22start working on serving bridge status from the dirport, forRoger Dingledine
bridge communities. svn:r12927
2007-12-22add the blurb for 0.2.0.13-alphaRoger Dingledine
svn:r12926
2007-12-22If the user sets RelayBandwidthRate but doesn't setRoger Dingledine
RelayBandwidthBurst, then make them equal rather than erroring out. svn:r12925
2007-12-22todo:Roger Dingledine
if we notice a cached-status directory and we're not serving v2 dir info and it's old enough, delete it. same with cached-routers*. svn:r12924
2007-12-22If BridgeRelay is set to 1, then the default forRoger Dingledine
PublishServerDescriptor is now "bridge" rather than "v2,v3". svn:r12923
2007-12-22Make PublishServerDescriptor default to 1, so the default doesn'tRoger Dingledine
have to change as we invent new directory protocol versions. svn:r12922
2007-12-22Fix a crash when we load a bridge descriptor from disk but we don'tRoger Dingledine
currently have a Bridge line for it in our torrc. Bugfix on 0.2.0.12-alpha. svn:r12921
2007-12-22a todo item that nick might like sometimeRoger Dingledine
svn:r12920
2007-12-22Make "GETINFO/desc-annotations/id/<OR digest>" actually work.Roger Dingledine
svn:r12919
2007-12-22add a little note about matt's 0.2.0.12-alpha crashRoger Dingledine
svn:r12918
2007-12-21Fix a crash when accessing hidden services: it would work the firstRoger Dingledine
time you use a given introduction point for your service, but on subsequent requests we'd be using garbage memory. Fixed by Karsten Loesing. Bugfix on 0.2.0.12-alpha. svn:r12913
2007-12-21trivial whitespace fixRoger Dingledine
svn:r12912
2007-12-21Fix a crash when we fetch a descriptor that turns out to beRoger Dingledine
unexpected (it used to be in our networkstatus when we started fetching it, but it isn't in our current networkstatus), and we aren't using bridges. Bugfix on 0.2.0.x. svn:r12911
2007-12-21* New upstream version.Peter Palfrader
* Fix unit tests from HEAD (13_r12907-fix-unit-tests.dpatch). svn:r12909
2007-12-21todo: write a tor-gencert man pageRoger Dingledine
svn:r12908
2007-12-21the better fix for the unit testsRoger Dingledine
svn:r12907