Commit Graph

1900 Commits

Author SHA1 Message Date
Roger Dingledine
1c21a02b90 router_choose_random_node() was ignoring its routerlist argument.
so now we don't pass it one.


svn:r1911
2004-05-20 19:12:28 +00:00
Roger Dingledine
66dd21b7a4 some more patching
svn:r1910
2004-05-20 08:41:54 +00:00
Roger Dingledine
034110e761 bugfix: if no loglevel or logfile is specified, then we need to open
a default log to stdout.


svn:r1909
2004-05-20 08:15:28 +00:00
Roger Dingledine
faf2fdb1e0 don't ever expire dirserver routerinfos!
svn:r1908
2004-05-20 06:42:38 +00:00
Roger Dingledine
30a07b2ecd non-dirservers expire routerinfo's that are more than a day old
svn:r1907
2004-05-20 05:10:30 +00:00
Roger Dingledine
b6faca2268 enable checking the socks policy
svn:r1906
2004-05-20 04:16:43 +00:00
Nick Mathewson
80365b9897 Allow multiple exit policy lines; mostly add support for AP policies
svn:r1905
2004-05-20 02:42:50 +00:00
Nick Mathewson
80be19d9da Tighten assert_cpath_layer_ok assumptions
svn:r1904
2004-05-19 23:51:39 +00:00
Roger Dingledine
b37450ce55 do all the heavy lifting in connection_about_to_close_connection,
not in _connection_mark_for_close

this will hopefully clean up the huge cyclical function mess


svn:r1903
2004-05-19 23:32:20 +00:00
Nick Mathewson
b8f535a2d8 tor_assert, not assert. stdout, not stderr
svn:r1902
2004-05-19 21:40:44 +00:00
Nick Mathewson
d95f347b14 Add Port to *bindAddress.
svn:r1901
2004-05-19 20:25:44 +00:00
Nick Mathewson
553b0a4f51 Mark some items completed
svn:r1900
2004-05-19 20:08:02 +00:00
Nick Mathewson
9d2cd7fc6e Allow multiple logfiles at different severity ranges
svn:r1899
2004-05-19 20:07:08 +00:00
Roger Dingledine
1a829b0df4 and another todo item
svn:r1898
2004-05-19 20:06:08 +00:00
Roger Dingledine
03d63cb813 a start of a todo list for 0.0.7
what else was scheduled for 0.0.7?


svn:r1897
2004-05-19 20:02:03 +00:00
Roger Dingledine
41c9b8230d fix compile error in dirserv
(declare variables before the rest of the function)


svn:r1896
2004-05-19 19:42:50 +00:00
Nick Mathewson
ba14428d66 Fix segfault
svn:r1895
2004-05-19 19:28:24 +00:00
Nick Mathewson
1cfac90984 remove upper limit on number of descriptors/directories in dirserver; use smartlists instead of arrays
svn:r1894
2004-05-18 17:41:40 +00:00
Roger Dingledine
53d8744f1b final version.
svn:r1893
2004-05-18 17:29:36 +00:00
Roger Dingledine
d2de7120fa fix a seg fault, add another XXX for nick ;)
svn:r1892
2004-05-18 16:54:04 +00:00
Roger Dingledine
ffbbf76f9b add html version of tor-design, including 150% png's exported from
xfig with "more scaling" magic on

plus new pdf for nick's typo fix


svn:r1891
2004-05-18 16:02:38 +00:00
Nick Mathewson
10d52c46cb Fix a spelling error
svn:r1890
2004-05-18 15:50:26 +00:00
Nick Mathewson
7511fbf993 Resolve some XXXs
svn:r1889
2004-05-18 15:35:21 +00:00
Roger Dingledine
9da1714676 first attempt at camera-ready tor-design.pdf
svn:r1888
2004-05-18 06:21:42 +00:00
Roger Dingledine
4b9d65e1db include actual rend spec in tarball
svn:r1887
2004-05-18 06:18:56 +00:00
Roger Dingledine
eac75309f8 remove obsolete rendezvous pre-spec
svn:r1886
2004-05-18 06:18:30 +00:00
Roger Dingledine
92c4b3f139 clean up bib; remove incorrect directory consensus discussion
svn:r1885
2004-05-18 06:14:29 +00:00
Roger Dingledine
fd09a4080b cut clean tighten tweak
svn:r1884
2004-05-18 05:34:45 +00:00
Nick Mathewson
a782b83c28 Only try to launch a fixed number of intro circuits for a service per 15-minute period or before all of the intro circuits succeed, whichever comes first
svn:r1883
2004-05-18 01:53:53 +00:00
Nick Mathewson
14ba9f9153 Override unaligned-access-ok check when $host_cpu is ia64. Apparently, ia64-linux reacts to unaligned access by making the kernel gripe. Re-run autogen.sh if you need config.guess/sub.
svn:r1882
2004-05-17 20:53:04 +00:00
Nick Mathewson
683d06bf44 Fix segfault and logic error in last patch.
svn:r1881
2004-05-17 20:41:40 +00:00
Nick Mathewson
50b7ebcf9e Make directory functions update routerlist, not replace it. Add notion of OR-is-trusted-to-be-a-dirserver. Arma, please review: does this handle being a dirserver right?
svn:r1880
2004-05-17 20:31:01 +00:00
Roger Dingledine
d9bcb23f76 make design and in-the-wild sections more correct
plus other cleaning throughout


svn:r1879
2004-05-17 09:19:02 +00:00
Roger Dingledine
7c4e47fece the eax paper got published
svn:r1878
2004-05-17 09:07:08 +00:00
Roger Dingledine
3071e1b9db correct the field lengths in the cell structure diagram
svn:r1877
2004-05-17 04:06:52 +00:00
Roger Dingledine
a554135c98 Stefan Mark was the one doing the bug finding, not Stefan Kopsell
svn:r1876
2004-05-16 10:58:50 +00:00
Roger Dingledine
fcafc5e234 bump version of cvs pre1, since old cvs pre1 is incompatible
svn:r1875
2004-05-16 08:55:13 +00:00
Peter Palfrader
c2182701de New upstream release
svn:r1873
2004-05-16 08:53:24 +00:00
Roger Dingledine
7ec7b74c17 commit changelog on 0.0.6.2 (about to be released),
and notes on 0.0.7pre1 (not yet released)


svn:r1872
2004-05-16 08:50:36 +00:00
Roger Dingledine
6dc576bab7 bugfix: our integrity-checking digest was checking only the most
recent cell, not the previous cells like we'd thought.

this change is backward incompatible.


svn:r1868
2004-05-15 23:49:41 +00:00
Roger Dingledine
04bb8c8046 bugfix: if a circuit if borderline too old, then count it as too old.
bugfix: we were retrying the same circuit after getting a resolve
failure. so of course the next two tries would fail too. now we try
a new circuit each time (at most three times).


svn:r1867
2004-05-15 07:21:25 +00:00
Nick Mathewson
09a4748578 Reintegrate appendix; edit paper a bit; leave design section alone; add XXXX comments
svn:r1866
2004-05-14 06:41:41 +00:00
Roger Dingledine
010ee5d0ba having two example exitpolicy lines, when only one is allowed, was confusing
svn:r1865
2004-05-13 22:38:16 +00:00
Roger Dingledine
d7815e85a7 assert_cpath_ok has always been broken
re-disable it.


svn:r1864
2004-05-13 07:44:21 +00:00
Roger Dingledine
ef561c0e42 Break files apart into more modules
* \file circuitbuild.c
 * \brief The actual details of building circuits.

 * \file circuitlist.c
 * \brief Manage the global circuit list.

 * \file circuituse.c
 * \brief Launch the right sort of circuits, attach streams to them.

 * \file connection_edge.c
 * \brief Handle edge streams.

 * \file onion.c
 * \brief Functions to queue create cells, and handle onionskin
 * parsing and creation.

 * \file relay.c
 * \brief Handle relay cell encryption/decryption, plus packaging and
 * receiving from circuits.


svn:r1863
2004-05-13 07:24:49 +00:00
Peter Palfrader
6c68187e9f Mention nick and Matej Pfajfar's copyright in debian/copyright
svn:r1862
2004-05-13 03:07:07 +00:00
Nick Mathewson
7faec93ea5 Make mdd.py marginally less kludgey
svn:r1861
2004-05-13 00:09:50 +00:00
Roger Dingledine
5ba9235873 clean up directory.c API
svn:r1860
2004-05-12 23:48:57 +00:00
Roger Dingledine
630e930799 don't flush the buf from inside connection_write_to_buf
svn:r1859
2004-05-12 22:56:26 +00:00
Roger Dingledine
1cf1836990 break connection_edge_end out of connection_mark_for_close
svn:r1858
2004-05-12 21:12:33 +00:00