aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
...
* 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
* include our own timegm() impl, since it's not portable•••svn:r635 Roger Dingledine2003-10-20
* a skeletal print_usage() function•••svn:r634 Roger Dingledine2003-10-20
* move to 0.0.2pre13•••svn:r631 Roger Dingledine2003-10-19
* put small buffers back in place•••svn:r629 Roger Dingledine2003-10-19
* Example code to get nickname from cert•••svn:r628 Nick Mathewson2003-10-19
* another minor memory leak•••make dnsconn->address reflect what it's currently resolving svn:r624 Roger Dingledine2003-10-18
* no more memory leaks•••when you run it under normal operation for as many as three minutes svn:r622 Roger Dingledine2003-10-18
* fix two more memory problems•••one remains :) svn:r621 Roger Dingledine2003-10-18
* clean up memory leaks, confusions•••still one memory leak remaining here. svn:r620 Roger Dingledine2003-10-18
* log to stdout while parsing config,•••otherwise we log to nothing and give no feedback! svn:r617 Roger Dingledine2003-10-18
* put a blank line in the directory, before the first router•••this makes it easier to read (at least for me) svn:r613 Roger Dingledine2003-10-17
* try to make cvs more stable for now. need to test this more in a bit.•••svn:r612 Roger Dingledine2003-10-17
* reload the fingerprints file on HUP•••svn:r611 Roger Dingledine2003-10-17
* catch misconfigured machines that return hostname as fqdn•••svn:r610 Roger Dingledine2003-10-17
* closing stdout *should* be safe (we'll see)•••svn:r601 Roger Dingledine2003-10-15
* Report delivery cell fullness correctly•••svn:r600 Nick Mathewson2003-10-15
* change buf->buf to buf->mem•••maybe this will mean fewer dumb errors svn:r599 Roger Dingledine2003-10-15
* fix bug with overzealous shrinking; add more comments.•••svn:r597 Nick Mathewson2003-10-15
* clean up logging, allow user to specify log files•••If DebugLogFile is specified, log to it at -l debug If LogFile is specified, log to it at the -l from the commandline (default info) If no LogFile *and* not a Daemon, then log to stdout. Make conn->s = -1 by default (this might break things) When kill -USR1, prefer to log at INFO, but make sure they always see it. svn:r596 Roger Dingledine2003-10-15
* Build without warnings on OS X.•••svn:r595 Nick Mathewson2003-10-15
* Make last commit build•••svn:r593 Nick Mathewson2003-10-15
* Stop using stdout for non-debugging cases•••svn:r592 Nick Mathewson2003-10-15
* - cause configure to create a tor.sh which will have directories set••• correctly based on how configure was run - cause tor to guess the location of torrc more intelligently - cause cause src/config/torrc and src/conf/sample-server-torrc to be generated with contents that are correct for the way configure was run - cause "make install" to put torrc, sample-server-torrc, and dirservers somewhere intelligent svn:r587 Steven Hazel2003-10-15
* make the buffer resize stuff work•••and make listener connections not have bufs svn:r584 Roger Dingledine2003-10-14
* Make buffers grow and shrink as needed.•••svn:r583 Nick Mathewson2003-10-14
* i'm a little teapot, short and stout•••cvs compiles again svn:r581 Roger Dingledine2003-10-14