summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-09-29 r9007@Kushana: nickm | 2006-09-29 13:17:32 -0400Nick Mathewson
Make eventdns give strings for DNS errors, not just error numbers. svn:r8535
2006-09-29 r9006@Kushana: nickm | 2006-09-29 10:48:23 -0400Nick Mathewson
Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG. svn:r8534
2006-09-29 r9005@Kushana: nickm | 2006-09-29 10:37:55 -0400Nick Mathewson
Implement DESCCHANGED event to tell controller when our router descriptor changes. svn:r8533
2006-09-29 r8776@totoro: nickm | 2006-09-29 00:50:46 -0400Nick Mathewson
Reserve the nickname "Unnamed" for routers that can't pick a hostname; any router can call itself Unnamed; directory servers will never allocate Unnamed to any particular router; clients won't believe that any router is the canonical Unnamed. svn:r8529
2006-09-29 r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400Nick Mathewson
[Needs review.] Add a BEGIN_DIR relay cell type for an easier in-protocol way to connect to directory servers through Tor. Previously, clients could only connect to director servers over Tor from exit nodes, but couldn't get directory information anonymously from a non-exit cache without getting a directory server involved. This needs testing, and needs client-side code to actually exercise it. svn:r8527
2006-09-29combine the cutoff log entriesRoger Dingledine
svn:r8524
2006-09-28 r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400Nick Mathewson
Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria. svn:r8523
2006-09-28 r8976@Kushana: nickm | 2006-09-28 17:18:57 -0400Nick Mathewson
Another tweak to guard logic: ignore check for the Guard flag if a server is listed on EntryNodes. (Also remove redundant checks for always-set variables.) svn:r8522
2006-09-28 r8975@Kushana: nickm | 2006-09-28 17:13:53 -0400Nick Mathewson
Document entry-guard related functions svn:r8521
2006-09-28 r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400Nick Mathewson
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 r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400Nick Mathewson
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 r9897@danube: weasel | 2006-09-29 01:08:44 +0200Peter Palfrader
Add a space in a wrapped log message svn:r8517
2006-09-28 r9895@danube: weasel | 2006-09-29 01:05:00 +0200Peter Palfrader
Restore to previous wording that svk merging made me mess up svn:r8516
2006-09-28 r9889@danube: weasel | 2006-09-29 00:57:42 +0200Peter Palfrader
bandwidth is not measured in bytes svn:r8515
2006-09-28 r9888@danube: weasel | 2006-09-29 00:57:02 +0200Peter Palfrader
Also log guard bandwidth cutoff svn:r8514
2006-09-28 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:r8513
2006-09-28 r8750@totoro: nickm | 2006-09-27 20:52:01 -0400Nick Mathewson
Fix some warnings on mingw; hopefully this should let us build on mingw without warnings. svn:r8509
2006-09-26 r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400Nick Mathewson
Remove a signed/unsigned comparison in eventdns.c svn:r8508
2006-09-26 r8968@Kushana: nickm | 2006-09-26 17:53:27 -0400Nick Mathewson
Fix for reverse dns: only assume we will get an answer when the result was success. svn:r8507
2006-09-25Add an EnforceDistinctSubnets option so that clients who know what they are ↵Nick Mathewson
doing (mainly people with private testing networks) can disable our same-/16 detection. svn:r8504
2006-09-25Minor fix: add code to eventdns so it can free memory on shutdown. This ↵Nick Mathewson
should help valgrind and dmalloc freak out less. svn:r8503
2006-09-25Trivial fix to make dmalloc happier: release memory held in static member of ↵Nick Mathewson
escaped(). svn:r8502
2006-09-25Free named_server_map on shutdown.Nick Mathewson
svn:r8500
2006-09-25Backport candidate: remove dangerous free(0) on hashtable initNick Mathewson
svn:r8499
2006-09-25add missing paren in dmalloc tor_freeNick Mathewson
svn:r8498
2006-09-25checkpoint changelog and general polishingRoger Dingledine
svn:r8497
2006-09-25add 6697 (ircs) as longlivedport.Roger Dingledine
svn:r8496
2006-09-24whitespace cleanupsRoger Dingledine
svn:r8485
2006-09-24Marge changes from libevent evdns to our eventdns. Most are cosmetic, but ↵Nick Mathewson
one or two are stability-related. This should make it easier to push our changes back towards libevent. svn:r8482
2006-09-24Backport candidate: Fix a long-standing server-side DNS bug. When aNick Mathewson
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-22 r8910@Kushana: nickm | 2006-09-22 12:14:05 -0400Nick Mathewson
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 r8909@Kushana: nickm | 2006-09-22 00:38:13 -0400Nick Mathewson
Consider changes to has_old_dnsworkers as noncosmetic svn:r8464
2006-09-22remove 8888 as a long lived port. i can't remember why it'sRoger Dingledine
on the list. svn:r8461
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-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