]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Wed, 4 Aug 2004 07:13:14 +0000 (07:13 +0000)]
add pre2 release notes to changelog
svn:r2142
Roger Dingledine [Wed, 4 Aug 2004 06:49:17 +0000 (06:49 +0000)]
fix rare race condition that causes infinite loop
if we get a sigchld but all our children are gone by the time we get
around to reaping them (i don't think this should ever happen, but it
just did), then we'd loop forever trying to reap them.
svn:r2141
Roger Dingledine [Wed, 4 Aug 2004 06:23:06 +0000 (06:23 +0000)]
update tor-doc.html
svn:r2140
Roger Dingledine [Wed, 4 Aug 2004 06:17:24 +0000 (06:17 +0000)]
update the sample torrc
svn:r2139
Roger Dingledine [Wed, 4 Aug 2004 05:27:55 +0000 (05:27 +0000)]
todo items to switch dirservers entries to config lines
and remove old todo items
svn:r2138
Roger Dingledine [Wed, 4 Aug 2004 05:10:49 +0000 (05:10 +0000)]
commit some odds and ends, so my tree is clean
svn:r2137
Nick Mathewson [Wed, 4 Aug 2004 04:58:30 +0000 (04:58 +0000)]
<arma> did you get it working on win32? or just compiling
svn:r2136
Nick Mathewson [Wed, 4 Aug 2004 02:35:06 +0000 (02:35 +0000)]
Bugfix: "Okay, I just shut down like you told me. Now let me verify your signature." Also fix error message when running over-new version.
svn:r2135
Roger Dingledine [Wed, 4 Aug 2004 02:15:22 +0000 (02:15 +0000)]
only pick a default nickname if you're a server
svn:r2134
Roger Dingledine [Wed, 4 Aug 2004 01:26:17 +0000 (01:26 +0000)]
bump cvs version to 0.0.8pre2-cvs
svn:r2133
Roger Dingledine [Wed, 4 Aug 2004 01:25:21 +0000 (01:25 +0000)]
put a comment by routerlist_update_from_runningrouters() to
remind me that it's not used yet
svn:r2132
Roger Dingledine [Wed, 4 Aug 2004 01:17:21 +0000 (01:17 +0000)]
log a warning if you're running an unverified server, to let
you know you might want to get it verified
also, moved that whole block below the check-signature logic, so
we don't execute it if the directory is a fake.
(the recommended-versions logic is still executed before the signature
is checked; we should fix that.)
svn:r2131
Nick Mathewson [Wed, 4 Aug 2004 01:15:57 +0000 (01:15 +0000)]
Hack: Include date with successful directory GETs.
svn:r2130
Nick Mathewson [Wed, 4 Aug 2004 01:11:15 +0000 (01:11 +0000)]
Add functions to format and parse RFC1123-style times, for HTTP protocol.
svn:r2129
Roger Dingledine [Wed, 4 Aug 2004 01:08:10 +0000 (01:08 +0000)]
put the have_warned_about_unsafe_socks static var inside the function
svn:r2128
Nick Mathewson [Tue, 3 Aug 2004 23:57:05 +0000 (23:57 +0000)]
Fix all warnings on win32 build
svn:r2127
Roger Dingledine [Tue, 3 Aug 2004 23:42:33 +0000 (23:42 +0000)]
warn if we use an unsafe socks variant
for now, warn every time. we should decide how often we want to warn;
one problem here is that there are several scenarios where we use an
unsafe socks variant safely, so the warning may be inaccurate. hm.
svn:r2126
Nick Mathewson [Tue, 3 Aug 2004 23:31:22 +0000 (23:31 +0000)]
It is possible to have struct timeval but not gettimeofday.
svn:r2125
Roger Dingledine [Tue, 3 Aug 2004 22:19:46 +0000 (22:19 +0000)]
add some more todo items for 0.0.8
svn:r2124
Roger Dingledine [Tue, 3 Aug 2004 21:14:39 +0000 (21:14 +0000)]
update location of tor-in-chroot doc
svn:r2123
Roger Dingledine [Fri, 23 Jul 2004 21:25:28 +0000 (21:25 +0000)]
check return value of fclose while writing to disk, since it might
return out-of-space, etc
svn:r2122
Roger Dingledine [Fri, 23 Jul 2004 06:28:41 +0000 (06:28 +0000)]
bump us to 0.0.8pre1
this is it
svn:r2120
Roger Dingledine [Fri, 23 Jul 2004 06:28:12 +0000 (06:28 +0000)]
don't send an end back for a malformed resolved cell,
since they don't establish streams
svn:r2119
Roger Dingledine [Fri, 23 Jul 2004 00:35:44 +0000 (00:35 +0000)]
add release notes for 0.0.8pre1
svn:r2118
Roger Dingledine [Fri, 23 Jul 2004 00:21:25 +0000 (00:21 +0000)]
yet more todo items
svn:r2117
Roger Dingledine [Fri, 23 Jul 2004 00:04:40 +0000 (00:04 +0000)]
tor-resolve triggered a has_sent_end warning
svn:r2116
Roger Dingledine [Thu, 22 Jul 2004 23:21:12 +0000 (23:21 +0000)]
clean whitespace and tabs
svn:r2115
Roger Dingledine [Thu, 22 Jul 2004 23:06:28 +0000 (23:06 +0000)]
tell the user what time _they_ are too, when a cert is expired
svn:r2114
Roger Dingledine [Thu, 22 Jul 2004 22:35:25 +0000 (22:35 +0000)]
rename tor_resolve to tor-resolve
svn:r2113
Peter Palfrader [Thu, 22 Jul 2004 22:28:29 +0000 (22:28 +0000)]
Depend on python
svn:r2112
Roger Dingledine [Thu, 22 Jul 2004 22:15:36 +0000 (22:15 +0000)]
stop using atexit() to remove our pid, since it's called
immediately when we daemonize.
also drop our retry period for hidserv desc uploads from 10m to 5m
svn:r2111
Nick Mathewson [Thu, 22 Jul 2004 21:41:50 +0000 (21:41 +0000)]
Fix base16_decode; trashing the stack is rude.
svn:r2110
Nick Mathewson [Thu, 22 Jul 2004 21:36:03 +0000 (21:36 +0000)]
Chek for overlong nicknames in add_nickname_list_to_smartlist
svn:r2109
Nick Mathewson [Thu, 22 Jul 2004 21:31:04 +0000 (21:31 +0000)]
Add notion of "longest nickname-or-hex-digest-with-$"
svn:r2108
Nick Mathewson [Thu, 22 Jul 2004 21:20:23 +0000 (21:20 +0000)]
Add noisy debug log to hunt for bug in router_update_status_from_smartlist
svn:r2107
Nick Mathewson [Thu, 22 Jul 2004 20:34:55 +0000 (20:34 +0000)]
Add fingerprint to router format in tests
svn:r2106
Nick Mathewson [Thu, 22 Jul 2004 20:30:02 +0000 (20:30 +0000)]
Never use time(NULL) as assumed publication time for a directory.
svn:r2105
Roger Dingledine [Thu, 22 Jul 2004 11:16:39 +0000 (11:16 +0000)]
add a comment asking ORs to configure a DirPort too
svn:r2104
Roger Dingledine [Thu, 22 Jul 2004 08:30:06 +0000 (08:30 +0000)]
now base16_encode() and base32_encode() can't ever fail
svn:r2103
Roger Dingledine [Thu, 22 Jul 2004 08:08:25 +0000 (08:08 +0000)]
make router_is_me() compare identity, not nickname
svn:r2102
Roger Dingledine [Thu, 22 Jul 2004 07:34:03 +0000 (07:34 +0000)]
mark off todo items; add todo items; correct tor-spec.txt
svn:r2101
Roger Dingledine [Thu, 22 Jul 2004 06:22:04 +0000 (06:22 +0000)]
put our fingerprint into the descriptor, so we can match a
desc to a running-routers entry
svn:r2100
Roger Dingledine [Thu, 22 Jul 2004 06:04:54 +0000 (06:04 +0000)]
allow OPs to set a DirPort and cache/serve directories
(hey, why not, it works)
svn:r2099
Roger Dingledine [Thu, 22 Jul 2004 06:04:13 +0000 (06:04 +0000)]
getting an unknown descriptor is an info, not a warn, now
svn:r2098
Roger Dingledine [Thu, 22 Jul 2004 06:03:53 +0000 (06:03 +0000)]
populate router_get_my_routerinfo()->is_verified
svn:r2097
Nick Mathewson [Thu, 22 Jul 2004 04:53:34 +0000 (04:53 +0000)]
Make tor_tls_new variant use alternative (certless) context
svn:r2096
Roger Dingledine [Thu, 22 Jul 2004 04:20:27 +0000 (04:20 +0000)]
publish advertised_bandwidth in descriptor
svn:r2095
Roger Dingledine [Thu, 22 Jul 2004 03:47:20 +0000 (03:47 +0000)]
change 0.0.8 extend cell format so it's compatible with 0.0.7
svn:r2094
Roger Dingledine [Thu, 22 Jul 2004 01:35:52 +0000 (01:35 +0000)]
update the todo, items for pre-pre1 and for post-pre1
svn:r2093
Roger Dingledine [Thu, 22 Jul 2004 00:13:42 +0000 (00:13 +0000)]
clients shouldn't create datadir until we have something to put there
svn:r2092
Roger Dingledine [Wed, 21 Jul 2004 23:43:47 +0000 (23:43 +0000)]
0.0.8 ORs should autoconnect to authdirservers and 0.0.7 servers
svn:r2091
Roger Dingledine [Wed, 21 Jul 2004 22:54:27 +0000 (22:54 +0000)]
make router_nickname_is_approved() do the right thing
svn:r2090
Roger Dingledine [Wed, 21 Jul 2004 22:37:03 +0000 (22:37 +0000)]
if johnny has three fenceposts, and jill takes four away...
svn:r2089
Roger Dingledine [Wed, 21 Jul 2004 22:34:32 +0000 (22:34 +0000)]
oh, and it should compile too
svn:r2088
Roger Dingledine [Wed, 21 Jul 2004 22:33:26 +0000 (22:33 +0000)]
make base16_encode() fail more obviously when it fails
svn:r2087
Roger Dingledine [Wed, 21 Jul 2004 22:11:11 +0000 (22:11 +0000)]
fix our tls handshake chain cert bug
svn:r2086
Roger Dingledine [Wed, 21 Jul 2004 18:53:56 +0000 (18:53 +0000)]
solve the authdirserver initialization precedence problem
svn:r2085
Roger Dingledine [Wed, 21 Jul 2004 18:20:09 +0000 (18:20 +0000)]
bugfix: only require the correct key if the nickname is for
a verified router
svn:r2084
Nick Mathewson [Wed, 21 Jul 2004 17:59:24 +0000 (17:59 +0000)]
Log certificate lifetime on failure.
svn:r2083
Roger Dingledine [Wed, 21 Jul 2004 09:35:24 +0000 (09:35 +0000)]
disallow picking unverified routers in circuits
(for now)
svn:r2082
Roger Dingledine [Wed, 21 Jul 2004 09:13:12 +0000 (09:13 +0000)]
authdirservers accept the uploading of unverified descriptors.
fix a bunch of bugs in router_update_status_from_smartlist()
(Nick, did I get them all, or was there a trickier one still hiding?)
svn:r2081
Roger Dingledine [Wed, 21 Jul 2004 08:40:57 +0000 (08:40 +0000)]
caching dirservers don't handle posts, running-routers, or rend descs
svn:r2080
Roger Dingledine [Wed, 21 Jul 2004 07:50:06 +0000 (07:50 +0000)]
rearrange to prepare to solve the authdirserver initialization
precedence problem. doesn't actually solve it yet.
svn:r2079
Nick Mathewson [Wed, 21 Jul 2004 03:32:56 +0000 (03:32 +0000)]
Log number of certs in wrong-length chains
svn:r2078
Roger Dingledine [Wed, 21 Jul 2004 03:16:24 +0000 (03:16 +0000)]
we were counting incorrectly when trying to figure out whether
a given AP stream was being handled or not.
(how did this work?)
svn:r2077
Roger Dingledine [Wed, 21 Jul 2004 03:15:32 +0000 (03:15 +0000)]
clients exit immediately on interrupt; they don't wait
svn:r2076
Roger Dingledine [Wed, 21 Jul 2004 02:42:49 +0000 (02:42 +0000)]
fix some bool logic
svn:r2075
Roger Dingledine [Wed, 21 Jul 2004 02:25:14 +0000 (02:25 +0000)]
make connection_tls_finish_handshake() more plausible.
now we accept connections from unknown routers.
svn:r2074
Nick Mathewson [Wed, 21 Jul 2004 00:44:04 +0000 (00:44 +0000)]
Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify behavior
svn:r2073
Roger Dingledine [Wed, 21 Jul 2004 00:21:26 +0000 (00:21 +0000)]
get the function prototype right
svn:r2072
Roger Dingledine [Wed, 21 Jul 2004 00:12:42 +0000 (00:12 +0000)]
add a new advertised_server_mode() to distinguish ORs that
are willing to become servers from ones that really are servers.
svn:r2071
Roger Dingledine [Tue, 20 Jul 2004 23:31:00 +0000 (23:31 +0000)]
when we get a sigint, don't accept new connections/circuits,
but delay 30 seconds until exiting.
if we get a second sigint, exit immediately.
svn:r2070
Nick Mathewson [Tue, 20 Jul 2004 23:25:00 +0000 (23:25 +0000)]
Correct "advance-time" logic
svn:r2069
Nick Mathewson [Tue, 20 Jul 2004 21:23:50 +0000 (21:23 +0000)]
When faking gettimeofday with ftime, do it right.
svn:r2068
Nick Mathewson [Tue, 20 Jul 2004 21:13:11 +0000 (21:13 +0000)]
Split uptime into separate field
svn:r2067
Nick Mathewson [Tue, 20 Jul 2004 21:05:05 +0000 (21:05 +0000)]
Handle closed connection properly on tor_resolve
svn:r2066
Nick Mathewson [Tue, 20 Jul 2004 20:57:46 +0000 (20:57 +0000)]
Track bandwidth usage to estimate capacity
svn:r2065
Nick Mathewson [Tue, 20 Jul 2004 20:09:59 +0000 (20:09 +0000)]
Remember list of digests for trusted dirservers; use this list to tell whether you are a trusted dirserver
svn:r2064
Roger Dingledine [Tue, 20 Jul 2004 19:45:29 +0000 (19:45 +0000)]
also don't hang up on him if we're an OR and he's an authdirserver
otherwise we keep getting taken out of the running-routers list
svn:r2063
Roger Dingledine [Tue, 20 Jul 2004 19:28:02 +0000 (19:28 +0000)]
if you're an OR and he's an OR and he's running 0.0.7,
don't expire your connections to him.
svn:r2062
Roger Dingledine [Tue, 20 Jul 2004 10:17:43 +0000 (10:17 +0000)]
a whole swath of fixes
introduce an authdir_mode() macro to match the others.
don't initialize uptime to the number of seconds since 1970.
non-authoritative dirservers don't cache their directory on disk.
make only authdirservers use clique_mode.
only read approved-routers file if you're an authdirserver.
even authdirservers fetch a new directory in do_hup.
retry_all_connections() is now called retry_all_listeners().
router_parse_list_from_string() correctly reports the router number
it's working on.
only call dirserv_add_own_fingerprint() and
dirserv_add_descriptor() on startup if we're an authdirserver.
if AuthDir and !ORPort then fail.
if AuthDir and ClientOnly then fail.
svn:r2061
Roger Dingledine [Tue, 20 Jul 2004 06:59:22 +0000 (06:59 +0000)]
ship and install tor_resolve script too
svn:r2060
Roger Dingledine [Tue, 20 Jul 2004 06:44:16 +0000 (06:44 +0000)]
clients can now pick non-authdirservers for fetching directories.
servers still pick authdirservers, but they never pick themselves.
but picking themselves for fetching rend descs is ok.
svn:r2059
Roger Dingledine [Tue, 20 Jul 2004 02:44:26 +0000 (02:44 +0000)]
break connection_dir_client_finished_reading() into its own function
svn:r2058
Roger Dingledine [Mon, 19 Jul 2004 23:26:21 +0000 (23:26 +0000)]
it turns out we weren't looking at the result from getsockopt().
now we do.
but i'm not sure it matters, since we also poll for reads, and if
there's an error with the connecting socket, poll is supposed to
return readable, so we should notice it then.
who knows.
svn:r2057
Roger Dingledine [Mon, 19 Jul 2004 22:30:18 +0000 (22:30 +0000)]
mention that you should proxy your SSL traffic too
svn:r2056
Roger Dingledine [Mon, 19 Jul 2004 19:49:03 +0000 (19:49 +0000)]
more useful warning messages
(fixed because the old ones confused a user)
svn:r2055
Nick Mathewson [Sun, 18 Jul 2004 21:47:04 +0000 (21:47 +0000)]
abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments.
svn:r2054
Roger Dingledine [Sat, 17 Jul 2004 19:50:29 +0000 (19:50 +0000)]
bugfix: hidden services were broken in cvs
svn:r2053
Nick Mathewson [Fri, 16 Jul 2004 23:33:42 +0000 (23:33 +0000)]
Change rule from "reject non-recommended versions" to "reject obsolete versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it.
svn:r2052
Nick Mathewson [Fri, 16 Jul 2004 23:05:40 +0000 (23:05 +0000)]
Remove 1024-router limit in routerparse.c; unify handling of running-routers lines in running-routers requests and in directories; set is_verified field of routerinfo_ts correctly; use most-recent-info rule to decide whether to change router-is-running status.
svn:r2051
Nick Mathewson [Fri, 16 Jul 2004 22:23:18 +0000 (22:23 +0000)]
Resolve all DOCDOCs.
svn:r2050
Nick Mathewson [Fri, 16 Jul 2004 21:47:18 +0000 (21:47 +0000)]
Revert cpuworker to use addr/port
svn:r2049
Nick Mathewson [Fri, 16 Jul 2004 19:43:58 +0000 (19:43 +0000)]
Look in .torrc if no CONFDIR "torrc" is found.
svn:r2048
Nick Mathewson [Thu, 15 Jul 2004 02:00:43 +0000 (02:00 +0000)]
Add generic expand_filename function to handle expanding ~/
svn:r2047
Nick Mathewson [Thu, 15 Jul 2004 01:59:18 +0000 (01:59 +0000)]
Fix warning
svn:r2046
Roger Dingledine [Thu, 15 Jul 2004 01:31:11 +0000 (01:31 +0000)]
give nick enough to keep him busy for a while more
svn:r2045
Nick Mathewson [Tue, 13 Jul 2004 19:16:49 +0000 (19:16 +0000)]
Code to parse tor version numbers so we can do an is-newer-than check.
svn:r2044
Nick Mathewson [Tue, 13 Jul 2004 18:23:40 +0000 (18:23 +0000)]
Finish most pre2 items: make running-routers list work right; rename secret key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname.
svn:r2043
Nick Mathewson [Tue, 13 Jul 2004 18:07:57 +0000 (18:07 +0000)]
Bugfix: some things (like ctrl-z) can make a second take more than one second
svn:r2042