[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8595: We're trying to catch the kind of jerk who'd hijack zy6pzwoh (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8595: We're trying to catch the kind of jerk who'd hijack zy6pzwoh (in tor/trunk: . src/or)
- From: nickm@xxxxxxxx
- Date: Wed, 4 Oct 2006 01:19:46 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 04 Oct 2006 01:19:59 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2006-10-04 01:19:40 -0400 (Wed, 04 Oct 2006)
New Revision: 8595
Modified:
tor/trunk/
tor/trunk/src/or/dns.c
Log:
r9087@Kushana: nickm | 2006-10-04 01:19:15 -0400
We're trying to catch the kind of jerk who'd hijack zy6pzwohtnlq.test,
not the kind of lunatic who'd hijack zy6pzwohtnlq%s.test, though
apparently those exist too.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r9087] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c 2006-10-03 19:00:55 UTC (rev 8594)
+++ tor/trunk/src/or/dns.c 2006-10-04 05:19:40 UTC (rev 8595)
@@ -1736,8 +1736,8 @@
* This is the standards-compliance equivalent of making sure that your
* crackhouse's elevator inspection certificate is up to date.
*/
- launch_wildcard_check(2, 16, "%s.invalid");
- launch_wildcard_check(2, 16, "%s.test");
+ launch_wildcard_check(2, 16, ".invalid");
+ launch_wildcard_check(2, 16, ".test");
/* These will break specs if there are ever any number of
* 8+-character top-level domains. */
@@ -1745,9 +1745,9 @@
/* Try some random .com/org/net domains. This will work fine so long as
* not too many resolve to the same place. */
- launch_wildcard_check(8, 16, "%s.com");
- launch_wildcard_check(8, 16, "%s.org");
- launch_wildcard_check(8, 16, "%s.net");
+ launch_wildcard_check(8, 16, ".com");
+ launch_wildcard_check(8, 16, ".org");
+ launch_wildcard_check(8, 16, ".net");
}
}