Nick Mathewson
ee045a0406
Make tor build on windows again. More work still needed
...
svn:r1247
2004-03-09 22:01:17 +00:00
Roger Dingledine
9e22ad2c57
stop troubling router operators with unapproved router connect attempts
...
but give the dirserver operator more information
svn:r1246
2004-03-09 14:53:00 +00:00
Roger Dingledine
3689d4828e
bugfix: only set conn->hold_open_until_flushed after marking
...
svn:r1245
2004-03-08 01:19:57 +00:00
Roger Dingledine
3e2e37dabd
when you get a desc from an unknown router, log its fingerprint
...
svn:r1244
2004-03-08 00:15:40 +00:00
Roger Dingledine
ff4469c04b
clarifying comment for crypto_pk_get_fingerprint
...
svn:r1243
2004-03-08 00:11:37 +00:00
Roger Dingledine
6a3d451c4a
re-try streams at most 4 times
...
svn:r1242
2004-03-07 23:50:15 +00:00
Roger Dingledine
a3bebc17ba
improve comments for server operators (maybe)
...
svn:r1241
2004-03-07 10:18:15 +00:00
Roger Dingledine
f80c86d895
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
2004-03-06 06:05:00 +00:00
Roger Dingledine
5c2930f6f9
if a stream times out after 15s without a connected cell,
...
don't try that circuit again.
svn:r1239
2004-03-06 05:10:07 +00:00
Roger Dingledine
e654257580
if the directory client hangs up before getting the directory,
...
then give up on him
svn:r1238
2004-03-06 05:09:33 +00:00
Roger Dingledine
4cce3fcd58
bump cvs to pre26
...
svn:r1237
2004-03-06 01:47:31 +00:00
Roger Dingledine
9b29a48264
stop asserting that computers always go forward in time
...
it's simply not true
svn:r1236
2004-03-06 01:43:37 +00:00
Nick Mathewson
0d6af8e88c
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
2004-03-05 05:48:28 +00:00
Roger Dingledine
cf1e40bd84
changelog for pre25
...
svn:r1233
2004-03-04 21:40:38 +00:00
Roger Dingledine
13e1fabd20
make workers explain their death better when tor dies
...
and make them say it at log level info rather than err
svn:r1232
2004-03-04 21:26:23 +00:00
Roger Dingledine
6e969fefa3
bugfix: don't pass complex things to the connection_mark_for_close macro
...
svn:r1231
2004-03-04 20:49:38 +00:00
Nick Mathewson
9d708fb04f
Clean up dns->connection_mark_for_close->dns_remove path
...
svn:r1230
2004-03-04 18:43:44 +00:00
Roger Dingledine
8e94d6cf9c
ok ok only requires root if it requires root
...
svn:r1229
2004-03-04 17:19:32 +00:00
Roger Dingledine
b09516ac8d
note that make install requires root
...
svn:r1228
2004-03-04 17:17:24 +00:00
Nick Mathewson
6f7efe7cff
Make decriptor format more flexible and extensible
...
svn:r1227
2004-03-04 04:01:28 +00:00
Roger Dingledine
a3201eb44b
Store options->Address as IP, not hostname
...
And figure it out while reading config, not every time you
rebuild the descriptor
svn:r1226
2004-03-04 01:53:56 +00:00
Nick Mathewson
cfeae14638
Try to find out early if buffers get trashed or double-freed.
...
svn:r1225
2004-03-03 22:49:15 +00:00
Peter Palfrader
940e9ed1cb
Wait for tor to die in init stop. Let the user know if it doesn't
...
svn:r1223
2004-03-03 13:23:19 +00:00
Peter Palfrader
7a8581b8c0
Always enable DataDirectory, requires dpatch
...
svn:r1222
2004-03-03 12:56:04 +00:00
Peter Palfrader
b1d96a796f
Add "# ulimit -c unlimited" to tor.default
...
svn:r1221
2004-03-03 12:33:40 +00:00
Peter Palfrader
c9f256a2fa
Do not strip binaries for now
...
svn:r1220
2004-03-03 12:32:21 +00:00
Peter Palfrader
85b7ccad0d
New upstream release
...
svn:r1219
2004-03-03 12:31:04 +00:00
Roger Dingledine
3c3e41965e
bump cvs to pre25
...
svn:r1218
2004-03-03 09:55:14 +00:00
Roger Dingledine
d710449290
commit the pre24 changelog
...
svn:r1216
2004-03-03 09:41:13 +00:00
Roger Dingledine
b7e1edaa18
and a minor patch
...
svn:r1215
2004-03-03 08:48:32 +00:00
Roger Dingledine
eb37b306e7
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
2004-03-03 08:46:18 +00:00
Roger Dingledine
5c77b544e3
better debugging for lonely flushes
...
svn:r1213
2004-03-03 07:26:58 +00:00
Roger Dingledine
ba3ae71d13
close immediately when write() fails too, else things will turn bad
...
svn:r1212
2004-03-03 07:26:34 +00:00
Roger Dingledine
fad51d4316
don't mark_for_close again when the destroy arrives after the end cell
...
svn:r1211
2004-03-03 07:24:53 +00:00
Roger Dingledine
338a54f7f8
use conn->hold_open_until_flushed for streams
...
and also note/fix a variety of other stream-based bugs
svn:r1210
2004-03-03 06:26:34 +00:00
Nick Mathewson
df09e0abe9
Implement hold_open_until_flushed. I may have missed something important.
...
svn:r1209
2004-03-03 05:08:01 +00:00
Roger Dingledine
3cce369b0b
make socks5 not give a spurious warning
...
also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT
svn:r1208
2004-03-03 04:54:16 +00:00
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