Roger Dingledine
bc72ffaafe
reenable part of assert_circuit_ok, leave some still disabled
...
svn:r1207
2004-03-03 04:11:18 +00:00
Roger Dingledine
2f04f5668a
make circuit-building less noisy when a node in your exclude/exit/entrynodes is down
...
svn:r1206
2004-03-03 03:02:06 +00:00
Nick Mathewson
8ca1f04fc9
Fix (maybe) assert_circuit_ok. leave it disabled till arma confirms
...
svn:r1205
2004-03-03 02:24:17 +00:00
Nick Mathewson
5673b7ed0b
remove redundant check
...
svn:r1204
2004-03-03 02:14:35 +00:00
Nick Mathewson
bf991195fb
warn more when losing data on closed/marked connections.
...
svn:r1203
2004-03-03 02:07:57 +00:00
Roger Dingledine
fde8d1cb19
bugfix: close_immediate called buf_clear but listeners don't have bufs
...
svn:r1202
2004-03-03 01:58:45 +00:00
Nick Mathewson
ff69ccdc89
Nth time is the charm on list manip.
...
svn:r1201
2004-03-03 01:37:54 +00:00
Roger Dingledine
b32828a8d6
fix the rpm spec description again
...
svn:r1200
2004-03-02 19:28:15 +00:00
Nick Mathewson
cef53a3846
Integrate jbash's RPM spec into build process. (Requires "rpmbuild" to
...
build properly. Works fine on redhat 9. YMMV.)
svn:r1199
2004-03-02 19:09:30 +00:00
Roger Dingledine
fab417e409
fix a pair of lurking segfaults
...
svn:r1198
2004-03-02 18:08:07 +00:00
Nick Mathewson
1c8e401ff9
Split out mark_for_close with circuits. Seems to work for me.
...
svn:r1197
2004-03-02 17:48:17 +00:00
Nick Mathewson
88855f11a5
Fix assertion failure spotted by arma.
...
Apparently, when a DNS failure was already cached, then when we tried
to mark the exit connection as closed, we'd try to remove it from the
pending queue anyway, and hit an assert. Now, we put failed-resolve
connections in a separate state so that mark_for_close does the right
thing.
svn:r1196
2004-03-02 07:24:11 +00:00
Roger Dingledine
747ad945d8
add --version, note that --help is probably obsolete
...
svn:r1195
2004-03-02 05:19:01 +00:00
Roger Dingledine
a47580538a
make config_assign fail rather than warn for unrecognized config options
...
svn:r1194
2004-03-02 05:00:50 +00:00
Roger Dingledine
400ba3cab6
make parse_line_from_file fail rather than warn for malformed lines
...
svn:r1193
2004-03-02 04:59:52 +00:00
Roger Dingledine
38881cf49d
note an assert trigger bug
...
nick, want to fix this? :)
svn:r1192
2004-03-01 12:37:45 +00:00
Roger Dingledine
62065319a1
update the todo
...
svn:r1191
2004-03-01 06:58:21 +00:00
Nick Mathewson
ceafc6b412
make 'make test' exit(1) if a test fails.
...
svn:r1190
2004-03-01 06:45:32 +00:00
Nick Mathewson
5775b535c4
revise spec. It still needs more explanation to be intelligible by the uninitiated, but it is at least far less incorrect.
...
svn:r1189
2004-03-01 05:56:34 +00:00
Roger Dingledine
05b3644782
put switch_id and start_daemon earlier
...
svn:r1188
2004-02-29 22:34:38 +00:00
Roger Dingledine
364f434eaf
fix duplicate call to connection_mark_for_close
...
svn:r1187
2004-02-29 22:07:44 +00:00
Roger Dingledine
cef323bd1f
bugfix: we were checking the wrong thing to see if 'reason'
...
was out of range
svn:r1186
2004-02-29 22:04:52 +00:00
(no author)
ca40a262bd
This commit was manufactured by cvs2svn to create tag
...
'debian_version_0_0_1+0_0_2pre23-1'.
svn:r1185
2004-02-29 13:34:43 +00:00
Peter Palfrader
999d865494
New upstream release.
...
Upstream tests got fixed
svn:r1184
2004-02-29 13:34:43 +00:00
Roger Dingledine
fc7b0e715e
bump cvs to pre24
...
svn:r1183
2004-02-29 11:25:52 +00:00
(no author)
389de8dba9
This commit was manufactured by cvs2svn to create tag
...
'tor-0_0_2pre23'.
svn:r1182
2004-02-29 11:13:14 +00:00
Roger Dingledine
7da9c3c46d
changelog for pre23
...
svn:r1181
2004-02-29 11:13:14 +00:00
Roger Dingledine
b06ad6de9a
when a stream is 15s late, print out the circuit at -l warn
...
svn:r1180
2004-02-29 09:15:29 +00:00
Roger Dingledine
ef6efc1501
print a statement when the first circ is finished,
...
so the user knows it's working
svn:r1179
2004-02-29 03:52:38 +00:00
Roger Dingledine
22331aa8b1
bugfix: only warn about an unrouter router after we've fetched a directory
...
svn:r1178
2004-02-29 01:31:33 +00:00
Roger Dingledine
b5697883e8
disable buffer tests, until we rewrite them (one of them fails)
...
svn:r1177
2004-02-29 00:15:20 +00:00
Roger Dingledine
4e16cbcd24
create a separate connection_edge_destroy() function
...
svn:r1176
2004-02-29 00:11:37 +00:00
Roger Dingledine
cb0c1b14d3
bugfix: when we time out on a stream and detach, send an end first
...
svn:r1175
2004-02-28 23:56:50 +00:00
Roger Dingledine
9e6c9847a3
bugfix: in some cases, connection_mark_for_close wasn't marking the conn
...
svn:r1174
2004-02-28 23:52:56 +00:00
Roger Dingledine
4db73f7d65
clearer warning message
...
svn:r1173
2004-02-28 23:31:15 +00:00
Roger Dingledine
9c501bb0cd
disallow changing from ORPort==0 to ORPort>0 on hup
...
svn:r1172
2004-02-28 23:30:41 +00:00
Roger Dingledine
7df9fd5e42
cwd to datadir if it's defined, rather than /
...
this way people can get cores if they want to
svn:r1171
2004-02-28 23:23:06 +00:00
Roger Dingledine
70cb436eee
bugfix: stop trying to write to a stderr that may not be there
...
also, tell start_daemon our desired cwd
svn:r1170
2004-02-28 23:21:29 +00:00
Roger Dingledine
dcdabf794a
fix the function comment
...
svn:r1169
2004-02-28 22:34:47 +00:00
Nick Mathewson
0e34a8736e
Split dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill a
...
resolve in response to a DNS worker dying) and connection_dns_remove (remove
a pending connection from the resolve structure.)
svn:r1168
2004-02-28 22:23:44 +00:00
Roger Dingledine
6cca96131e
add a log_warn to notify us of yet another potential dns.c bug
...
svn:r1167
2004-02-28 22:13:58 +00:00
Nick Mathewson
e3e21ead5a
Make dns_cancel_pending_resolve less agressive.
...
svn:r1166
2004-02-28 22:06:59 +00:00
Nick Mathewson
0ddc4f33e2
Fix bug on dns_found_answer from mark_to_close stuff.
...
svn:r1165
2004-02-28 21:52:58 +00:00
Roger Dingledine
44b5bf2a66
remove assert from dns.c that's no longer true:
...
typically the resolve will be pending, but it could be failed if it
just failed and we're working through the 'pending' list, or it could
be valid if some other dnsworker raced us to fill in the entry.
svn:r1164
2004-02-28 21:49:10 +00:00
Nick Mathewson
11124f29e3
Stop trying to flush on broken sockets marked for close.
...
svn:r1163
2004-02-28 19:14:11 +00:00
Roger Dingledine
a481a7e4f4
some comments to point nick at the latest bugs
...
svn:r1162
2004-02-28 11:48:22 +00:00
Roger Dingledine
187fa01b69
better explain exit policies in the torrc
...
svn:r1161
2004-02-28 11:44:07 +00:00
Roger Dingledine
298b6afdf2
enable assert_connection_ok()
...
we weren't actually asserting much. oops.
svn:r1160
2004-02-28 07:51:30 +00:00
Roger Dingledine
ba387850cc
note bug in assert_connection_ok
...
svn:r1159
2004-02-28 07:48:28 +00:00
Roger Dingledine
d25192e3de
clean up some log messages and severities
...
still plenty more left to clean
svn:r1158
2004-02-28 07:01:22 +00:00