aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* 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
* 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