aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Collapse)AuthorAge
* add conn->requested_resource to connection_t checks.Nick Mathewson2005-09-08
| | | | svn:r4951
* Only caches download network-status for now, and they use a different ↵Nick Mathewson2005-09-08
| | | | | | strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint. svn:r4944
* Make a new AssumeReachable config option that will publish anyway.Roger Dingledine2005-08-26
| | | | | | | | Also, let authdirservers start without setting their Address field. Something is still not working though. Will fix in morning. svn:r4839
* Also set event_mask=0 in connection_free_all, and dont send events to marked ↵Nick Mathewson2005-08-07
| | | | | | control conns (for good measure) svn:r4729
* incomplete patch for matt's info controller signal term bugRoger Dingledine2005-08-07
| | | | svn:r4728
* Fix idiot bug. The "free the IP history" code belons in ↵Nick Mathewson2005-08-04
| | | | | | connection_free_all(), not in connection_free(). You can all mock me now. svn:r4691
* Make clients regenerate their keys when their IP address changes.Nick Mathewson2005-08-03
| | | | svn:r4688
* Be consistent about preferring foo* to struct foo*Nick Mathewson2005-07-22
| | | | svn:r4637
* Initial, somewhat dodgy implementation of helper nodes. It has too many ↵Nick Mathewson2005-07-22
| | | | | | XXXXs, it logs too verbosely, and it doesnt do persistence. svn:r4633
* missed oneRoger Dingledine2005-07-14
| | | | svn:r4567
* tell us what kind of listener it is, tooRoger Dingledine2005-07-14
| | | | svn:r4566
* fix opening listener log msgNick Mathewson2005-07-14
| | | | svn:r4565
* Populate address field of listeners with an actually sane value.Nick Mathewson2005-07-14
| | | | svn:r4564
* trivial changes on nick's rendezvous commitRoger Dingledine2005-07-14
| | | | svn:r4553
* Macro-fu to get DEBUG events working.Nick Mathewson2005-07-13
| | | | svn:r4539
* 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