Commit Graph

236 Commits

Author SHA1 Message Date
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
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
0f8491a254 Backport candidate: remove dangerous free(0) on hashtable init
svn:r8499
2006-09-25 16:06:09 +00:00
Roger Dingledine
ad430b9561 checkpoint changelog and general polishing
svn:r8497
2006-09-25 05:59:13 +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
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
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
213658f117 r8894@Kushana: nickm | 2006-09-21 18:30:42 -0400
Specify and implement SOCKS5 interface for reverse hostname lookup.


svn:r8451
2006-09-22 00:43:55 +00:00
Nick Mathewson
4f13cb82fd r8881@Kushana: nickm | 2006-09-21 17:27:59 -0400
Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit).


svn:r8446
2006-09-21 21:49:36 +00:00
Nick Mathewson
6a1746f98f r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400
Consider non-exit servers unsuitable for RESOLVE commands.


svn:r8442
2006-09-21 21:48:42 +00:00
Nick Mathewson
e4a9b4de4e r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400
Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet.


svn:r8440
2006-09-21 21:48:22 +00:00
Nick Mathewson
04bec67574 r8874@Kushana: nickm | 2006-09-21 15:22:27 -0400
Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled.


svn:r8439
2006-09-21 21:48:16 +00:00
Nick Mathewson
083e9c2b59 r8873@Kushana: nickm | 2006-09-21 14:38:22 -0400
Fix a bug: Remember, each call to escaped() replaces the value returned from the last call to escaped().


svn:r8438
2006-09-21 21:48:11 +00:00
Nick Mathewson
a942441615 r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400
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-21 21:48:06 +00:00
Nick Mathewson
b2cc52fa02 Speed up eat_whitespace by a lot.
svn:r8434
2006-09-19 23:55:35 +00:00
Nick Mathewson
6b716fdfb9 NEEDS REVIEW. Act on previous comment, and handle named servers differently: 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-19 23:48:14 +00:00
Nick Mathewson
5ebb949c9f Stop searching routerlist for routers with the same identity as other 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-19 23:18:30 +00:00
Nick Mathewson
2d4950c837 Malloc and friends are critical-path: Thus, add an it-wont-happen branch prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer.
svn:r8431
2006-09-19 22:36:48 +00:00
Nick Mathewson
7b0ec744bc Switch routerlist.c to using memcmp on digests rather than 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-19 22:20:09 +00:00
Roger Dingledine
e744117d4d turn eventdns off by default until we can get some more useful
log messages into it. no use learning that it's broken without
being able to learn what is broken too.


svn:r8245
2006-08-27 07:26:00 +00:00
Roger Dingledine
8cd6e0c0a1 clean up the 0.1.2.1-alpha changelog
svn:r8240
2006-08-27 06:55:48 +00:00
Roger Dingledine
628089b1f8 checkpoint in-progress changelog notes
svn:r7054
2006-08-14 10:16:42 +00:00
Roger Dingledine
8112829a9b forward-port the 0.1.1.23 changelog.
svn:r6946
2006-07-30 05:36:17 +00:00
Roger Dingledine
dad1e27440 forward-port the 0.1.1.22 changelog, minus the line about
the osx uninstaller.


svn:r6738
2006-07-06 16:19:00 +00:00
Roger Dingledine
0b91a2bab9 forward-port the 0.1.1.21 changelog.
svn:r6600
2006-06-11 01:42:21 +00:00
Roger Dingledine
2df426d1c1 interim changelog for 0.1.2.1-alpha
svn:r6599
2006-06-11 01:41:30 +00:00
Roger Dingledine
614bb7d7b5 final changelog for 0.1.1.20. it is done.
svn:r6479
2006-05-23 17:00:49 +00:00
Roger Dingledine
3ff02556fc continue messing with the changelog. it's getting better now.
svn:r6468
2006-05-23 06:20:35 +00:00
Roger Dingledine
7263e6a0cf my current notes on a 0.1.1.20 changelog
svn:r6459
2006-05-22 20:00:12 +00:00
Roger Dingledine
ec22b6346b remove all the interim changelog stuff for 0.1.1.x
svn:r6458
2006-05-22 19:56:32 +00:00
Roger Dingledine
f1dad00bd3 forward-port the changelog
svn:r6433
2006-05-03 18:32:15 +00:00
Roger Dingledine
327e1e6944 a last item on the changelog
svn:r6350
2006-04-10 05:55:53 +00:00
Roger Dingledine
901ff3e1ce first cut of a changelog for 0.1.1.18-rc
svn:r6334
2006-04-09 01:30:47 +00:00
Roger Dingledine
837a0fcbdb while we're fixing wording, ...
svn:r6260
2006-03-28 07:43:10 +00:00
Roger Dingledine
e715946508 change wording in changelog
svn:r6259
2006-03-28 07:40:05 +00:00
Roger Dingledine
0a11032f59 a final changelog for 0.1.1.17-rc
svn:r6258
2006-03-28 07:34:44 +00:00
Roger Dingledine
90a40e0e66 another interim changelog for 0.1.1.17-rc
svn:r6253
2006-03-27 07:39:27 +00:00
Roger Dingledine
eee9db49a7 interim 0.1.1.17-rc changelog
svn:r6222
2006-03-22 03:07:49 +00:00
Roger Dingledine
9895df3ab4 first cut of a changelog for 0.1.1.16-rc
svn:r6194
2006-03-19 04:00:23 +00:00
Roger Dingledine
44ca1a997d bump to 0.1.1.15-rc
svn:r6126
2006-03-11 18:44:11 +00:00
Roger Dingledine
40bd6467a5 first cut of a 0.1.1.15-rc changelog
svn:r6108
2006-03-09 01:42:42 +00:00
Roger Dingledine
cf4809258e forward-port the 0.1.0.17 changelog
svn:r6096
2006-03-08 06:56:28 +00:00
Roger Dingledine
722fcb97e8 last changes in 0.1.1.14-alpha
svn:r6057
2006-02-21 03:46:49 +00:00
Roger Dingledine
69af25ecbf an interim changelog for 0.1.1.14-alpha
svn:r6042
2006-02-19 08:33:43 +00:00
Roger Dingledine
b274857c61 and fix typo in changelog
svn:r5977
2006-02-12 00:15:32 +00:00
Roger Dingledine
5a306077a7 clean up some formatting in the changelog
svn:r5959
2006-02-11 00:15:35 +00:00
Roger Dingledine
ef03d35c7c first cut of a changelog for 0.1.1.13-alpha
svn:r5948
2006-02-09 05:20:26 +00:00
Peter Palfrader
20183cf559 Lasse and Paul's attack has a CVE: CVE-2006-0414
svn:r5868
2006-01-25 20:51:04 +00:00
Peter Palfrader
17e0d9f238 The reading-arbitrary-memory bug in June had a CVE too
svn:r5866
2006-01-25 12:26:21 +00:00
Peter Palfrader
ef8787b7ee Add CVE number for the crypto handshake bug from August to changelogs
svn:r5865
2006-01-25 12:19:23 +00:00
Roger Dingledine
e27bf78f7a changelog for 0.1.1.12-alpha
svn:r5810
2006-01-11 23:07:04 +00:00
Roger Dingledine
a8bb654c2b bump to 0.1.1.11-alpha-cvs
svn:r5799
2006-01-11 06:19:00 +00:00
Roger Dingledine
4f7749dd97 and give the changelog a date
svn:r5797
2006-01-11 04:36:13 +00:00
Roger Dingledine
f9f42deb7c more changelog futzing
svn:r5796
2006-01-11 04:35:56 +00:00
Roger Dingledine
14b7011fb6 checkpoint the 0.1.1.11-alpha changelog: getting closer!
svn:r5786
2006-01-11 00:59:15 +00:00
Roger Dingledine
906a2c8ef0 bump to 0.1.1.11-alpha in preparation for release
svn:r5783
2006-01-10 23:16:36 +00:00
Roger Dingledine
ffeebd99fa checkpoint some changelog items for 0.1.1.11-alpha
svn:r5729
2006-01-04 08:31:29 +00:00
Roger Dingledine
6b63d9f706 forward-port the 0.1.0.16 changelog
svn:r5712
2006-01-03 05:32:21 +00:00
Roger Dingledine
ebacd3be0c the other rest of the 0.1.1.10-alpha changelog.
svn:r5556
2005-12-11 07:20:50 +00:00
Roger Dingledine
0e54b9a430 put a date on the changelog
svn:r5555
2005-12-11 07:04:27 +00:00
Roger Dingledine
1c80077c22 the rest of the 0.1.1.10-alpha changelog
svn:r5554
2005-12-11 06:35:57 +00:00
Roger Dingledine
eaa864ed17 bump to 0.1.1.10-alpha
svn:r5553
2005-12-10 21:15:18 +00:00
Roger Dingledine
871d4c9971 first cut at a 0.1.1.10-alpha changelog
svn:r5519
2005-12-06 23:11:39 +00:00
Roger Dingledine
dfdd735902 commit a changelog tweak that i slipped in for the release
svn:r5419
2005-11-18 03:03:18 +00:00
Roger Dingledine
e5087382de correct the timestamp on the changelog
svn:r5385
2005-11-15 20:07:29 +00:00
Roger Dingledine
9d8aec0e92 last pieces of 0.1.1.9-alpha changelog
svn:r5373
2005-11-15 01:42:55 +00:00
Roger Dingledine
bf3e689eef cleanup and additions to 0.1.1.9-alpha changelog
svn:r5365
2005-11-13 05:26:59 +00:00
Roger Dingledine
1b009f345b first cut at a changelog for 0.1.1.9-alpha
svn:r5343
2005-11-01 06:49:24 +00:00
Roger Dingledine
69003566c0 a changelog for 0.1.1.8-alpha
svn:r5221
2005-10-07 20:14:28 +00:00
Roger Dingledine
5c11d23ab0 we forgot to forward-port the 0.1.0.15 changelog
svn:r5196
2005-10-05 11:21:39 +00:00
Roger Dingledine
12e10aeaf2 fix grammar in old changelog entry
svn:r5118
2005-09-23 08:27:34 +00:00
Roger Dingledine
9d3e67d739 update changelog with minor tweaks
svn:r5057
2005-09-14 14:50:52 +00:00
Roger Dingledine
48e2bbd4cb a changelog for 0.1.1.7-alpha
svn:r5048
2005-09-14 03:36:03 +00:00
Roger Dingledine
2ad3e4ff96 we estimated our release date wrong (ha)
svn:r4985
2005-09-10 02:54:35 +00:00
Roger Dingledine
eab048b7f3 add more items to the 0.1.1.6-alpha changelog
svn:r4980
2005-09-10 01:33:15 +00:00
Roger Dingledine
921c225f3d add to the 0.1.1.6-alpha changelog
svn:r4948
2005-09-08 21:05:49 +00:00
Roger Dingledine
d388047888 update changelog for 0.1.1.6-alpha
svn:r4812
2005-08-22 20:11:15 +00:00
Roger Dingledine
27a14335a7 draft changelog for 0.1.1.6-alpha
svn:r4801
2005-08-21 09:51:47 +00:00
Roger Dingledine
323b7a15ee and forward-port the 0.1.0.14 changelog
svn:r4734
2005-08-07 20:15:32 +00:00
Roger Dingledine
65b59cbd69 changelog for 0.1.1.5-alpha
svn:r4732
2005-08-07 20:14:37 +00:00
Roger Dingledine
9198c55c4b and another
svn:r4705
2005-08-04 23:05:11 +00:00
Roger Dingledine
1d3e63158e bump to 0.1.1.4-alpha in preparation for new release
svn:r4701
2005-08-04 22:45:54 +00:00
Roger Dingledine
ad70f96793 changelog for 0.1.1.3-alpha
svn:r4671
2005-07-25 09:11:03 +00:00
Roger Dingledine
b13a9e9070 forward-port the 0.1.0.12 changelog
svn:r4597
2005-07-18 19:32:35 +00:00
Roger Dingledine
1e600e2940 and here
svn:r4562
2005-07-14 22:39:01 +00:00
Roger Dingledine
869ca15c77 give us a changelog for 0.1.1.2-alpha
svn:r4556
2005-07-14 09:31:38 +00:00
Roger Dingledine
3bb756b93b forward-port the 0.1.0.11 stuff
svn:r4515
2005-07-01 02:01:21 +00:00
Roger Dingledine
0e97dd36e9 tweak the changelog
svn:r4504
2005-06-29 21:25:34 +00:00
Roger Dingledine
df56eea8f3 a changelog for 0.1.1.1-alpha
svn:r4502
2005-06-29 20:10:51 +00:00
Roger Dingledine
205aaf7693 oh, and fix the version number at the top
svn:r4422
2005-06-13 01:29:57 +00:00
Roger Dingledine
546b1f9aa6 integrate the 0.1.0.9-rc changelog into the 0.1.0.10 changelog
svn:r4421
2005-06-13 01:29:35 +00:00
Roger Dingledine
47fe49c2a0 forward-port the 0.1.0.9 changelog
svn:r4365
2005-06-09 04:06:52 +00:00
Roger Dingledine
3311611fd6 two more items to the changelog
svn:r4289
2005-05-23 06:59:01 +00:00
Roger Dingledine
e4908595ba a preliminary changelog for 0.1.0.8-rc
svn:r4285
2005-05-23 05:22:33 +00:00
Roger Dingledine
355a05158a complete the 0.1.0.7-rc changelog
svn:r4252
2005-05-17 04:07:15 +00:00
Roger Dingledine
85de62e9b9 the first part of a changelog for 0.1.0.7-rc
svn:r4236
2005-05-17 00:55:18 +00:00
Roger Dingledine
5837711b0a tweak the changelog
svn:r4226
2005-05-15 03:29:39 +00:00
Roger Dingledine
d63f7fde62 tweak changelog
svn:r4221
2005-05-15 01:53:27 +00:00
Roger Dingledine
58416f3127 fix changelog for new libevent version
svn:r4215
2005-05-15 00:56:06 +00:00