]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 15 Aug 2006 03:54:09 +0000 (03:54 +0000)]
r7392@Kushana: nickm | 2006-08-14 23:50:32 -0400
Only do the expensive version of router_have_minimum_dir_info() when the dir info has changed. Backport candidate, since oprofile suggests that this function and ones it calls account for 25-35% of oprofile samples.
svn:r7062
Nick Mathewson [Mon, 14 Aug 2006 21:44:45 +0000 (21:44 +0000)]
r7386@Kushana: nickm | 2006-08-14 17:43:44 -0400
Patch from Adam Langley.
* I meant getaddrinfo_a, not getaddrinfo_r - fixed
* Added more checks to the parsing code.
* It seems you switched an alloca to a malloc, but didn't add any frees
svn:r7061
Nick Mathewson [Mon, 14 Aug 2006 21:44:39 +0000 (21:44 +0000)]
svn:r7060
Nick Mathewson [Mon, 14 Aug 2006 21:44:34 +0000 (21:44 +0000)]
r7046@Kushana: nickm | 2006-08-05 13:57:04 -0400
Make it possible for dns_init() to fail; note failure of eventdns configuratoin.
svn:r7059
Nick Mathewson [Mon, 14 Aug 2006 21:44:29 +0000 (21:44 +0000)]
r7045@Kushana: nickm | 2006-08-05 13:56:44 -0400
mess with the TODO a little.
svn:r7058
Nick Mathewson [Mon, 14 Aug 2006 20:16:21 +0000 (20:16 +0000)]
r7383@Kushana: nickm | 2006-08-14 16:16:03 -0400
Stop walking entire dns cache for every request, now that we found our hash table bug.
svn:r7057
Roger Dingledine [Mon, 14 Aug 2006 10:16:42 +0000 (10:16 +0000)]
checkpoint in-progress changelog notes
svn:r7054
Roger Dingledine [Mon, 14 Aug 2006 10:00:15 +0000 (10:00 +0000)]
avoid complaining about our SOCKS proxy proxy.
svn:r7053
Roger Dingledine [Mon, 14 Aug 2006 09:44:54 +0000 (09:44 +0000)]
note a compile warning that we should investigate one day.
svn:r7052
Roger Dingledine [Mon, 14 Aug 2006 09:04:27 +0000 (09:04 +0000)]
rename HELLO cells to VERSIONS cells.
svn:r7051
Roger Dingledine [Mon, 14 Aug 2006 09:03:16 +0000 (09:03 +0000)]
clarify that some old versions used an organizationName of "Tor",
and others used "TOR". We should avoid both now.
svn:r7050
Roger Dingledine [Mon, 14 Aug 2006 08:55:41 +0000 (08:55 +0000)]
fix typos and stuff
svn:r7049
Roger Dingledine [Mon, 14 Aug 2006 07:08:29 +0000 (07:08 +0000)]
simplify compare_cached_resolves_by_expiry() to make it match
the idioms of other compare functions. hopefully i didn't
break it?
svn:r7048
Roger Dingledine [Mon, 14 Aug 2006 06:29:40 +0000 (06:29 +0000)]
this is what i really meant
svn:r7047
Roger Dingledine [Mon, 14 Aug 2006 06:27:39 +0000 (06:27 +0000)]
two more todo's, plus a cleanup
svn:r7046
Nick Mathewson [Mon, 14 Aug 2006 06:03:26 +0000 (06:03 +0000)]
r7369@Kushana: nickm | 2006-08-14 02:03:10 -0400
Shortening fields is only one part of making structs shorter. You must also consider alignment padding. Whee.
svn:r7045
Roger Dingledine [Mon, 14 Aug 2006 05:53:57 +0000 (05:53 +0000)]
save 3-7 bytes per edge connection
svn:r7044
Roger Dingledine [Mon, 14 Aug 2006 00:28:44 +0000 (00:28 +0000)]
note three more bugs we should resolve
svn:r7043
Roger Dingledine [Sun, 13 Aug 2006 23:38:30 +0000 (23:38 +0000)]
simplify the connection_write_to_buf_zlib() wrapper.
svn:r7042
Andrew Lewman [Sun, 13 Aug 2006 00:29:56 +0000 (00:29 +0000)]
Apparently not everyone wants to build Universal binaries. Return valid
Archictecture detection for inclusion into final dmg naming.
svn:r7039
Andrew Lewman [Sun, 13 Aug 2006 00:13:55 +0000 (00:13 +0000)]
Updated details on how to check for universal binary.
svn:r7037
Peter Palfrader [Sat, 12 Aug 2006 23:26:54 +0000 (23:26 +0000)]
r8290@danube: weasel | 2006-08-13 01:26:01 +0200
Merge local r8289 into trunk: Update debian/copyright
svn:r7036
Roger Dingledine [Sat, 12 Aug 2006 07:44:13 +0000 (07:44 +0000)]
two more thoughts to consider for blocking resistance
svn:r7034
Roger Dingledine [Sat, 12 Aug 2006 00:38:38 +0000 (00:38 +0000)]
mark out the two biggest bugs
svn:r7033
Roger Dingledine [Sat, 12 Aug 2006 00:30:07 +0000 (00:30 +0000)]
more todo items
svn:r7032
Nick Mathewson [Fri, 11 Aug 2006 07:51:42 +0000 (07:51 +0000)]
r7342@Kushana: nickm | 2006-08-11 00:51:25 -0700
Remove braindeadism.
svn:r7030
Nick Mathewson [Fri, 11 Aug 2006 07:51:34 +0000 (07:51 +0000)]
r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700
Amazing how much difference adding a ! to all your asserts can make.
svn:r7029
Nick Mathewson [Fri, 11 Aug 2006 07:42:11 +0000 (07:42 +0000)]
r7337@Kushana: nickm | 2006-08-11 00:42:04 -0700
Only use __builtin_offsetof with gcc 4 or later
svn:r7028
Roger Dingledine [Fri, 11 Aug 2006 07:41:21 +0000 (07:41 +0000)]
fix funny-looking assignment that crashes unit tests
svn:r7027
Roger Dingledine [Fri, 11 Aug 2006 07:31:16 +0000 (07:31 +0000)]
fix typo, add explanatory comment
svn:r7026
Nick Mathewson [Fri, 11 Aug 2006 07:17:16 +0000 (07:17 +0000)]
r7335@Kushana: nickm | 2006-08-11 00:13:03 -0700
fix wide lines
svn:r7025
Nick Mathewson [Fri, 11 Aug 2006 07:09:52 +0000 (07:09 +0000)]
r7328@Kushana: nickm | 2006-08-11 00:04:26 -0700
remove an assert that can never be false (an array in a non-null struct cannot be null).
svn:r7024
Nick Mathewson [Fri, 11 Aug 2006 07:09:45 +0000 (07:09 +0000)]
r7327@Kushana: nickm | 2006-08-11 00:00:36 -0700
Fix a pedantic warning
svn:r7023
Nick Mathewson [Fri, 11 Aug 2006 07:09:35 +0000 (07:09 +0000)]
r7326@Kushana: nickm | 2006-08-10 23:50:49 -0700
And another GCC change: predict that tor_frees() are usually real frees, and tor_asserts() usually wont happen. Other test should wait till -fprofile-arcs
svn:r7022
Nick Mathewson [Fri, 11 Aug 2006 07:09:28 +0000 (07:09 +0000)]
r7325@Kushana: nickm | 2006-08-10 23:37:31 -0700
Use gcc offsetof where available.
svn:r7021
Nick Mathewson [Fri, 11 Aug 2006 07:09:17 +0000 (07:09 +0000)]
r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
Nick Mathewson [Fri, 11 Aug 2006 07:09:09 +0000 (07:09 +0000)]
r7323@Kushana: nickm | 2006-08-10 22:04:57 -0700
Add sys/socket.h prereq for net/if.h and net/pfvar.h
svn:r7019
Nick Mathewson [Thu, 10 Aug 2006 19:56:10 +0000 (19:56 +0000)]
Fix crash in first-time option validation. Oops.
svn:r7018
Nick Mathewson [Thu, 10 Aug 2006 09:30:25 +0000 (09:30 +0000)]
r7315@Kushana: nickm | 2006-08-10 02:30:13 -0700
add missing "test" and missing include.
svn:r7015
Nick Mathewson [Thu, 10 Aug 2006 09:14:57 +0000 (09:14 +0000)]
r7313@Kushana: nickm | 2006-08-10 02:13:35 -0700
Add missing .h to header file name. My bad.
svn:r7013
Nick Mathewson [Thu, 10 Aug 2006 09:02:26 +0000 (09:02 +0000)]
r7304@Kushana: nickm | 2006-08-10 01:58:05 -0700
Fix verbose compilation errors; make sure transparent proxy fails when no method is configured.
svn:r7012
Nick Mathewson [Thu, 10 Aug 2006 09:02:12 +0000 (09:02 +0000)]
r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700
whitespace fixes
svn:r7011
Nick Mathewson [Thu, 10 Aug 2006 09:02:02 +0000 (09:02 +0000)]
r7302@Kushana: nickm | 2006-08-10 01:48:44 -0700
Warn about open TransListenAddress values.
svn:r7010
Nick Mathewson [Thu, 10 Aug 2006 09:01:54 +0000 (09:01 +0000)]
r7301@Kushana: nickm | 2006-08-10 01:41:27 -0700
Only open /dev/pf once.
svn:r7009
Nick Mathewson [Thu, 10 Aug 2006 09:01:46 +0000 (09:01 +0000)]
r7300@Kushana: nickm | 2006-08-10 01:36:40 -0700
Distinguish netfilter vs pf at configure time based on headers, not on OS.
svn:r7008
Nick Mathewson [Thu, 10 Aug 2006 09:01:37 +0000 (09:01 +0000)]
r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700
Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS.
svn:r7007
Roger Dingledine [Thu, 10 Aug 2006 08:13:41 +0000 (08:13 +0000)]
initial skeleton for issues to resolve re: blocking resistance.
svn:r7006
Roger Dingledine [Thu, 10 Aug 2006 08:00:54 +0000 (08:00 +0000)]
a way to make tor more stable in crummy situations
svn:r7005
Nick Mathewson [Thu, 10 Aug 2006 08:00:13 +0000 (08:00 +0000)]
Experimentally re-enable kqueue on OSX when using libevent 1.1b or later. Log when we are doing this, so we can diagnose it when it fails.
svn:r7004
Nick Mathewson [Thu, 10 Aug 2006 07:39:47 +0000 (07:39 +0000)]
Recommend libevent 1.1b for kqueue and win32 methods; deprecate libevent 1.0b harder; make libevent recommendation system saner.
svn:r7003
Andrew Lewman [Thu, 10 Aug 2006 02:06:35 +0000 (02:06 +0000)]
Update for universal binaries for OSX.
svn:r7002
Nick Mathewson [Wed, 9 Aug 2006 21:42:38 +0000 (21:42 +0000)]
r7005@totoro: nickm | 2006-08-09 17:42:18 -0400
Begin committing violence against the spec; add some TODO items at the top. Arma, if you disagree, better say so.
svn:r7001
Peter Palfrader [Wed, 9 Aug 2006 10:25:01 +0000 (10:25 +0000)]
r8245@danube: weasel | 2006-08-09 12:24:00 +0200
Add a few comments so I find the rationale for the autoconf --build/--host split in the future when I need it again
svn:r7000
Nick Mathewson [Wed, 9 Aug 2006 08:30:11 +0000 (08:30 +0000)]
r7286@Kushana: nickm | 2006-08-09 01:28:27 -0700
Claim another TODO item (and test commit signing.)
svn:r6999
Nick Mathewson [Wed, 9 Aug 2006 08:23:27 +0000 (08:23 +0000)]
r7285@Kushana: nickm | 2006-08-09 01:23:11 -0700
Claim a TODO item (and test commit signing.)
svn:r6998
Nick Mathewson [Wed, 9 Aug 2006 06:54:02 +0000 (06:54 +0000)]
r7058@Kushana: nickm | 2006-08-08 23:53:46 -0700
Clarify point about certs. We have been over this before, but it seems simpler than what we are considering now.
svn:r6997
Nick Mathewson [Wed, 9 Aug 2006 06:41:29 +0000 (06:41 +0000)]
r7056@Kushana: nickm | 2006-08-08 23:40:53 -0700
Add a comment about v0 fallback approach. Why did we dislike discriminating on X.509 certs again?
svn:r6996
Nick Mathewson [Wed, 9 Aug 2006 00:58:27 +0000 (00:58 +0000)]
Say more about reverse DNS
svn:r6995
Roger Dingledine [Tue, 8 Aug 2006 22:56:26 +0000 (22:56 +0000)]
change the dir-spec to say that it's version 2 of the dir spec,
and move the v0 file to v1.
svn:r6991
Roger Dingledine [Tue, 8 Aug 2006 06:21:52 +0000 (06:21 +0000)]
three more todo items
svn:r6990
Andrew Lewman [Tue, 8 Aug 2006 01:42:52 +0000 (01:42 +0000)]
Update preflight to save Privoxy configs as well
svn:r6989
Nick Mathewson [Sat, 5 Aug 2006 17:53:32 +0000 (17:53 +0000)]
r7030@Kushana: nickm | 2006-08-04 14:46:52 -0700
Close an fd leak on failed mmap()
svn:r6988
Nick Mathewson [Sat, 5 Aug 2006 17:53:21 +0000 (17:53 +0000)]
r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700
Remove now-spurious size and data arguments from tor_mmap_file
svn:r6987
Nick Mathewson [Sat, 5 Aug 2006 17:53:08 +0000 (17:53 +0000)]
r7028@Kushana: nickm | 2006-08-04 13:10:16 -0700
Make data and size fields visible in tor_mmap_t; hide win magic differently.
svn:r6986
Nick Mathewson [Sat, 5 Aug 2006 17:52:51 +0000 (17:52 +0000)]
r7027@Kushana: nickm | 2006-08-04 13:06:48 -0700
Oops. Fix downcast macro.
svn:r6985
Roger Dingledine [Sat, 5 Aug 2006 03:08:56 +0000 (03:08 +0000)]
a potential fix on the HELLO protocol design
svn:r6984
Roger Dingledine [Fri, 4 Aug 2006 20:30:45 +0000 (20:30 +0000)]
make svn trunk link again. nick can fix this if it's wrong.
svn:r6982
Nick Mathewson [Fri, 4 Aug 2006 19:03:40 +0000 (19:03 +0000)]
r7025@Kushana: nickm | 2006-08-04 12:03:22 -0700
Finish (I hope) windows mmap impl.
svn:r6981
Nick Mathewson [Fri, 4 Aug 2006 18:32:43 +0000 (18:32 +0000)]
r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700
Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl
svn:r6980
Nick Mathewson [Fri, 4 Aug 2006 18:31:13 +0000 (18:31 +0000)]
svn:r6979
Nick Mathewson [Fri, 4 Aug 2006 18:27:10 +0000 (18:27 +0000)]
r7011@Kushana: nickm | 2006-08-03 13:26:34 -0700
eventdns: Document functions added to API; make suspended requests go to the front of the queue; check (or explicitly ignore) return values on libevent functions.
svn:r6978
Nick Mathewson [Fri, 4 Aug 2006 18:26:40 +0000 (18:26 +0000)]
r7010@Kushana: nickm | 2006-08-03 10:47:36 -0700
Enable log message format checking in eventdns.c when __GNUC__ is defined.
svn:r6977
Nick Mathewson [Fri, 4 Aug 2006 18:26:13 +0000 (18:26 +0000)]
r7009@Kushana: nickm | 2006-08-03 10:44:58 -0700
Add functions to eventdns to allow detecting whether we have any nameservers configured, and to change the list of nameservers after initial configuration.
svn:r6976
Nick Mathewson [Fri, 4 Aug 2006 18:24:41 +0000 (18:24 +0000)]
r7008@Kushana: nickm | 2006-08-03 10:03:39 -0700
Oops. We shouldnt initialize eventdns when we are not being a server and not resolving anything.
svn:r6975
Nick Mathewson [Fri, 4 Aug 2006 18:24:25 +0000 (18:24 +0000)]
r7007@Kushana: nickm | 2006-08-03 09:58:30 -0700
Export and use eventdns_config_windows_nameservers(); clean up some comments and log messages.
svn:r6974
Nick Mathewson [Fri, 4 Aug 2006 18:24:13 +0000 (18:24 +0000)]
svn:r6973
Nick Mathewson [Fri, 4 Aug 2006 18:23:56 +0000 (18:23 +0000)]
r6995@Kushana: nickm | 2006-07-31 13:30:42 -0700
Avoid segfault if we exit before we get our first dns answer.
svn:r6972
Nick Mathewson [Thu, 3 Aug 2006 07:46:25 +0000 (07:46 +0000)]
Patch from Frediano Ziglio: Windows compilation fixes on eventdns.c.
svn:r6971
Roger Dingledine [Thu, 3 Aug 2006 04:23:45 +0000 (04:23 +0000)]
turn future seg faults into asserts
svn:r6970
Roger Dingledine [Thu, 3 Aug 2006 04:22:25 +0000 (04:22 +0000)]
fix a seg fault on exit for clients; and fix a comment.
svn:r6969
Peter Palfrader [Thu, 3 Aug 2006 01:50:10 +0000 (01:50 +0000)]
r8207@galaxy: weasel | 2006-08-03 03:22:17 +0200
Merge in local revisions 7944, 8205, and 8206: Forward port 0.1.1.x changelog to trunk
svn:r6968
Roger Dingledine [Wed, 2 Aug 2006 05:17:22 +0000 (05:17 +0000)]
explain that the exitlist isn't perfect, because some tor exit nodes
don't exit on their advertised address.
svn:r6965
Roger Dingledine [Tue, 1 Aug 2006 04:08:15 +0000 (04:08 +0000)]
man, our sample torrc sucked.
svn:r6964
Roger Dingledine [Mon, 31 Jul 2006 20:25:57 +0000 (20:25 +0000)]
more compile options mean more codepaths
svn:r6963
Nick Mathewson [Mon, 31 Jul 2006 20:19:58 +0000 (20:19 +0000)]
r6993@Kushana: nickm | 2006-07-31 16:19:21 -0400
Interesting how much a ! can change the behavior of an assert.
svn:r6962
Nick Mathewson [Mon, 31 Jul 2006 18:01:49 +0000 (18:01 +0000)]
r6982@Kushana: nickm | 2006-07-31 13:47:19 -0400
documentation and naming tweaks in dns.c
svn:r6961
Nick Mathewson [Mon, 31 Jul 2006 18:01:45 +0000 (18:01 +0000)]
r6981@Kushana: nickm | 2006-07-31 13:23:26 -0400
More asserts for cache correctness.
svn:r6960
Nick Mathewson [Mon, 31 Jul 2006 18:01:37 +0000 (18:01 +0000)]
r6980@Kushana: nickm | 2006-07-31 13:18:22 -0400
Add a utility function to verify that a string has been through strlower.
svn:r6959
Nick Mathewson [Mon, 31 Jul 2006 18:01:27 +0000 (18:01 +0000)]
r6979@Kushana: nickm | 2006-07-31 13:16:58 -0400
Add assert_ok functions for strmap and digestmap; use them in unit test code.
svn:r6958
Nick Mathewson [Mon, 31 Jul 2006 18:01:22 +0000 (18:01 +0000)]
r6978@Kushana: nickm | 2006-07-31 13:16:14 -0400
Add isupper and islower wrappers to compat.h
svn:r6957
Nick Mathewson [Mon, 31 Jul 2006 18:01:18 +0000 (18:01 +0000)]
r6977@Kushana: nickm | 2006-07-31 13:01:28 -0400
Solve timing-out pending connections. Add pending resolves to expiry queue; when we find an answer, change the pending resolve to "done" and stick the actual answer in the expiry queue as a new entry. This uses a little more memory, but makes the code simpler than other solutions.
svn:r6956
Nick Mathewson [Mon, 31 Jul 2006 18:00:47 +0000 (18:00 +0000)]
svn:r6955
Nick Mathewson [Mon, 31 Jul 2006 18:00:18 +0000 (18:00 +0000)]
r6959@Kushana: nickm | 2006-07-29 22:33:18 -0400
start restructuring dns to use priority queues for expiring entries.
svn:r6954
Nick Mathewson [Mon, 31 Jul 2006 17:59:37 +0000 (17:59 +0000)]
r6958@Kushana: nickm | 2006-07-29 18:54:15 -0400
Looks like we might need a priority queue.
svn:r6953
Nick Mathewson [Mon, 31 Jul 2006 17:59:11 +0000 (17:59 +0000)]
r6952@Kushana: nickm | 2006-07-28 11:09:37 -0400
Add completely untested find-my-nameservers code for win32.
svn:r6952
Roger Dingledine [Sun, 30 Jul 2006 05:36:17 +0000 (05:36 +0000)]
forward-port the 0.1.1.23 changelog.
svn:r6946
Roger Dingledine [Sun, 30 Jul 2006 04:54:13 +0000 (04:54 +0000)]
fix assert found by DreadWingKnight: now that rendezvous streams
are attached to p_streams, the p_streams list can consist of both AP
and EXIT conns.
svn:r6945
Roger Dingledine [Sun, 30 Jul 2006 04:45:59 +0000 (04:45 +0000)]
forward-port the website hack. note that with svn, our build
system seems to build in-place, so the website/ and img/ directories
actually get created in my sandbox. poo.
svn:r6944
Roger Dingledine [Sun, 30 Jul 2006 04:32:58 +0000 (04:32 +0000)]
defense in depth
svn:r6939
Andrew Lewman [Sun, 30 Jul 2006 03:53:18 +0000 (03:53 +0000)]
Remove the last vestiges of launchd plist.
svn:r6938