]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
14 years agoMerge remote-tracking branch 'rransom/bug2089' into maint-0.2.2
Nick Mathewson [Thu, 10 Feb 2011 21:01:19 +0000 (16:01 -0500)] 
Merge remote-tracking branch 'rransom/bug2089' into maint-0.2.2

14 years agoMerge maint-0.2.1 with -s ours.
Nick Mathewson [Thu, 10 Feb 2011 20:56:06 +0000 (15:56 -0500)] 
Merge maint-0.2.1 with -s ours.

14 years agoMake the DH parameter we use for TLS match the one from Apache's mod_ssl
Nick Mathewson [Mon, 24 Jan 2011 21:03:14 +0000 (16:03 -0500)] 
Make the DH parameter we use for TLS match the one from Apache's mod_ssl

Our regular DH parameters that we use for circuit and rendezvous
crypto are unchanged.  This is yet another small step on the path of
protocol fingerprinting resistance.

(Backport from 0.2.2's 5ed73e3807d90dd0a3)

14 years agoDocument what descriptors HSAuthoritativeDir serves
Robert Ransom [Thu, 10 Feb 2011 19:06:05 +0000 (11:06 -0800)] 
Document what descriptors HSAuthoritativeDir serves

Fixes bug 2089.

14 years agoUpdate documentation for PublishServerDescriptor (0.2.2.x)
Robert Ransom [Wed, 9 Feb 2011 11:14:51 +0000 (03:14 -0800)] 
Update documentation for PublishServerDescriptor (0.2.2.x)

14 years agoMerge branch 'bug2408-v2-021' into bug2408-v2-022 (keep-ours)
Robert Ransom [Wed, 9 Feb 2011 11:10:16 +0000 (03:10 -0800)] 
Merge branch 'bug2408-v2-021' into bug2408-v2-022 (keep-ours)

14 years agoMerge branch 'bug2408-v2-021-common' into bug2408-v2-022
Robert Ransom [Wed, 9 Feb 2011 11:05:21 +0000 (03:05 -0800)] 
Merge branch 'bug2408-v2-021-common' into bug2408-v2-022

14 years agoUpdate documentation for PublishServerDescriptor
Robert Ransom [Wed, 19 Jan 2011 21:38:40 +0000 (13:38 -0800)] 
Update documentation for PublishServerDescriptor

14 years agoIgnore and warn about "PublishServerDescriptor hidserv"
Robert Ransom [Tue, 18 Jan 2011 11:54:56 +0000 (03:54 -0800)] 
Ignore and warn about "PublishServerDescriptor hidserv"

Fixes #2408.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Tue, 8 Feb 2011 19:37:02 +0000 (14:37 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoLocking failures on windows are indicated by EACCES
Sebastian Hahn [Mon, 7 Feb 2011 14:40:14 +0000 (15:40 +0100)] 
Locking failures on windows are indicated by EACCES

Patch our implementation of tor_lockfile_lock() to handle this case
correctly. Also add a note that blocking behaviour differs from windows
to *nix. Fixes bug 2504, issue pointed out by mobmix.

14 years agomove the clause above the "if bw is too low" check
Roger Dingledine [Tue, 8 Feb 2011 04:22:45 +0000 (23:22 -0500)] 
move the clause above the "if bw is too low" check

14 years agodtrt when only relaybandwidthburst is set
Roger Dingledine [Tue, 8 Feb 2011 04:21:33 +0000 (23:21 -0500)] 
dtrt when only relaybandwidthburst is set

fixes bug 2470

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Tue, 8 Feb 2011 03:20:35 +0000 (22:20 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agoUpdate to the February 1 2011 Maxmind GeoLite Country database.
Karsten Loesing [Thu, 3 Feb 2011 06:34:00 +0000 (07:34 +0100)] 
Update to the February 1 2011 Maxmind GeoLite Country database.

14 years agotypo in manpage fix
Nick Mathewson [Mon, 7 Feb 2011 17:51:20 +0000 (12:51 -0500)] 
typo in manpage fix

14 years agoMerge branch 'bug2279' into maint-0.2.2
Nick Mathewson [Mon, 7 Feb 2011 17:43:54 +0000 (12:43 -0500)] 
Merge branch 'bug2279' into maint-0.2.2

14 years agoSome cleanups to bug2279 messages/docs from rransom
Nick Mathewson [Mon, 7 Feb 2011 17:40:43 +0000 (12:40 -0500)] 
Some cleanups to bug2279 messages/docs from rransom

14 years agoMerge branch 'bug2203_rebased' into maint-0.2.2
Nick Mathewson [Fri, 4 Feb 2011 17:22:18 +0000 (12:22 -0500)] 
Merge branch 'bug2203_rebased' into maint-0.2.2

14 years agochanges file for ASLR/DEP build on windows
Nick Mathewson [Thu, 3 Feb 2011 19:20:08 +0000 (14:20 -0500)] 
changes file for ASLR/DEP build on windows

14 years agoEnable ASLR and permanent DEP for Windows executables
John Brooks [Fri, 7 Jan 2011 05:08:27 +0000 (22:08 -0700)] 
Enable ASLR and permanent DEP for Windows executables

Fix for #2358

14 years agoMerge remote branch 'sebastian/bug2450' into maint-0.2.2
Nick Mathewson [Thu, 3 Feb 2011 18:59:58 +0000 (13:59 -0500)] 
Merge remote branch 'sebastian/bug2450' into maint-0.2.2

14 years agoMerge remote branch 'public/bug2378' into maint-0.2.2
Nick Mathewson [Thu, 3 Feb 2011 18:54:28 +0000 (13:54 -0500)] 
Merge remote branch 'public/bug2378' into maint-0.2.2

14 years agoRemove country codes from EntryNodes manpage entry
Sebastian Hahn [Fri, 28 Jan 2011 13:15:01 +0000 (14:15 +0100)] 
Remove country codes from EntryNodes manpage entry

14 years agoadd documentation for ClientRejectInternalAddresses
Nick Mathewson [Wed, 26 Jan 2011 17:08:52 +0000 (12:08 -0500)] 
add documentation for ClientRejectInternalAddresses

14 years agoMerge branch 'bug2181' into maint-0.2.2
Nick Mathewson [Wed, 26 Jan 2011 16:46:13 +0000 (11:46 -0500)] 
Merge branch 'bug2181' into maint-0.2.2

14 years agoExplain soft shutdown mode a little better in the accountingmax documentation
Nick Mathewson [Wed, 26 Jan 2011 16:45:37 +0000 (11:45 -0500)] 
Explain soft shutdown mode a little better in the accountingmax documentation

14 years agoFix typo in dir-spec.txt [found by sebastian]
Nick Mathewson [Wed, 26 Jan 2011 16:41:33 +0000 (11:41 -0500)] 
Fix typo in dir-spec.txt [found by sebastian]

14 years agoAdd an option to disable the block-private-addresses feature
Nick Mathewson [Wed, 26 Jan 2011 16:35:24 +0000 (11:35 -0500)] 
Add an option to disable the block-private-addresses feature

Suggested by rransom.  Probably necessary for testing network mode.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Wed, 26 Jan 2011 16:18:19 +0000 (11:18 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge-forward our exit-notice backport (empty merge)
Nick Mathewson [Wed, 26 Jan 2011 16:18:13 +0000 (11:18 -0500)] 
Merge-forward our exit-notice backport (empty merge)

14 years agofix the links in the exit-list notice we give out to users.
Andrew Lewman [Wed, 26 Jan 2011 16:14:44 +0000 (11:14 -0500)] 
fix the links in the exit-list notice we give out to users.

14 years agoBackport current tor-exit-notice to 0.2.1
Nick Mathewson [Wed, 26 Jan 2011 16:13:57 +0000 (11:13 -0500)] 
Backport current tor-exit-notice to 0.2.1

14 years agoMerge branch 'bug2409' into maint-0.2.2
Nick Mathewson [Wed, 26 Jan 2011 16:06:59 +0000 (11:06 -0500)] 
Merge branch 'bug2409' into maint-0.2.2

14 years agoMerge branch 'bug2321' into maint-0.2.2
Nick Mathewson [Wed, 26 Jan 2011 16:06:55 +0000 (11:06 -0500)] 
Merge branch 'bug2321' into maint-0.2.2

14 years agoAvoid sketchy integer cast in cbt code
Nick Mathewson [Tue, 25 Jan 2011 22:27:25 +0000 (17:27 -0500)] 
Avoid sketchy integer cast in cbt code

When calling circuit_build_times_shuffle_and_store_array, we were
passing a uint32_t as an int.  arma is pretty sure that this can't
actually cause a bug, because of checks elsewhere in the code, but
it's best not to pass a uint32_t as an int anyway.

Found by doorss; fix on 0.2.2.4-alpha.

14 years agoAdd client code to detect attempts to connect to 127.0.0.1 etc
Nick Mathewson [Wed, 26 Jan 2011 01:39:44 +0000 (20:39 -0500)] 
Add client code to detect attempts to connect to 127.0.0.1 etc

We detect and reject said attempts if there is no chosen exit node or
circuit: connecting to a private addr via a randomly chosen exit node
will usually fail (if all exits reject private addresses), is always
ill-defined (you're not asking for any particular host or service),
and usually an error (you've configured all requests to go over Tor
when you really wanted to configure all _remote_ requests to go over
Tor).

This can also help detect forwarding loop requests.

Found as part of bug2279.

14 years agoFix double-mark bug when failing to init transparent connection
Nick Mathewson [Wed, 26 Jan 2011 00:07:03 +0000 (19:07 -0500)] 
Fix double-mark bug when failing to init transparent connection

Fixes part of bug 2279.  Bugfix on 0.1.2.1-alpha.

14 years agoLog more about soft-hibernation
Nick Mathewson [Tue, 25 Jan 2011 23:45:13 +0000 (18:45 -0500)] 
Log more about soft-hibernation

14 years agoCorrectly detect BIO_new failures
Nick Mathewson [Tue, 25 Jan 2011 23:26:49 +0000 (18:26 -0500)] 
Correctly detect BIO_new failures

This bug was noticed by cypherpunks; fixes bug 2378.

Bugfix on svn commit r110.

14 years agoAlways treat failure to allocate an RSA key as an unrecoverable allocation error
Nick Mathewson [Tue, 25 Jan 2011 23:19:09 +0000 (18:19 -0500)] 
Always treat failure to allocate an RSA key as an unrecoverable allocation error

14 years agoHandle failing cases of DH allocation
Nick Mathewson [Tue, 25 Jan 2011 23:09:38 +0000 (18:09 -0500)] 
Handle failing cases of DH allocation

14 years agoRemove an unused function in crypto.c
Nick Mathewson [Tue, 25 Jan 2011 23:07:02 +0000 (18:07 -0500)] 
Remove an unused function in crypto.c

14 years agoComment remaining CBT functions.
Mike Perry [Mon, 17 Jan 2011 06:07:31 +0000 (06:07 +0000)] 
Comment remaining CBT functions.

Left circuit_build_times_get_bw_scale() uncommented because it is in the wrong
place due to an improper bug2317 fix. It needs to be moved and renamed, as it
is not a cbt parameter.

14 years agoDescribe consensus method 11 in dir-spec.txt
Nick Mathewson [Tue, 25 Jan 2011 22:49:50 +0000 (17:49 -0500)] 
Describe consensus method 11 in dir-spec.txt

14 years agoAdd changelog entry for bug2203.
Mike Perry [Tue, 25 Jan 2011 05:39:29 +0000 (21:39 -0800)] 
Add changelog entry for bug2203.

14 years agoFix authority side of 2203.
Mike Perry [Tue, 25 Jan 2011 05:35:10 +0000 (21:35 -0800)] 
Fix authority side of 2203.

Do not add Exit bandwidth to E if BadExit is set.

14 years agoFix client side of 2203: Do not count BadExits as Exits.
Mike Perry [Tue, 25 Jan 2011 05:23:59 +0000 (21:23 -0800)] 
Fix client side of 2203: Do not count BadExits as Exits.

14 years agoAdd changes file for bug2004
Nick Mathewson [Tue, 25 Jan 2011 22:37:37 +0000 (17:37 -0500)] 
Add changes file for bug2004

14 years agoFix bug #2004 by demoting a log message.
Mike Perry [Sun, 16 Jan 2011 02:14:15 +0000 (02:14 +0000)] 
Fix bug #2004 by demoting a log message.

To quote arma: "So instead of stopping your CBT from screaming, you're just
going to throw it in the closet and hope you can't hear it?"

Yep. The log message can happen because at 95% point on the curve, we can be
way beyond the max timeout we've seen, if the curve has few points and is
shallow.

Also applied Nick's rule of thumb for rewriting some other notice log messages
to read like how you would explain them to a raving lunatic on #tor who was
shouting at you demanding what they meant. Hopefully the changes live up to
that standard.

14 years agoFix bug in verifying directory signatures with short digests
Nick Mathewson [Tue, 25 Jan 2011 22:15:22 +0000 (17:15 -0500)] 
Fix bug in verifying directory signatures with short digests

If we got a signed digest that was shorter than the required digest
length, but longer than 20 bytes, we would accept it as long
enough.... and then immediately fail when we want to check it.

Fixes bug 2409; bug in 0.2.2.20-alpha; found by piebeer.

14 years agoTell which geoip file we're parsing
Sebastian Hahn [Tue, 25 Jan 2011 12:16:28 +0000 (13:16 +0100)] 
Tell which geoip file we're parsing

14 years agoFix assert for relay/bridge state change
Sebastian Hahn [Tue, 25 Jan 2011 14:28:58 +0000 (15:28 +0100)] 
Fix assert for relay/bridge state change

When we added support for separate client tls certs on bridges in
a2bb0bfdd5 we forgot to correctly initialize this when changing
from relay to bridge or vice versa while Tor is running. Fix that
by always initializing keys when the state changes.

Fixes bug 2433.

14 years agoMake the DH parameter we use for TLS match the one from Apache's mod_ssl
Nick Mathewson [Mon, 24 Jan 2011 21:03:14 +0000 (16:03 -0500)] 
Make the DH parameter we use for TLS match the one from Apache's mod_ssl

Our regular DH parameters that we use for circuit and rendezvous
crypto are unchanged.  This is yet another small step on the path of
protocol fingerprinting resistance.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Thu, 20 Jan 2011 20:00:24 +0000 (15:00 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge remote branch 'rransom/policy_summarize-assert' into maint-0.2.1
Nick Mathewson [Thu, 20 Jan 2011 19:59:23 +0000 (14:59 -0500)] 
Merge remote branch 'rransom/policy_summarize-assert' into maint-0.2.1

14 years agoFix bounds-checking in policy_summarize
Robert Ransom [Thu, 20 Jan 2011 19:17:57 +0000 (11:17 -0800)] 
Fix bounds-checking in policy_summarize

Found by piebeer.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Wed, 19 Jan 2011 18:25:38 +0000 (13:25 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoOops; actually add the code to the last patch. :/
Nick Mathewson [Wed, 19 Jan 2011 18:25:17 +0000 (13:25 -0500)] 
Oops; actually add the code to the last patch. :/

14 years agoFix two more SIZE_T_CEILING issues
Nick Mathewson [Wed, 19 Jan 2011 18:22:50 +0000 (13:22 -0500)] 
Fix two more SIZE_T_CEILING issues

This patch imposes (very long) limits on the length of a line in a
directory document, and on the length of a certificate.  I don't
think it should actually be possible to overrun these remotely,
since we already impose a maximum size on any directory object we're
downloading, but a little defensive programming never hurt anybody.

Roger emailed me that doorss reported these on IRC, but nobody seems
to have put them on the bugtracker.

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Wed, 19 Jan 2011 00:13:24 +0000 (19:13 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agobe the winner, rewrite history
Roger Dingledine [Wed, 19 Jan 2011 00:12:01 +0000 (19:12 -0500)] 
be the winner, rewrite history

14 years agoMerge commit 'sebastian/bug2317' into maint-0.2.2
Roger Dingledine [Sun, 16 Jan 2011 02:54:49 +0000 (21:54 -0500)] 
Merge commit 'sebastian/bug2317' into maint-0.2.2

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Sun, 16 Jan 2011 00:57:01 +0000 (19:57 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years ago0.2.1.29 changelog and blurb
Roger Dingledine [Sun, 16 Jan 2011 00:56:10 +0000 (19:56 -0500)] 
0.2.1.29 changelog and blurb

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 15 Jan 2011 19:15:19 +0000 (14:15 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoFix a couple of non-cleared key issues in hidden services
Nick Mathewson [Sat, 15 Jan 2011 16:32:56 +0000 (11:32 -0500)] 
Fix a couple of non-cleared key issues in hidden services

we need to do more hunting, but this fixes the ones mentioned in 2385.

14 years agoZero out some more key data before freeing it
Nick Mathewson [Sat, 15 Jan 2011 16:22:25 +0000 (11:22 -0500)] 
Zero out some more key data before freeing it

Found by cypherpunks; fixes bug 2384.

14 years agoUpdate the spec with the new bounds
Sebastian Hahn [Sat, 15 Jan 2011 18:49:39 +0000 (19:49 +0100)] 
Update the spec with the new bounds

14 years agoTighten accepted circwindow parameters
Sebastian Hahn [Sat, 15 Jan 2011 18:39:27 +0000 (19:39 +0100)] 
Tighten accepted circwindow parameters

Based on discussion in bug 2317, these values seem to be sane.

14 years agoProvide constant limits for all consensus params
Sebastian Hahn [Sat, 15 Jan 2011 18:31:23 +0000 (19:31 +0100)] 
Provide constant limits for all consensus params

This addresses Nick's concern about doing non-constant bounds checking
inside networkstatus_get_param().

14 years agoFix a typo spotted by Roger
Sebastian Hahn [Sat, 15 Jan 2011 17:32:46 +0000 (18:32 +0100)] 
Fix a typo spotted by Roger

14 years agoSanity-check consensus param values
Sebastian Hahn [Thu, 30 Dec 2010 18:54:13 +0000 (19:54 +0100)] 
Sanity-check consensus param values

We need to make sure that the worst thing that a weird consensus param
can do to us is to break our Tor (and only if the other Tors are
reliably broken in the same way) so that the majority of directory
authorities can't pull any attacks that are worse than the DoS that
they can trigger by simply shutting down.

One of these worse things was the cbtnummodes parameter, which could
lead to heap corruption on some systems if the value was sufficiently
large.

This commit fixes this particular issue and also introduces sanity
checking for all consensus parameters.

14 years agoMake get_net_param_from_list() static
Sebastian Hahn [Mon, 27 Dec 2010 17:44:42 +0000 (18:44 +0100)] 
Make get_net_param_from_list() static

This prepares for making the accessor method for consensus parameters
safer in the next commit.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 15 Jan 2011 18:25:13 +0000 (13:25 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

Conflicts:
src/or/routerparse.c
src/or/test.c

14 years agoMerge branch 'bug2352_obsize' into maint-0.2.1
Nick Mathewson [Sat, 15 Jan 2011 18:15:06 +0000 (13:15 -0500)] 
Merge branch 'bug2352_obsize' into maint-0.2.1

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 15 Jan 2011 18:10:14 +0000 (13:10 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoAdd missing check for hostname answer_len in dnsserv size
Nick Mathewson [Sat, 15 Jan 2011 18:09:12 +0000 (13:09 -0500)] 
Add missing check for hostname answer_len in dnsserv size

This is checked elsewhere too, but let's be RFC-conformant.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 15 Jan 2011 17:48:40 +0000 (12:48 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge branch 'bug2332_part2' into maint-0.2.1
Nick Mathewson [Sat, 15 Jan 2011 17:43:02 +0000 (12:43 -0500)] 
Merge branch 'bug2332_part2' into maint-0.2.1

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 15 Jan 2011 17:13:50 +0000 (12:13 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge branch 'bug2324_uncompress' into maint-0.2.1
Nick Mathewson [Sat, 15 Jan 2011 17:12:34 +0000 (12:12 -0500)] 
Merge branch 'bug2324_uncompress' into maint-0.2.1

14 years agoclean up message; explain a magic number in a comment
Nick Mathewson [Sat, 15 Jan 2011 17:12:10 +0000 (12:12 -0500)] 
clean up message; explain a magic number in a comment

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 15 Jan 2011 17:02:55 +0000 (12:02 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

Conflicts:
src/or/config.c
src/or/networkstatus.c
src/or/rendcommon.c
src/or/routerparse.c
src/or/test.c

14 years agomake the description of tolen_asserts more dire
Nick Mathewson [Sat, 15 Jan 2011 15:54:58 +0000 (10:54 -0500)] 
make the description of tolen_asserts more dire

We have a CVE # for this bug.

14 years agoFix a heap overflow found by debuger, and make it harder to make that mistake again
Nick Mathewson [Thu, 13 Jan 2011 19:36:41 +0000 (14:36 -0500)] 
Fix a heap overflow found by debuger, and make it harder to make that mistake again

Our public key functions assumed that they were always writing into a
large enough buffer.  In one case, they weren't.

(Incorporates fixes from sebastian)

14 years agoAlways nul-terminate the result passed to evdns_server_add_ptr_reply
Nick Mathewson [Mon, 10 Jan 2011 21:18:32 +0000 (16:18 -0500)] 
Always nul-terminate the result passed to evdns_server_add_ptr_reply

In dnsserv_resolved(), we carefully made a nul-terminated copy of the
answer in a PTR RESOLVED cell... then never used that nul-terminated
copy.  Ouch.

Surprisingly this one isn't as huge a security problem as it could be.
The only place where the input to dnsserv_resolved wasn't necessarily
nul-terminated was when it was called indirectly from relay.c with the
contents of a relay cell's payload.  If the end of the payload was
filled with junk, eventdns.c would take the strdup() of the name [This
part is bad; we might crash there if the cell is in a bad part of the
stack or the heap] and get a name of at least length
495[*]. eventdns.c then rejects any name of length over 255, so the
bogus data would be neither transmitted nor altered.

  [*] If the name was less than 495 bytes long, the client wouldn't
     actually be reading off the end of the cell.

Nonetheless this is a reasonably annoying bug.  Better fix it.

Found while looking at bug 2332, reported by doorss.  Bugfix on
0.2.0.1-alpha.

14 years agocatch another overlong malloc possibility. found by cypherpunks
Nick Mathewson [Sat, 15 Jan 2011 15:42:11 +0000 (10:42 -0500)] 
catch another overlong malloc possibility. found by cypherpunks

14 years agoFix another instance of "128" in buffers.c. More bug2330.
Nick Mathewson [Sat, 15 Jan 2011 15:23:58 +0000 (10:23 -0500)] 
Fix another instance of "128" in buffers.c.  More bug2330.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Wed, 12 Jan 2011 19:38:11 +0000 (14:38 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMake our replacement INT32_MAX always signed
Nick Mathewson [Wed, 12 Jan 2011 19:29:38 +0000 (14:29 -0500)] 
Make our replacement INT32_MAX always signed

The C standard says that INT32_MAX is supposed to be a signed
integer.  On platforms that have it, we get the correct
platform-defined value.  Our own replacement, however, was
unsigned.  That's going to cause a bug somewhere eventually.

14 years agoMerge remote branch 'public/bug2363' into maint-0.2.2
Nick Mathewson [Wed, 12 Jan 2011 19:00:20 +0000 (14:00 -0500)] 
Merge remote branch 'public/bug2363' into maint-0.2.2

14 years agoMerge remote branch 'sebastian/bug2337' into maint-0.2.2
Nick Mathewson [Wed, 12 Jan 2011 17:55:09 +0000 (12:55 -0500)] 
Merge remote branch 'sebastian/bug2337' into maint-0.2.2

14 years agoMerge branch 'bug2331' into maint-0.2.2
Nick Mathewson [Wed, 12 Jan 2011 17:42:40 +0000 (12:42 -0500)] 
Merge branch 'bug2331' into maint-0.2.2

14 years agoadd a missing "not" in bug2331 changelog
Nick Mathewson [Wed, 12 Jan 2011 17:42:21 +0000 (12:42 -0500)] 
add a missing "not" in bug2331 changelog

14 years agoMerge branch 'bug2346' into maint-0.2.2
Nick Mathewson [Wed, 12 Jan 2011 17:37:51 +0000 (12:37 -0500)] 
Merge branch 'bug2346' into maint-0.2.2

14 years agoExplain bug2346 fix better based on suggestions from arma
Nick Mathewson [Wed, 12 Jan 2011 17:37:42 +0000 (12:37 -0500)] 
Explain bug2346 fix better based on suggestions from arma

14 years agoFix a autoconf warning
Sebastian Hahn [Wed, 12 Jan 2011 03:02:24 +0000 (04:02 +0100)] 
Fix a autoconf warning

14 years agoPull up more data when parsing socks messages
Nick Mathewson [Mon, 10 Jan 2011 22:24:16 +0000 (17:24 -0500)] 
Pull up more data when parsing socks messages

Previously, we only looked at up to 128 bytes.  This is a bad idea
since socks messages can be at least 256+x bytes long.  Now we look at
up to 512 bytes; this should be enough for 0.2.2.x to handle all valid
SOCKS messages.  For 0.2.3.x, we can think about handling trickier
cases.

Fixes 2330.  Bugfix on 0.2.0.16-alpha.

14 years agoWait 60 minutes before retrying failed state save; bug2346
Nick Mathewson [Mon, 10 Jan 2011 21:44:42 +0000 (16:44 -0500)] 
Wait 60 minutes before retrying failed state save; bug2346