]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agomore details when a conn is closed before it's done flushing
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

21 years agostart tracking the 'broken pipe' error
Roger Dingledine [Thu, 11 Mar 2004 20:15:53 +0000 (20:15 +0000)] 
start tracking the 'broken pipe' error

svn:r1261

21 years agoMake all the other read/writes into recv/sends, except when they shouldn't be.
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

21 years agoUnDOSify CRLF->LF.
Nick Mathewson [Thu, 11 Mar 2004 06:22:53 +0000 (06:22 +0000)] 
UnDOSify CRLF->LF.

svn:r1259

21 years agoMake OP work on windows! (Also misc logging tweaks)
Nick Mathewson [Thu, 11 Mar 2004 06:19:08 +0000 (06:19 +0000)] 
Make OP work on windows! (Also misc logging tweaks)

svn:r1258

21 years agoGet entropy in windows.
Nick Mathewson [Thu, 11 Mar 2004 05:14:06 +0000 (05:14 +0000)] 
Get entropy in windows.

svn:r1257

21 years agoMention log and pidfile location in tor.1
Peter Palfrader [Wed, 10 Mar 2004 15:36:32 +0000 (15:36 +0000)] 
Mention log and pidfile location in tor.1

svn:r1256

21 years agoOops, the changelog for pre25 was not commited debian-version-0.0.1+0.0.2pre25-1
Peter Palfrader [Wed, 10 Mar 2004 15:35:33 +0000 (15:35 +0000)] 
Oops, the changelog for pre25 was not commited

svn:r1254

21 years agoactually, if recommendedversions is required for dirservers,
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

21 years agogive a useful error message to clients when the dirserver hasn't
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

21 years agoSome stuff *should* be signed
Nick Mathewson [Wed, 10 Mar 2004 06:57:57 +0000 (06:57 +0000)] 
Some stuff *should* be signed

svn:r1251

21 years agoMake windows version correct; initialize windows foolishness so that gethostbyname...
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

21 years agoFix some bugs in parse_time
Nick Mathewson [Tue, 9 Mar 2004 22:17:35 +0000 (22:17 +0000)] 
Fix some bugs in parse_time

svn:r1249

21 years agoFix DOS line endings; autoconfize checks for strptime and inet_aton
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

21 years agoMake tor build on windows again. More work still needed
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

21 years agostop troubling router operators with unapproved router connect attempts
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

21 years agobugfix: only set conn->hold_open_until_flushed after marking
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

21 years agowhen you get a desc from an unknown router, log its fingerprint
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

21 years agoclarifying comment for crypto_pk_get_fingerprint
Roger Dingledine [Mon, 8 Mar 2004 00:11:37 +0000 (00:11 +0000)] 
clarifying comment for crypto_pk_get_fingerprint

svn:r1243

21 years agore-try streams at most 4 times
Roger Dingledine [Sun, 7 Mar 2004 23:50:15 +0000 (23:50 +0000)] 
re-try streams at most 4 times

svn:r1242

21 years agoimprove comments for server operators (maybe)
Roger Dingledine [Sun, 7 Mar 2004 10:18:15 +0000 (10:18 +0000)] 
improve comments for server operators (maybe)

svn:r1241

21 years agofix a rare race condition: when we send a cell and then
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

21 years agoif a stream times out after 15s without a connected cell,
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

21 years agoif the directory client hangs up before getting the directory,
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

21 years agobump cvs to pre26
Roger Dingledine [Sat, 6 Mar 2004 01:47:31 +0000 (01:47 +0000)] 
bump cvs to pre26

svn:r1237

21 years agostop asserting that computers always go forward in time
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

21 years agoNew, more flexible directory parsing backend. Uses a bit more RAM, but implements...
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

21 years agochangelog for pre25 tor-0.0.2pre25
Roger Dingledine [Thu, 4 Mar 2004 21:40:38 +0000 (21:40 +0000)] 
changelog for pre25

svn:r1233

21 years agomake workers explain their death better when tor dies
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

21 years agobugfix: don't pass complex things to the connection_mark_for_close macro
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

21 years agoClean up dns->connection_mark_for_close->dns_remove path
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

21 years agook ok only requires root if it requires root
Roger Dingledine [Thu, 4 Mar 2004 17:19:32 +0000 (17:19 +0000)] 
ok ok only requires root if it requires root

svn:r1229

21 years agonote that make install requires root
Roger Dingledine [Thu, 4 Mar 2004 17:17:24 +0000 (17:17 +0000)] 
note that make install requires root

svn:r1228

21 years agoMake decriptor format more flexible and extensible
Nick Mathewson [Thu, 4 Mar 2004 04:01:28 +0000 (04:01 +0000)] 
Make decriptor format more flexible and extensible

svn:r1227

21 years agoStore options->Address as IP, not hostname
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

21 years agoTry to find out early if buffers get trashed or double-freed.
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

21 years agoWait for tor to die in init stop. Let the user know if it doesn't debian-version-0.0.1+0.0.2pre24-1
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

21 years agoAlways enable DataDirectory, requires dpatch
Peter Palfrader [Wed, 3 Mar 2004 12:56:04 +0000 (12:56 +0000)] 
Always enable DataDirectory, requires dpatch

svn:r1222

21 years agoAdd "# ulimit -c unlimited" to tor.default
Peter Palfrader [Wed, 3 Mar 2004 12:33:40 +0000 (12:33 +0000)] 
Add "# ulimit -c unlimited" to tor.default

svn:r1221

21 years agoDo not strip binaries for now
Peter Palfrader [Wed, 3 Mar 2004 12:32:21 +0000 (12:32 +0000)] 
Do not strip binaries for now

svn:r1220

21 years agoNew upstream release
Peter Palfrader [Wed, 3 Mar 2004 12:31:04 +0000 (12:31 +0000)] 
New upstream release

svn:r1219

21 years agobump cvs to pre25
Roger Dingledine [Wed, 3 Mar 2004 09:55:14 +0000 (09:55 +0000)] 
bump cvs to pre25

svn:r1218

21 years agocommit the pre24 changelog tor-0.0.2pre24
Roger Dingledine [Wed, 3 Mar 2004 09:41:13 +0000 (09:41 +0000)] 
commit the pre24 changelog

svn:r1216

21 years agoand a minor patch
Roger Dingledine [Wed, 3 Mar 2004 08:48:32 +0000 (08:48 +0000)] 
and a minor patch

svn:r1215

21 years agoholding until flush was borked
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

21 years agobetter debugging for lonely flushes
Roger Dingledine [Wed, 3 Mar 2004 07:26:58 +0000 (07:26 +0000)] 
better debugging for lonely flushes

svn:r1213

21 years agoclose immediately when write() fails too, else things will turn bad
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

21 years agodon't mark_for_close again when the destroy arrives after the end cell
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

21 years agouse conn->hold_open_until_flushed for streams
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

21 years agoImplement hold_open_until_flushed. I may have missed something important.
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

21 years agomake socks5 not give a spurious warning
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

21 years agoreenable part of assert_circuit_ok, leave some still disabled
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

21 years agomake circuit-building less noisy when a node in your exclude/exit/entrynodes is down
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

21 years agoFix (maybe) assert_circuit_ok. leave it disabled till arma confirms
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

21 years agoremove redundant check
Nick Mathewson [Wed, 3 Mar 2004 02:14:35 +0000 (02:14 +0000)] 
remove redundant check

svn:r1204

21 years agowarn more when losing data on closed/marked connections.
Nick Mathewson [Wed, 3 Mar 2004 02:07:57 +0000 (02:07 +0000)] 
warn more when losing data on closed/marked connections.

svn:r1203

21 years agobugfix: close_immediate called buf_clear but listeners don't have bufs
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

21 years agoNth time is the charm on list manip.
Nick Mathewson [Wed, 3 Mar 2004 01:37:54 +0000 (01:37 +0000)] 
Nth time is the charm on list manip.

svn:r1201

21 years agofix the rpm spec description again
Roger Dingledine [Tue, 2 Mar 2004 19:28:15 +0000 (19:28 +0000)] 
fix the rpm spec description again

svn:r1200

21 years agoIntegrate jbash's RPM spec into build process. (Requires "rpmbuild" to
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

21 years agofix a pair of lurking segfaults
Roger Dingledine [Tue, 2 Mar 2004 18:08:07 +0000 (18:08 +0000)] 
fix a pair of lurking segfaults

svn:r1198

21 years agoSplit out mark_for_close with circuits. Seems to work for me.
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

21 years agoFix assertion failure spotted by arma.
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

21 years agoadd --version, note that --help is probably obsolete
Roger Dingledine [Tue, 2 Mar 2004 05:19:01 +0000 (05:19 +0000)] 
add --version, note that --help is probably obsolete

svn:r1195

21 years agomake config_assign fail rather than warn for unrecognized config options
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

21 years agomake parse_line_from_file fail rather than warn for malformed lines
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

21 years agonote an assert trigger bug
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

21 years agoupdate the todo
Roger Dingledine [Mon, 1 Mar 2004 06:58:21 +0000 (06:58 +0000)] 
update the todo

svn:r1191

21 years agomake 'make test' exit(1) if a test fails.
Nick Mathewson [Mon, 1 Mar 2004 06:45:32 +0000 (06:45 +0000)] 
make 'make test' exit(1) if a test fails.

svn:r1190

21 years agorevise spec. It still needs more explanation to be intelligible by the uninitiated...
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

21 years agoput switch_id and start_daemon earlier
Roger Dingledine [Sun, 29 Feb 2004 22:34:38 +0000 (22:34 +0000)] 
put switch_id and start_daemon earlier

svn:r1188

21 years agofix duplicate call to connection_mark_for_close
Roger Dingledine [Sun, 29 Feb 2004 22:07:44 +0000 (22:07 +0000)] 
fix duplicate call to connection_mark_for_close

svn:r1187

21 years agobugfix: we were checking the wrong thing to see if 'reason'
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

21 years agoNew upstream release. debian-version-0.0.1+0.0.2pre23-1
Peter Palfrader [Sun, 29 Feb 2004 13:34:43 +0000 (13:34 +0000)] 
New upstream release.
Upstream tests got fixed

svn:r1184

21 years agobump cvs to pre24
Roger Dingledine [Sun, 29 Feb 2004 11:25:52 +0000 (11:25 +0000)] 
bump cvs to pre24

svn:r1183

21 years agochangelog for pre23 tor-0.0.2pre23
Roger Dingledine [Sun, 29 Feb 2004 11:13:14 +0000 (11:13 +0000)] 
changelog for pre23

svn:r1181

21 years agowhen a stream is 15s late, print out the circuit at -l warn
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

21 years agoprint a statement when the first circ is finished,
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

21 years agobugfix: only warn about an unrouter router after we've fetched a directory
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

21 years agodisable buffer tests, until we rewrite them (one of them fails)
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

21 years agocreate a separate connection_edge_destroy() function
Roger Dingledine [Sun, 29 Feb 2004 00:11:37 +0000 (00:11 +0000)] 
create a separate connection_edge_destroy() function

svn:r1176

21 years agobugfix: when we time out on a stream and detach, send an end first
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

21 years agobugfix: in some cases, connection_mark_for_close wasn't marking the conn
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

21 years agoclearer warning message
Roger Dingledine [Sat, 28 Feb 2004 23:31:15 +0000 (23:31 +0000)] 
clearer warning message

svn:r1173

21 years agodisallow changing from ORPort==0 to ORPort>0 on hup
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

21 years agocwd to datadir if it's defined, rather than /
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

21 years agobugfix: stop trying to write to a stderr that may not be there
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

21 years agofix the function comment
Roger Dingledine [Sat, 28 Feb 2004 22:34:47 +0000 (22:34 +0000)] 
fix the function comment

svn:r1169

21 years agoSplit dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill a
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

21 years agoadd a log_warn to notify us of yet another potential dns.c bug
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

21 years agoMake dns_cancel_pending_resolve less agressive.
Nick Mathewson [Sat, 28 Feb 2004 22:06:59 +0000 (22:06 +0000)] 
Make dns_cancel_pending_resolve less agressive.

svn:r1166

21 years agoFix bug on dns_found_answer from mark_to_close stuff.
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

21 years agoremove assert from dns.c that's no longer true:
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

21 years agoStop trying to flush on broken sockets marked for close.
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

21 years agosome comments to point nick at the latest bugs
Roger Dingledine [Sat, 28 Feb 2004 11:48:22 +0000 (11:48 +0000)] 
some comments to point nick at the latest bugs

svn:r1162

21 years agobetter explain exit policies in the torrc
Roger Dingledine [Sat, 28 Feb 2004 11:44:07 +0000 (11:44 +0000)] 
better explain exit policies in the torrc

svn:r1161

21 years agoenable assert_connection_ok()
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

21 years agonote bug in assert_connection_ok
Roger Dingledine [Sat, 28 Feb 2004 07:48:28 +0000 (07:48 +0000)] 
note bug in assert_connection_ok

svn:r1159

21 years agoclean up some log messages and severities
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

21 years agomake flush_buf have a sane return convention
Roger Dingledine [Sat, 28 Feb 2004 05:22:07 +0000 (05:22 +0000)] 
make flush_buf have a sane return convention

svn:r1157