aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-22 r8901@Kushana: nickm | 2006-09-21 20:43:48 -0400Nick Mathewson
I tracked a bug in server-side reverse DNS to something concerning the caching code. Ive disabled server-side cacheing for reverse DNS answers for now, and I am noting the bug in the TODO. svn:r8454
2006-09-22svn:r8453Nick Mathewson
2006-09-22 r8895@Kushana: nickm | 2006-09-21 20:05:11 -0400Nick Mathewson
Debug client-side reverse dns code. svn:r8452
2006-09-22 r8894@Kushana: nickm | 2006-09-21 18:30:42 -0400Nick Mathewson
Specify and implement SOCKS5 interface for reverse hostname lookup. svn:r8451
2006-09-22remove some loud log messagesRoger Dingledine
svn:r8450
2006-09-22Fix a couple of server-side reverse dns bugsNick Mathewson
svn:r8449
2006-09-21Fix stupid C mistake. Glad I caught that one fast.Nick Mathewson
svn:r8448
2006-09-21Fix bug in r8440: base32 uses 5 bytes per char, not 4.Nick Mathewson
svn:r8447
2006-09-21 r8881@Kushana: nickm | 2006-09-21 17:27:59 -0400Nick Mathewson
Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit). svn:r8446
2006-09-21 r8880@Kushana: nickm | 2006-09-21 17:26:02 -0400Nick Mathewson
Trivial patch to appease warn-happy gcc: mark unused parameter svn:r8445
2006-09-21 r8879@Kushana: nickm | 2006-09-21 17:20:31 -0400Nick Mathewson
Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation. svn:r8444
2006-09-21 r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400Nick Mathewson
Trivial whitespace cleanups. svn:r8443
2006-09-21 r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400Nick Mathewson
Consider non-exit servers unsuitable for RESOLVE commands. svn:r8442
2006-09-21 r8876@Kushana: nickm | 2006-09-21 16:58:46 -0400Nick Mathewson
Trivial cleanup: !!x is a weird way to spell x != NULL. svn:r8441
2006-09-21 r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400Nick Mathewson
Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet. svn:r8440
2006-09-21 r8874@Kushana: nickm | 2006-09-21 15:22:27 -0400Nick Mathewson
Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled. svn:r8439
2006-09-21 r8873@Kushana: nickm | 2006-09-21 14:38:22 -0400Nick Mathewson
Fix a bug: Remember, each call to escaped() replaces the value returned from the last call to escaped(). svn:r8438
2006-09-21 r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400Nick Mathewson
Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled. svn:r8437
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