]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 17 Aug 2004 21:06:36 +0000 (21:06 +0000)]
Move string-splitting into a separate function
svn:r2263
Roger Dingledine [Tue, 17 Aug 2004 12:09:37 +0000 (12:09 +0000)]
deal better if we don't have enough available nodes to choose a path
svn:r2262
Roger Dingledine [Tue, 17 Aug 2004 11:55:47 +0000 (11:55 +0000)]
make csv parsing notice the last letter of each entry too
svn:r2261
Roger Dingledine [Tue, 17 Aug 2004 11:52:20 +0000 (11:52 +0000)]
bugfix: make receiving csv lines not seg fault
svn:r2260
Roger Dingledine [Tue, 17 Aug 2004 11:42:22 +0000 (11:42 +0000)]
people with no torrc allow unverified middle/rendezvous nodes by default
svn:r2259
Roger Dingledine [Tue, 17 Aug 2004 08:48:52 +0000 (08:48 +0000)]
allow unverified nodes in middle and rendezvous positions by default
svn:r2258
Roger Dingledine [Tue, 17 Aug 2004 08:00:23 +0000 (08:00 +0000)]
when a verified routerinfo arrives with a new key than the previous
verified routerinfo with that name, close connections to the obsolete
key to make way for connections to the new key.
svn:r2257
Nick Mathewson [Tue, 17 Aug 2004 07:33:06 +0000 (07:33 +0000)]
Fix crash when looking for ~/.torrc with no $HOME set
svn:r2256
Nick Mathewson [Tue, 17 Aug 2004 07:14:45 +0000 (07:14 +0000)]
make last patch compile
svn:r2255
Nick Mathewson [Tue, 17 Aug 2004 07:12:05 +0000 (07:12 +0000)]
Stop logging events that happen to uninitialized digests
svn:r2254
Roger Dingledine [Tue, 17 Aug 2004 07:10:46 +0000 (07:10 +0000)]
mark off some more 0.0.8 items
svn:r2253
Roger Dingledine [Tue, 17 Aug 2004 07:09:02 +0000 (07:09 +0000)]
if they ask for exactly one entrynode, don't pick it as an exitnode.
also, fix part of the zero-identity-router-in-stats bug
svn:r2252
Roger Dingledine [Tue, 17 Aug 2004 06:42:30 +0000 (06:42 +0000)]
now that we parse router->uptime, make use of it
svn:r2251
Nick Mathewson [Tue, 17 Aug 2004 06:28:34 +0000 (06:28 +0000)]
Add strmap_isempty
svn:r2250
Roger Dingledine [Tue, 17 Aug 2004 06:27:32 +0000 (06:27 +0000)]
use unverified routers in the desired positions
svn:r2249
Nick Mathewson [Tue, 17 Aug 2004 06:06:05 +0000 (06:06 +0000)]
Clean up last patch; implement (mostly) proper handling for verified/unverified name collisions.
svn:r2248
Nick Mathewson [Tue, 17 Aug 2004 05:29:41 +0000 (05:29 +0000)]
Parse uptime into routerinfo
svn:r2247
Nick Mathewson [Tue, 17 Aug 2004 05:13:58 +0000 (05:13 +0000)]
Implement AllowUnverifiedNodes
svn:r2246
Roger Dingledine [Tue, 17 Aug 2004 02:00:36 +0000 (02:00 +0000)]
if a router claim huge bandwidth, don't believe it
svn:r2245
Nick Mathewson [Mon, 16 Aug 2004 20:47:00 +0000 (20:47 +0000)]
Add a generic Comma-separated-value config type, and a FirewallPorts option to tell FascistFirewall which ports are open. (Defaults to 80,443)
svn:r2244
Nick Mathewson [Mon, 16 Aug 2004 20:46:00 +0000 (20:46 +0000)]
Convenience function to do a strcmp on each member of a smartlist of strings
svn:r2243
Roger Dingledine [Mon, 16 Aug 2004 11:53:14 +0000 (11:53 +0000)]
move done 0.0.8 todo tasks aside
svn:r2242
Roger Dingledine [Mon, 16 Aug 2004 11:43:18 +0000 (11:43 +0000)]
o Handle servers with dynamic IP addresses: don't replace
options->Address with the resolved one at startup.
o detect our address right before we make a routerinfo each time.
o external IP vs bind-IP. Already done, just use options->Address.
o OutboundBindAddress config option, to bind to a specific
IP address for outgoing connect()s.
svn:r2241
Nick Mathewson [Sun, 15 Aug 2004 20:35:30 +0000 (20:35 +0000)]
Mark items as completed
svn:r2240
Nick Mathewson [Sun, 15 Aug 2004 20:31:11 +0000 (20:31 +0000)]
Update to new choose_random_node interface.
svn:r2239
Nick Mathewson [Sun, 15 Aug 2004 20:30:15 +0000 (20:30 +0000)]
Check for time skew on http headers; report date in response to "GET /".
svn:r2238
Nick Mathewson [Sun, 15 Aug 2004 20:16:26 +0000 (20:16 +0000)]
We are an OR if ORPort *or* ORBindAddress is set; similarly for being an OP
svn:r2237
Nick Mathewson [Sun, 15 Aug 2004 20:14:44 +0000 (20:14 +0000)]
Implement strict{entry|exit}nodes config options
svn:r2236
Nick Mathewson [Sun, 15 Aug 2004 20:13:07 +0000 (20:13 +0000)]
End truncated log entries with [truncated]
svn:r2235
Nick Mathewson [Sun, 15 Aug 2004 20:08:39 +0000 (20:08 +0000)]
Add IP:Port:KeyDigest format to rend-spec.txt
svn:r2234
Roger Dingledine [Sun, 15 Aug 2004 20:05:35 +0000 (20:05 +0000)]
fix assert triggers in 0.0.7.x: if the other side returns
an address 0.0.0.0, don't put it into the client dns cache.
svn:r2233
Roger Dingledine [Sun, 15 Aug 2004 08:25:48 +0000 (08:25 +0000)]
a todo list for 0.0.8
svn:r2232
Roger Dingledine [Sun, 15 Aug 2004 08:15:12 +0000 (08:15 +0000)]
o clients choose nodes proportional to advertised bandwidth
o and/or while avoiding unreliable nodes, depending on goals
o 'fascistfirewall' option to pick dirservers on port 80 and ORs on
port 443.
o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory.
svn:r2231
Roger Dingledine [Sun, 15 Aug 2004 08:12:56 +0000 (08:12 +0000)]
give tor-resolve a man page
svn:r2230
Roger Dingledine [Sun, 15 Aug 2004 05:28:09 +0000 (05:28 +0000)]
commit some minor fixes from this sandbox so i can commit the next one
svn:r2229
Roger Dingledine [Thu, 12 Aug 2004 06:31:39 +0000 (06:31 +0000)]
forward-port the 0.0.7.3 changelog
svn:r2228
Nick Mathewson [Wed, 11 Aug 2004 19:20:24 +0000 (19:20 +0000)]
Clean up tempdir after finishing unittests; use tor_temp_$PID instead of tor_temp; quit if tor_temp_$PID exists.
svn:r2226
Peter Palfrader [Wed, 11 Aug 2004 04:54:32 +0000 (04:54 +0000)]
Install design paper in usr/share/doc/tor, not usr/share/doc. Ooops.
svn:r2225
Roger Dingledine [Tue, 10 Aug 2004 05:34:51 +0000 (05:34 +0000)]
fix a typo in the man page
thanks dfc
svn:r2224
Roger Dingledine [Tue, 10 Aug 2004 00:20:44 +0000 (00:20 +0000)]
clean up the todo some more
svn:r2223
Roger Dingledine [Mon, 9 Aug 2004 23:45:11 +0000 (23:45 +0000)]
compile again on win32 (i think)
svn:r2222
Roger Dingledine [Mon, 9 Aug 2004 09:38:18 +0000 (09:38 +0000)]
reorganize todo to be a bit clearer about what's not done
svn:r2221
Peter Palfrader [Mon, 9 Aug 2004 09:23:17 +0000 (09:23 +0000)]
Fix debian version number
svn:r2219
Peter Palfrader [Mon, 9 Aug 2004 09:22:43 +0000 (09:22 +0000)]
New upstream prerelease
svn:r2218
Roger Dingledine [Mon, 9 Aug 2004 08:50:17 +0000 (08:50 +0000)]
bump cvs to 0.0.8pre4-cvs
svn:r2217
Roger Dingledine [Mon, 9 Aug 2004 07:41:32 +0000 (07:41 +0000)]
minor fix
svn:r2215
Roger Dingledine [Mon, 9 Aug 2004 07:41:25 +0000 (07:41 +0000)]
touchups to docs
svn:r2214
Roger Dingledine [Mon, 9 Aug 2004 07:41:21 +0000 (07:41 +0000)]
bump us to 0.0.8pre3
svn:r2213
Roger Dingledine [Mon, 9 Aug 2004 07:40:50 +0000 (07:40 +0000)]
add pre3 items to changelog
svn:r2212
Roger Dingledine [Mon, 9 Aug 2004 05:29:41 +0000 (05:29 +0000)]
mention our tor initscript in the README
svn:r2211
Roger Dingledine [Mon, 9 Aug 2004 05:29:30 +0000 (05:29 +0000)]
mention our tor initscript in the server config section
svn:r2210
Roger Dingledine [Mon, 9 Aug 2004 05:25:19 +0000 (05:25 +0000)]
make "%llu" less likely to warn on weird platforms
svn:r2209
Nick Mathewson [Mon, 9 Aug 2004 04:28:25 +0000 (04:28 +0000)]
Add replace_file to util.[ch] to survive stupidity of windows rename call
svn:r2208
Nick Mathewson [Mon, 9 Aug 2004 04:27:42 +0000 (04:27 +0000)]
Fix comment
svn:r2207
Nick Mathewson [Mon, 9 Aug 2004 04:27:13 +0000 (04:27 +0000)]
Fix bug in saving onion keys to disk when rotating; also survive short-term shutdowns better
svn:r2206
Nick Mathewson [Mon, 9 Aug 2004 04:26:25 +0000 (04:26 +0000)]
Make unittests pass
svn:r2205
Nick Mathewson [Mon, 9 Aug 2004 04:23:15 +0000 (04:23 +0000)]
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
Nick Mathewson [Mon, 9 Aug 2004 04:21:12 +0000 (04:21 +0000)]
Add spec for UI control protocol
svn:r2203
Nick Mathewson [Sun, 8 Aug 2004 19:14:44 +0000 (19:14 +0000)]
Fix a fencepost error in the last bandwidth reporting fix
svn:r2202
Nick Mathewson [Sun, 8 Aug 2004 18:59:17 +0000 (18:59 +0000)]
Be slightly more specific about ASN1
svn:r2201
Peter Palfrader [Sun, 8 Aug 2004 14:04:32 +0000 (14:04 +0000)]
Modify 02_add_debian_files_in_manpage to still apply
svn:r2200
Roger Dingledine [Sun, 8 Aug 2004 11:15:38 +0000 (11:15 +0000)]
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
Roger Dingledine [Sun, 8 Aug 2004 10:32:36 +0000 (10:32 +0000)]
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
Roger Dingledine [Sun, 8 Aug 2004 07:25:45 +0000 (07:25 +0000)]
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
Roger Dingledine [Sun, 8 Aug 2004 05:33:15 +0000 (05:33 +0000)]
update man page to reflect more default rejects
svn:r2196
Roger Dingledine [Sun, 8 Aug 2004 05:26:13 +0000 (05:26 +0000)]
reject the default edonkey, kazaa, gnutella ports
to slow the coming flood
svn:r2195
Roger Dingledine [Sun, 8 Aug 2004 00:04:05 +0000 (00:04 +0000)]
we should put an expiry date on the onion-keys?
svn:r2194
Roger Dingledine [Sat, 7 Aug 2004 09:01:56 +0000 (09:01 +0000)]
Don't warn about being unverified if you're not in the running-routers
list at all.
svn:r2193
Roger Dingledine [Sat, 7 Aug 2004 09:01:04 +0000 (09:01 +0000)]
touch-ups
svn:r2192
Roger Dingledine [Sat, 7 Aug 2004 08:30:16 +0000 (08:30 +0000)]
whoops, the man page has been rotting
(it needs more attention than just this)
svn:r2191
Nick Mathewson [Sat, 7 Aug 2004 05:13:55 +0000 (05:13 +0000)]
Handle loop initialization for bandwidth tracking properly
svn:r2190
Nick Mathewson [Sat, 7 Aug 2004 05:12:08 +0000 (05:12 +0000)]
Only warn about version newness once
svn:r2189
Roger Dingledine [Sat, 7 Aug 2004 04:03:01 +0000 (04:03 +0000)]
list the port and socks version when complaining about unsafe socks
svn:r2188
Nick Mathewson [Sat, 7 Aug 2004 03:38:07 +0000 (03:38 +0000)]
Allow multiple ORs with same nickname in routerlist
svn:r2187
Nick Mathewson [Sat, 7 Aug 2004 03:37:36 +0000 (03:37 +0000)]
Remove obsolete link-key keyword
svn:r2186
Nick Mathewson [Sat, 7 Aug 2004 03:25:42 +0000 (03:25 +0000)]
router_get_hash_impl would fail when end_str started with \n. Now it works.
svn:r2185
Roger Dingledine [Sat, 7 Aug 2004 03:03:23 +0000 (03:03 +0000)]
rotate onion keys every 12 hours, not every 2 hours
svn:r2184
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