Commit Graph

2208 Commits

Author SHA1 Message Date
Roger Dingledine 110d96a350 make "%llu" less likely to warn on weird platforms
svn:r2209
2004-08-09 05:25:19 +00:00
Nick Mathewson e0be9d092c Add replace_file to util.[ch] to survive stupidity of windows rename call
svn:r2208
2004-08-09 04:28:25 +00:00
Nick Mathewson 540d0fc712 Fix comment
svn:r2207
2004-08-09 04:27:42 +00:00
Nick Mathewson 90c4dd30c0 Fix bug in saving onion keys to disk when rotating; also survive short-term shutdowns better
svn:r2206
2004-08-09 04:27:13 +00:00
Nick Mathewson 1fd7fd54ce Make unittests pass
svn:r2205
2004-08-09 04:26:25 +00:00
Nick Mathewson ff7b79fed9 Spec cleanups: improved accuracy and detail of description of
directory formats, added ipv6 exit spec.

(The IPv6 stuff is only for exiting connections: ORs still need IPv4 addrs)


svn:r2204
2004-08-09 04:23:15 +00:00
Nick Mathewson 3654d82a9d Add spec for UI control protocol
svn:r2203
2004-08-09 04:21:12 +00:00
Nick Mathewson ed7f30bc33 Fix a fencepost error in the last bandwidth reporting fix
svn:r2202
2004-08-08 19:14:44 +00:00
Nick Mathewson bd5d9c0c27 Be slightly more specific about ASN1
svn:r2201
2004-08-08 18:59:17 +00:00
Peter Palfrader f5f23d3a05 Modify 02_add_debian_files_in_manpage to still apply
svn:r2200
2004-08-08 14:04:32 +00:00
Roger Dingledine c6f23be271 stop wasting cpu time on authdirservers
we were making a new directory only when the old one was dirty, but
every time we made one, we'd dirty it by testing it right then.


svn:r2199
2004-08-08 11:15:38 +00:00
Roger Dingledine b7c8b226dd fix a race condition in 008pre2: don't try to extend onto a connection
that's still handshaking.

for servers in clique mode, require the conn to be open before you'll
choose it for your path.


svn:r2198
2004-08-08 10:32:36 +00:00
Roger Dingledine 1301f3fad8 let children survive sigint, sigterm, etc.
this was biting us because ^c would get delivered to all of them,
maybe because they were all still listening to stdin?


svn:r2197
2004-08-08 07:25:45 +00:00
Roger Dingledine e69216417b update man page to reflect more default rejects
svn:r2196
2004-08-08 05:33:15 +00:00
Roger Dingledine 6932663e2f reject the default edonkey, kazaa, gnutella ports
to slow the coming flood


svn:r2195
2004-08-08 05:26:13 +00:00
Roger Dingledine 885c10729a we should put an expiry date on the onion-keys?
svn:r2194
2004-08-08 00:04:05 +00:00
Roger Dingledine 50eedd2207 Don't warn about being unverified if you're not in the running-routers
list at all.


svn:r2193
2004-08-07 09:01:56 +00:00
Roger Dingledine 43b4dfa359 touch-ups
svn:r2192
2004-08-07 09:01:04 +00:00
Roger Dingledine 80170c8041 whoops, the man page has been rotting
(it needs more attention than just this)


svn:r2191
2004-08-07 08:30:16 +00:00
Nick Mathewson 95ff0f2acc Handle loop initialization for bandwidth tracking properly
svn:r2190
2004-08-07 05:13:55 +00:00
Nick Mathewson 62ddb1a047 Only warn about version newness once
svn:r2189
2004-08-07 05:12:08 +00:00
Roger Dingledine c134223835 list the port and socks version when complaining about unsafe socks
svn:r2188
2004-08-07 04:03:01 +00:00
Nick Mathewson 9b87c218df Allow multiple ORs with same nickname in routerlist
svn:r2187
2004-08-07 03:38:07 +00:00
Nick Mathewson f3bf0e5083 Remove obsolete link-key keyword
svn:r2186
2004-08-07 03:37:36 +00:00
Nick Mathewson c879efb82d router_get_hash_impl would fail when end_str started with \n. Now it works.
svn:r2185
2004-08-07 03:25:42 +00:00
Roger Dingledine 41c4bf66e1 rotate onion keys every 12 hours, not every 2 hours
svn:r2184
2004-08-07 03:03:23 +00:00
Nick Mathewson 2c8ef37a04 Fix a leak
svn:r2183
2004-08-07 02:59:46 +00:00
Nick Mathewson dd71ed20a6 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
2004-08-07 02:46:16 +00:00
Roger Dingledine a5fe1d3426 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
2004-08-07 02:19:49 +00:00
Roger Dingledine e00bf69d65 untwisting the logic, it would seem the pkey is always defined?
svn:r2180
2004-08-07 01:48:50 +00:00
Nick Mathewson 2e6251d48d Comment about n_args<1 is correct, since all directory servers are running post-007x versions
svn:r2179
2004-08-07 01:30:23 +00:00
Nick Mathewson 1ea11ead20 fencepost
svn:r2178
2004-08-07 01:18:02 +00:00
Roger Dingledine 6860b3939f print the name of the dirserver that told us we were unverified
nick, please review this.


svn:r2177
2004-08-07 01:17:38 +00:00
Nick Mathewson b960682a4e Always initialize hexid in rend_mid_rendezvous, no matter what
svn:r2176
2004-08-07 01:12:04 +00:00
Nick Mathewson 952b5f07fb 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
2004-08-07 01:03:33 +00:00
Roger Dingledine fef5746002 reject tor-resolve requests for .onion addresses early
svn:r2174
2004-08-07 00:19:14 +00:00
Roger Dingledine 693180c05e be willing to expire routers that have a dirport open
it's just the authoritative dirservers we want to not forget


svn:r2173
2004-08-06 22:47:41 +00:00
Peter Palfrader 6c2c4572da Enable coredumps by default
svn:r2172
2004-08-06 22:36:07 +00:00
Roger Dingledine 426df63a67 let purging routerinfos and descriptors take an age argument
svn:r2171
2004-08-06 22:15:25 +00:00
Peter Palfrader fc7836d589 * 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
2004-08-06 21:31:01 +00:00
Peter Palfrader ab7a2d7607 Properly clean up everything we might have bulit
svn:r2169
2004-08-06 21:03:32 +00:00
Nick Mathewson c92542be79 Keep track of a whole day of bandwidth, not just 12 hrs
svn:r2168
2004-08-06 20:46:50 +00:00
Peter Palfrader 33b95658b2 Fix 0.0.8pre2-1 changelog
svn:r2167
2004-08-06 20:04:43 +00:00
Peter Palfrader 380adcbe2f the repository is no place for a well behaved .in file
svn:r2166
2004-08-06 20:00:27 +00:00
Nick Mathewson f9671d8844 (size_t)-1 is never < 0; fix an XXXX008 by changing the interface for dirserv_get_runningrouters
svn:r2165
2004-08-06 20:00:16 +00:00
Nick Mathewson 152c28618e Add mystery 0 entry to TODO list
svn:r2164
2004-08-06 19:54:48 +00:00
Peter Palfrader 87daf70c0a Move design-paper into its own directory, and ship it and all that is needed to build with it in the tarball
svn:r2163
2004-08-06 19:54:29 +00:00
Nick Mathewson e9e7ca77fd There is no space after network-status; make router_get_hash_impl more bulletproof.
svn:r2162
2004-08-06 19:54:20 +00:00
Roger Dingledine 1964f8ff58 when they use tor as an http proxy, point them at a better url
svn:r2161
2004-08-06 19:44:17 +00:00
Roger Dingledine 2290e52123 bump cvs to 0.0.8pre3-cvs
svn:r2160
2004-08-06 19:40:19 +00:00