]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Sat, 7 Aug 2004 02:59:46 +0000 (02:59 +0000)]
Fix a leak
svn:r2183
Nick Mathewson [Sat, 7 Aug 2004 02:46:16 +0000 (02:46 +0000)]
Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests.
svn:r2182
Roger Dingledine [Sat, 7 Aug 2004 02:19:49 +0000 (02:19 +0000)]
avoid racing the mark-for-close when the client hangs up on us
at the same time we get an end relay cell.
(thanks to wmf for reminding me)
svn:r2181
Roger Dingledine [Sat, 7 Aug 2004 01:48:50 +0000 (01:48 +0000)]
untwisting the logic, it would seem the pkey is always defined?
svn:r2180
Nick Mathewson [Sat, 7 Aug 2004 01:30:23 +0000 (01:30 +0000)]
Comment about n_args<1 is correct, since all directory servers are running post-007x versions
svn:r2179
Nick Mathewson [Sat, 7 Aug 2004 01:18:02 +0000 (01:18 +0000)]
fencepost
svn:r2178
Roger Dingledine [Sat, 7 Aug 2004 01:17:38 +0000 (01:17 +0000)]
print the name of the dirserver that told us we were unverified
nick, please review this.
svn:r2177
Nick Mathewson [Sat, 7 Aug 2004 01:12:04 +0000 (01:12 +0000)]
Always initialize hexid in rend_mid_rendezvous, no matter what
svn:r2176
Nick Mathewson [Sat, 7 Aug 2004 01:03:33 +0000 (01:03 +0000)]
hex_encode is obsoleted by base16_encode, and never actually worked in the first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.)
svn:r2175
Roger Dingledine [Sat, 7 Aug 2004 00:19:14 +0000 (00:19 +0000)]
reject tor-resolve requests for .onion addresses early
svn:r2174
Roger Dingledine [Fri, 6 Aug 2004 22:47:41 +0000 (22:47 +0000)]
be willing to expire routers that have a dirport open
it's just the authoritative dirservers we want to not forget
svn:r2173
Peter Palfrader [Fri, 6 Aug 2004 22:36:07 +0000 (22:36 +0000)]
Enable coredumps by default
svn:r2172
Roger Dingledine [Fri, 6 Aug 2004 22:15:25 +0000 (22:15 +0000)]
let purging routerinfos and descriptors take an age argument
svn:r2171
Peter Palfrader [Fri, 6 Aug 2004 21:31:01 +0000 (21:31 +0000)]
* Ship AUTHORS, doc/CLIENTS, doc/FAQ, doc/HACKING, doc/TODO, doc/tor-doc.{css,html}, doc/{rend,tor}-spec.txt with the binary package.
* Build tor-design.{pdf,ps}, wich adds new build-dependencies: tetex-{bin,extra}, transfig, and gs.
* Support DEB_BUILD_OPTIONS option 'nodoc' to skip building tor-design. With nodoc the build will not need tetex-{bin,extra}, transfig, and gs.
* Support DEB_BUILD_OPTIONS option 'nocheck' to skip unittests ('notest' is an alias')
svn:r2170
Peter Palfrader [Fri, 6 Aug 2004 21:03:32 +0000 (21:03 +0000)]
Properly clean up everything we might have bulit
svn:r2169
Nick Mathewson [Fri, 6 Aug 2004 20:46:50 +0000 (20:46 +0000)]
Keep track of a whole day of bandwidth, not just 12 hrs
svn:r2168
Peter Palfrader [Fri, 6 Aug 2004 20:04:43 +0000 (20:04 +0000)]
Fix 0.0.8pre2-1 changelog
svn:r2167
Peter Palfrader [Fri, 6 Aug 2004 20:00:27 +0000 (20:00 +0000)]
the repository is no place for a well behaved .in file
svn:r2166
Nick Mathewson [Fri, 6 Aug 2004 20:00:16 +0000 (20:00 +0000)]
(size_t)-1 is never < 0; fix an XXXX008 by changing the interface for dirserv_get_runningrouters
svn:r2165
Nick Mathewson [Fri, 6 Aug 2004 19:54:48 +0000 (19:54 +0000)]
Add mystery 0 entry to TODO list
svn:r2164
Peter Palfrader [Fri, 6 Aug 2004 19:54:29 +0000 (19:54 +0000)]
Move design-paper into its own directory, and ship it and all that is needed to build with it in the tarball
svn:r2163
Nick Mathewson [Fri, 6 Aug 2004 19:54:20 +0000 (19:54 +0000)]
There is no space after network-status; make router_get_hash_impl more bulletproof.
svn:r2162
Roger Dingledine [Fri, 6 Aug 2004 19:44:17 +0000 (19:44 +0000)]
when they use tor as an http proxy, point them at a better url
svn:r2161
Roger Dingledine [Fri, 6 Aug 2004 19:40:19 +0000 (19:40 +0000)]
bump cvs to 0.0.8pre3-cvs
svn:r2160
Roger Dingledine [Fri, 6 Aug 2004 10:13:25 +0000 (10:13 +0000)]
and add a comment to that effect
svn:r2159
Roger Dingledine [Fri, 6 Aug 2004 10:12:55 +0000 (10:12 +0000)]
make explicit that 'no socks policy' means 'accept'
svn:r2158
Roger Dingledine [Fri, 6 Aug 2004 10:11:57 +0000 (10:11 +0000)]
clarify sockspolicy, exitpolicy rules
svn:r2157
Roger Dingledine [Fri, 6 Aug 2004 09:56:36 +0000 (09:56 +0000)]
fix an assert: check the sockspolicy before we make/add the connection,
else we close a connection without assigning it a state, which is bad
because it fails assert_conn_ok()
svn:r2156
Roger Dingledine [Fri, 6 Aug 2004 09:23:47 +0000 (09:23 +0000)]
weasel suggests we compress the directory one day. he's right.
svn:r2155
Roger Dingledine [Fri, 6 Aug 2004 09:19:04 +0000 (09:19 +0000)]
we were telling them a nonexistent config option. oops.
(thanks to john todd for pointing this out)
svn:r2154
Roger Dingledine [Fri, 6 Aug 2004 09:18:35 +0000 (09:18 +0000)]
fix a few typos in the resolve/resolved spec
svn:r2153
Roger Dingledine [Fri, 6 Aug 2004 08:40:55 +0000 (08:40 +0000)]
they're uint64 and uint32, not int and int
svn:r2152
Roger Dingledine [Fri, 6 Aug 2004 08:37:13 +0000 (08:37 +0000)]
list total traffic and total uptime in -usr1 stats
svn:r2151
Roger Dingledine [Fri, 6 Aug 2004 02:27:06 +0000 (02:27 +0000)]
note a bug that adam found
svn:r2150
Roger Dingledine [Thu, 5 Aug 2004 19:33:54 +0000 (19:33 +0000)]
note a bug in our dns error handling. we should fix this sometime.
svn:r2149
Roger Dingledine [Thu, 5 Aug 2004 00:39:23 +0000 (00:39 +0000)]
bugfix: when you finish answering a 'resolve' request, hold the
connection open so you can flush the answer
svn:r2148
Roger Dingledine [Wed, 4 Aug 2004 21:38:00 +0000 (21:38 +0000)]
bugfix: when tor-resolve asks to resolve an IP to an IP and we answer
immediately, there's no need to send an 'end' relay cell when we close
the conn.
svn:r2147
Peter Palfrader [Wed, 4 Aug 2004 19:55:22 +0000 (19:55 +0000)]
Fix changelog
svn:r2145
Peter Palfrader [Wed, 4 Aug 2004 19:54:02 +0000 (19:54 +0000)]
New upstream release
svn:r2144
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