aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* Fix buffer overlow when checking hashed passwordsNick Mathewson2005-06-05
| | | | svn:r4308
* Make hashed controller password encoding use hex not base64; this makes it ↵Nick Mathewson2005-05-23
| | | | | | possible to write a controller without base64 svn:r4279
* fix the assumption that uninitialized variables are 0Roger Dingledine2005-05-18
| | | | | | | clean up router_load_single_router() more svn:r4266
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Remove support for looking at old directory/routerdesc elements; mark ↵Nick Mathewson2005-05-02
| | | | | | non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff. svn:r4154
* Re-do fragmented control message handling to work with new buf_t system.Nick Mathewson2005-04-27
| | | | svn:r4144
* Replace an infinite-stack-recursion bug with a ↵Nick Mathewson2005-04-17
| | | | | | generate-infinite-debug-messages bug. Maybe it isnt such a good idea to send LOG_DEBUG messages to the controller after all? svn:r4082
* Fix postdescriptor behavior: on non-complete success, only say "done" once.Nick Mathewson2005-04-11
| | | | svn:r4073
* Add kludgy function to force controllers to flush EVENT_ERR_MSG events.Nick Mathewson2005-04-08
| | | | svn:r4057
* Revise control spec and implementation to allow all log messages to be sent ↵Nick Mathewson2005-04-05
| | | | | | to controller with their severities intact. svn:r4010
* Give better warnings if connection_close_unattached_ap gets called twice or ↵Nick Mathewson2005-04-02
| | | | | | called on a marked connection; rename it to connection_mark_unattached_ap. svn:r3990
* Better messages when POSTDESCRIPTOR failsNick Mathewson2005-04-02
| | | | svn:r3989
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Fix bug in redirectstream.Nick Mathewson2005-03-31
| | | | svn:r3926
* clean up socks reply stuff more.Roger Dingledine2005-03-27
| | | | | | | add a few more reasons so we can be more informative. svn:r3895
* 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
* when you attachstream to a circid of 0, send back an answerRoger Dingledine2005-03-24
| | | | svn:r3857
* cleanup so connection_ap_handshake_attach_chosen_circuit() alwaysRoger Dingledine2005-03-24
| | | | | | | gets open circs. svn:r3856
* Debug EXTENDCIRCUITNick Mathewson2005-03-24
| | | | svn:r3849
* Make GETINFO for "network-status" work on non-authdirsNick Mathewson2005-03-23
| | | | svn:r3837
* Fix several bugs (including some crashes) related to control interface; ↵Nick Mathewson2005-03-23
| | | | | | implement missing desc/name functionality. svn:r3836
* Specify and implement close-stream and close-circuit control messagesNick Mathewson2005-03-22
| | | | svn:r3814
* when reporting events about streams, use the "real" address forRoger Dingledine2005-03-22
| | | | | | | the stream, including the requested .exit address. svn:r3810
* handle_control_getinfo() was counting msg_len itself,Roger Dingledine2005-03-22
| | | | | | | when that's actually smartlist_join_strings2()'s job. svn:r3806
* Remove controller getinfo support for "desc/all-ids".Roger Dingledine2005-03-22
| | | | | | | | | Replace it with getinfo "network-status" just like in directories. This way the controller can learn which servers are running, which are verified, etc. svn:r3801
* Implement controller's "extendcircuit" directive.Roger Dingledine2005-03-22
| | | | | | | | Also refactor circuit building so we plan the whole path ahead of time. svn:r3797
* Implement redirectstream in control interface.Nick Mathewson2005-03-19
| | | | svn:r3785
* 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
* Initialize msg_lenNick Mathewson2005-03-10
| | | | svn:r3737
* Fix const-ness warningNick Mathewson2005-03-10
| | | | svn:r3733
* Finish implementing GETINFO; make it easy to query address maps.Nick Mathewson2005-03-03
| | | | svn:r3732
* Implement new controller events for changed descriptors and new ↵Nick Mathewson2005-03-02
| | | | | | (not-yet-attached) streams. svn:r3731
* Fix some log messages to refer to correct control type.Nick Mathewson2005-03-02
| | | | svn:r3729
* Rename unused-address functions to virtual address; this is more accurate. ↵Nick Mathewson2005-03-02
| | | | | | Also, include almost-right implementation of reusing dont-care mappings. (It is still kind of wrong because it does not take type into account.) svn:r3728
* Specify and implement fragmented control messages to allow for (among other ↵Nick Mathewson2005-03-02
| | | | | | things) long GETINFO replies. Otherwise we could hit the 64K barrier on questions like "please dump your client-side DNS cache." svn:r3726
* Implement "Dont-Care" from addresses to MapAddress control message. For ↵Nick Mathewson2005-03-02
| | | | | | safety, refuse to launch connections to unmapped addresses in the dont-care range. svn:r3725
* make control interface stream IDs monotonically increasing to prevent ↵Nick Mathewson2005-03-01
| | | | | | possible races svn:r3715
* fix bug in control mapaddressRoger Dingledine2005-02-27
| | | | svn:r3705
* Implement more control spec functionalityNick Mathewson2005-02-25
| | | | | | | | | | | | | | | | | | - Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696
* Implement some of GETINFO control messageNick Mathewson2005-02-25
| | | | svn:r3694
* Stub functions for new control-spec logic.Nick Mathewson2005-02-25
| | | | svn:r3693
* typo spotted by chrisNick Mathewson2005-01-05
| | | | svn:r3308
* Implement SIGNAL control command.Nick Mathewson2005-01-05
| | | | svn:r3307
* forward port:Roger Dingledine2004-12-21
| | | | | | | fix a fencepost: we were blowing away the \n when reporting confvalue items svn:r3194
* bugfix: when we're reporting event circuit status, don't call it a stream.Roger Dingledine2004-12-14
| | | | | | | while we're at it, include ":port" in the stream event string. svn:r3148
* Remove bugfixes that did not actually do anything, before we start a cargo cult.Nick Mathewson2004-12-13
| | | | svn:r3145
* Fix a bug in parsing HashedControlPassword.Nick Mathewson2004-12-13
| | | | svn:r3143
* clean up logging,Roger Dingledine2004-12-13
| | | | | | | | | make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138