Nick Mathewson
062ae30ce5
Compare nicknames casei.
...
svn:r1684
2004-04-24 22:34:31 +00:00
Nick Mathewson
8789c762e5
Merge flagday into main branch.
...
svn:r1683
2004-04-24 22:17:50 +00:00
Roger Dingledine
3873bfd453
only expire wedged dir conns that haven't already been expired
...
svn:r1676
2004-04-20 17:27:54 +00:00
Roger Dingledine
d169a9955f
use the real socketpair if we've got it
...
now it's just windows that has to use the kludged one
svn:r1675
2004-04-19 21:31:32 +00:00
Roger Dingledine
454e912b2e
the socketpair bug is no longer a bug
...
now it is a documented behavior
svn:r1674
2004-04-19 21:25:48 +00:00
Roger Dingledine
95f1846cdc
expire wedged dir conns after 5min without write, not simply after 5min
...
svn:r1673
2004-04-19 20:08:42 +00:00
Roger Dingledine
0ba3485483
give wedged dir conns a last chance to flush
...
svn:r1671
2004-04-19 01:59:20 +00:00
Roger Dingledine
a9d60ea6c9
tmp patch to also expire old clean rend_ready circs for now
...
will have to be fixed once we build-and-open rend circs preemptively
svn:r1668
2004-04-18 09:27:05 +00:00
Roger Dingledine
085a5f02b5
bugfix: you mean we're supposed to reuse fresh descriptors and
...
refetch stale ones, not reuse stale ones and refetch fresh ones?
svn:r1667
2004-04-18 09:04:37 +00:00
Roger Dingledine
571f44297d
when you get an intro ack, don't also count it as an intro nack
...
svn:r1666
2004-04-18 08:38:40 +00:00
Roger Dingledine
e85bc629d2
if an intro circ waiting for an ack dies before getting one, then
...
count it as a nack
svn:r1665
2004-04-18 07:37:16 +00:00
Roger Dingledine
44e48ba701
reverse the logic, captain
...
svn:r1664
2004-04-18 06:42:13 +00:00
Roger Dingledine
ccdb2528a8
expire dir connections that live for more than 5 minutes
...
svn:r1663
2004-04-18 06:35:31 +00:00
Roger Dingledine
166c70e4db
bugfix: give dir_conn a state before building the bridge, so it has
...
a state if things fail
svn:r1660
2004-04-17 20:19:43 +00:00
Roger Dingledine
7172c1fcd0
log n_circ_ids when attaching rend streams
...
svn:r1657
2004-04-17 10:25:38 +00:00
Roger Dingledine
90eb828260
a ! goes a long way toward more helpful debug messages
...
svn:r1656
2004-04-17 10:04:00 +00:00
Roger Dingledine
63f4ab2fb9
include sys/limits.h if it's found
...
svn:r1654
2004-04-17 06:35:18 +00:00
Roger Dingledine
af8e524096
util.c uses LONG_MAX, needs another include on fbsd 5.x
...
svn:r1653
2004-04-17 06:35:03 +00:00
Roger Dingledine
b168e84c71
clean up some warnings
...
svn:r1651
2004-04-17 06:34:20 +00:00
Roger Dingledine
1c72f2d638
more useful logs to track weasel's bug
...
svn:r1649
2004-04-17 05:17:40 +00:00
Roger Dingledine
ad6913005a
more debugging to hunt for a bug
...
svn:r1647
2004-04-17 01:33:04 +00:00
Roger Dingledine
23a27ddd8e
bugfix: when you sleep your hidden-service laptop, as soon
...
as it wakes up it tries to upload a service descriptor, but
socketpair fails for some reason (localhost not up yet?)
now we simply give up on that upload, and we'll try again later.
svn:r1646
2004-04-17 00:46:05 +00:00
Roger Dingledine
7580001e0d
fix another rare bug: when we had tried all the intro
...
points for a hidden service, we fetched the descriptor
again, but we left our introcirc thinking it had already
sent an intro, so it kept waiting for a response...
svn:r1644
2004-04-16 14:35:28 +00:00
Roger Dingledine
063c8b15de
fix a pair of duplicate mark-for-closes
...
svn:r1643
2004-04-16 14:26:23 +00:00
Roger Dingledine
e5dc1dc6ee
when alice uses a port that the hidden service doesn't accept,
...
it now sends back an end cell (denied by exit policy). otherwise
alice would just have to wait to time out.
svn:r1642
2004-04-16 13:49:14 +00:00
Roger Dingledine
631b18c176
more useful logging for rend services and clients
...
svn:r1641
2004-04-16 11:48:03 +00:00
Roger Dingledine
4a43e8e917
wait a minute, weasel said there was a memory-stomping bug here
...
let's see if we find it
svn:r1639
2004-04-16 08:49:14 +00:00
Roger Dingledine
34dad88806
i was wrong about one of my invariants
...
now it's commented
this should fix asserts when you try an intro point, get a nack,
and try a second one and it works.
svn:r1637
2004-04-16 08:21:35 +00:00
Roger Dingledine
6392f7ca22
put in an extra assert, might find a bug these way
...
svn:r1636
2004-04-16 04:41:07 +00:00
Roger Dingledine
ba0c5a7204
compress end-of-second summary into one line
...
svn:r1635
2004-04-15 22:09:14 +00:00
Roger Dingledine
6aeba2dd46
quiet a -l info that should be -l debug
...
svn:r1634
2004-04-15 22:08:37 +00:00
Nick Mathewson
ab519463f1
Must detach before attaching, or else we infinite-loop
...
svn:r1632
2004-04-15 03:48:26 +00:00
Nick Mathewson
19e677fd1a
Strings need room for a NUL.
...
svn:r1630
2004-04-15 02:02:46 +00:00
Nick Mathewson
3ff56c5ccf
Add a missing return -1
...
svn:r1629
2004-04-15 01:23:43 +00:00
Roger Dingledine
ed2faa1f66
make unattached rend streams expire after a while (60s)
...
(they were darned persistent)
also make intro circs that are waiting for acks expire after a while (20s)
svn:r1628
2004-04-15 01:08:59 +00:00
Roger Dingledine
390a9545d5
narrow in closer
...
svn:r1627
2004-04-15 00:03:48 +00:00
Roger Dingledine
53d21b033c
prune abandoned circs better
...
add debugging info for the bug weasel found
svn:r1626
2004-04-14 23:52:29 +00:00
Nick Mathewson
d9bfeb6981
Retry non-final-hop rendezvous failures
...
svn:r1625
2004-04-14 21:40:50 +00:00
Nick Mathewson
e6cbd542ee
Never ever leave ri.platform unset.
...
svn:r1624
2004-04-14 19:51:57 +00:00
Roger Dingledine
d5c8a90536
make rendezvous points work again
...
(yay. now time to mess them up again.)
svn:r1619
2004-04-14 05:18:21 +00:00
Roger Dingledine
6da3f78ffc
handle more purposes in new_route_len
...
svn:r1618
2004-04-14 05:06:08 +00:00
Roger Dingledine
5b39c172d4
call circuit_build_failed() even when the failure is immediate
...
svn:r1617
2004-04-14 04:32:49 +00:00
Nick Mathewson
24824813ba
Do not segfault on missing intro points.
...
svn:r1616
2004-04-14 04:19:12 +00:00
Roger Dingledine
bd7c0e0c09
remove unused variable
...
svn:r1615
2004-04-13 23:01:10 +00:00
Roger Dingledine
ef92fd9827
let introcircs receive acks. rend streams now deal correctly again.
...
(i think)
svn:r1614
2004-04-13 22:56:24 +00:00
Nick Mathewson
1f7d3706e0
Scan list of servers in directory after reloading fingerprint list; remove any servers that are no longer recognized.
...
svn:r1613
2004-04-13 20:06:08 +00:00
Nick Mathewson
3da868b49f
only consider uploading descriptors every 5 sec
...
svn:r1612
2004-04-13 19:53:25 +00:00
Nick Mathewson
628d2eec08
or, not and
...
svn:r1610
2004-04-13 18:44:42 +00:00
Nick Mathewson
f62b3aafa3
Handle END_STREAM_REASON_{EXITPOLICY|RESOLVEFAILED}
...
svn:r1609
2004-04-13 17:49:41 +00:00
Nick Mathewson
93f6f8cc93
Mark service descriptors as dirty when we have lost an intro point
...
svn:r1608
2004-04-13 17:20:41 +00:00