aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
...
* and code the part where redirectstream can take a port.Roger Dingledine2005-11-18
| | | | svn:r5421
* and now we actually do it, too.Roger Dingledine2005-11-17
| | | | svn:r5414
* when you type 'getinfo' with no arguments, it doesn't give youRoger Dingledine2005-11-17
| | | | | | | | | | | | any answer at all. this is clearly a bug. the more interesting bug is whether things like setconf, getconf, and so on should return 250 OK if you give them no arguments. should we have a new "you didn't ask me anything" response code, or just leave it as is? svn:r5412
* bugfix: the controller doesn't mention it's a .onion if it is.Roger Dingledine2005-11-16
| | | | svn:r5400
* On directory servers, old_routers was wasting hundreds of bytes per ↵Nick Mathewson2005-11-05
| | | | | | superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers. svn:r5349
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Fix possible free(NULL) in control.cNick Mathewson2005-10-25
| | | | svn:r5306
* Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson2005-10-24
| | | | | | interface; use new circ_log_path interface svn:r5302
* Migrate a few more files to domained loggingNick Mathewson2005-10-18
| | | | svn:r5285
* Refactor routerlist access slightly: always use router_get_by_routerlist(); ↵Nick Mathewson2005-10-18
| | | | | | change its interface; add modifier functions to add/remove elements from the current routerlist (so we can add indices). svn:r5276
* split send_control1_event() into the printf and the print/dispatch part. ThePeter Palfrader2005-10-18
| | | | | | | | printf part was and is limited to at most 1024 byte messages, so having the print part separately available makes sense. svn:r5273
* Be a bit more verbose in our AUTHENTICATE error messages in the control ↵Peter Palfrader2005-10-12
| | | | | | protocol so the next guy doesn't blame Nick again svn:r5245
* Add an as-yet-unused "EXTENDED" flag to SETEVENTS to indicate that the ↵Nick Mathewson2005-10-12
| | | | | | client can handle extra labeled info in its events. Add moreinfo to the "what is ready for downloading" msg so we can investigate digest-related download rules svn:r5237
* stutter therapy lessonsRoger Dingledine2005-10-05
| | | | svn:r5191
* Fix verbose compiler warnings, including one in routerlist.c that would have ↵Nick Mathewson2005-10-05
| | | | | | been an actual error. Normalize whitespace. Enforce convention that "address" is a hostname and "addr" is an IPv4 address. svn:r5190
* Check for named servers when looking them up by nickname;Nick Mathewson2005-10-04
| | | | | | | | | | | | | | | | | | | warn when we'recalling a non-named server by its nickname; don't warn twice about the same name. Fix a bug in routers_update_status_from_networkstatus that made nearly all clients never update routerinfo_t.is_named. Try to list MyFamily elements by key, not by nickname. Only warn about names that we generated ourself, or got from the local user. On TLS handshake, only check the other router's nickname against its expected nickname if is_named is set. svn:r5185
* comment cleanupsRoger Dingledine2005-10-04
| | | | svn:r5181
* Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads ↵Nick Mathewson2005-09-30
| | | | | | when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download. svn:r5166
* suppress all our usual compiler warnings, including a longstanding one from ↵Nick Mathewson2005-09-29
| | | | | | tree.h svn:r5149
* bugfix: nobody ever implemented EVENT_ADDRMAP for control protocolRoger Dingledine2005-09-21
| | | | | | | version 0, so don't let version 0 controllers ask for it. svn:r5107
* Make write_escaped_data more bulletproof; backport candidate.Nick Mathewson2005-09-21
| | | | svn:r5106
* Add new config.c function to set options that can fail, and roll back if ↵Nick Mathewson2005-09-14
| | | | | | they do. This should solve the setconf-an-impossible-port bug. svn:r5046
* checkpoint: clean up and document the three ways to call config_assign()Roger Dingledine2005-09-14
| | | | | | | and reduce code duplication in config_free() and option_is_same(). svn:r5040
* Fix bug found by "ca": looking up a non-existent stream for a v1 control ↵Nick Mathewson2005-09-12
| | | | | | connection would cause a segfault. (No backport needed since 0.1.0 had only v0 connections.) svn:r5001
* Make GCC v4 happy with heavy warnings enabled.Nick Mathewson2005-09-08
| | | | svn:r4922
* add a RESETCONF controller command, and make setconf with a nullRoger Dingledine2005-09-08
| | | | | | | option actually mean to set it to "" svn:r4916
* TOR_ISSPACE, not isspace.Nick Mathewson2005-08-24
| | | | svn:r4828
* Make set_options a little smarter: have options_act handle transitions on ↵Nick Mathewson2005-08-22
| | | | | | its own, and only dirty our descriptor when we really want to. svn:r4802
* rotate dns and cpu workers if the controller changes options thatRoger Dingledine2005-08-15
| | | | | | | will affect them. svn:r4787
* fix typoRoger Dingledine2005-08-15
| | | | svn:r4784
* Implement exit enclaves: if we know an IP address for the destination,Roger Dingledine2005-08-15
| | | | | | | | | and there's a running Tor server at that address which allows exit to the destination, then extend the circuit to that exit first. Also, if the user asks for a .exit node, cannibalize general circs for it. svn:r4779
* let unregistered-servers take a parameter (the min bandwidth)Roger Dingledine2005-08-13
| | | | | | | nick, is this an ugly hack of your protocol? svn:r4775
* Add a 'quit' command for the controller.Roger Dingledine2005-08-13
| | | | | | | Add a 'getinfo unregistered-servers' for arma's internal use. svn:r4774
* Make GCC very happy, even with lots of warnings set. Also, try to fix some ↵Nick Mathewson2005-08-12
| | | | | | reported Solaris x86 warnings. svn:r4770
* Add a config-file GETINFO entry; fix a minor memory leak on some SAVECONF calls.Nick Mathewson2005-08-10
| | | | svn:r4761
* Avoid sending blank lines when GETINFO replies should be emptyNick Mathewson2005-08-09
| | | | svn:r4754
* fix a function commentRoger Dingledine2005-08-08
| | | | svn:r4743
* 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
* Implement some more GETINFO goodness: expose helper nodes, config options, ↵Nick Mathewson2005-08-04
| | | | | | getinfo keys. svn:r4694
* Rename cross-format config.c stuff to config_* and or_options_t-specific ↵Nick Mathewson2005-07-23
| | | | | | stuff to option[s]_* svn:r4641
* Be consistent about preferring foo* to struct foo*Nick Mathewson2005-07-22
| | | | svn:r4637
* Add getinfo logic for accounting; add options for helper nodesNick Mathewson2005-07-22
| | | | svn:r4632
* make event streams work with control v1 tooRoger Dingledine2005-07-17
| | | | svn:r4590
* correct error message in closestreamRoger Dingledine2005-07-17
| | | | svn:r4588
* not not zero means zeroRoger Dingledine2005-07-17
| | | | svn:r4587
* if the controller asks to extendcircuit to circid 0, we need toRoger Dingledine2005-07-17
| | | | | | | init the circuit before we can add hops to its cpath. svn:r4586
* arguments in EXTENDCIRCUIT were reversedRoger Dingledine2005-07-17
| | | | | | | | | and an error message was misleading and we were leaking memory on some errors more bugs remain svn:r4585
* Fix several bugs in read_escaped_data; add a unit test and a few docsNick Mathewson2005-07-15
| | | | svn:r4580
* point out some bugs for nick, noticed by whiteoutRoger Dingledine2005-07-15
| | | | svn:r4574