Commit Graph

1365 Commits

Author SHA1 Message Date
Roger Dingledine 8ebc24fdb2 trivial punctuation tweak
svn:r2027
2004-07-12 16:51:28 +00:00
Roger Dingledine d61a1a247e fix a bug related to reading usernames for socks4
this hasn't bitten us yet, but hey.


svn:r2026
2004-07-12 16:51:05 +00:00
Nick Mathewson 182ce239c1 Remove spurious assert
svn:r2018
2004-07-07 19:51:20 +00:00
Nick Mathewson 728b0eea89 Fix the router_compare_to_my_exit_policy assertion failure once-and-for-all, by declaring 0.0.0.0 always denied.
svn:r2017
2004-07-07 19:49:48 +00:00
Nick Mathewson 4faf4c81f2 Yes, I did mean "else if".
svn:r2016
2004-07-06 23:29:34 +00:00
Nick Mathewson 1f4ff1e1dc Fix bug reported by peter palfrader: an empty address is unresolvable, but not an occasion for an assertion failure in a dnsworker.
svn:r2015
2004-07-06 23:25:21 +00:00
Roger Dingledine 86f53aa8b8 touchups all over
put uptime in descriptor


svn:r2011
2004-07-04 22:48:11 +00:00
Nick Mathewson 4988f8fab1 When tor_lookup_hostname says 0.0.0.0, treat it as an error.
svn:r2003
2004-07-04 04:52:43 +00:00
Roger Dingledine 5ad006929b fix a seg fault when you try to launch a circ
svn:r2002
2004-07-03 01:45:13 +00:00
Roger Dingledine 11ba9f4353 populate circ->n_conn_id_digest when we set circ->n_conn
svn:r2001
2004-07-03 01:37:59 +00:00
Nick Mathewson a992abf668 More digest/nickname fixes
svn:r2000
2004-07-02 23:40:03 +00:00
Roger Dingledine 8b78cdb0b1 another checkpoint toward letting ORs connect on demand
svn:r1999
2004-07-02 23:08:59 +00:00
Roger Dingledine 31e19890c5 some of the infrastructure to let ORs connect on demand
svn:r1998
2004-07-02 09:29:01 +00:00
Nick Mathewson 4b3e00b8f2 Switch most uses of *_by_addr_port to *_by_identity_digest
svn:r1997
2004-07-01 23:13:04 +00:00
Roger Dingledine 8572d4972c running-routers now lists down routers too (with a ! before their name)
svn:r1996
2004-07-01 11:32:26 +00:00
Nick Mathewson ce6128913f 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
2004-07-01 01:16:59 +00:00
Roger Dingledine 329fe22126 cleanups on 008pre1 items
svn:r1993
2004-06-30 21:48:02 +00:00
Nick Mathewson 99d9a0224f Use arguments to routerlist_update_from_runningrouters correctly
svn:r1992
2004-06-30 16:48:36 +00:00
Nick Mathewson 956de39317 Always use get_data_directory() instead of options.DataDirectory; fix a memory leak in router.c
svn:r1991
2004-06-30 16:37:08 +00:00
Nick Mathewson 5bab03867f Always log version when starting tor.
svn:r1990
2004-06-30 16:35:11 +00:00
Roger Dingledine 43a841027b stop leaking options->ContactInfo on hup
svn:r1989
2004-06-29 19:46:06 +00:00
Roger Dingledine 2e1ca08976 add an example ContactInfo line to torrc.sample
svn:r1988
2004-06-29 19:32:11 +00:00
Nick Mathewson c5a882ee3d 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
2004-06-25 00:29:31 +00:00
Nick Mathewson e832a604ca Terminate comment
svn:r1982
2004-06-21 04:40:24 +00:00
Nick Mathewson 7a68d85dae Implement several 008pre1 items: needs more testing
svn:r1981
2004-06-21 04:37:27 +00:00
Roger Dingledine d1c542037e tweaks and bugfix on resolve/resolved code
svn:r1980
2004-06-17 21:11:09 +00:00
Nick Mathewson 52334ef346 Implement RESOLVE/RESOLVED cells and socks resolve code
svn:r1978
2004-06-17 18:13:09 +00:00
Roger Dingledine 971e13a742 router->is_trusted_dir implies router->dir_port>0
and add some infrastructure for fetching running-routers list


svn:r1973
2004-06-16 21:08:29 +00:00
Roger Dingledine 222f9cf4ad include <inttypes.h> if we have it
openbsd on a sparc64 needs this (apparently)


svn:r1971
2004-06-16 00:49:27 +00:00
Roger Dingledine 669d5b6f7d if datadirectory isn't owned by this uid, tell the user he must
fix it before he can proceed.


svn:r1968
2004-06-13 11:28:32 +00:00
Roger Dingledine a2294f37f2 what is this "command line" that we can allegedly write to?
svn:r1967
2004-06-13 11:25:20 +00:00
Nick Mathewson 55c0b8a4e6 Implement code to run tor as an NT service. More testing is needed, as is code to install the service.
svn:r1966
2004-06-12 21:43:02 +00:00
Nick Mathewson a38e06f5c8 Break tor_main into startup/loop/shutdown portions, to make NT service refactoring possible.
svn:r1965
2004-06-12 19:45:46 +00:00
Roger Dingledine b59033dc1d Address can be an IP too
svn:r1964
2004-06-10 14:23:34 +00:00
Nick Mathewson 67f0da5ae9 Use intptr_t correctly in test.c; try to resolve ia64 warnings
svn:r1963
2004-06-08 19:08:45 +00:00
Nick Mathewson 56a584a270 Update windows version to 0.0.7
svn:r1962
2004-06-07 22:31:24 +00:00
Roger Dingledine 399d54cdb9 provide a prototype for dnsworkers_rotate
svn:r1961
2004-06-07 20:00:30 +00:00
Roger Dingledine aba5d4d7a0 tweak on the sample torrc
svn:r1951
2004-06-06 18:00:59 +00:00
Nick Mathewson fa111ba98b Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config settings too
svn:r1950
2004-06-06 03:38:31 +00:00
Nick Mathewson 15be9c2b71 Unbork windows whitespace
svn:r1949
2004-06-05 01:56:54 +00:00
Nick Mathewson f08ea70480 Make tor build on win32 again; handle locking for server
svn:r1948
2004-06-05 01:50:35 +00:00
Roger Dingledine f21c2c02a3 bump an info message down to a debug
svn:r1947
2004-06-03 05:57:27 +00:00
Nick Mathewson 83f1afea2b Document new config options in torrc.sample.in
svn:r1944
2004-06-02 20:36:39 +00:00
Nick Mathewson 4d32c45892 If we are a directory, we should trust ourself.
svn:r1943
2004-06-02 20:15:35 +00:00
Nick Mathewson 4c6450c1b6 Check directory signatures based on name of signer, not on whom we got the directory from.
svn:r1940
2004-06-02 20:00:57 +00:00
Roger Dingledine 076525a331 crank up some of our constants, for better scalability
svn:r1938
2004-06-02 19:44:41 +00:00
Roger Dingledine 861d05cc93 define FD_SETSIZE in all cases, not just win32
svn:r1937
2004-06-02 19:44:23 +00:00
Nick Mathewson 86e5611a28 Stop multiplying logs on sighup.
svn:r1936
2004-06-02 19:18:37 +00:00
Roger Dingledine 9e18bbd8d1 be sure to detach streams from the circuit linked list before freeing them
also, don't bother marking a conn for close if you're about to free it


svn:r1935
2004-06-02 18:32:24 +00:00
Nick Mathewson 12d57b7b0e Only connection_dns_remove resolving exit connections
svn:r1934
2004-06-02 18:12:49 +00:00