Roger Dingledine
37b5132ad8
Expire socks connections if they spend too long waiting for the
...
handshake to finish. Previously we would let them sit around for
days, if the connecting application didn't close them either.
Also take this opportunity to refactor a duplicate bit of circuituse.c.
And change the semantics of SocksTimeout slightly, but I think it'll
be ok.
svn:r9350
2007-01-15 09:09:03 +00:00
Roger Dingledine
a9c250837e
patch from edmanm to make "-nt-service" command-line work too
...
svn:r9349
2007-01-15 08:52:01 +00:00
Roger Dingledine
cf7069fca4
two more todo items, to make eventdns log messages less loud
...
svn:r9348
2007-01-15 08:40:50 +00:00
Andrew Lewman
930e12920d
Update copyright in config.c while I'm there. Update man page to
...
reflect all available options to tor binary.
svn:r9341
2007-01-13 05:09:09 +00:00
Nick Mathewson
c1b5f53679
r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500
...
Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants.
svn:r9336
2007-01-11 16:02:39 +00:00
Nick Mathewson
3dfeaaaf6e
r11931@Kushana: nickm | 2007-01-11 09:12:49 -0500
...
Fix a crash bug in the presence of DNS hijacking.
svn:r9333
2007-01-11 14:13:13 +00:00
Nick Mathewson
0c77ae2fcb
r11930@Kushana: nickm | 2007-01-11 09:05:27 -0500
...
fix recently-introduced segfault when not running as a dirserver
svn:r9332
2007-01-11 14:13:04 +00:00
Roger Dingledine
7beb0fd5dd
Make the unit tests work again.
...
The foo_init() funcs need to happen before we call
options_act() and friends.
svn:r9331
2007-01-11 01:41:07 +00:00
Roger Dingledine
35bd6caa1a
Fix crash with "tor --list-fingerprint" (reported by seeess).
...
svn:r9328
2007-01-10 23:48:24 +00:00
Nick Mathewson
8835bb844e
r11922@Kushana: nickm | 2007-01-10 15:43:18 -0500
...
Clear untrusted networkstatuses after 10 days too. (This is not a terribly awful bug, since we would only ever retain 16 of them, but it still might be nice to backport.) Resolves part A of bug 372.
svn:r9324
2007-01-10 20:43:40 +00:00
Nick Mathewson
9937695598
r11919@Kushana: nickm | 2007-01-10 13:32:48 -0500
...
Add some defensive programming to eventdns.c in an attempt to catch possible memory stomping bugs.
svn:r9322
2007-01-10 19:49:21 +00:00
Nick Mathewson
ceefc1e9a7
r11914@dhcp-18-188-69-59: nickm | 2007-01-10 11:20:59 -0500
...
Base skew calculation on conn->timestamp_lastwritten, not on now.
svn:r9319
2007-01-10 16:33:40 +00:00
Roger Dingledine
794fedb0ad
some cleanups. more probably remain, but hey, it's an alpha.
...
time to put out the bugfix release.
svn:r9309
2007-01-09 05:14:34 +00:00
Roger Dingledine
c85ff4d6ab
Fix an assert error introduced in 0.1.2.5-alpha: if you're an
...
advertised exit node, somebody might try to exit from you when
you're bootstrapping and before you've built your descriptor yet.
svn:r9305
2007-01-09 00:37:13 +00:00
Nick Mathewson
5239602dbc
r11873@Kushana: nickm | 2007-01-06 02:32:18 -0500
...
Implement DNS-related status events.
svn:r9285
2007-01-06 07:34:07 +00:00
Nick Mathewson
bc14afe064
r11872@Kushana: nickm | 2007-01-06 02:14:12 -0500
...
Implement a control status event for bad libevent version/method combos. Warn that libevent <1.1 with select() is needlessly slow. Reply to comment.
svn:r9284
2007-01-06 07:34:02 +00:00
Nick Mathewson
03d6e98111
r11868@Kushana: nickm | 2007-01-06 01:32:55 -0500
...
Document how we set Guard a little better.
svn:r9283
2007-01-06 06:32:59 +00:00
Nick Mathewson
d6073cc7fa
r11864@Kushana: nickm | 2007-01-06 01:25:59 -0500
...
Fix an XXXX012 in connection.c: prevent overflows on unfeasibly-high-bandwidth servers on 32-bit architectures.
svn:r9282
2007-01-06 06:27:15 +00:00
Nick Mathewson
aa7b72c97d
r11863@Kushana: nickm | 2007-01-06 01:12:24 -0500
...
Fix computation of total_exit_bandwidth; this will cause exits not to get recommended as guards if the total exit bandwidth if they constitute less than a third of total available bandwidth. There may be problems here with flapping; lets see if they occur in practice.
svn:r9281
2007-01-06 06:26:53 +00:00
Nick Mathewson
336624ce8f
r11862@Kushana: nickm | 2007-01-06 01:05:15 -0500
...
Re-enable warning when we resolve an already resolved address. We only warn here now if the address is not a testing address. Also, refactor out a function to check whether an address is used for testing.
svn:r9280
2007-01-06 06:26:46 +00:00
Nick Mathewson
c8466c5919
r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500
...
control-spec: upcase arguments in status events; note unimplemented events individually
r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500
Implement EXTERNAL IP server status event.
r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500
Implement BAD_SERVER_DESCRIPTOR server status event.
r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500
Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events.
r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500
Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages.
r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500
Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED}
r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500
Note some unimplementedness in control-spec.txt
svn:r9279
2007-01-06 05:42:31 +00:00
Nick Mathewson
135aed5670
r11850@Kushana: nickm | 2007-01-05 17:12:08 -0500
...
Look in netinet/in6.h header when looking for struct in6_addr. (Issue found by saeftl.)
svn:r9272
2007-01-05 22:12:15 +00:00
Roger Dingledine
48a9fe4bbd
be a bit less eager to reject v1 dir requests due to load
...
svn:r9271
2007-01-05 06:59:36 +00:00
Roger Dingledine
ee0d2d486d
fix a bug, defer a bug, bump to 0.1.2.5-alpha
...
svn:r9270
2007-01-05 06:30:31 +00:00
Roger Dingledine
658c09c06f
more progress and cleanups
...
svn:r9269
2007-01-05 06:03:10 +00:00
Roger Dingledine
466650aa14
when we added orport= to the dirserver line, we started
...
freeing the string in the middle. this was probably xiando's
crash bug.
svn:r9265
2007-01-05 01:23:34 +00:00
Roger Dingledine
7b88380690
Avoid a double-free when parsing malformed DirServer lines.
...
svn:r9264
2007-01-05 01:12:10 +00:00
Roger Dingledine
5e89bc9b4b
fix a bug i introduced in r9249; and more cleanups.
...
svn:r9263
2007-01-04 09:12:23 +00:00
Roger Dingledine
a66d86149b
avoid a crash-all-the-clients segfault if a rogue dir
...
authority leaves a "v" line blank.
svn:r9262
2007-01-04 06:36:43 +00:00
Roger Dingledine
da2ff14839
Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix seg
...
fault when starting a server without a fingerprint file present.
svn:r9261
2007-01-04 05:41:24 +00:00
Roger Dingledine
50f0e36094
man page entries for TunnelDirConns and PreferTunneledDirConns
...
and add a todo item for nick in case he gets bored :)
svn:r9260
2007-01-04 04:35:18 +00:00
Roger Dingledine
88c3c84bda
be slightly less eager to yell at a server for being unreachable
...
svn:r9259
2007-01-03 23:58:03 +00:00
Nick Mathewson
2963d4acc2
r11820@Kushana: nickm | 2007-01-03 14:54:05 -0500
...
Add (and specify) a BadDirectory flag to networkstatuses, so authorities can tell clients that some caches are broken. Also, implement an as-yet-unused function to estimate how many bytes will be sent on a directory connection.
svn:r9255
2007-01-03 19:58:00 +00:00
Nick Mathewson
931e555ef9
r11818@Kushana: nickm | 2007-01-03 08:29:17 -0500
...
Fix compile error with warnings enabled: connection_dir_supports_tunnels was redeclared as static.
svn:r9254
2007-01-03 13:29:30 +00:00
Roger Dingledine
50e36dc11b
more cleanups, including a shiny new XXX012
...
svn:r9250
2007-01-03 10:30:26 +00:00
Roger Dingledine
d677332a83
checkpoint as we add PreferTunneledDirConns config option
...
svn:r9249
2007-01-03 06:33:03 +00:00
Nick Mathewson
eebbfbc854
r11806@Kushana: nickm | 2007-01-03 00:12:21 -0500
...
Fix unit test broken by r9239.
svn:r9248
2007-01-03 05:12:26 +00:00
Roger Dingledine
9545bbf57f
- When the user uses bad syntax in the Log config line, stop
...
suggesting other bad syntax as a replacement.
svn:r9247
2007-01-03 03:56:17 +00:00
Roger Dingledine
7396b8eecf
interim tweaks
...
svn:r9246
2007-01-03 03:45:53 +00:00
Nick Mathewson
f5b984a36f
r11800@Kushana: nickm | 2007-01-02 16:46:45 -0500
...
Remove an XXXX012 for which the answer is "not really."
svn:r9244
2007-01-02 21:47:28 +00:00
Nick Mathewson
cbdd21cbf5
r11799@Kushana: nickm | 2007-01-02 16:38:34 -0500
...
Simplify and remove most of dirserv_orconn_tls_cone
svn:r9243
2007-01-02 21:47:21 +00:00
Nick Mathewson
2caeaf4e2f
r11787@Kushana: nickm | 2007-01-02 14:40:14 -0500
...
Stop polluting new descriptors with the defaults-to-1 "opt eventdns" entry.
svn:r9239
2007-01-02 20:08:03 +00:00
Nick Mathewson
75eca91459
r11786@Kushana: nickm | 2007-01-02 14:32:54 -0500
...
Add a comment about a possible refactoring in main.c
svn:r9238
2007-01-02 20:07:54 +00:00
Andrew Lewman
4f565b73ef
Fix formatting in eventdns.c. Remove the rest of the osx binary
...
uninstaller.
svn:r9235
2007-01-02 06:26:42 +00:00
Nick Mathewson
722a3ab544
r11784@Kushana: nickm | 2007-01-02 01:13:04 -0500
...
Spec-conformance on r9181: make "opt v" strings start with "Tor".
svn:r9233
2007-01-02 06:13:10 +00:00
Nick Mathewson
6ae3ba9b2d
r11777@Kushana: nickm | 2007-01-01 21:01:10 -0500
...
Fix an idiot bug in r9181: snprintf returns <0 on error, not !=0.
svn:r9232
2007-01-02 02:01:15 +00:00
Nick Mathewson
46092f8163
r11765@Kushana: nickm | 2006-12-29 16:04:22 -0500
...
Remove duplicated code in dirserv_get_networkstatus_v2; document dirserv_get_networkstatus_v2_fingerprints. Down to 13 XXXX012 items.
svn:r9220
2006-12-30 02:41:14 +00:00
Nick Mathewson
c54b7c4d56
r11761@Kushana: nickm | 2006-12-29 15:45:56 -0500
...
Another cleanup: expand_exit_policy_aliases was totally redundant with respect to router_parse_[private_]addr_policy_private.
svn:r9219
2006-12-29 20:50:24 +00:00
Nick Mathewson
7ee99ba342
r11759@Kushana: nickm | 2006-12-29 15:21:14 -0500
...
Actually, handle_getinfo_helper supports 552 results just fine: just leave *answer unset.
svn:r9217
2006-12-29 20:49:47 +00:00
Nick Mathewson
e3d5e4fcae
Okay, now descriptors seem to be buildable.
...
svn:r9216
2006-12-29 17:10:29 +00:00