Nick Mathewson
0c8142e981
r15691@tombo: nickm | 2007-12-25 18:13:54 -0500
...
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-26 00:12:01 +00:00
Andrew Lewman
0421e53c66
Fix a typo. Thanks sjmurdoch.
...
svn:r12978
2007-12-25 19:02:12 +00:00
Karsten Loesing
506a02d485
proposal 121: replaced misleading term "authentication" by "authorization", added some clarifications (comments by Sven Kaffille)
...
svn:r12967
2007-12-25 11:34:29 +00:00
Peter Palfrader
f6072c36c8
New upstream version
...
svn:r12965
2007-12-25 08:39:53 +00:00
Roger Dingledine
58e429f079
bump to 0.2.0.15-alpha
...
svn:r12962
2007-12-25 05:45:36 +00:00
Roger Dingledine
c6788cc0de
The bridge GeoIP stats were counting other relays, for example
...
self-reachability and authority-reachability tests.
svn:r12960
2007-12-25 00:07:13 +00:00
Roger Dingledine
5925bc972c
tweaks
...
svn:r12959
2007-12-24 23:51:22 +00:00
Roger Dingledine
24d46eccb9
minor patches from Christian Brueffer
...
svn:r12958
2007-12-24 22:05:05 +00:00
Roger Dingledine
e61c9cddca
0.2.0.15-alpha is coming out tonight. get yer bug reports in now!
...
svn:r12957
2007-12-24 20:10:43 +00:00
Roger Dingledine
6421f6c449
correct the patch from cjacker huang for iphone compiling
...
svn:r12953
2007-12-24 11:37:16 +00:00
Roger Dingledine
15c048bdc5
Fix several remotely triggerable asserts based on DirPort requests
...
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-24 11:25:45 +00:00
Roger Dingledine
44ca13ceaa
some geoip related todo items
...
svn:r12951
2007-12-24 11:18:05 +00:00
Roger Dingledine
4fb573fddd
bugfix on r10612:
...
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-24 10:31:39 +00:00
Nick Mathewson
da06bfb80f
r15653@tombo: nickm | 2007-12-23 14:15:12 -0500
...
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 19:15:22 +00:00
Nick Mathewson
473725e1a4
r15648@tombo: nickm | 2007-12-23 13:27:30 -0500
...
Support building for iPhone; patch from cjacker huang.
svn:r12946
2007-12-23 18:27:47 +00:00
Nick Mathewson
4606a8af03
r15646@tombo: nickm | 2007-12-23 13:17:33 -0500
...
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 18:20:22 +00:00
Nick Mathewson
b9fa18a1de
r15644@tombo: nickm | 2007-12-23 12:56:38 -0500
...
Bump to 0.2.0.14-alpha-dev
svn:r12944
2007-12-23 17:57:07 +00:00
Peter Palfrader
e08582118c
* New upstream version.
...
* Work around fig2dev failing to build the images on sparc like we do on s390.
svn:r12942
2007-12-23 14:04:38 +00:00
Peter Palfrader
03f64638cb
Remove 13_r12907-fix-unit-tests.dpatch (Fix unit tests from HEAD) again - it's
...
included upstream.
svn:r12941
2007-12-23 09:46:38 +00:00
Roger Dingledine
2424449947
ok, going to release now
...
svn:r12938
2007-12-23 06:38:00 +00:00
Roger Dingledine
621c50d645
add a 'bridge relay' config section to the sample torrc
...
svn:r12937
2007-12-23 05:08:46 +00:00
Roger Dingledine
c10faf5085
fix some irix compile complaints; make "kbytes" work as a memory unit
...
svn:r12936
2007-12-23 04:22:55 +00:00
Roger Dingledine
5b3e5e87bc
bump to 0.2.0.14-alpha
...
svn:r12935
2007-12-23 01:31:39 +00:00
Roger Dingledine
9dcde682f5
minor other things in my sandbox
...
svn:r12934
2007-12-23 01:28:25 +00:00
Roger Dingledine
61bd5583d9
If we receive a general-purpose descriptor and then receive an
...
identical bridge-purpose descriptor soon after, don't discard
the next one as a duplicate.
svn:r12933
2007-12-23 01:18:14 +00:00
Nick Mathewson
3a85c9fa65
r17340@catbus: nickm | 2007-12-22 12:30:07 -0500
...
Try to resolve bug 553 by adding a sys/time.h include to the autoconf test for rlim_t.
svn:r12931
2007-12-22 17:30:12 +00:00
Roger Dingledine
fe006ad880
and clean up after myself
...
svn:r12930
2007-12-22 11:54:33 +00:00
Roger Dingledine
88503e25c7
If bridge authorities set BridgePassword, they will serve a
...
snapshot of known bridge routerstatuses from their DirPort to
anybody who knows that password. Unset by default.
svn:r12929
2007-12-22 11:48:17 +00:00
Roger Dingledine
87a616e128
Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
...
without a datadirectory from a previous Tor install. Reported
by Zax.
svn:r12928
2007-12-22 11:42:12 +00:00
Roger Dingledine
abf9fadcca
start working on serving bridge status from the dirport, for
...
bridge communities.
svn:r12927
2007-12-22 10:54:21 +00:00
Roger Dingledine
a02d18f6fb
add the blurb for 0.2.0.13-alpha
...
svn:r12926
2007-12-22 09:20:11 +00:00
Roger Dingledine
ce636beff9
If the user sets RelayBandwidthRate but doesn't set
...
RelayBandwidthBurst, then make them equal rather than erroring out.
svn:r12925
2007-12-22 09:13:24 +00:00
Roger Dingledine
33f9c2c157
todo:
...
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-22 09:09:43 +00:00
Roger Dingledine
be906a836a
If BridgeRelay is set to 1, then the default for
...
PublishServerDescriptor is now "bridge" rather than "v2,v3".
svn:r12923
2007-12-22 09:04:46 +00:00
Roger Dingledine
39d910e97b
Make PublishServerDescriptor default to 1, so the default doesn't
...
have to change as we invent new directory protocol versions.
svn:r12922
2007-12-22 08:27:42 +00:00
Roger Dingledine
6097e46420
Fix a crash when we load a bridge descriptor from disk but we don't
...
currently have a Bridge line for it in our torrc. Bugfix on
0.2.0.12-alpha.
svn:r12921
2007-12-22 06:11:49 +00:00
Roger Dingledine
a03aa2ef6e
a todo item that nick might like sometime
...
svn:r12920
2007-12-22 06:11:29 +00:00
Roger Dingledine
366c273d27
Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
...
svn:r12919
2007-12-22 05:27:30 +00:00
Roger Dingledine
869858bf57
add a little note about matt's 0.2.0.12-alpha crash
...
svn:r12918
2007-12-22 05:26:36 +00:00
Roger Dingledine
a223f5db03
Fix a crash when accessing hidden services: it would work the first
...
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-21 23:28:23 +00:00
Roger Dingledine
8f779aee5a
trivial whitespace fix
...
svn:r12912
2007-12-21 23:23:53 +00:00
Roger Dingledine
73ff2e5d5e
Fix a crash when we fetch a descriptor that turns out to be
...
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 22:58:22 +00:00
Peter Palfrader
57c26115fc
* New upstream version.
...
* Fix unit tests from HEAD (13_r12907-fix-unit-tests.dpatch).
svn:r12909
2007-12-21 12:23:23 +00:00
Roger Dingledine
b70deb50e5
todo: write a tor-gencert man page
...
svn:r12908
2007-12-21 10:52:47 +00:00
Roger Dingledine
c1af7de6e4
the better fix for the unit tests
...
svn:r12907
2007-12-21 10:44:10 +00:00
Roger Dingledine
33092b470b
bump to 0.2.0.13-alpha-dev
...
svn:r12906
2007-12-21 10:42:14 +00:00
Roger Dingledine
46bb4a40ee
Make the unit tests build again.
...
svn:r12905
2007-12-21 10:40:40 +00:00
Roger Dingledine
95daf3382e
bump to 0.2.0.13-alpha
...
svn:r12902
2007-12-21 09:35:29 +00:00
Roger Dingledine
3f4080d15d
tiny tweaks on r12900
...
svn:r12901
2007-12-21 09:33:11 +00:00
Roger Dingledine
90fcfade4e
revert r12841 and r12842, and commit karsten's "patch 13"
...
svn:r12900
2007-12-21 09:28:22 +00:00