aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* NEEDS REVIEW. Act on previous comment, and handle named servers differently: ↵Nick Mathewson2006-09-19
| | | | | | 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
* Stop searching routerlist for routers with the same identity as other ↵Nick Mathewson2006-09-19
| | | | | | 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
* Switch routerlist.c to using memcmp on digests rather than ↵Nick Mathewson2006-09-19
| | | | | | 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
* eventdns patch from Adam LangleyRoger Dingledine2006-09-19
| | | | svn:r8429
* Fix a bogus free() in eventdns.c. Bug reported by xiando.Nick Mathewson2006-09-19
| | | | svn:r8428
* Merge in some bsockets calls, all wrapped inside #if defined(USE_BSOCKETS)Nick Mathewson2006-09-19
| | | | svn:r8427
* good god, that was a bad idea. i've built 500 circuits in the past 5Roger Dingledine2006-09-18
| | | | | | | minutes, trying to establish reachability of my unreachable server. svn:r8415
* Fix two bugs: first, "extendcircuit" would crash if you gave it a purpose.Roger Dingledine2006-09-18
| | | | | | | | | | 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
* r8839@Kushana: nickm | 2006-09-17 16:11:59 -0400Nick Mathewson2006-09-17
| | | | | | | Add some client performance XXXXs; try to move some common case tests higher on their decision trees. svn:r8410
* build testing circuits more rapidly. this has a failure modeRoger Dingledine2006-09-17
| | | | | | | | 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
* actually, do the bandwidth test anyway, if you've been up atRoger Dingledine2006-09-15
| | | | | | | least 6 hours at your previous address. svn:r8403
* avoid thrashing the bandwidth exercise when we change IPs a lot.Roger Dingledine2006-09-15
| | | | | | | | | | (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
* make my bandwidth exercises actually happenRoger Dingledine2006-09-15
| | | | svn:r8400
* Send out a burst of long-range drop cells after we've established thatRoger Dingledine2006-09-15
| | | | | | | | 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
* r9770@danube: weasel | 2006-09-15 07:20:05 +0200Peter Palfrader2006-09-15
| | | | | | | | | | | | 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
* r9767@danube: weasel | 2006-09-15 06:27:48 +0200Peter Palfrader2006-09-15
| | | | | | | Minor documentation fix svn:r8397
* r8819@Kushana: nickm | 2006-09-15 00:27:45 -0400Nick Mathewson2006-09-15
| | | | | | | Implement a smartlist_uniq() that will with luck not end the world. svn:r8396
* r8817@Kushana: nickm | 2006-09-14 18:31:29 -0400Nick Mathewson2006-09-14
| | | | | | | Patch from steve hildrey: Generate network status correctly on non-versioning dirservers svn:r8395
* r9758@danube: weasel | 2006-09-14 07:10:12 +0200Peter Palfrader2006-09-14
| | | | | | | Add a comment svn:r8391
* r9753@danube: weasel | 2006-09-14 07:07:02 +0200Peter Palfrader2006-09-14
| | | | | | | Remove duplicates from MyFamily svn:r8390
* r9752@danube: weasel | 2006-09-14 07:06:49 +0200Peter Palfrader2006-09-14
| | | | | | | Fix some dead code that is on occasion useful svn:r8389
* r8808@senior-two-eighty: nickm | 2006-09-14 00:59:54 -0400Nick Mathewson2006-09-14
| | | | | | | House style for no-args functions is old-style C, not C++ svn:r8388
* r9736@danube: weasel | 2006-09-14 05:53:06 +0200Peter Palfrader2006-09-14
| | | | | | | | 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
* r8776@Kushana: nickm | 2006-09-11 22:49:53 -0400Nick Mathewson2006-09-12
| | | | | | | Avoid crash when telling controller stream-status and a stream is detached. Fixes bug 334. Backport candidate. svn:r8370
* start remembering X-Your-Address-Is hints even if you'reRoger Dingledine2006-09-09
| | | | | | | a client, so you can become a server more smoothly. svn:r8359
* parameterize the loudness of get_interface_address()Roger Dingledine2006-09-09
| | | | svn:r8358
* fix typo, add log messageRoger Dingledine2006-09-09
| | | | svn:r8357
* fix encoding in "getinfo addr-mappings" response.Roger Dingledine2006-09-09
| | | | | | | fix error code when "getinfo dir/status/" fails. svn:r8355
* add a "getinfo address" controller command.Roger Dingledine2006-09-09
| | | | svn:r8354
* possibly make tor build and run on cygwin again.Roger Dingledine2006-09-08
| | | | svn:r8353
* r9695@danube: weasel | 2006-09-08 18:11:53 +0200Peter Palfrader2006-09-08
| | | | | | | Make tor build with -O0 svn:r8352
* another typoMike Chiussi2006-09-08
| | | | svn:r8351
* fixed typo in eventdns.cMike Chiussi2006-09-08
| | | | svn:r8350
* r8757@Kushana: nickm | 2006-09-07 13:07:46 -0400Nick Mathewson2006-09-07
| | | | | | | Fix more compile warnings on Woody. svn:r8349
* r8755@Kushana: nickm | 2006-09-07 12:31:57 -0400Nick Mathewson2006-09-07
| | | | | | | Tabify eventdns svn:r8348
* r8753@Kushana: nickm | 2006-09-07 12:23:25 -0400Nick Mathewson2006-09-07
| | | | | | | Make eventdns spacing consistant svn:r8347
* undid whitespace changes to dns.cMike Chiussi2006-09-07
| | | | svn:r8346
* fixed win32 eventdns snafu Mike Chiussi2006-09-07
| | | | svn:r8345
* - got rid of tabsMike Chiussi2006-09-07
| | | | svn:r8344
* - got rid of tabs (i think)Mike Chiussi2006-09-07
| | | | svn:r8343
* - added some debugging lines to load_nameservers_from_registry()Mike Chiussi2006-09-07
| | | | svn:r8342
* clean up some commentsRoger Dingledine2006-09-07
| | | | svn:r8338
* prefer calling it a client rather than an OPRoger Dingledine2006-09-07
| | | | svn:r8334
* rm'ed a tab (sorry)Mike Chiussi2006-09-07
| | | | svn:r8333
* - fixed up typos in eventdns.cMike Chiussi2006-09-07
| | | | | | | - configure lets user build with eventdns on win32 svn:r8332
* new config option AvoidDiskWrites for people running tors onRoger Dingledine2006-09-07
| | | | | | | | usb keys and other media that degrades when you write. not implemented yet, so just a reminder. svn:r8331
* r8733@Kushana: nickm | 2006-09-06 17:35:22 -0400Nick Mathewson2006-09-06
| | | | | | | Add some missing defines to eventdns.c for windows. svn:r8330
* r8731@Kushana: nickm | 2006-09-06 16:33:19 -0400Nick Mathewson2006-09-06
| | | | | | | Try to fix eventdns.c build on windows. svn:r8329
* r8729@Kushana: nickm | 2006-09-06 16:20:40 -0400Nick Mathewson2006-09-06
| | | | | | | Fix dns_cancel_pending_resolve() to realize pending resolves have expiry times, and should not be freed except when they fall off the pqueue. svn:r8328
* r8725@Kushana: nickm | 2006-09-06 04:39:29 -0400Nick Mathewson2006-09-06
| | | | | | | spawn_func fixes: have cpuworker_main and dnsworker_main confirm to the right interfaces [casting func to void* is icky]. Also, make pthread_create() build without warnings. svn:r8327