Nick Mathewson
b111a7cd9c
Make cbt_generate_sample use crypto_rand_double()
...
Possible workaround for bug 1139, if anybody cares.
2010-06-25 21:33:22 -04:00
Nick Mathewson
006e2e8620
Add a function to return a double in range [0,1).
2010-06-22 21:30:26 -04:00
Kat Magic
e2b117eb80
Remove the extra space that is sent in certain STREAM messages from the controller. ( closes #1583 )
2010-06-22 20:49:29 -04:00
Nick Mathewson
7be7f15198
Answer question from Roger.
2010-06-14 18:32:44 -04:00
Roger Dingledine
9f31a0098d
a line that's been sitting in my sandbox for months
2010-06-14 18:25:37 -04:00
Florian Zumbiehl
426116113f
Save a couple characters' allocation in esc_for_log
2010-06-14 14:05:18 -04:00
Nick Mathewson
945633476a
Merge commit 'sebastian/hostnamewarn'
2010-06-11 13:21:31 -04:00
Nick Mathewson
be1c4672c4
Merge commit 'origin/maint-0.2.1'
2010-06-11 13:20:20 -04:00
Karsten Loesing
6c49b6bb77
Add maatuska as eighth v3 directory authority.
2010-06-11 19:10:55 +02:00
Sebastian Hahn
f9a4b3e45b
Don't put a ControlPort without auth in sample bridge torrc
...
Thanks Roger for noticing
2010-06-10 17:44:36 +02:00
Andrew Lewman
280dc1f9c7
change Bytes to B to fix ticket 1195.
2010-06-10 11:36:33 -04:00
Sebastian Hahn
f7b40f45b7
Don't crash when reading cached*consensus files on startup
...
Fixes bug 1352
2010-06-10 16:18:26 +02:00
Nick Mathewson
bedb59c034
Merge remote branch 'origin/maint-0.2.1'
2010-06-07 15:10:48 -04:00
Karsten Loesing
f60e4bcdd9
Update to June 1 2010 Maxmind GeoLite Country database.
2010-06-07 15:07:36 -04:00
Nick Mathewson
2aa6fc5ae8
Merge branch 'bug1522'
2010-06-07 11:22:16 -04:00
Nick Mathewson
03ea5f930e
Reinstate warning when HOME isn't set.
...
Having ~/.tor expand into /.tor is, after all, almost certainly not
what the user wanted, and it deserves a warning message.
Also, convert a guess-and-malloc-and-sprintf triple into an asprintf.
2010-06-07 11:20:39 -04:00
Andrew Lewman
50afadb74d
Sample torrc as a bridge
...
On Sun, 6 Jun 2010 19:59:56 -0400
Andrew Lewman <andrew@torproject.org> wrote:
> attached.
let's try this again.
From e95c44bc5af90d982e9d95d63e78b2fde67431ed Mon Sep 17 00:00:00 2001
From: Andrew Lewman <andrew@torproject.org>
Date: Sun, 6 Jun 2010 19:56:16 -0400
Subject: [PATCH] Create a sample bridge configuration torrc.
2010-06-07 11:05:32 -04:00
Sebastian Hahn
10fdb9ee0a
Add option to not warn when getting an IP instead of hostname
2010-06-07 12:44:25 +02:00
Sebastian Hahn
0882e1e839
Treat unset $HOME like empty $HOME
...
This means Tor no longer dies when it doesn't have a $HOME.
2010-06-07 02:18:01 +02:00
Sebastian Hahn
faf51fa52a
Don't cannibalize one-hop circuits
...
In rare cases, we could cannibalize a one-hop circuit, ending up
with a two-hop circuit. This circuit would not be actually used,
but we should prevent its creation in the first place.
Thanks to outofwords and swissknife for helping to analyse this.
2010-06-04 21:04:08 +02:00
Roger Dingledine
7e300cbba3
Let bridge users use the non-primary address of a multi-homed bridge
2010-06-03 20:29:29 -04:00
Nick Mathewson
312f4ee410
Make pointer types correct in WinCE patch
2010-05-24 12:30:19 -04:00
valerino
076063ca90
moved wince related includes and defs to compat.h where possible, removed unused/redundant wince includes
2010-05-24 11:46:54 -04:00
valerino
8d31141ccb
Port Tor to work on Windows CE
...
Most of the changes here are switches to use APIs available on Windows
CE. The most pervasive change is that Windows CE only provides the
wide-character ("FooW") variants of most of the windows function, and
doesn't support the older ASCII verions at all.
This patch will require use of the wcecompat library to get working
versions of the posix-style fd-based file IO functions.
[commit message by nickm]
2010-05-24 11:46:45 -04:00
valerino
ddf250119d
Log the correct address when purging a mismatchd DNS cache address
2010-05-20 22:51:47 -04:00
valerino
afe58cfa89
Don't use "try" as an identifier
...
C allows try, but some windows CE headers like to redefine 'try' to be
a reserved word.
2010-05-20 22:50:37 -04:00
Nick Mathewson
9563b0d508
clean up whitespace in src/tools
2010-05-20 22:30:08 -04:00
Nick Mathewson
d8a1e2dabb
Make rotate_request_period use BEGIN/END versions of FOREACH
...
This appeases some versions of MSVC, which don't like it when you
have preprocessor commands inside a set of macro arguments.
2010-05-17 12:20:52 -04:00
Nick Mathewson
03dc1c786a
Clarify 'marking connection as too old' messages
...
Back when we changed the idea of a connection being "too old" for new
circuits into the connection being "bad" for new circuits, we didn't
actually change the info messages. This led to telling the user that
we were labelling connections as "too old" for being worse than
connections that were actually older than them.
Found by Scott on or-talk.
2010-05-12 14:15:39 -04:00
Roger Dingledine
89bb5fbce6
Merge branch 'maint-0.2.1'
2010-05-06 07:18:44 -04:00
Roger Dingledine
befcc84f43
move to maxmind geoip db
2010-05-06 07:15:22 -04:00
Roger Dingledine
c359f10e29
bump to 0.2.2.13-alpha-dev
2010-05-05 03:12:33 -04:00
Roger Dingledine
feb8c1b5f6
bump to 0.2.2.13-alpha
2010-04-24 05:43:43 -04:00
Roger Dingledine
e7bd97493c
Merge branch 'maint-0.2.1'
2010-04-23 20:26:23 -04:00
Roger Dingledine
67b38d5068
close idle tls conns early
2010-04-23 20:23:00 -04:00
Roger Dingledine
b3019c6d2b
Merge branch 'maint-0.2.1'
2010-04-23 19:46:29 -04:00
Roger Dingledine
b264192083
finally get rid of "clique mode"
2010-04-23 19:39:42 -04:00
Roger Dingledine
cb31978adb
close idle dir-fetch circs early
2010-04-23 18:35:11 -04:00
Roger Dingledine
573e1d40b3
finally get rid of "clique mode"
2010-04-21 21:35:18 -04:00
Roger Dingledine
6952b445cc
stop authority reachability check on startup
2010-04-21 04:27:56 -04:00
Roger Dingledine
4f307e0382
immediate reachability check for new relays
2010-04-21 03:12:14 -04:00
Roger Dingledine
92a6ae2b8d
more logging when tracking missing descriptors
2010-04-20 18:02:23 -04:00
Roger Dingledine
2c1900ee5e
bump to 0.2.2.12-alpha-dev
2010-04-20 17:56:28 -04:00
Sebastian Hahn
0b82ce3eb6
Demote a warning about missing client ciphers
2010-04-20 03:57:33 -04:00
Roger Dingledine
18678e5f1e
bump to 0.2.2.12-alpha
2010-04-20 03:56:15 -04:00
Roger Dingledine
eaf5487d95
fetch descriptors from the authority that told us about them
2010-04-20 03:20:31 -04:00
Roger Dingledine
2e692bd8c9
fetch unknown descriptors if we see them in a vote
2010-04-20 03:03:33 -04:00
Roger Dingledine
77babb832a
minor cleanups
2010-04-20 02:48:35 -04:00
Nick Mathewson
f2c30e97cc
Switch geoip_get_request_history to asprintf; fix bug 1365
2010-04-20 01:09:40 -04:00
Roger Dingledine
de4a49adc2
fix "Got a certificate for ?? that we already have"
...
what's happening here is that we're fetching certs for obsolete
authorities -- probably legacy signers in this case. but try to
remain general in the log message.
2010-04-19 18:35:57 -04:00