aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* Fix two bugs: first, "extendcircuit" would crash if you gave it a purpose.Roger Dingledine2006-09-18
| | | | | | | | | | Second, if you give an unknown purpose, it would say: 552 Unknown purpose "purpose=foo" Now it just says 552 Unknown purpose "foo" svn:r8412
* r8776@Kushana: nickm | 2006-09-11 22:49:53 -0400Nick Mathewson2006-09-12
| | | | | | | Avoid crash when telling controller stream-status and a stream is detached. Fixes bug 334. Backport candidate. svn:r8370
* fix encoding in "getinfo addr-mappings" response.Roger Dingledine2006-09-09
| | | | | | | fix error code when "getinfo dir/status/" fails. svn:r8355
* add a "getinfo address" controller command.Roger Dingledine2006-09-09
| | | | svn:r8354
* r8686@Kushana: nickm | 2006-08-30 18:01:35 -0400Nick Mathewson2006-08-30
| | | | | | | Remove bogus whitespace svn:r8307
* r7411@Kushana: nickm | 2006-08-17 19:00:25 -0400Nick Mathewson2006-08-17
| | | | | | | patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down. svn:r7072
* r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700Nick Mathewson2006-08-10
| | | | | | | whitespace fixes svn:r7011
* r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700Nick Mathewson2006-08-10
| | | | | | | Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS. svn:r7007
* r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400Nick Mathewson2006-07-28
| | | | | | | Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817
* stick to nick's nul/null conventionRoger Dingledine2006-07-15
| | | | svn:r6763
* OR_CONN_EVENT_NEW: we should probably handle that , should we not? ↵Nick Mathewson2006-07-11
| | | | | | Especially since 23:26 < phobos> nickm: grep -c "Unrecognized status code 4" tor.log svn:r6752
* Next batch of memory miserdom: mmap cached-routers file. This is sure to ↵Nick Mathewson2006-06-22
| | | | | | break somewhere. svn:r6675
* export the default exit policy via the control port, so controllersRoger Dingledine2006-06-13
| | | | | | | don't need to guess what it is / will be later. svn:r6615
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* make cookie authentication for the controller work again, maybe.Roger Dingledine2006-05-24
| | | | | | | it sure doesn't now. svn:r6494
* Remove string size limit on NEWDESC messages; solve bug 291.Nick Mathewson2006-05-22
| | | | svn:r6463
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.Nick Mathewson2006-04-18
| | | | svn:r6396
* but the \r\n is handy too i hear.Roger Dingledine2006-04-02
| | | | svn:r6294
* if you give mapaddress no args at all, it should answerRoger Dingledine2006-04-02
| | | | | | | something more than \r\n. svn:r6293
* if you ask for getinfo dir/status/ but your dirport is off,Roger Dingledine2006-04-01
| | | | | | | log a complaint. svn:r6286
* Fix dirserv_get_networkstatus_v2's api: its function commentsRoger Dingledine2006-04-01
| | | | | | | | | | did not at all match its behavior, and I can't think of a case when it should return anything other than 0. This fix may allow getinfo dir/status/foo to work. svn:r6285
* more helpful error messageRoger Dingledine2006-04-01
| | | | svn:r6283
* Start sending back 512 and 451 errors if mapaddress fails,Roger Dingledine2006-04-01
| | | | | | | rather than not sending anything back at all. svn:r6282
* Code to implement networkstatus fetch from controllers. Only works when ↵Nick Mathewson2006-03-27
| | | | | | dirport is set for now; should be good enough to make serifos html front-end not be as wrong. svn:r6251
* When the controller's *setconf commands fail, collect an error messageRoger Dingledine2006-03-26
| | | | | | | in a string and hand it back. This starts to resolve bug 275. svn:r6241
* update getinfo info/names to reflect that we now supportRoger Dingledine2006-03-22
| | | | | | | getinfo dir/server/* svn:r6231
* Implement router purposes, and don't choose a non-generalRoger Dingledine2006-03-17
| | | | | | | | | | | purpose router when picking random nodes for a circuit. Also implement SETROUTERPURPOSE and modify +POSTDESCRIPTOR. This concludes bug 250 assuming it all works. svn:r6178
* Implement GETINFO(dir/server/foo); status will be harder.Nick Mathewson2006-03-15
| | | | svn:r6165
* Now do address rewriting when the controller asks us to attachRoger Dingledine2006-03-12
| | | | | | | | | | to a particular circuit too. This will let Blossom specify "moria2.exit" without having to learn what moria2's IP address is. It may also cause other controller authors some angst. Let us know. svn:r6136
* fix assert while attachstream'ing a connect-wait orRoger Dingledine2006-03-12
| | | | | | | resolve-wait stream. svn:r6134
* avoid shadowing a variable so we don't get sad later.Roger Dingledine2006-03-12
| | | | svn:r6133
* Let the controller attachstream conns that are in connect_waitRoger Dingledine2006-03-09
| | | | | | | | or resolve_wait: we detach them first and then act as before. Resolves bug 264. svn:r6112
* Implement NEWNYM. Nick, did I do a bad thing?Roger Dingledine2006-03-09
| | | | svn:r6105
* start using OR_CONN_EVENT_NEW.Roger Dingledine2006-03-08
| | | | | | | also fixes a seg fault in tor (bug 261). svn:r6101
* 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