Commit Graph

3818 Commits

Author SHA1 Message Date
Roger Dingledine
b8fe866a9d forward-port the fixing of the crash bug.
svn:r3900
2005-03-27 07:18:30 +00:00
Roger Dingledine
92acd64da0 if your server hasn't found itself to be reachable, complain every
20 minutes, not just once.


svn:r3897
2005-03-27 06:50:36 +00:00
Nick Mathewson
fca6800b8b Rename option in control-spec.txt too.
svn:r3896
2005-03-27 06:42:27 +00:00
Roger Dingledine
7a79acd9f6 clean up socks reply stuff more.
add a few more reasons so we can be more informative.


svn:r3895
2005-03-27 06:37:56 +00:00
Nick Mathewson
ce854906db Rename ManageConnections to LeaveStreamsUnattached. Apparently, there was a missing "TorShould" that was mistaken for an "IWantTo".
svn:r3894
2005-03-27 06:25:33 +00:00
Roger Dingledine
ee24166851 update todo a bit more
svn:r3893
2005-03-27 05:13:58 +00:00
Roger Dingledine
d751d4048b change control spec so closestream doesn't get to specify whether
tor should hold-open-until-flushed. tor should take care of that
(it should always hold open until flushed), and the controller should
never care _how_ tor does its things.


svn:r3892
2005-03-27 04:56:01 +00:00
Roger Dingledine
36baf7219d stop most cases of hanging up on a socks connection without sending
the socks reject. audit for remaining ones. also make things more
uniform so we always remember to hold-open-until-flushed, etc.


svn:r3891
2005-03-27 04:55:13 +00:00
Nick Mathewson
efb5db449a Describe where to find torrc on OS X
svn:r3889
2005-03-27 01:11:45 +00:00
Roger Dingledine
19553eebec update version pointers on osx/win32 docs
svn:r3888
2005-03-26 14:55:56 +00:00
Roger Dingledine
4533a46e41 move the assert higher up so the error message makes more sense
next time.


svn:r3887
2005-03-26 06:27:51 +00:00
Roger Dingledine
fcfe6d2e8b fix assert: stop trying to send a socks reply to an *exit*
connection when we get an end cell before it's finished opening.


svn:r3886
2005-03-26 06:27:04 +00:00
Roger Dingledine
9e1543401f add another instance of the word 'hibernation' in the description
for accountingmax, since nobody searches for it by the name
accountingmax.


svn:r3885
2005-03-26 06:15:43 +00:00
Roger Dingledine
b8d38dc57b try harder to establish reachability, in the first 20 minutes
of uptime.


svn:r3884
2005-03-26 05:54:50 +00:00
Roger Dingledine
e692e73853 deal with the fact that tor-control.py got renamed
svn:r3883
2005-03-26 01:45:50 +00:00
Roger Dingledine
1328383482 make it clearer to the human that his server is testing
its reachability. tell him when it succeeds, or when 20
minutes pass and it hasn't succeeded yet.


svn:r3882
2005-03-26 01:43:39 +00:00
Roger Dingledine
e203d47192 first cut of a 0.1.0.1-rc1 changelog
svn:r3881
2005-03-26 00:46:02 +00:00
Nick Mathewson
5c0e6b587a Rename tor-control.py to TorControl.py; begin making it into a useful library instead of a lame testing script.
svn:r3879
2005-03-25 20:52:51 +00:00
Nick Mathewson
c5845c1784 Remind us to fwd-port accept fix.
svn:r3878
2005-03-25 20:51:47 +00:00
Roger Dingledine
570da8a8e8 and fill in another missing socks reply
svn:r3877
2005-03-25 11:23:03 +00:00
Roger Dingledine
9b9dbad0b7 fix another case where we need to send a socks reply (reject)
back before we close the conn.


svn:r3876
2005-03-25 11:12:14 +00:00
Roger Dingledine
8945df8daa remove dead code
svn:r3875
2005-03-25 10:55:49 +00:00
Roger Dingledine
9685164fe5 don't mark a router down just because your httpsproxy is unreachable
svn:r3874
2005-03-25 10:55:06 +00:00
Nick Mathewson
d26bcfab92 Note where connection that hasnt sent end was marked.
svn:r3872
2005-03-25 05:54:50 +00:00
Nick Mathewson
5edd94b27e Clarify behavior of SETEVENTS: it is SET, not ADD.
svn:r3871
2005-03-25 05:49:01 +00:00
Peter Palfrader
44a6878331 Forward port debian changelog to head
svn:r3870
2005-03-25 00:53:22 +00:00
Roger Dingledine
bd37c9a3bd REUSEADDR on normal places means you can rebind to the port
right after somebody else has let it go. But REUSEADDR on win32
means to let you bind to the port _even when somebody else
already has it bound_. So, don't do that on Win32.


svn:r3867
2005-03-24 23:20:06 +00:00
Roger Dingledine
4abb54a876 forward-port the circuit_resume_edge_reading_helper fix.
svn:r3863
2005-03-24 21:57:45 +00:00
Roger Dingledine
4dc570bf60 note that you can't attachstream to a non-open circuit.
svn:r3858
2005-03-24 06:29:28 +00:00
Roger Dingledine
fa3c9d94bc when you attachstream to a circid of 0, send back an answer
svn:r3857
2005-03-24 06:28:21 +00:00
Roger Dingledine
09ef2b7e41 cleanup so connection_ap_handshake_attach_chosen_circuit() always
gets open circs.


svn:r3856
2005-03-24 06:18:59 +00:00
Nick Mathewson
13fdf51bc1 Bulletproof connection_ap_handshake_attach_chosen_circuit
svn:r3855
2005-03-24 06:05:14 +00:00
Geoff Goodell
8fc1061b84 added short descriptions to circuit-related event codes
svn:r3854
2005-03-24 05:30:08 +00:00
Nick Mathewson
27e00e3fdd Document EXTENDCIRCUIT DONE message behavior.
svn:r3853
2005-03-24 01:15:39 +00:00
Nick Mathewson
ba578f0ed6 Fix Python resolve script so we have an easy way to test SOCKS5 resolves.
svn:r3852
2005-03-24 01:13:27 +00:00
Nick Mathewson
7521f2d58a Move some TODO items out of the 0.1.0.1-rc pile
svn:r3851
2005-03-24 01:12:38 +00:00
Nick Mathewson
8e8915f3ca Fix SOCKS5 bug: Set replylen to 0 after sending hanshake back
svn:r3850
2005-03-24 01:11:28 +00:00
Nick Mathewson
0cfdeb01c8 Debug EXTENDCIRCUIT
svn:r3849
2005-03-24 01:08:25 +00:00
Nick Mathewson
2930a3eef0 Bump OSX versions.
svn:r3848
2005-03-24 01:06:05 +00:00
Roger Dingledine
0dc91fd9c0 fix an assert -- we're not allowed to write onto a conn after we've
connection_unregistered it. there's still more work to be done here,
since we need to make sure to send back the socks-reply as soon as we
know what it will be -- we can't just wait until connection-about-to-close
to deal with it.


svn:r3847
2005-03-23 23:19:18 +00:00
Roger Dingledine
fb8a319ffe fix an over-eager assert, to make httpsproxy get a little farther
svn:r3846
2005-03-23 22:11:59 +00:00
Roger Dingledine
935d0d9685 bump cvs to 0.1.0.1-rc
svn:r3845
2005-03-23 22:00:42 +00:00
Nick Mathewson
fbf2289d37 Remove @LOCALSTATEDIR@ macros when building windows package
svn:r3842
2005-03-23 21:28:37 +00:00
Roger Dingledine
a799dad937 forward-port the commenting out of the assert that glenn fink was
triggering. we still don't know why he was triggering it.


svn:r3841
2005-03-23 20:42:37 +00:00
Nick Mathewson
4ee6addf57 Fix bug 44: on HUP, if descriptor building fails (say, because router_get_my_address() fails), use old descriptor and warn.
svn:r3839
2005-03-23 20:28:40 +00:00
Nick Mathewson
6e4bccc4ac Make GETINFO for "network-status" work on non-authdirs
svn:r3837
2005-03-23 19:15:10 +00:00
Nick Mathewson
b9016bd18f Fix several bugs (including some crashes) related to control interface; implement missing desc/name functionality.
svn:r3836
2005-03-23 08:40:11 +00:00
Nick Mathewson
291548c4e4 Note that GETINFO (via the controller) for network-status will not work on non-authdirectories right now.
svn:r3835
2005-03-23 08:39:21 +00:00
Nick Mathewson
f362b41b27 Make tor-control.py demo script exercise more of the controller interface, and provide a more useful set of functions itself.
svn:r3834
2005-03-23 08:36:47 +00:00
Nick Mathewson
0b7a9e2e7b Be willing to cache directories from up to ROUTER_MAX_AGE seconds into the future, now that we are more tolerant of skew.
svn:r3832
2005-03-23 06:39:53 +00:00