aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* 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
* Move most of *_mark_for_close out of macros.Nick Mathewson2005-04-03
| | | | svn:r3992
* 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
* still publish your descriptor if orport is reachable but dirport isn'tRoger Dingledine2005-03-31
| | | | | | | | | when building testing circs for orport testing, require high-bandwidth nodes, so fewer circs fail. complain about unreachable orport separately from unreachable dirport. svn:r3935
* Clarify that we don't, and why we don't, need to redefine FD_SETSIZE.Nick Mathewson2005-03-28
| | | | svn:r3904
* we seem to have lost our define for FD_SETSIZE on win32 in the changeRoger Dingledine2005-03-27
| | | | | | | | from fakepoll to libevent. be sure to define it *before* we include winsock. svn:r3903
* clean up socks reply stuff more.Roger Dingledine2005-03-27
| | | | | | | add a few more reasons so we can be more informative. svn:r3895
* Rename ManageConnections to LeaveStreamsUnattached. Apparently, there was a ↵Nick Mathewson2005-03-27
| | | | | | missing "TorShould" that was mistaken for an "IWantTo". svn:r3894
* 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
* make it clearer to the human that his server is testingRoger Dingledine2005-03-26
| | | | | | | | its reachability. tell him when it succeeds, or when 20 minutes pass and it hasn't succeeded yet. svn:r3882
* 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
* Add a magic value to cpath_layer_t to make sure that we can tell valid ↵Nick Mathewson2005-03-23
| | | | | | cpaths from freed ones. I audited this once; it could use another audit. svn:r3831
* Prevent spurious closes when we put stuff on a conn that has not written for ↵Nick Mathewson2005-03-22
| | | | | | a while. svn:r3816
* Specify and implement close-stream and close-circuit control messagesNick Mathewson2005-03-22
| | | | svn:r3814
* Implement an option to cap bandwidth-to-advertise. Arma: can you improve the ↵Nick Mathewson2005-03-22
| | | | | | manpage entry by explaining why you would want to do this? svn:r3813
* Report HTTP reasons to directory clients. (Also, fix format on new TODO items)Nick Mathewson2005-03-22
| | | | svn:r3811
* 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
* clean up and refactor some moreRoger Dingledine2005-03-22
| | | | svn:r3798
* Implement controller's "extendcircuit" directive.Roger Dingledine2005-03-22
| | | | | | | | Also refactor circuit building so we plan the whole path ahead of time. svn:r3797
* if our clock jumps forward by 100 seconds or more, assume somethingRoger Dingledine2005-03-19
| | | | | | | has gone wrong with our network and abandon all not-yet-used circs. svn:r3792
* Turn addr_policy_compare from a tristate to a quadstate; this should help ↵Nick Mathewson2005-03-19
| | | | | | address our "Ah, you allow 1.2.3.4:80. You are a good choice for google.com" problem. svn:r3786
* Split version info into separate spec doc.Nick Mathewson2005-03-19
| | | | svn:r3783
* make hidden services more likely to work from the server-sideRoger Dingledine2005-03-19
| | | | svn:r3781
* 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
* Raise common code for "detach this stream and try it with a different ↵Nick Mathewson2005-03-14
| | | | | | circuit" into a separate function; make that function handle controller-managed streams right. svn:r3756
* change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config optionRoger Dingledine2005-03-12
| | | | svn:r3752
* Implement the common case of ATTACHSTREAM.Nick Mathewson2005-03-12
| | | | svn:r3751
* Get address map resetting implemented.Nick Mathewson2005-03-11
| | | | svn:r3745
* remove duplicate function prototypeRoger Dingledine2005-03-11
| | | | svn:r3743
* 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
* 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
* Revise all calls to connection_edge_end to avoid sending MISC, and to take ↵Nick Mathewson2005-03-01
| | | | | | errno into account where possible. svn:r3720
* Forward-port new reasons; clean up code more; add code to convert new ↵Nick Mathewson2005-03-01
| | | | | | reasons to SOCKS5 reply codes; add code to convert errnos to reasons. New code still needs to get invoked. svn:r3719
* make control interface stream IDs monotonically increasing to prevent ↵Nick Mathewson2005-03-01
| | | | | | possible races svn:r3715
* Clean up rend cache on shutdownNick Mathewson2005-02-28
| | | | svn:r3714
* Checkpoint in-progress fixes:Roger Dingledine2005-02-27
| | | | | | | | | | | | | Add 'testing' circuit purpose, for reachability testing. Notice when our IP changes, and reset stats. Try to pull down a directory via Tor to see if our DirPort is working. Try to extend a circuit back to us to see if our ORPort is working. Only publish a descriptor if they're both reachable. These mostly work, and I'd better get them in before I cause conflicts. svn:r3703
* 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
* Check returns from libevent calls better; stop poking at internals of events ↵Nick Mathewson2005-02-25
| | | | | | to see if they are live. svn:r3691
* cache .exit address better (i think)Roger Dingledine2005-02-24
| | | | svn:r3684
* add support for CONNECTing through https proxies.Roger Dingledine2005-02-24
| | | | | | | not sure if it works. i don't have an https proxy. svn:r3682
* Forward-port the trick to bump up ConnLimit as far as it canRoger Dingledine2005-02-22
| | | | | | | | go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
* Initial IRIX compatibility fixes: check for inttypes.h; check for platform ↵Nick Mathewson2005-02-22
| | | | | | cell_t. svn:r3648
* Add a new AddressMap directive to rewrite incoming socks addresses.Roger Dingledine2005-02-22
| | | | | | | | | | Add a new TrackHostExits directive to trigger addressmaps for certain incoming socks addresses, for sites that break when your exit keeps changing. Redo the client-side dns cache so it's just an addressmap too. svn:r3641
* Add a missing prototype to or.hNick Mathewson2005-02-13
| | | | svn:r3621