aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* mark bug 261Roger Dingledine2006-03-06
| | | | svn:r6089
* Add a new circuit purpose 'controller' to let the controllerRoger Dingledine2006-02-23
| | | | | | | | | | | | | ask for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT controller command to let you specify the purpose if you're starting a new circuit. Add a new SETCIRCUITPURPOSE controller command to let you change a circuit's purpose after it's been created. svn:r6075
* when saveconf fails in controller v1, we were returning a malformedRoger Dingledine2006-02-20
| | | | | | | error string. svn:r6053
* more log conversions.Roger Dingledine2006-02-13
| | | | | | | whee. svn:r6003
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Fix bug 225: now "attachstream 0" treats conn like it just connected,Roger Dingledine2006-02-03
| | | | | | | | | | doing address remapping, handling .exit and .onion idioms, and so on. Now we are more uniform in making sure that the controller hears about all new connections, and making sure it hears when they close. svn:r5897
* when the controller asks for a signal we don't recognize, don'tRoger Dingledine2006-01-19
| | | | | | | include the whitespace/newline/etc in our complaint. svn:r5841
* Indirect access to the signed_descriptor field to make it easier to keep ↵Nick Mathewson2006-01-12
| | | | | | them lazily on disk. svn:r5827
* entry nodes are now entry guards.Roger Dingledine2006-01-10
| | | | | | | this is our last easy chance for a wholesale change. heave ho. svn:r5782
* implement getinfo desc/all-recentRoger Dingledine2006-01-10
| | | | | | | closes bug 237. svn:r5770
* Instrument directory client bytes as well as server bytes.Nick Mathewson2006-01-09
| | | | svn:r5760
* Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson2006-01-05
| | | | svn:r5734
* helper nodes are dead. long live entry nodes.Roger Dingledine2005-12-28
| | | | | | | | (config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* extendcircuit and attachstream would complain about not enoughRoger Dingledine2005-12-12
| | | | | | | arguments, but then just keep on going anyway. svn:r5575
* setconf orport=9001Roger Dingledine2005-12-11
| | | | | | | | | | | 513 Unrecognized option value it's not unrecognized. it's unacceptable. (in this case, i still have to consult the logs to figure out why, but at least i have an inkling that maybe i should.) svn:r5561
* when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine2005-12-10
| | | | | | | | | | | | we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
* In my private little universe, terminals are still 80 columns. Impose a ↵Nick Mathewson2005-12-09
| | | | | | 160-character-per-line limit; this will creep down. svn:r5548
* Shave off another 4.7%: remove a linear search when figuring out which ↵Nick Mathewson2005-12-03
| | | | | | circuits wanted us to open a given OR connection. svn:r5489
* Add a new controller event type that allows controllers to get allPeter Palfrader2005-11-19
| | | | | | | | server descriptors that were uploaded to a router in its role as authoritative dirserver. svn:r5436
* if it's not less than three does that mean it's more than two?Roger Dingledine2005-11-18
| | | | svn:r5422
* 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