Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-12-17 | clean tabs, trailing whitespace | Roger Dingledine | |
svn:r952 | |||
2003-12-17 | document an openssl gotcha | Roger Dingledine | |
svn:r947 | |||
2003-12-16 | change crypto_digest_new_env to crypto_new_digest_env | Roger Dingledine | |
(and same with _free_) to match our conventions i think our conventions may be getting too ad hoc svn:r940 | |||
2003-12-16 | rename digest_copy to digest_dup, make it return, make gcc happier | Roger Dingledine | |
svn:r939 | |||
2003-12-16 | Add more fine-grained SHA1 functionality. | Nick Mathewson | |
svn:r937 | |||
2003-12-15 | Make compile warning-free on cygwin | Nick Mathewson | |
svn:r936 | |||
2003-12-14 | make --debuglogfile (or any second log file) work | Roger Dingledine | |
svn:r935 | |||
2003-12-14 | make it compile | Roger Dingledine | |
svn:r923 | |||
2003-12-14 | extend smartlist with _remove() and _subtract() | Roger Dingledine | |
svn:r922 | |||
2003-12-14 | remove obsolete code | Roger Dingledine | |
svn:r914 | |||
2003-12-13 | extend smartlist with a few smarter operations | Roger Dingledine | |
svn:r910 | |||
2003-12-13 | clean up some copyrights | Roger Dingledine | |
svn:r907 | |||
2003-12-13 | minor tweaks to the smartlist operations | Roger Dingledine | |
svn:r903 | |||
2003-12-13 | add a 'smartlist' building block that picks random elements from a list | Roger Dingledine | |
svn:r897 | |||
2003-12-09 | make the license explicit on fakepoll.[ch] | Roger Dingledine | |
svn:r895 | |||
2003-12-08 | Make router/directory parsing nondestructive and more const-friendly | Nick Mathewson | |
svn:r890 | |||
2003-12-03 | assert that nobody asks for a random number between 0 and -1 | Roger Dingledine | |
svn:r875 | |||
2003-11-21 | Fix incorrect error message | Nick Mathewson | |
svn:r862 | |||
2003-11-19 | Check that we can write to the logfile and log a warning to stderr if we can't | Peter Palfrader | |
Move writing of pidfile after daemonizing, and also after setting the [ug]id: This means that the tor user needs write priviliges to the pidfile location. It needs it for unlinking the pidfile anyway. svn:r846 | |||
2003-11-18 | add a tor_malloc_zero wrapper: tor_malloc and memset 0 | Roger Dingledine | |
svn:r836 | |||
2003-11-18 | Stop leaking X509 certs; those things are _nasty_ on the carpet | Nick Mathewson | |
svn:r833 | |||
2003-11-13 | fix trivial typo | Roger Dingledine | |
svn:r808 | |||
2003-11-12 | break out the string manipulation routines | Roger Dingledine | |
svn:r804 | |||
2003-11-12 | Remove minor biasing problem from crypto_pseudo_rand_int | Nick Mathewson | |
svn:r799 | |||
2003-11-12 | Make crypto_pseudo_rand* never fail. | Nick Mathewson | |
svn:r797 | |||
2003-11-11 | fix a bug in handling clock skew | Roger Dingledine | |
svn:r785 | |||
2003-11-10 | Check in a working cross-platform timegm | Nick Mathewson | |
svn:r779 | |||
2003-10-27 | bugfix for win32 with lots of users | Roger Dingledine | |
plus general cleanup on switch_id() svn:r684 | |||
2003-10-23 | Use daemon(3) function where available. | Nick Mathewson | |
svn:r665 | |||
2003-10-23 | resolve warning | Nick Mathewson | |
svn:r664 | |||
2003-10-23 | Two-pronged attack at my overzealous skew fixes. | Nick Mathewson | |
The problem was that the fixes had us generating TLS certs with a 2-day lifetime on the assumption that we'd rotate fairly often. In fact, we never rotate our TLS keys. This patch fixes the situation in 2 ways: 1. It bumps the default lifetime back up to one year until we get rotation in place. 2. It changes tor_tls_context_new() so that it doesn't leak memory when you call it more than once. svn:r663 | |||
2003-10-22 | switch_id() no longer tries to log the user name when it's calld on | Steven Hazel | |
Windows, since we don't know whether it's the user or the group that was set. svn:r659 | |||
2003-10-22 | Clock skew fixes. | Nick Mathewson | |
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 | |||
2003-10-22 | - fixed a bug in the id switching code -- setgid has to happen before | Steven Hazel | |
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 | |||
2003-10-21 | introduce new tor_free() macro | Roger Dingledine | |
svn:r643 | |||
2003-10-20 | include our own timegm() impl, since it's not portable | Roger Dingledine | |
svn:r635 | |||
2003-10-19 | warn, not err | Roger Dingledine | |
svn:r630 | |||
2003-10-19 | Code to get nicknames from peer certs | Nick Mathewson | |
svn:r627 | |||
2003-10-19 | let tls tolerate reallocing the buf | Roger Dingledine | |
and also remember the params for ssl_write if it returns wantread. svn:r626 | |||
2003-10-18 | first steps toward a WANTWRITE SSL_write tls bug fix | Roger Dingledine | |
how exactly the same do the arguments need to be? :( svn:r625 | |||
2003-10-18 | start to track down the 'peer has invalid cert' bug | Roger Dingledine | |
svn:r623 | |||
2003-10-18 | we've been stomping on memory while reading config | Roger Dingledine | |
doesn't seem to have bitten us yet, but let's fix that :) svn:r619 | |||
2003-10-18 | rewrite close_logs so it could possibly work | Roger Dingledine | |
remove deadbeef memory-clobber testing (for now) svn:r616 | |||
2003-10-15 | Log TLS errors even harder | Nick Mathewson | |
svn:r604 | |||
2003-10-15 | Add more logging on some ssl errors. | Nick Mathewson | |
svn:r603 | |||
2003-10-15 | clean up logging, allow user to specify log files | Roger Dingledine | |
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 | |||
2003-10-15 | Build without warnings on OS X. | Nick Mathewson | |
svn:r595 | |||
2003-10-15 | Make add_file_log return 0 on success. | Nick Mathewson | |
svn:r594 | |||
2003-10-14 | Add tor_realloc to mirror tor_malloc | Nick Mathewson | |
svn:r582 | |||
2003-10-10 | oops, bugfix | Roger Dingledine | |
svn:r572 |