Commit Graph

6563 Commits

Author SHA1 Message Date
Nick Mathewson d174cccd0b r8975@Kushana: nickm | 2006-09-28 17:13:53 -0400
Document entry-guard related functions


svn:r8521
2006-09-28 23:57:52 +00:00
Nick Mathewson d3a06684bc r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400
Improvement to last entry guards patch: track when we last attempted to connect to a node in our state file along with how long it has been unreachable.  Also clarify behavior of parse_iso_time() when it gets extra characters.


svn:r8520
2006-09-28 23:57:49 +00:00
Nick Mathewson 9988112c87 r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400
Refactor entry guard status logic a lot; allow more factors [like not
 having a Guard flag or being listed in ExcludeNodes] to render a guard
 "unlisted" (now called "unusable"); track guard down status (now
 called "unreachable") separately from is_running.


svn:r8519
2006-09-28 23:57:44 +00:00
Peter Palfrader bc25e87754 r9897@danube: weasel | 2006-09-29 01:08:44 +0200
Add a space in a wrapped log message


svn:r8517
2006-09-28 23:08:54 +00:00
Peter Palfrader c339bd2713 r9895@danube: weasel | 2006-09-29 01:05:00 +0200
Restore to previous wording that svk merging made me mess up


svn:r8516
2006-09-28 23:05:17 +00:00
Peter Palfrader 540fbaae75 r9889@danube: weasel | 2006-09-29 00:57:42 +0200
bandwidth is not measured in bytes


svn:r8515
2006-09-28 22:59:36 +00:00
Peter Palfrader 9e6c0b8b3b r9888@danube: weasel | 2006-09-29 00:57:02 +0200
Also log guard bandwidth cutoff


svn:r8514
2006-09-28 22:59:25 +00:00
Peter Palfrader 14882b3ec0 r9770@danube: weasel | 2006-09-15 07:20:05 +0200
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:r8513
2006-09-28 22:58:58 +00:00
Peter Palfrader af58c70951 r9767@danube: weasel | 2006-09-15 06:27:48 +0200
Minor documentation fix


svn:r8512
2006-09-28 22:58:06 +00:00
Roger Dingledine 7e4acf1655 begin to revise path-spec
svn:r8511
2006-09-28 15:03:01 +00:00
Nick Mathewson 95132f836a r8750@totoro: nickm | 2006-09-27 20:52:01 -0400
Fix some warnings on mingw; hopefully this should let us build on mingw without warnings.


svn:r8509
2006-09-28 00:53:02 +00:00
Nick Mathewson ba7868c7b3 r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400
Remove a signed/unsigned comparison in eventdns.c


svn:r8508
2006-09-26 22:03:26 +00:00
Nick Mathewson cd2425ffa0 r8968@Kushana: nickm | 2006-09-26 17:53:27 -0400
Fix for reverse dns: only assume we will get an answer when the result was success.


svn:r8507
2006-09-26 22:03:23 +00:00
Roger Dingledine 3994b02c0e try a different fix
svn:r8506
2006-09-25 22:34:27 +00:00
Roger Dingledine 90a307bb2a tweaks
svn:r8505
2006-09-25 22:17:14 +00:00
Nick Mathewson 49ad1eefa1 Add an EnforceDistinctSubnets option so that clients who know what they are doing (mainly people with private testing networks) can disable our same-/16 detection.
svn:r8504
2006-09-25 22:12:54 +00:00
Nick Mathewson 01f9e97d43 Minor fix: add code to eventdns so it can free memory on shutdown. This should help valgrind and dmalloc freak out less.
svn:r8503
2006-09-25 20:38:58 +00:00
Nick Mathewson 52e179b942 Trivial fix to make dmalloc happier: release memory held in static member of escaped().
svn:r8502
2006-09-25 18:46:29 +00:00
Roger Dingledine c97a8469ad be clearer that the *ListenAddress directives can be
repeated multiple times.


svn:r8501
2006-09-25 17:33:53 +00:00
Nick Mathewson 4fe76e7b6b Free named_server_map on shutdown.
svn:r8500
2006-09-25 16:06:39 +00:00
Nick Mathewson 0f8491a254 Backport candidate: remove dangerous free(0) on hashtable init
svn:r8499
2006-09-25 16:06:09 +00:00
Nick Mathewson 78c068397a add missing paren in dmalloc tor_free
svn:r8498
2006-09-25 15:44:40 +00:00
Roger Dingledine ad430b9561 checkpoint changelog and general polishing
svn:r8497
2006-09-25 05:59:13 +00:00
Roger Dingledine bc848c8740 add 6697 (ircs) as longlivedport.
svn:r8496
2006-09-25 05:24:43 +00:00
Roger Dingledine 5b3cb1faa1 clean up the contrib/osx/Makefile.am more
svn:r8494
2006-09-25 02:31:56 +00:00
Roger Dingledine 24b07ea4d3 potential fixes for the tor osx dmg documentation. hopefully
phobos can confirm or deny.


svn:r8493
2006-09-25 02:30:55 +00:00
Roger Dingledine a87f3ac6f9 set the osx confdir to /Library/Tor rather than /Library/tor, maybe.
svn:r8492
2006-09-25 02:23:10 +00:00
Nick Mathewson bf6c1f6932 Note on TODO to update our privoxy configs
svn:r8489
2006-09-24 21:52:42 +00:00
Nick Mathewson b1ad605780 Build correctly for use on OS X platforms with case-sensitive filesystems
svn:r8487
2006-09-24 21:45:02 +00:00
Roger Dingledine bda137501e whitespace cleanups
svn:r8485
2006-09-24 20:54:59 +00:00
Roger Dingledine b01632139a add a note to nick's todo item
svn:r8483
2006-09-24 17:53:09 +00:00
Nick Mathewson 11b4296b0b Marge changes from libevent evdns to our eventdns. Most are cosmetic, but one or two are stability-related. This should make it easier to push our changes back towards libevent.
svn:r8482
2006-09-24 17:52:23 +00:00
Nick Mathewson 564f2fae8c Add another TODO item
svn:r8480
2006-09-24 17:46:07 +00:00
Nick Mathewson d3af1f2189 Backport candidate: Fix a long-standing server-side DNS bug. When a
client asks us to resolve (not connect to) an address, and we have a
cached answer, give them the cached answer.  Previously, we would give
them no answer at all.



svn:r8478
2006-09-24 17:05:00 +00:00
Nick Mathewson a951c015fe Add packaging item to TODO: we should manage keys less haphazardly.
svn:r8476
2006-09-24 15:54:48 +00:00
Andrew Lewman 6882031285 Fix the url for the patch to libevent-1.1b mingw diff.
svn:r8474
2006-09-24 12:31:46 +00:00
Andrew Lewman 4125fe234d Changes to doc as a result of creating a MinGW tor.exe on a bare system.
Add two TODO items relating to MinGW instructions.


svn:r8472
2006-09-23 19:17:08 +00:00
Andrew Lewman 563e03a3ef Special mingw package_nsis and nsi scripts.
svn:r8467
2006-09-23 02:18:18 +00:00
Nick Mathewson da7f9d5a33 r8911@Kushana: nickm | 2006-09-22 12:24:52 -0400
Make exitlist only output each result line once.


svn:r8466
2006-09-22 20:20:35 +00:00
Nick Mathewson 4218f09820 r8910@Kushana: nickm | 2006-09-22 12:14:05 -0400
Instead of just checking known-invalid addresses for DNS hijacking, we
 now check randomly generated addresses, and if too many of them map to
 the same IP, we assume that IP is the destination of a DNS hijack
 attempt.
 
 A little bird tells me that some DNS hijackers think that declining to
 give an A record for RFC2606 addresses (like .invalid and .example)
 makes them more standards compliant.  Standardswise, this is like an
 illicit brothel making sure that nobody has pulled the tags off the
 mattresss, but that doesn't get us out of working around it.
 


svn:r8465
2006-09-22 20:20:26 +00:00
Nick Mathewson bde5939ad3 r8909@Kushana: nickm | 2006-09-22 00:38:13 -0400
Consider changes to has_old_dnsworkers as noncosmetic


svn:r8464
2006-09-22 20:20:21 +00:00
Nick Mathewson 249ac6cff1 r8912@Kushana: nickm | 2006-09-22 16:18:51 -0400
Write more of path-spec.txt


svn:r8463
2006-09-22 20:19:34 +00:00
Nick Mathewson 0fe8544218 r8843@Kushana: nickm | 2006-09-17 16:57:20 -0400
A couple of last minor TODO cleanup items


svn:r8462
2006-09-22 20:18:58 +00:00
Roger Dingledine aa77298819 remove 8888 as a long lived port. i can't remember why it's
on the list.


svn:r8461
2006-09-22 19:29:26 +00:00
Andrew Lewman 0440d98245 One last change to openssl to get it to compile in mingw.
svn:r8458
2006-09-22 15:37:52 +00:00
Andrew Lewman 66092df5c3 Finally, valid tor.exe directions from scratch with mingw.
svn:r8457
2006-09-22 15:08:05 +00:00
Nick Mathewson e621c97d6e r8906@Kushana: nickm | 2006-09-21 21:23:22 -0400
Revise patch for libevent 1.1b to handle the "wait, I *do* have a gettimeofday()" case.


svn:r8456
2006-09-22 01:23:28 +00:00
Andrew Lewman c2e7e0374e Removed verbose patch output.
svn:r8455
2006-09-22 01:15:07 +00:00
Nick Mathewson f0f3bbc63b r8901@Kushana: nickm | 2006-09-21 20:43:48 -0400
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-22 00:45:08 +00:00
Nick Mathewson 78f981dbb0 svn:r8453 2006-09-22 00:44:21 +00:00