Nick Mathewson
93d4ad9743
r14447@Kushana: nickm | 2007-09-17 13:31:50 -0400
...
Track weighted fractional uptime in addition to weighted mtbf: we want to use mtbf for stable, but fractional uptime for guard.
svn:r11456
2007-09-17 18:27:43 +00:00
Nick Mathewson
076b27aff8
r15077@catbus: nickm | 2007-09-15 14:04:19 -0400
...
Oops; make Makefile.am work on mingw again.
svn:r11445
2007-09-15 18:06:23 +00:00
Nick Mathewson
1dbe726f04
r15068@catbus: nickm | 2007-09-14 15:25:02 -0400
...
Fix a couple typos in control.c; spotted by Robert Hogan.
svn:r11440
2007-09-14 19:27:04 +00:00
Nick Mathewson
5fcc48d389
r14425@Kushana: nickm | 2007-09-13 13:00:57 -0400
...
Do not load state when options->command is not RUN_TOR. (Resolves bug 499; backport candidate)
svn:r11437
2007-09-13 17:01:08 +00:00
Nick Mathewson
9b1ad0074b
r14392@Kushana: nickm | 2007-09-12 11:04:20 -0400
...
Complete implementation of proposal 104: remove bandwidth history lines from router descriptors.
svn:r11434
2007-09-12 17:33:23 +00:00
Nick Mathewson
71a56aa895
r14391@Kushana: nickm | 2007-09-12 10:56:17 -0400
...
Remove some needless complexity from the code to add signatures to a consensus: previously, we had a path to add new signatures, and a second path to replace signatures. But the second path sufficed as a common case, and the code isn't invoked nearly enough to justify the optimization of having the first path.
svn:r11433
2007-09-12 17:33:18 +00:00
Nick Mathewson
1647a5764a
r15056@catbus: nickm | 2007-09-12 13:15:19 -0400
...
Try to fix an automake problem by renaming a variable.
svn:r11432
2007-09-12 17:17:03 +00:00
Nick Mathewson
e73fb2f102
r15049@catbus: nickm | 2007-09-11 16:05:50 -0400
...
When we get a consensus for which we are missing the right certificates, keep it around pending more certificates; do not just drop it.
svn:r11430
2007-09-11 20:17:28 +00:00
Nick Mathewson
4de4f53abd
r15048@catbus: nickm | 2007-09-11 14:20:39 -0400
...
Add code to warn about mauthorities on a consensus when they are not what we expect to find.
svn:r11429
2007-09-11 20:17:25 +00:00
Nick Mathewson
749da8e0e9
r15047@catbus: nickm | 2007-09-11 13:40:54 -0400
...
Fix a memory leak when reloading v3 authority certificate and keys.
svn:r11428
2007-09-11 20:17:24 +00:00
Nick Mathewson
973502d290
r15046@catbus: nickm | 2007-09-11 13:38:36 -0400
...
Check V3 authority certificates for expiry, and warn the authority op as they get old.
svn:r11427
2007-09-11 20:17:22 +00:00
Nick Mathewson
3c7652ccdb
r15045@catbus: nickm | 2007-09-11 11:52:29 -0400
...
Reject incoming votes when the valid-after time does not match the period that we're trying to vote for.
svn:r11426
2007-09-11 20:17:20 +00:00
Nick Mathewson
c0130f9611
r15022@catbus: nickm | 2007-09-10 10:31:54 -0400
...
remove yet more pointless differences between our eventdns.c and the evdns.c in libevent.
svn:r11425
2007-09-11 20:17:18 +00:00
Nick Mathewson
5828e4d5c4
r15020@catbus: nickm | 2007-09-10 10:22:31 -0400
...
remove more pointless differences between our eventdns.c and the evdns.c in libevent.
svn:r11416
2007-09-10 14:23:26 +00:00
Nick Mathewson
13b65c4129
r15018@catbus: nickm | 2007-09-10 10:04:16 -0400
...
Change comments in eventdns.c to C-style, so we can more easily diff it against the version in libevent to reconcile them (again).
svn:r11415
2007-09-10 14:05:12 +00:00
Nick Mathewson
a04e584cbc
r15005@catbus: nickm | 2007-09-10 09:49:03 -0400
...
Undo brokenness from merge conflict.
svn:r11414
2007-09-10 13:50:00 +00:00
Nick Mathewson
615d19fe4c
r15001@catbus: nickm | 2007-09-10 09:44:49 -0400
...
Fix a couple of memory leaks in eventdns.c; found by niels. Not backport candidates, since they only affect DNSPort users.
svn:r11413
2007-09-10 13:48:01 +00:00
Nick Mathewson
6744ebe7b5
svn:r11412
2007-09-10 13:47:56 +00:00
Nick Mathewson
565f5f32c5
r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400
...
Another round of whitespeace fixes.
svn:r11407
2007-09-08 20:25:57 +00:00
Nick Mathewson
eb3f24f027
r14358@Kushana: nickm | 2007-09-08 13:45:16 -0400
...
Implement certificate fetch functions.
svn:r11405
2007-09-08 19:08:39 +00:00
Nick Mathewson
1c8bd05c70
Fix compilation of ntmain.c.
...
svn:r11395
2007-09-06 18:19:09 +00:00
Nick Mathewson
4c4280e249
Make sure that even dumb compilers can tell that bad_cookie and bad_password are set before use.
...
svn:r11390
2007-09-06 18:04:28 +00:00
Nick Mathewson
f17a38ab04
r14940@catbus: nickm | 2007-09-06 13:22:26 -0400
...
Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed.
svn:r11388
2007-09-06 17:42:05 +00:00
Andrew Lewman
c5b4f779ec
Fixed misspelling of "connection" caught by kate.
...
svn:r11382
2007-09-06 00:36:53 +00:00
Nick Mathewson
d57c1c5c56
r14328@Kushana: nickm | 2007-09-04 20:17:34 -0400
...
There is no good reason to make hashedcontrolpassword and cookieauthentication mutually exclusive. So let's not.
svn:r11377
2007-09-05 00:31:07 +00:00
Nick Mathewson
7c47856c9e
r14327@Kushana: nickm | 2007-09-04 20:06:04 -0400
...
Better comment in dnsserv.c
svn:r11376
2007-09-05 00:31:01 +00:00
Nick Mathewson
eca3634f62
r14294@Kushana: nickm | 2007-09-01 13:50:03 -0400
...
Oops. Initialize "changed" variable when removing obsolete guards.
svn:r11346
2007-09-01 17:50:29 +00:00
Nick Mathewson
c967fae598
r14880@catbus: nickm | 2007-08-31 11:06:10 -0400
...
Refactor store_stats_t to hold a pointer to the proper mmap, and turn it into a full-fledged type. This sets stuff up nicely for adding a separate "annotated" store. Add some XXXX NM items that need to be fixed when annotated stores exist
svn:r11338
2007-08-31 15:08:37 +00:00
Nick Mathewson
2ff871e530
r14871@catbus: nickm | 2007-08-31 10:12:53 -0400
...
Check correct circuit type when calling functions from rend_process_relay_cell. Backport candidate.
svn:r11336
2007-08-31 14:20:44 +00:00
Nick Mathewson
5da6321b76
r14859@catbus: nickm | 2007-08-30 17:10:15 -0400
...
0-pad minutes and seconds when displaying weighted mtbf in info logs.
svn:r11324
2007-08-30 21:12:34 +00:00
Nick Mathewson
c8e379a4cd
r14259@Kushana: nickm | 2007-08-30 02:33:55 -0400
...
Teach tor about more libevent versions. Be more clear that "Known bugs" means "it will crash or something." Most significantly, stop issuing dire warnings every time we run with kqueue on os x: it seems to have worked for a while now.
svn:r11314
2007-08-30 06:34:17 +00:00
Nick Mathewson
f189ecbf20
r14832@catbus: nickm | 2007-08-29 15:00:27 -0400
...
Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM.
svn:r11301
2007-08-29 19:02:43 +00:00
Nick Mathewson
91f83cfc2d
r14830@catbus: nickm | 2007-08-29 13:50:10 -0400
...
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate.
svn:r11299
2007-08-29 19:02:33 +00:00
Nick Mathewson
4266039c19
r14826@catbus: nickm | 2007-08-29 13:19:55 -0400
...
Add a line to the state file for each guard to let us know which version added the guard. If the line is absent, assume the guard was added by whatever version of Tor last wrote the state file. Remove guards if the version that added them was using a bad guard selection algorithm. (Previously, we removed guards if the version that wrote the file was using a bad guard selection algorithm, even if the guards themselves were chosen by a good version.)
svn:r11298
2007-08-29 17:22:00 +00:00
Nick Mathewson
a4cc3e4be1
r14821@catbus: nickm | 2007-08-27 19:57:56 -0400
...
Check for absent nickname when making extend info. I still dont know when this happens, but it is easy enough to check for. Fixes bug 467.
svn:r11293
2007-08-28 00:00:32 +00:00
Nick Mathewson
7cbe302b3f
r14231@Kushana: nickm | 2007-08-27 14:56:14 -0400
...
Most configuration options have the same names in or.h and in torrc. Make the macros reflect this, so that it is easier to fit them onto a line, and so that mismatched options stand out more
svn:r11290
2007-08-27 18:56:20 +00:00
Nick Mathewson
d3224bad42
r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400
...
Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address. This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort. Also clarify behavior in some comments. Backport candiate?
svn:r11287
2007-08-27 15:33:58 +00:00
Roger Dingledine
c4ee55ed26
Set up Tonga as the default bridge directory authority.
...
svn:r11276
2007-08-25 22:02:55 +00:00
Roger Dingledine
da1485088c
formatting cleanups
...
svn:r11273
2007-08-25 21:31:34 +00:00
Roger Dingledine
df98447be5
revert the recommended-guard-version thing. it did not do what we
...
want, which is to expire old guards *every* time somebody moves
from an old version to the new one.
also, refine which version numbers count as 'new enough'.
svn:r11272
2007-08-25 20:34:13 +00:00
Nick Mathewson
7efc165095
r14204@Kushana: nickm | 2007-08-24 10:24:36 -0400
...
Fix a bug in last patch; add support for getting extrainfo documents by the control port (since it is silly to tell tools to do it without actually giving them an interface).
svn:r11270
2007-08-24 14:41:15 +00:00
Nick Mathewson
b9d43e2685
r14203@Kushana: nickm | 2007-08-24 10:15:58 -0400
...
Add a hacked-up GETINFO desc/all-recent-extrainfo-hack so that torstat can keep working with a minimum of fuss, until it learns about extrainfo documents.
svn:r11269
2007-08-24 14:41:10 +00:00
Nick Mathewson
cf2ac9b9e1
r14202@Kushana: nickm | 2007-08-24 09:55:30 -0400
...
Add purposes for new things we need to fetch for v3 directory system.
svn:r11268
2007-08-24 14:41:06 +00:00
Nick Mathewson
c3805e753a
r14200@kushana: nickm | 2007-08-24 08:33:41 -0400
...
In new code, let's try to prefer named flags to mazes of twisted boolean arguments, all alike.
svn:r11267
2007-08-24 12:33:53 +00:00
Roger Dingledine
daece599a1
more cleanups on r11258. looks good now.
...
svn:r11266
2007-08-24 10:50:48 +00:00
Roger Dingledine
738ecba367
make the last patch do what i actually want. it was a bit tricky
...
since we want the default guardversion to be 0 (which is what it is
if there's no guardversion line), yet when we're validating a freshly
configed and defaulted state, we don't want to complain.
svn:r11264
2007-08-24 08:12:25 +00:00
Roger Dingledine
9bacf68851
cleanups on r11258
...
svn:r11263
2007-08-24 08:01:47 +00:00
Roger Dingledine
d39c7515d1
patch from mike perry to a) stop overloading guards as much, and
...
b) raise the max-believable-bandwidth to 10MB/s.
svn:r11258
2007-08-24 06:30:34 +00:00
Roger Dingledine
8d524edb83
a single quote != a single double quote. i can't hear the
...
circus music from here, perhaps we should move closer.
svn:r11256
2007-08-23 23:03:32 +00:00
Nick Mathewson
c65131b171
r14185@Kushana: nickm | 2007-08-22 11:07:01 -0400
...
Add some voting-related documentation.
svn:r11255
2007-08-22 15:07:44 +00:00