]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Fri, 12 Mar 2004 08:16:48 +0000 (08:16 +0000)]
more details when a conn is closed before it's done flushing
svn:r1262
Roger Dingledine [Thu, 11 Mar 2004 20:15:53 +0000 (20:15 +0000)]
start tracking the 'broken pipe' error
svn:r1261
Nick Mathewson [Thu, 11 Mar 2004 06:35:03 +0000 (06:35 +0000)]
Make all the other read/writes into recv/sends, except when they shouldn't be.
svn:r1260
Nick Mathewson [Thu, 11 Mar 2004 06:22:53 +0000 (06:22 +0000)]
UnDOSify CRLF->LF.
svn:r1259
Nick Mathewson [Thu, 11 Mar 2004 06:19:08 +0000 (06:19 +0000)]
Make OP work on windows! (Also misc logging tweaks)
svn:r1258
Nick Mathewson [Thu, 11 Mar 2004 05:14:06 +0000 (05:14 +0000)]
Get entropy in windows.
svn:r1257
Peter Palfrader [Wed, 10 Mar 2004 15:36:32 +0000 (15:36 +0000)]
Mention log and pidfile location in tor.1
svn:r1256
Peter Palfrader [Wed, 10 Mar 2004 15:35:33 +0000 (15:35 +0000)]
Oops, the changelog for pre25 was not commited
svn:r1254
Roger Dingledine [Wed, 10 Mar 2004 07:44:31 +0000 (07:44 +0000)]
actually, if recommendedversions is required for dirservers,
then require it.
svn:r1253
Roger Dingledine [Wed, 10 Mar 2004 07:02:56 +0000 (07:02 +0000)]
give a useful error message to clients when the dirserver hasn't
defined any recommended versions
svn:r1252
Nick Mathewson [Wed, 10 Mar 2004 06:57:57 +0000 (06:57 +0000)]
Some stuff *should* be signed
svn:r1251
Nick Mathewson [Wed, 10 Mar 2004 06:26:38 +0000 (06:26 +0000)]
Make windows version correct; initialize windows foolishness so that gethostbyname works.
svn:r1250
Nick Mathewson [Tue, 9 Mar 2004 22:17:35 +0000 (22:17 +0000)]
Fix some bugs in parse_time
svn:r1249
Nick Mathewson [Tue, 9 Mar 2004 22:09:13 +0000 (22:09 +0000)]
Fix DOS line endings; autoconfize checks for strptime and inet_aton
svn:r1248
Nick Mathewson [Tue, 9 Mar 2004 22:01:17 +0000 (22:01 +0000)]
Make tor build on windows again. More work still needed
svn:r1247
Roger Dingledine [Tue, 9 Mar 2004 14:53:00 +0000 (14:53 +0000)]
stop troubling router operators with unapproved router connect attempts
but give the dirserver operator more information
svn:r1246
Roger Dingledine [Mon, 8 Mar 2004 01:19:57 +0000 (01:19 +0000)]
bugfix: only set conn->hold_open_until_flushed after marking
svn:r1245
Roger Dingledine [Mon, 8 Mar 2004 00:15:40 +0000 (00:15 +0000)]
when you get a desc from an unknown router, log its fingerprint
svn:r1244
Roger Dingledine [Mon, 8 Mar 2004 00:11:37 +0000 (00:11 +0000)]
clarifying comment for crypto_pk_get_fingerprint
svn:r1243
Roger Dingledine [Sun, 7 Mar 2004 23:50:15 +0000 (23:50 +0000)]
re-try streams at most 4 times
svn:r1242
Roger Dingledine [Sun, 7 Mar 2004 10:18:15 +0000 (10:18 +0000)]
improve comments for server operators (maybe)
svn:r1241
Roger Dingledine [Sat, 6 Mar 2004 06:05:00 +0000 (06:05 +0000)]
fix a rare race condition: when we send a cell and then
mark an OR connection expired, we might close it before
finishing a flush if the other side isn't reading.
svn:r1240
Roger Dingledine [Sat, 6 Mar 2004 05:10:07 +0000 (05:10 +0000)]
if a stream times out after 15s without a connected cell,
don't try that circuit again.
svn:r1239
Roger Dingledine [Sat, 6 Mar 2004 05:09:33 +0000 (05:09 +0000)]
if the directory client hangs up before getting the directory,
then give up on him
svn:r1238
Roger Dingledine [Sat, 6 Mar 2004 01:47:31 +0000 (01:47 +0000)]
bump cvs to pre26
svn:r1237
Roger Dingledine [Sat, 6 Mar 2004 01:43:37 +0000 (01:43 +0000)]
stop asserting that computers always go forward in time
it's simply not true
svn:r1236
Nick Mathewson [Fri, 5 Mar 2004 05:48:28 +0000 (05:48 +0000)]
New, more flexible directory parsing backend. Uses a bit more RAM, but implements the new spec. Uses more RAM, but not so you would notice.
svn:r1235
Roger Dingledine [Thu, 4 Mar 2004 21:40:38 +0000 (21:40 +0000)]
changelog for pre25
svn:r1233
Roger Dingledine [Thu, 4 Mar 2004 21:26:23 +0000 (21:26 +0000)]
make workers explain their death better when tor dies
and make them say it at log level info rather than err
svn:r1232
Roger Dingledine [Thu, 4 Mar 2004 20:49:38 +0000 (20:49 +0000)]
bugfix: don't pass complex things to the connection_mark_for_close macro
svn:r1231
Nick Mathewson [Thu, 4 Mar 2004 18:43:44 +0000 (18:43 +0000)]
Clean up dns->connection_mark_for_close->dns_remove path
svn:r1230
Roger Dingledine [Thu, 4 Mar 2004 17:19:32 +0000 (17:19 +0000)]
ok ok only requires root if it requires root
svn:r1229
Roger Dingledine [Thu, 4 Mar 2004 17:17:24 +0000 (17:17 +0000)]
note that make install requires root
svn:r1228
Nick Mathewson [Thu, 4 Mar 2004 04:01:28 +0000 (04:01 +0000)]
Make decriptor format more flexible and extensible
svn:r1227
Roger Dingledine [Thu, 4 Mar 2004 01:53:56 +0000 (01:53 +0000)]
Store options->Address as IP, not hostname
And figure it out while reading config, not every time you
rebuild the descriptor
svn:r1226
Nick Mathewson [Wed, 3 Mar 2004 22:49:15 +0000 (22:49 +0000)]
Try to find out early if buffers get trashed or double-freed.
svn:r1225
Peter Palfrader [Wed, 3 Mar 2004 13:23:19 +0000 (13:23 +0000)]
Wait for tor to die in init stop. Let the user know if it doesn't
svn:r1223
Peter Palfrader [Wed, 3 Mar 2004 12:56:04 +0000 (12:56 +0000)]
Always enable DataDirectory, requires dpatch
svn:r1222
Peter Palfrader [Wed, 3 Mar 2004 12:33:40 +0000 (12:33 +0000)]
Add "# ulimit -c unlimited" to tor.default
svn:r1221
Peter Palfrader [Wed, 3 Mar 2004 12:32:21 +0000 (12:32 +0000)]
Do not strip binaries for now
svn:r1220
Peter Palfrader [Wed, 3 Mar 2004 12:31:04 +0000 (12:31 +0000)]
New upstream release
svn:r1219
Roger Dingledine [Wed, 3 Mar 2004 09:55:14 +0000 (09:55 +0000)]
bump cvs to pre25
svn:r1218
Roger Dingledine [Wed, 3 Mar 2004 09:41:13 +0000 (09:41 +0000)]
commit the pre24 changelog
svn:r1216
Roger Dingledine [Wed, 3 Mar 2004 08:48:32 +0000 (08:48 +0000)]
and a minor patch
svn:r1215
Roger Dingledine [Wed, 3 Mar 2004 08:46:18 +0000 (08:46 +0000)]
holding until flush was borked
we were never writing anything when hold_open_until_flushed was set,
since conn_write returns early if marked_for_conn is set.
seems a bit better now.
svn:r1214
Roger Dingledine [Wed, 3 Mar 2004 07:26:58 +0000 (07:26 +0000)]
better debugging for lonely flushes
svn:r1213
Roger Dingledine [Wed, 3 Mar 2004 07:26:34 +0000 (07:26 +0000)]
close immediately when write() fails too, else things will turn bad
svn:r1212
Roger Dingledine [Wed, 3 Mar 2004 07:24:53 +0000 (07:24 +0000)]
don't mark_for_close again when the destroy arrives after the end cell
svn:r1211
Roger Dingledine [Wed, 3 Mar 2004 06:26:34 +0000 (06:26 +0000)]
use conn->hold_open_until_flushed for streams
and also note/fix a variety of other stream-based bugs
svn:r1210
Nick Mathewson [Wed, 3 Mar 2004 05:08:01 +0000 (05:08 +0000)]
Implement hold_open_until_flushed. I may have missed something important.
svn:r1209
Roger Dingledine [Wed, 3 Mar 2004 04:54:16 +0000 (04:54 +0000)]
make socks5 not give a spurious warning
also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT
svn:r1208
Roger Dingledine [Wed, 3 Mar 2004 04:11:18 +0000 (04:11 +0000)]
reenable part of assert_circuit_ok, leave some still disabled
svn:r1207
Roger Dingledine [Wed, 3 Mar 2004 03:02:06 +0000 (03:02 +0000)]
make circuit-building less noisy when a node in your exclude/exit/entrynodes is down
svn:r1206
Nick Mathewson [Wed, 3 Mar 2004 02:24:17 +0000 (02:24 +0000)]
Fix (maybe) assert_circuit_ok. leave it disabled till arma confirms
svn:r1205
Nick Mathewson [Wed, 3 Mar 2004 02:14:35 +0000 (02:14 +0000)]
remove redundant check
svn:r1204
Nick Mathewson [Wed, 3 Mar 2004 02:07:57 +0000 (02:07 +0000)]
warn more when losing data on closed/marked connections.
svn:r1203
Roger Dingledine [Wed, 3 Mar 2004 01:58:45 +0000 (01:58 +0000)]
bugfix: close_immediate called buf_clear but listeners don't have bufs
svn:r1202
Nick Mathewson [Wed, 3 Mar 2004 01:37:54 +0000 (01:37 +0000)]
Nth time is the charm on list manip.
svn:r1201
Roger Dingledine [Tue, 2 Mar 2004 19:28:15 +0000 (19:28 +0000)]
fix the rpm spec description again
svn:r1200
Nick Mathewson [Tue, 2 Mar 2004 19:09:30 +0000 (19:09 +0000)]
Integrate jbash's RPM spec into build process. (Requires "rpmbuild" to
build properly. Works fine on redhat 9. YMMV.)
svn:r1199
Roger Dingledine [Tue, 2 Mar 2004 18:08:07 +0000 (18:08 +0000)]
fix a pair of lurking segfaults
svn:r1198
Nick Mathewson [Tue, 2 Mar 2004 17:48:17 +0000 (17:48 +0000)]
Split out mark_for_close with circuits. Seems to work for me.
svn:r1197
Nick Mathewson [Tue, 2 Mar 2004 07:24:11 +0000 (07:24 +0000)]
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
Roger Dingledine [Tue, 2 Mar 2004 05:19:01 +0000 (05:19 +0000)]
add --version, note that --help is probably obsolete
svn:r1195
Roger Dingledine [Tue, 2 Mar 2004 05:00:50 +0000 (05:00 +0000)]
make config_assign fail rather than warn for unrecognized config options
svn:r1194
Roger Dingledine [Tue, 2 Mar 2004 04:59:52 +0000 (04:59 +0000)]
make parse_line_from_file fail rather than warn for malformed lines
svn:r1193
Roger Dingledine [Mon, 1 Mar 2004 12:37:45 +0000 (12:37 +0000)]
note an assert trigger bug
nick, want to fix this? :)
svn:r1192
Roger Dingledine [Mon, 1 Mar 2004 06:58:21 +0000 (06:58 +0000)]
update the todo
svn:r1191
Nick Mathewson [Mon, 1 Mar 2004 06:45:32 +0000 (06:45 +0000)]
make 'make test' exit(1) if a test fails.
svn:r1190
Nick Mathewson [Mon, 1 Mar 2004 05:56:34 +0000 (05:56 +0000)]
revise spec. It still needs more explanation to be intelligible by the uninitiated, but it is at least far less incorrect.
svn:r1189
Roger Dingledine [Sun, 29 Feb 2004 22:34:38 +0000 (22:34 +0000)]
put switch_id and start_daemon earlier
svn:r1188
Roger Dingledine [Sun, 29 Feb 2004 22:07:44 +0000 (22:07 +0000)]
fix duplicate call to connection_mark_for_close
svn:r1187
Roger Dingledine [Sun, 29 Feb 2004 22:04:52 +0000 (22:04 +0000)]
bugfix: we were checking the wrong thing to see if 'reason'
was out of range
svn:r1186
Peter Palfrader [Sun, 29 Feb 2004 13:34:43 +0000 (13:34 +0000)]
New upstream release.
Upstream tests got fixed
svn:r1184
Roger Dingledine [Sun, 29 Feb 2004 11:25:52 +0000 (11:25 +0000)]
bump cvs to pre24
svn:r1183
Roger Dingledine [Sun, 29 Feb 2004 11:13:14 +0000 (11:13 +0000)]
changelog for pre23
svn:r1181
Roger Dingledine [Sun, 29 Feb 2004 09:15:29 +0000 (09:15 +0000)]
when a stream is 15s late, print out the circuit at -l warn
svn:r1180
Roger Dingledine [Sun, 29 Feb 2004 03:52:38 +0000 (03:52 +0000)]
print a statement when the first circ is finished,
so the user knows it's working
svn:r1179
Roger Dingledine [Sun, 29 Feb 2004 01:31:33 +0000 (01:31 +0000)]
bugfix: only warn about an unrouter router after we've fetched a directory
svn:r1178
Roger Dingledine [Sun, 29 Feb 2004 00:15:20 +0000 (00:15 +0000)]
disable buffer tests, until we rewrite them (one of them fails)
svn:r1177
Roger Dingledine [Sun, 29 Feb 2004 00:11:37 +0000 (00:11 +0000)]
create a separate connection_edge_destroy() function
svn:r1176
Roger Dingledine [Sat, 28 Feb 2004 23:56:50 +0000 (23:56 +0000)]
bugfix: when we time out on a stream and detach, send an end first
svn:r1175
Roger Dingledine [Sat, 28 Feb 2004 23:52:56 +0000 (23:52 +0000)]
bugfix: in some cases, connection_mark_for_close wasn't marking the conn
svn:r1174
Roger Dingledine [Sat, 28 Feb 2004 23:31:15 +0000 (23:31 +0000)]
clearer warning message
svn:r1173
Roger Dingledine [Sat, 28 Feb 2004 23:30:41 +0000 (23:30 +0000)]
disallow changing from ORPort==0 to ORPort>0 on hup
svn:r1172
Roger Dingledine [Sat, 28 Feb 2004 23:23:06 +0000 (23:23 +0000)]
cwd to datadir if it's defined, rather than /
this way people can get cores if they want to
svn:r1171
Roger Dingledine [Sat, 28 Feb 2004 23:21:29 +0000 (23:21 +0000)]
bugfix: stop trying to write to a stderr that may not be there
also, tell start_daemon our desired cwd
svn:r1170
Roger Dingledine [Sat, 28 Feb 2004 22:34:47 +0000 (22:34 +0000)]
fix the function comment
svn:r1169
Nick Mathewson [Sat, 28 Feb 2004 22:23:44 +0000 (22:23 +0000)]
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
Roger Dingledine [Sat, 28 Feb 2004 22:13:58 +0000 (22:13 +0000)]
add a log_warn to notify us of yet another potential dns.c bug
svn:r1167
Nick Mathewson [Sat, 28 Feb 2004 22:06:59 +0000 (22:06 +0000)]
Make dns_cancel_pending_resolve less agressive.
svn:r1166
Nick Mathewson [Sat, 28 Feb 2004 21:52:58 +0000 (21:52 +0000)]
Fix bug on dns_found_answer from mark_to_close stuff.
svn:r1165
Roger Dingledine [Sat, 28 Feb 2004 21:49:10 +0000 (21:49 +0000)]
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
Nick Mathewson [Sat, 28 Feb 2004 19:14:11 +0000 (19:14 +0000)]
Stop trying to flush on broken sockets marked for close.
svn:r1163
Roger Dingledine [Sat, 28 Feb 2004 11:48:22 +0000 (11:48 +0000)]
some comments to point nick at the latest bugs
svn:r1162
Roger Dingledine [Sat, 28 Feb 2004 11:44:07 +0000 (11:44 +0000)]
better explain exit policies in the torrc
svn:r1161
Roger Dingledine [Sat, 28 Feb 2004 07:51:30 +0000 (07:51 +0000)]
enable assert_connection_ok()
we weren't actually asserting much. oops.
svn:r1160
Roger Dingledine [Sat, 28 Feb 2004 07:48:28 +0000 (07:48 +0000)]
note bug in assert_connection_ok
svn:r1159
Roger Dingledine [Sat, 28 Feb 2004 07:01:22 +0000 (07:01 +0000)]
clean up some log messages and severities
still plenty more left to clean
svn:r1158
Roger Dingledine [Sat, 28 Feb 2004 05:22:07 +0000 (05:22 +0000)]
make flush_buf have a sane return convention
svn:r1157