summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-19Speed up eat_whitespace by a lot.Nick Mathewson
svn:r8434
2006-09-19NEEDS REVIEW. Act on previous comment, and handle named servers differently: ↵Nick Mathewson
now, we allow multiple servers with the same name in the routerlist even if that name is reserved, but we check whether names are reserved when we try to look up routers by nickname. This is a minor security fix. This makes router_add_to_routerlist O(1). This is a backport candidate. svn:r8433
2006-09-19Stop searching routerlist for routers with the same identity as other ↵Nick Mathewson
routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise? svn:r8432
2006-09-19Malloc and friends are critical-path: Thus, add an it-wont-happen branch ↵Nick Mathewson
prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer. svn:r8431
2006-09-19Switch routerlist.c to using memcmp on digests rather than ↵Nick Mathewson
crypto_pk_cmp_keys(); speed up find_whitespace a lot (8x for me) by using a switch statement. This should speed parsing a lot of routers at once by a lot. svn:r8430
2006-09-19eventdns patch from Adam LangleyRoger Dingledine
svn:r8429
2006-09-19Fix a bogus free() in eventdns.c. Bug reported by xiando.Nick Mathewson
svn:r8428
2006-09-19Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)Nick Mathewson
svn:r8427
2006-09-18Fix a mis-spelled Privoxy.Andrew Lewman
svn:r8416
2006-09-18good god, that was a bad idea. i've built 500 circuits in the past 5Roger Dingledine
minutes, trying to establish reachability of my unreachable server. svn:r8415
2006-09-18Fix two bugs: first, "extendcircuit" would crash if you gave it a purpose.Roger Dingledine
Second, if you give an unknown purpose, it would say: 552 Unknown purpose "purpose=foo" Now it just says 552 Unknown purpose "foo" svn:r8412
2006-09-17 r8841@Kushana: nickm | 2006-09-17 16:20:16 -0400Nick Mathewson
Move more todo items around svn:r8411
2006-09-17 r8839@Kushana: nickm | 2006-09-17 16:11:59 -0400Nick Mathewson
Add some client performance XXXXs; try to move some common case tests higher on their decision trees. svn:r8410
2006-09-17 r8837@Kushana: nickm | 2006-09-17 15:58:04 -0400Nick Mathewson
More TODO work; tenatively mark assignments. svn:r8409
2006-09-17a few more todo changesRoger Dingledine
svn:r8408
2006-09-17build testing circuits more rapidly. this has a failure modeRoger Dingledine
where if circuits fail quickly, we'll fail a lot of them very quickly and not retry for a while. so be it. svn:r8407
2006-09-16Re-create symlinks through cp.Andrew Lewman
svn:r8406
2006-09-15 r8821@Kushana: nickm | 2006-09-15 16:19:16 -0400Nick Mathewson
Clean up libevent difmingw f problems noticed by mikec. svn:r8404
2006-09-15actually, do the bandwidth test anyway, if you've been up atRoger Dingledine
least 6 hours at your previous address. svn:r8403
2006-09-15avoid thrashing the bandwidth exercise when we change IPs a lot.Roger Dingledine
(we avoid simply by not doing any new tests when we change IPs -- it looks like we retain our previous bandwidth estimates, so there's no need to do new exercise. though in some cases new exercises may still be useful. one day we'll do something smarter.) svn:r8402
2006-09-15two todo itemsRoger Dingledine
svn:r8401
2006-09-15make my bandwidth exercises actually happenRoger Dingledine
svn:r8400
2006-09-15Send out a burst of long-range drop cells after we've established thatRoger Dingledine
we're reachable. Spread them over 4 circuits, so hopefully a few will be fast. This exercises our bandwidth and bootstraps us quicker. svn:r8399
2006-09-15 r9770@danube: weasel | 2006-09-15 07:20:05 +0200Peter Palfrader
router_set_networkstatus() gets a list of status documents we asked for from connection_dir_client_reached_eof(). However, as a cache we (sometimes?) just ask for "all". router_set_networkstatus() would freak out over that, meaning it would log a warning and drop the status document instead of caching it as it is supposed to. Now we let router_set_networkstatus() know if the data comes from an all-request so it can do the right thing. svn:r8398
2006-09-15 r9767@danube: weasel | 2006-09-15 06:27:48 +0200Peter Palfrader
Minor documentation fix svn:r8397
2006-09-15 r8819@Kushana: nickm | 2006-09-15 00:27:45 -0400Nick Mathewson
Implement a smartlist_uniq() that will with luck not end the world. svn:r8396
2006-09-14 r8817@Kushana: nickm | 2006-09-14 18:31:29 -0400Nick Mathewson
Patch from steve hildrey: Generate network status correctly on non-versioning dirservers svn:r8395
2006-09-14we should add a preamble to tor-design saying it's out of date.Roger Dingledine
svn:r8393
2006-09-14 r9759@danube: weasel | 2006-09-14 07:14:37 +0200Peter Palfrader
Add smartlist_uniq() to TODO list svn:r8392
2006-09-14 r9758@danube: weasel | 2006-09-14 07:10:12 +0200Peter Palfrader
Add a comment svn:r8391
2006-09-14 r9753@danube: weasel | 2006-09-14 07:07:02 +0200Peter Palfrader
Remove duplicates from MyFamily svn:r8390
2006-09-14 r9752@danube: weasel | 2006-09-14 07:06:49 +0200Peter Palfrader
Fix some dead code that is on occasion useful svn:r8389
2006-09-14 r8808@senior-two-eighty: nickm | 2006-09-14 00:59:54 -0400Nick Mathewson
House style for no-args functions is old-style C, not C++ svn:r8388
2006-09-14 r9749@danube: weasel | 2006-09-14 06:53:12 +0200Peter Palfrader
Do not graciously increase the size to be mmaped if the current size already is at a page_size boundary. This is important since if a file has a size of zero and we mmap() it with length > 0, then accessing the mmaped memory area causes a bus error. However, if we pass a length of 0 to mmap() it will return with -1 and things work from there. svn:r8387
2006-09-14 r9736@danube: weasel | 2006-09-14 05:53:06 +0200Peter Palfrader
Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file(): There is not need to put together the path to the approved-routers file in more than one place. svn:r8386
2006-09-13continue fleshing out the blocking-resistance design docRoger Dingledine
svn:r8385
2006-09-13two todo items we'll need for the blocking-resistance schemeRoger Dingledine
svn:r8384
2006-09-13 r8795@Kushana: nickm | 2006-09-13 13:34:54 -0400Nick Mathewson
Try to split off the mingw portions of the libevent diff so we can send them to niels separately. Adding two patches: one that applies against 1.1b; one that applies against the libevent svn trunk. svn:r8383
2006-09-12 r8791@Kushana: nickm | 2006-09-12 15:00:48 -0400Nick Mathewson
As long as we are being pedantic, we may as well be extra-pedantic. svn:r8376
2006-09-12avoid getting mail from ilja in 2008 about this.Roger Dingledine
svn:r8375
2006-09-12 r9734@danube: weasel | 2006-09-12 20:11:02 +0200Peter Palfrader
Set svn:keywords svn:r8374
2006-09-12 r8785@Kushana: nickm | 2006-09-12 14:05:46 -0400Nick Mathewson
Add non-dist utility for weasel svn:r8373
2006-09-12Updates to win32-mingw. libevent1.1b builds. openssl doesn't.Andrew Lewman
svn:r8371
2006-09-12 r8776@Kushana: nickm | 2006-09-11 22:49:53 -0400Nick Mathewson
Avoid crash when telling controller stream-status and a stream is detached. Fixes bug 334. Backport candidate. svn:r8370
2006-09-11First attempt to document the process to build Win32 executables withAndrew Lewman
mingw. Relies upon magic to actually work right now. svn:r8361
2006-09-09start remembering X-Your-Address-Is hints even if you'reRoger Dingledine
a client, so you can become a server more smoothly. svn:r8359
2006-09-09parameterize the loudness of get_interface_address()Roger Dingledine
svn:r8358
2006-09-09fix typo, add log messageRoger Dingledine
svn:r8357
2006-09-09 r8766@Kushana: nickm | 2006-09-08 23:46:12 -0400Nick Mathewson
Remove some completed items from TODO; defer a bunch of stuff from 0.1.2.x (which we want to have an RC for by the end of October) svn:r8356
2006-09-09fix encoding in "getinfo addr-mappings" response.Roger Dingledine
fix error code when "getinfo dir/status/" fails. svn:r8355