]>
git.ipfire.org Git - thirdparty/tor.git/log
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
Roger Dingledine [Tue, 13 Jul 2004 16:58:01 +0000 (16:58 +0000)]
only count bytes transmitted to/from non-local IPs
svn:r2041
Roger Dingledine [Tue, 13 Jul 2004 16:57:37 +0000 (16:57 +0000)]
add is_local_IP() function to help distinguish which bandwidth "matters"
svn:r2040
Roger Dingledine [Tue, 13 Jul 2004 16:03:46 +0000 (16:03 +0000)]
include a css file for tor-doc.html
(also include it in the tarball)
svn:r2039
Roger Dingledine [Tue, 13 Jul 2004 15:59:08 +0000 (15:59 +0000)]
ship doc/tor-doc.html in the tarball
svn:r2038
Roger Dingledine [Tue, 13 Jul 2004 07:42:20 +0000 (07:42 +0000)]
checkpoint: start working on bandwidth tracking and
letting clients evaluate whether they're suitable servers
svn:r2037
Roger Dingledine [Tue, 13 Jul 2004 01:25:39 +0000 (01:25 +0000)]
refuse to build a circuit before the directory has arrived
this will prevent a few of the 'couldn't decrypt onionskin' errors, maybe
svn:r2036
Roger Dingledine [Tue, 13 Jul 2004 00:38:08 +0000 (00:38 +0000)]
when you expire a wedged dir conn, conn_close_if_marked will take
care of trying to flush before it closes
svn:r2035
Roger Dingledine [Mon, 12 Jul 2004 23:53:16 +0000 (23:53 +0000)]
bugfix: tell circuits what id_digest to look for, so
n_conn_open() can find waiting circuits.
svn:r2034
Roger Dingledine [Mon, 12 Jul 2004 21:18:45 +0000 (21:18 +0000)]
update the todo list a bit
svn:r2033
Roger Dingledine [Mon, 12 Jul 2004 20:41:20 +0000 (20:41 +0000)]
why does gcc not warn me about this at all? that's evil.
svn:r2032
Roger Dingledine [Mon, 12 Jul 2004 20:39:40 +0000 (20:39 +0000)]
tor now tolerates down dirservers better
svn:r2031
Roger Dingledine [Mon, 12 Jul 2004 20:18:05 +0000 (20:18 +0000)]
make unit tests pass again
but note a bug that i don't know how to address. nick?
svn:r2030
Roger Dingledine [Mon, 12 Jul 2004 18:19:55 +0000 (18:19 +0000)]
if connecting to an OR fails immediately, mark it as down
svn:r2029
Roger Dingledine [Mon, 12 Jul 2004 18:02:54 +0000 (18:02 +0000)]
add 'advertisedbandwidth' to router descriptor
svn:r2028
Roger Dingledine [Mon, 12 Jul 2004 16:51:28 +0000 (16:51 +0000)]
trivial punctuation tweak
svn:r2027
Roger Dingledine [Mon, 12 Jul 2004 16:51:05 +0000 (16:51 +0000)]
fix a bug related to reading usernames for socks4
this hasn't bitten us yet, but hey.
svn:r2026
Roger Dingledine [Thu, 8 Jul 2004 19:12:50 +0000 (19:12 +0000)]
emphasize tor hidden services in the 'why should you use tor' section
svn:r2025
Roger Dingledine [Thu, 8 Jul 2004 02:20:25 +0000 (02:20 +0000)]
changelog for 0.0.7.2 in the main branch
svn:r2024
Peter Palfrader [Thu, 8 Jul 2004 01:22:06 +0000 (01:22 +0000)]
* New upstream release: Fixes another instance of that remote crash bug.
* Mention another reason why stop/reload may fail in the init script.
svn:r2020
Nick Mathewson [Wed, 7 Jul 2004 19:51:20 +0000 (19:51 +0000)]
Remove spurious assert
svn:r2018
Nick Mathewson [Wed, 7 Jul 2004 19:49:48 +0000 (19:49 +0000)]
Fix the router_compare_to_my_exit_policy assertion failure once-and-for-all, by declaring 0.0.0.0 always denied.
svn:r2017
Nick Mathewson [Tue, 6 Jul 2004 23:29:34 +0000 (23:29 +0000)]
Yes, I did mean "else if".
svn:r2016
Nick Mathewson [Tue, 6 Jul 2004 23:25:21 +0000 (23:25 +0000)]
Fix bug reported by peter palfrader: an empty address is unresolvable, but not an occasion for an assertion failure in a dnsworker.
svn:r2015
Peter Palfrader [Mon, 5 Jul 2004 18:31:43 +0000 (18:31 +0000)]
s/exit bugs/exit nodes/
svn:r2014
Peter Palfrader [Mon, 5 Jul 2004 17:20:13 +0000 (17:20 +0000)]
New upstream release
svn:r2012
Roger Dingledine [Sun, 4 Jul 2004 22:48:11 +0000 (22:48 +0000)]
touchups all over
put uptime in descriptor
svn:r2011
Roger Dingledine [Sun, 4 Jul 2004 19:15:11 +0000 (19:15 +0000)]
add a changelog for 0.0.7.1
svn:r2008
Roger Dingledine [Sun, 4 Jul 2004 06:29:59 +0000 (06:29 +0000)]
two more todo items
svn:r2007
Nick Mathewson [Sun, 4 Jul 2004 04:52:43 +0000 (04:52 +0000)]
When tor_lookup_hostname says 0.0.0.0, treat it as an error.
svn:r2003
Roger Dingledine [Sat, 3 Jul 2004 01:45:13 +0000 (01:45 +0000)]
fix a seg fault when you try to launch a circ
svn:r2002
Roger Dingledine [Sat, 3 Jul 2004 01:37:59 +0000 (01:37 +0000)]
populate circ->n_conn_id_digest when we set circ->n_conn
svn:r2001
Nick Mathewson [Fri, 2 Jul 2004 23:40:03 +0000 (23:40 +0000)]
More digest/nickname fixes
svn:r2000
Roger Dingledine [Fri, 2 Jul 2004 23:08:59 +0000 (23:08 +0000)]
another checkpoint toward letting ORs connect on demand
svn:r1999
Roger Dingledine [Fri, 2 Jul 2004 09:29:01 +0000 (09:29 +0000)]
some of the infrastructure to let ORs connect on demand
svn:r1998
Nick Mathewson [Thu, 1 Jul 2004 23:13:04 +0000 (23:13 +0000)]
Switch most uses of *_by_addr_port to *_by_identity_digest
svn:r1997
Roger Dingledine [Thu, 1 Jul 2004 11:32:26 +0000 (11:32 +0000)]
running-routers now lists down routers too (with a ! before their name)
svn:r1996
Nick Mathewson [Thu, 1 Jul 2004 01:34:02 +0000 (01:34 +0000)]
Update tor-spec with new EXTEND format and info about certificate chains
svn:r1995
Nick Mathewson [Thu, 1 Jul 2004 01:16:59 +0000 (01:16 +0000)]
Track routers by hash of identity key; use hex hash of identity key in place of nickname; accept (and use) hash of identity key in EXTEND cells.
svn:r1994
Roger Dingledine [Wed, 30 Jun 2004 21:48:02 +0000 (21:48 +0000)]
cleanups on 008pre1 items
svn:r1993
Nick Mathewson [Wed, 30 Jun 2004 16:48:36 +0000 (16:48 +0000)]
Use arguments to routerlist_update_from_runningrouters correctly
svn:r1992
Nick Mathewson [Wed, 30 Jun 2004 16:37:08 +0000 (16:37 +0000)]
Always use get_data_directory() instead of options.DataDirectory; fix a memory leak in router.c
svn:r1991
Nick Mathewson [Wed, 30 Jun 2004 16:35:11 +0000 (16:35 +0000)]
Always log version when starting tor.
svn:r1990
Roger Dingledine [Tue, 29 Jun 2004 19:46:06 +0000 (19:46 +0000)]
stop leaking options->ContactInfo on hup
svn:r1989
Roger Dingledine [Tue, 29 Jun 2004 19:32:11 +0000 (19:32 +0000)]
add an example ContactInfo line to torrc.sample
svn:r1988
Roger Dingledine [Mon, 28 Jun 2004 06:47:07 +0000 (06:47 +0000)]
put tor-doc.html under revision control
packagers should consider including it in /usr/...doc/
svn:r1987
Peter Palfrader [Sun, 27 Jun 2004 22:33:05 +0000 (22:33 +0000)]
Ask people to be a little more verbose in the mails they send to tor-ops
svn:r1986
Nick Mathewson [Fri, 25 Jun 2004 00:29:31 +0000 (00:29 +0000)]
Remaining 008pre1 items done; deferred where more design is needed.
More docs and (way more!) testing needed.
Done:
- Authdirservers down directories from others.
- Generate and use running-routers lists
- Cache directories; store across reboots.
- Refactor directory parsing a bit; note potential trouble spots.
svn:r1985
Roger Dingledine [Wed, 23 Jun 2004 20:45:12 +0000 (20:45 +0000)]
add a changelog entry for 0.0.2pre13, since we have it
svn:r1984
Roger Dingledine [Wed, 23 Jun 2004 01:49:10 +0000 (01:49 +0000)]
include the default exit policy in the man page
svn:r1983
Nick Mathewson [Mon, 21 Jun 2004 04:40:24 +0000 (04:40 +0000)]
Terminate comment
svn:r1982
Nick Mathewson [Mon, 21 Jun 2004 04:37:27 +0000 (04:37 +0000)]
Implement several 008pre1 items: needs more testing
svn:r1981
Roger Dingledine [Thu, 17 Jun 2004 21:11:09 +0000 (21:11 +0000)]
tweaks and bugfix on resolve/resolved code
svn:r1980
Roger Dingledine [Thu, 17 Jun 2004 21:05:46 +0000 (21:05 +0000)]
minor bugfix in socks explanation
svn:r1979
Nick Mathewson [Thu, 17 Jun 2004 18:13:09 +0000 (18:13 +0000)]
Implement RESOLVE/RESOLVED cells and socks resolve code
svn:r1978
Nick Mathewson [Thu, 17 Jun 2004 18:12:03 +0000 (18:12 +0000)]
Add simple python tool to use Tor for DNS lookups
svn:r1977
Nick Mathewson [Thu, 17 Jun 2004 18:11:31 +0000 (18:11 +0000)]
document socks extensions and dns lookup code
svn:r1976
Roger Dingledine [Thu, 17 Jun 2004 05:38:20 +0000 (05:38 +0000)]
bump cvs version to 0.0.8pre1-cvs
svn:r1975