aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* Fix possible bug in circID selection when building circuits on combination OP...•••svn:r830 Nick Mathewson2003-11-17
* more verbose info for circuits when kill -USR1•••svn:r829 Roger Dingledine2003-11-17
* "I don't think it's quite fair to condemn a whole program because of a••• single slip-up." -- General "Buck" Turgidson, _Doctor Strangelove_ svn:r828 Nick Mathewson2003-11-17
* finally find and possibly fix the circuit_deliver_relay_cell warn bug•••svn:r827 Roger Dingledine2003-11-17
* Fix bytesex issues on in.s_addr•••svn:r826 Nick Mathewson2003-11-17
* catch the last missing log line i hope•••svn:r825 Roger Dingledine2003-11-17
* Remove a possible source of error in circID picking.•••svn:r824 Nick Mathewson2003-11-17
* continue the circuit_deliver_relay_cell forward-failure bughunt•••svn:r823 Roger Dingledine2003-11-17
* comment choose_good_exit_server•••svn:r822 Nick Mathewson2003-11-17
* trivial bugfixes•••svn:r821 Roger Dingledine2003-11-17
* Fix a segfault caused by a weird logic error and masked by another.•••svn:r820 Nick Mathewson2003-11-17
* recognize in-progress circs and don't start redundant ones•••quickly notice streams that don't have a circ on the way, and start one svn:r819 Roger Dingledine2003-11-17
* bugfixes•••svn:r818 Roger Dingledine2003-11-16
* change when circuits are built and expired•••not quite happy with it yet svn:r817 Roger Dingledine2003-11-16
* bugfix: if you recognize a relay cell, don't also pass it on.•••svn:r816 Roger Dingledine2003-11-16
* dump exit policies correctly to descriptor•••svn:r815 Roger Dingledine2003-11-16
* initial patches on patches•••svn:r814 Roger Dingledine2003-11-16
* Finish implementing the rest of the exitpolicy stuff, except for automaticall...•••svn:r813 Nick Mathewson2003-11-16
* Improved exit policy syntax; basic client-side DNS caching.•••- Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and bitcounts 18.0.0.0/8. Policies are parsed on startup, not when comparing to them. - desired_path_len is now part of an opaque cpath_build_state_t structure. - END_REASON_EXITPOLICY cells no longer include a port. - RELAY_COMMAND_CONNECTED cells now include the IP address we've connected to. - connection_edge now has a client_dns cache to remember resolved addresses. It gets populated by RELAY_COMMAND_CONNECTED cells and END_REASON_EXITPOLICY cells. It gets used by connection_ap_handshake_send_begin. We don't compare it to exit policies yet. svn:r812 Nick Mathewson2003-11-14
* commencing the bughunt•••svn:r811 Roger Dingledine2003-11-14
* bump default pathlen to 3; clean up surrounding code•••svn:r810 Roger Dingledine2003-11-13
* let getconfig survive repeated calls. now we call it again when we hup.•••change RecommendedVersions into a config option, so dirservers can hup for a new one svn:r809 Roger Dingledine2003-11-13
* warn on startup that we don't provide anonymity•••make exit dns cache entries last 15 minutes svn:r807 Roger Dingledine2003-11-13
* lay groundwork for EntryNodes and ExitNodes•••svn:r805 Roger Dingledine2003-11-12
* make dir parsing robust to invalid but well-formed descriptors•••svn:r800 Roger Dingledine2003-11-12
* connection_ap_handshake_send_begin always succeeds•••svn:r798 Roger Dingledine2003-11-12
* Make crypto_pseudo_rand* never fail.•••svn:r797 Nick Mathewson2003-11-12
* Restore erroneously removed assert•••svn:r796 Nick Mathewson2003-11-12
* Fix thinko: Failure and success are different things.•••svn:r795 Nick Mathewson2003-11-12
* Remove dead code•••svn:r794 Nick Mathewson2003-11-12
* Compute paths as we build them.•••svn:r793 Nick Mathewson2003-11-12
* Refactor onion_generate_cpath to build cpaths one hop at a time. This•••is a the first step in computing hops one step at a time. Next, we move the responsibility for calling onion_extend_cpath into circuit.c (Later, we may want to special-case onion_extend_cpath to treat entry and exit routers differently.) svn:r792 Nick Mathewson2003-11-12
* point out bug•••svn:r791 Roger Dingledine2003-11-11
* more cleanups and bugfix•••svn:r790 Roger Dingledine2003-11-11
* leave conn->socks_request around after the begin•••that way we can reuse it if we need to try another begin later svn:r788 Roger Dingledine2003-11-11
* conn->socks_version is obsolete•••svn:r787 Roger Dingledine2003-11-11
* respond to nick's questions•••svn:r786 Roger Dingledine2003-11-11
* Rename aci to circ_id throughout.•••svn:r784 Nick Mathewson2003-11-11
* Make AP connections wait for a circuit if none exists.•••Also: - Refactor socks request into a separate struct - Add a separate 'waiting for circuit' state to AP connections between 'waiting for socks' and 'open'. Arma: can you check out the XXX's I've added to connection_edge? I may be mishandling some async and close logic. svn:r783 Nick Mathewson2003-11-11
* client now survives going offline better•••fix badness in usage() if neither socksport nor orrport is defined, quit obsolete connection_flush_buf() svn:r780 Roger Dingledine2003-11-10
* Check in a working cross-platform timegm•••svn:r779 Nick Mathewson2003-11-10
* Add lots of logging to dns.c; change behavior of often-failing assertion•••svn:r778 Nick Mathewson2003-11-08
* add DirBindAddress, parse the BindAddress's when you bind•••exit if bind fails add usage printfs rearrange config options for readability svn:r674 Roger Dingledine2003-10-25
* Clock skew fixes.•••Allow some slop (currently 3 minutes) when checking certificate validity. Change certificate lifetime from 1 year to 2 days. Since we regenerate regularly (we regenerate regularly, right??), this shouldn't be a problem. Have directories reject descriptors published too far in the future (currently 30 minutes). If dirservs don't do this: 0) Today is January 1, 2000. 1) A very skewed server publishes descriptor X with a declared publication time of August 1, 2000. 2) The directory includes X. 3) Because of certificate lifetime issues, nobody can use the skewed server. 4) The server fixes its skew, and goes to republish a new descriptor Y with publication time of January 1, 2000. 5) But because the directory already has a "more recent" descriptor X, it rejects descriptor "Y" as superseded! This patch should make step 2 go away. svn:r658 Nick Mathewson2003-10-22
* - fixed a bug in the id switching code -- setgid has to happen before••• setuid, because after we setuid we don't have the priviledges we need to setgid anymore, duh. merged switch_user() and switch_group() into switch_id(), since that code has to be wound together. - return -1 from switch_id() if it's not defined to do anything else. - moved daemoinize(), write_pidfile(), and switch_id() from main.c to util.c svn:r656 Steven Hazel2003-10-22
* play with connection_edge_send_command•••maybe more robust now svn:r655 Roger Dingledine2003-10-22
* make end relay cells have payloads•••move default exit policy into config files svn:r653 Roger Dingledine2003-10-22
* added User and Group options -- if you set them, tor will try to•••setuid and setgid respectively, and die if it can't. (If the User option is set, tor will setgid to the user's gid as well.) This happens after the pidfile is created, so that in cases where tor needs to be root to work with the pidfile, it will at least be able to create it, although it won't be able to delete it. That sucks, but it's somewhat better than not being able to create the pidfile in the first place. svn:r652 Steven Hazel2003-10-22
* move closer to being able to reload config on HUP•••rename APPort to SocksPort introduce new tor_free() macro svn:r642 Roger Dingledine2003-10-21
* send the end cell when we realize we're going to end,•••not when we're closing the stream. this lets us put a payload in the end cell if we want to, to describe why we're closing the stream. there are still some places where we don't send the end cell immediately. i need to track them down. but it's a low priority, since i've made it send the end cell when we close the stream if we haven't already sent it. svn:r640 Roger Dingledine2003-10-21