Commit Graph

10943 Commits

Author SHA1 Message Date
Nick Mathewson
c36efb0c45 Use a mutex to protect the count of open sockets.
This matters because a cpuworker can close its socket when it
finishes.  Cpuworker typically runs in another thread, so without a
lock here, we can have a race condition and get confused about how
many sockets are open.  Possible fix for bug 939.
2009-05-13 09:38:48 -04:00
Nick Mathewson
ce768fc06e Add proposal 161: computing bandwidth adjustments 2009-05-12 23:00:05 -04:00
Nick Mathewson
d9650cfa50 Add sentinel values to the end of memarea chunks.
This might detect some possible causes of bug 930, and will at least
make sure we aren't doing some dumb memory-corruption stuff with the heap
and router-parsing.
2009-05-12 15:10:23 -04:00
Nick Mathewson
a271c5370a Merge commit 'origin/maint-0.2.1' into m3 2009-05-12 14:04:51 -04:00
Sebastian Hahn
a28215a150 Warn when hibernation and low-port on non-windows is configured
This addresses the first part of bug 918. Users are now warned when
they try to use hibernation in combination with a port below 1024
when they're not on Windows. We don't want to die here, because
people might run Tor as root, use a capabilities system or some
other platform that will allow them to re-attach low ports.

Wording suggested by Marian
2009-05-12 20:00:00 +02:00
Nick Mathewson
5fc08d1920 Merge 0.2.1 onto the development branch.
Manually resolved conflicts on version number; all else applied cleanly.
2009-05-12 13:57:58 -04:00
Nick Mathewson
88d81ead83 Better debugging output for bug 977 case.
(Don't crash immediately if we have leftover chunks to free after
freeing chunks in a buffer freelist; instead log a debugging message
that might help.)
2009-05-12 13:54:21 -04:00
Nick Mathewson
6feb149db9 Claim/assign some proposal-writing tasks for 0.2.2.
(Proposals assigned to others are purely in the realm of speculation.)
2009-05-12 12:50:06 -04:00
Nick Mathewson
36c2db2b2e Add TODO.022 items based on discussion with arma 2009-05-08 19:09:51 -04:00
Nick Mathewson
183b5905bb Remove some stuff from the SHA-1 paragraph.
We don't need to explain the difference between 2nd preimage and
collision: anybody who doesn't know can use wikipedia.
2009-05-08 12:52:18 -04:00
Marian
7a2c8e55af Clarify some points in what-uses-sha1. 2009-05-08 12:46:43 -04:00
Nick Mathewson
fdbdb4dc15 Include the *_sha1.i files in their own *_codedigest.c files.
This way we do not need to rebuild util.c and/or config.c whenever
any unrelated source file in src/common or src/or has changed.
2009-05-08 12:35:36 -04:00
Sebastian Hahn
b9b16ef9a5 Add a missing newline 2009-05-05 11:12:41 -04:00
Sebastian Hahn
deea710cdc Fix typo in 001-process.txt 2009-05-05 11:12:41 -04:00
Sebastian Hahn
d230827912 Remove all svn metadata minus what I missed.
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$
meaningless. Remove them without replacement.
2009-05-05 17:05:46 +02:00
Sebastian Hahn
b875a7a0f2 checkSpace.pl doesn't need to worry about svn tags anymore 2009-05-05 17:05:45 +02:00
Sebastian Hahn
d0cb5e5b0b SVN-specific metadata should no longer be part of a proposal
Update the proposal creation instructions to remove the Version
and Last-Modified fields.
2009-05-05 17:05:45 +02:00
Roger Dingledine
df8a47464a add a new proposal for authorities to vote for bandwidth "offsets" 2009-05-05 08:53:12 -04:00
Roger Dingledine
ae8e0aeca6 Fix typos in proposal 141. 2009-05-05 08:52:22 -04:00
Karsten Loesing
948835c680 Remove unused rendversion parameters. YAGNI. 2009-05-04 13:46:30 -04:00
Karsten Loesing
592f957169 Update rend-spec.txt. 2009-05-04 13:46:30 -04:00
Karsten Loesing
f79688ddef Clients do not request version 0 hidserv descs anymore. 2009-05-04 13:46:30 -04:00
Karsten Loesing
0d68da2381 Drop version 0 hidserv support on service side. 2009-05-04 13:46:29 -04:00
Karsten Loesing
9b32e8c141 Update copyright to 2009. 2009-05-04 11:28:27 -04:00
Karsten Loesing
4ebcc4da34 Update copyright to 2009. 2009-05-02 22:00:54 +02:00
Karsten Loesing
e25fdce900 Documentation fix. 2009-05-02 21:47:03 +02:00
Nick Mathewson
7e411f4b30 Initial division of SHA1 uses by collision/preimage needs.
More thought is needed on each collision opportunity to figure out how
exploitable it is.
2009-05-02 11:52:38 -05:00
Nick Mathewson
08e4a07720 delete trailing whitespace in xxx-what-uses-sha1.txt 2009-05-02 11:49:45 -05:00
Marian
4f9b12e248 More notes and an extra element in xxx-what-uses-sha1.txt 2009-05-02 12:39:56 -04:00
phobos
e188ab9e75 clean up distro detection and remove dead comment blocks 2009-05-01 23:05:54 -04:00
Nick Mathewson
596e852c31 Remove the long-deprecated GETINFO addr-mappings/ 2009-05-01 06:25:18 -04:00
Nick Mathewson
4e4be180ec Changelog entry for Jake's torify patch. 2009-04-29 19:05:56 -04:00
Jacob Appelbaum
9043932789 Make the torify script use torify when available.
Update Torify to use torsocks by default and to warn when the user is
using the older tsocks program. Update torify and the torify man page
to refelect changes to torify. Add warnings in both.
2009-04-29 19:04:05 -04:00
Nick Mathewson
6ac3a8b0cd Command-line option to dump SHA1 digests of all source files.
Now, when you call tor --digests, it dumps the SHA1 digest of each
source file that Tor was built with.  We support both 'sha1sum' and
'openssl sha1'.  If the user is building from a tarball and they
haven't edited anything, they don't need any program that calculates
SHA1.  If they _have_ modified a file but they don't have a program to
calculate SHA1, we try to build so we do not output digests.
2009-04-29 14:46:04 -04:00
Nick Mathewson
e3ec061bc0 Bump master version to 0.2.2.0-alpha-dev. 2009-04-29 14:18:32 -04:00
Nick Mathewson
6cf933f107 Bump 0.2.1 branch version to 0.2.1.14-rc-dev 2009-04-29 14:16:15 -04:00
Nick Mathewson
b06b95d81d Add foo.o and foo~ files to gitignore. 2009-04-29 14:02:04 -04:00
Nick Mathewson
029b8eb056 Add foo.o and foo~ files to gitignore. 2009-04-29 14:00:14 -04:00
Nick Mathewson
7d8a81ec06 Add an initial .gitignore to master 2009-04-29 09:19:18 -04:00
Roger Dingledine
f04dec4908 fix typo and naming convention
svn:r19377
2009-04-26 03:59:35 +00:00
Nick Mathewson
e4d3352e3f Initial thoughts on a TODO.022.
svn:r19369
2009-04-24 05:45:37 +00:00
Sebastian Hahn
5675be39a0 Return -1 in the error case from read_bandwidth_usage.
svn:r19367
2009-04-23 22:04:10 +00:00
Jacob Appelbaum
f33f2e9591 Update the port knocking SPA document to have more details. Still needs a packet filter.
svn:r19356
2009-04-21 07:55:07 +00:00
Jacob Appelbaum
7f4bfe5107 A small set of ideas that Nick and Roger suggested I write up regarding bridge detection.
svn:r19355
2009-04-21 04:06:49 +00:00
Peter Palfrader
657f6bba03 New upstream version
svn:r19340
2009-04-16 18:39:03 +00:00
Karsten Loesing
4e6120cffb Documentation fix.
svn:r19337
2009-04-16 08:25:36 +00:00
Roger Dingledine
72e4d48c7a Update to the "April 3 2009" ip-to-country file.
svn:r19307
2009-04-12 08:09:38 +00:00
Roger Dingledine
a31d9cec82 bump to 0.2.1.14-rc
svn:r19306
2009-04-12 08:02:14 +00:00
Roger Dingledine
39ceda7e05 Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
bytes (aka 20KB/s), to match our documentation. Also update
directory authorities so they always assign the Fast flag to relays
with 20KB/s of capacity. Now people running relays won't suddenly
find themselves not seeing any use, if the network gets faster
on average.


svn:r19305
2009-04-12 07:56:58 +00:00
Roger Dingledine
115474a44e put HashedControlPassword and CookieAuthentication explicitly in the
torrc.sample.in, so unix people don't shoot themselves in the foot.


svn:r19304
2009-04-12 06:45:46 +00:00