Commit Graph

10969 Commits

Author SHA1 Message Date
Roger Dingledine
342959acb8 typo
svn:r19109
2009-03-23 00:30:48 +00:00
Nick Mathewson
be9d72303e Actually do that memarea_strndup fix right. Not only must you not examine unmapped ram, but you also must not copy it. From lark.
svn:r19095
2009-03-21 16:01:52 +00:00
Nick Mathewson
0fa01654b9 fix from lark: make memarea_strndup() work even at the end of a mmap chunk. Bug was harmless for now, I think.
svn:r19094
2009-03-21 11:52:53 +00:00
Andrew Lewman
4962e466b2 figure out version numbers for ostag in suse and redflag
svn:r19083
2009-03-18 22:42:33 +00:00
Andrew Lewman
8aaf8d489b tag redflag linux rpms correctly.
svn:r19082
2009-03-18 20:26:01 +00:00
Nick Mathewson
b5135f1190 Whitespace cleanup.
svn:r19080
2009-03-18 19:30:37 +00:00
Nick Mathewson
c2f8d97212 Do not generate the non-verbose circuit path when generating a circuit event unless we will use it.
svn:r19079
2009-03-18 19:30:34 +00:00
Nick Mathewson
a335b43a67 If we have a routerstatus but no routerinfo to name a router, use the routerstatus instead when generating circuit events. Also refactor a little.
svn:r19078
2009-03-18 19:30:30 +00:00
Nick Mathewson
e591aafca4 Add a function to get a LongName from a routerstatus. Needed for partial bug 941 fix.
svn:r19077
2009-03-18 19:30:26 +00:00
Nick Mathewson
49308dcc7a Clarify that the nickname part of a LongName is indeed optional.
svn:r19076
2009-03-18 19:30:22 +00:00
Nick Mathewson
cb3b95de19 Add some asserts to try to catch bug 930
svn:r19074
2009-03-18 15:12:56 +00:00
Nick Mathewson
30ec1d1d50 Don't double-free successful_uploads.
When we used smartlist_free to free the list of succesful uploads
because we had succeeded in uploading everywhere, we did not actually
set the successful_uploads field to NULL, so later it would get freed
again in rend_service_descriptor_free.  Fix for bug 948; bug
introduced in 0.2.1.6-alpha.

svn:r19073
2009-03-18 14:35:24 +00:00
Nick Mathewson
ad7ebec24c Free very-old descriptors that we do not want to add. Fix for bug 672. Backport candidate
svn:r19057
2009-03-16 18:47:45 +00:00
Peter Palfrader
a331f451d0 The override file is always correct
svn:r19053
2009-03-16 17:08:45 +00:00
Mike Perry
d27cff4aa5 Update translation doc with info on two options for new
string creation workflow. It is unclear at this point 
which of the two are the lesser evil, so both are included.



svn:r19037
2009-03-16 07:56:01 +00:00
Andrew Lewman
7d0dfb7597 remove the advocacy docs from tor/trunk
svn:r19006
2009-03-15 05:27:48 +00:00
Peter Palfrader
086f98ba8f New upstream version
svn:r18999
2009-03-15 00:21:53 +00:00
Steven Murdoch
0ff7d59bd9 Set svn:mime-type property of PDF documents to "application/pdf" so that they open in the Acrobat plugin
svn:r18962
2009-03-13 11:48:41 +00:00
Roger Dingledine
6f057325d0 cut out a lot of the external todo items, since they're done
svn:r18959
2009-03-13 09:41:32 +00:00
Andrew Lewman
3f22e3627c add the doc files to a real doc directory.
svn:r18952
2009-03-13 06:25:17 +00:00
Roger Dingledine
362c4e0d02 add in the blurb
svn:r18945
2009-03-13 04:47:12 +00:00
Andrew Lewman
8b3c8989c7 Add the pdf of the roadmap to the right section of docs.
svn:r18941
2009-03-12 16:46:06 +00:00
Karsten Loesing
309080b6aa Make directory usage recording work again. Fixing bug introduced in r17009.
svn:r18924
2009-03-11 22:08:37 +00:00
Roger Dingledine
4e094ddc4d when we get an unrecognized relay streamid, log it
svn:r18919
2009-03-11 20:51:47 +00:00
Martin Peck
387c2f5a2f Update the bundle installers for the MSI packages; these probably belong with the wxs files in the Vidalia repo.
svn:r18849
2009-03-10 09:28:28 +00:00
Steven Murdoch
43145fc9f5 In tor-resolve, when the Tor client to use is specified by <hostname>:<port>, actually use the specified port rather than defaulting to 9050
svn:r18833
2009-03-10 00:52:45 +00:00
Roger Dingledine
4774e593b8 Bugfix on r17756:
Avoid trying to print raw memory to the logs when we decide to
give up on downloading a given relay descriptor. Bugfix on
0.2.1.9-alpha.


svn:r18831
2009-03-09 22:05:17 +00:00
Roger Dingledine
7ee8afe82d bump to 0.2.1.13-alpha-dev
svn:r18830
2009-03-09 21:43:31 +00:00
Nick Mathewson
d40cbda2cd Log cached-at-exit exit policies to try to fix bug 672.
svn:r18827
2009-03-09 15:53:37 +00:00
Roger Dingledine
2f69c67957 doxygen tweak
svn:r18818
2009-03-09 06:20:15 +00:00
Roger Dingledine
e80ee33857 bump to 0.2.1.13-alpha
svn:r18814
2009-03-09 00:56:22 +00:00
Roger Dingledine
89da31f772 3! 3 not 2.
svn:r18813
2009-03-09 00:55:59 +00:00
Roger Dingledine
5d50bc3e1d We were already rejecting relay begin cells with destination port
of 0. Now also reject extend cells with destination port or address
of 0. Suggested by lark.


svn:r18812
2009-03-09 00:53:42 +00:00
Roger Dingledine
5cb2e4efca declare that i'm going to tag 0.2.1.13-alpha tonight
svn:r18811
2009-03-09 00:43:03 +00:00
Nick Mathewson
18648907c4 Build correctly from outside main source tree. Patch from Michael Gold.
svn:r18809
2009-03-08 23:18:44 +00:00
Karsten Loesing
01fff4e11b Remove contrib/tor.wxs from AC_CONFIG_FILES. The file is gone.
svn:r18791
2009-03-06 23:54:16 +00:00
Martin Peck
0fbc547d7d Move wxs files to vidalia trunk for integration with existing bundle translations.
svn:r18789
2009-03-06 12:23:01 +00:00
Roger Dingledine
0f46c1dc6e Update to the "February 26 2009" ip-to-country file
svn:r18774
2009-03-05 10:47:25 +00:00
Nick Mathewson
cbbc0c9c86 Actually use tor_sscanf() to parse untrusted input.
svn:r18761
2009-03-03 18:02:36 +00:00
Nick Mathewson
26d83fc04c Add a simple locale-independent no-surprises sscanf replacement.
tor_sscanf() only handles %u and %s for now, which will make it
adequate to replace sscanf() for date/time/IP parsing.  We want this
to prevent attackers from constructing weirdly formed descriptors,
cells, addresses, HTTP responses, etc, that validate under some
locales but not others.

svn:r18760
2009-03-03 18:02:31 +00:00
Nick Mathewson
9f8d095e0f Add and use set/get_uint64 on onion tags. [bug 604; backportable]
It seems that 64-bit Sparc Solaris demands 64-bit-aligned access to
uint64_t, but does not 64-bit-align the stack-allocated char array we
use for cpuworker tags.  So this patch adds a set/get_uint64 pair, and
uses them to access the conn_id field in the tag.

svn:r18743
2009-03-02 19:15:05 +00:00
Andrew Lewman
aa154d846a minor updates and questions.
svn:r18705
2009-02-27 03:05:27 +00:00
Nick Mathewson
27c3b43817 Fix one case of bug 929.
svn:r18683
2009-02-23 20:04:51 +00:00
Nick Mathewson
c7f3416a9e Add some debugging code to try to catch the likely cause of bug 929
svn:r18682
2009-02-23 18:57:21 +00:00
Andrew Lewman
a7ea85e12e Updated the description text, changed packager email
svn:r18675
2009-02-23 00:02:48 +00:00
Nick Mathewson
261670b57e Patch from lark: if we get two extend cells for the same circuit id, drop the second. Previously, we had leaked an extend_info if the target connection was not open when the second arrived.
svn:r18668
2009-02-21 19:07:05 +00:00
Nick Mathewson
192b701fac Patch from lark: drop BEGIN cells from a rendevous circuit if they do not originate from the end of the circuit.
svn:r18667
2009-02-21 19:07:01 +00:00
Roger Dingledine
1b6688786c send the newconsensus event if the controller has asked for newconsensus
events, not if he's asked for ns events


svn:r18656
2009-02-20 10:25:08 +00:00
Roger Dingledine
cdbd371d9f typo
svn:r18610
2009-02-17 22:49:25 +00:00
Roger Dingledine
c4792ec62b add proposal 159, 'exit scanning', from or-dev
svn:r18609
2009-02-17 20:37:11 +00:00