aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Collapse)AuthorAge
* Change retry_listeners: when force is false, close and re-open a minimal set ↵Nick Mathewson2005-07-11
| | | | | | of listeners (i.e., those that do not match the configuration). This fixes a possible bug on some windowses. Maybe. svn:r4528
* Start implementing framework for revised control spec.Nick Mathewson2005-06-17
| | | | svn:r4447
* Remove code that has been #if-0ed for a long time.Nick Mathewson2005-06-15
| | | | svn:r4435
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* move more docs into our codeRoger Dingledine2005-06-11
| | | | svn:r4406
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* pay more attention to the ClientOnly config optionRoger Dingledine2005-06-09
| | | | svn:r4367
* reenable the part of the code that tries to flush as soon as an OR outbufRoger Dingledine2005-06-08
| | | | | | | | has a full tls record available. perhaps this will make OR outbufs not grow as huge except in rare cases, thus saving lots of cpu time plus memory. svn:r4343
* i screwed up the dirport reachability testing when we don't yetRoger Dingledine2005-05-23
| | | | | | | have a cached version of the directory. hopefully now fixed. svn:r4284
* If a socks connection ends because read fails, don't warn that you'reRoger Dingledine2005-05-21
| | | | | | | not sending a socks reply back. (bug reported by Warren Barrow) svn:r4277
* add HttpProxyAuthenticator config option tooRoger Dingledine2005-05-20
| | | | svn:r4272
* doxygeny goodness from tyranixRoger Dingledine2005-05-17
| | | | svn:r4262
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Change buffer shrinking strategy: only try to shrink once every 3 minutes. ↵Nick Mathewson2005-05-02
| | | | | | Do not try to read over buffer size unless buffer is nearly empty. svn:r4165
* Re-do fragmented control message handling to work with new buf_t system.Nick Mathewson2005-04-27
| | | | svn:r4144
* Clean/renormalize whitespaceNick Mathewson2005-04-26
| | | | svn:r4122
* clean up this TOR_FRAGILE businessRoger Dingledine2005-04-26
| | | | svn:r4116
* Add kludgy function to force controllers to flush EVENT_ERR_MSG events.Nick Mathewson2005-04-08
| | | | svn:r4057
* Move a quote, fix a log.Nick Mathewson2005-04-08
| | | | svn:r4056
* fix format bugRoger Dingledine2005-04-07
| | | | svn:r4051
* Improve conn_*_to_string; add circuit_state_to_string; make ↵Nick Mathewson2005-04-07
| | | | | | skewed-descriptor messages better. svn:r4047
* Change conn_(type|state)_to_string from const arrays to switch functions so ↵Nick Mathewson2005-04-07
| | | | | | we (I) will not make Tor crash the next time we (I) add a new state. svn:r4045
* oh, and accept() into the right place, too.Roger Dingledine2005-04-06
| | | | svn:r4029
* Forward-port the checking ofRoger Dingledine2005-04-06
| | | | | | | | | | | | | | sin_addr.s_addr == 0 || sin->sin_port == 0. This just happened on moria2, so I guess it happens rarely on Linux as well as OS X. We can't afford to accept OR conns from 0.0.0.0:0, since we send created cells back to the first addr:port that matches, and we'd better not send them to the wrong place. So, let's drop them all for now, and see if we can find a pattern later. svn:r4028
* fix an assert trigger: when we have the rare case of acceptingRoger Dingledine2005-04-06
| | | | | | | | a conn on 0.0.0.0:0, then when we look through the connection array, we'll find any of the workers. this is no good. svn:r4027
* Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ↵Nick Mathewson2005-04-06
| | | | | | using it. Watch out, kids! svn:r4026
* update conn-type-state-strings to handle https states for ORsRoger Dingledine2005-04-06
| | | | svn:r4018
* Fix Tor for no-threading compilation: move connection_unregister from ↵Nick Mathewson2005-04-06
| | | | | | _connection_free to connection_free. svn:r4013
* Move most of *_mark_for_close out of macros.Nick Mathewson2005-04-03
| | | | svn:r3992
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* redo the state descriptors now that we have a controller-wait stateRoger Dingledine2005-03-31
| | | | svn:r3934
* stop most cases of hanging up on a socks connection without sendingRoger Dingledine2005-03-27
| | | | | | | | the socks reject. audit for remaining ones. also make things more uniform so we always remember to hold-open-until-flushed, etc. svn:r3891
* make it clearer to the human that his server is testingRoger Dingledine2005-03-26
| | | | | | | | its reachability. tell him when it succeeds, or when 20 minutes pass and it hasn't succeeded yet. svn:r3882
* fix another case where we need to send a socks reply (reject)Roger Dingledine2005-03-25
| | | | | | | back before we close the conn. svn:r3876
* don't mark a router down just because your httpsproxy is unreachableRoger Dingledine2005-03-25
| | | | svn:r3874
* Note where connection that hasnt sent end was marked.Nick Mathewson2005-03-25
| | | | svn:r3872
* REUSEADDR on normal places means you can rebind to the portRoger Dingledine2005-03-24
| | | | | | | | | 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
* fix an assert -- we're not allowed to write onto a conn after we'veRoger Dingledine2005-03-23
| | | | | | | | | | 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
* fix an over-eager assert, to make httpsproxy get a little fartherRoger Dingledine2005-03-23
| | | | svn:r3846
* forward-port the commenting out of the assert that glenn fink wasRoger Dingledine2005-03-23
| | | | | | | triggering. we still don't know why he was triggering it. svn:r3841
* fix assert triggers (bugs 109 and 96), and put in someRoger Dingledine2005-03-23
| | | | | | | debugging logs to notice future repeat bugs. svn:r3826
* make httpsproxy more likely to workRoger Dingledine2005-03-22
| | | | | | | | (don't let OR conns do tls until they've finished connecting and doing the proxy dance.) svn:r3824
* Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson2005-03-17
| | | | | | functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value. svn:r3769
* Renormalize whitespaceNick Mathewson2005-03-14
| | | | svn:r3757
* Implement the common case of ATTACHSTREAM.Nick Mathewson2005-03-12
| | | | svn:r3751
* Revise all calls to connection_edge_end to avoid sending MISC, and to take ↵Nick Mathewson2005-03-01
| | | | | | errno into account where possible. svn:r3720
* Forward-port new reasons; clean up code more; add code to convert new ↵Nick Mathewson2005-03-01
| | | | | | reasons to SOCKS5 reply codes; add code to convert errnos to reasons. New code still needs to get invoked. svn:r3719
* make control interface stream IDs monotonically increasing to prevent ↵Nick Mathewson2005-03-01
| | | | | | possible races svn:r3715
* Try a little harder to avoid openssl SSL* double-free reports.Nick Mathewson2005-02-28
| | | | svn:r3710