Commit Graph

1927 Commits

Author SHA1 Message Date
Roger Dingledine 7287bb83c0 declare the epipe bug a non-bug.
now we catch and ignore epipe signals, and when write returns epipe,
we simply return -1 and close the socket/connection.


svn:r1928
2004-06-01 17:31:13 +00:00
Roger Dingledine 7c372c5beb use sys/param.h if it's there
svn:r1927
2004-06-01 17:03:01 +00:00
Roger Dingledine c412a9e7bc search for sys/param.h too
freebsd needs it to know what version it's running


svn:r1926
2004-06-01 17:00:19 +00:00
Roger Dingledine 9f411fa303 put a comment reminding us that we do hashes in software only
svn:r1925
2004-06-01 16:36:56 +00:00
Roger Dingledine 31a9a14356 bugfix: if the wedged dir conn has no bytes to flush, then we never
close it.


svn:r1924
2004-05-28 17:56:17 +00:00
Roger Dingledine d2a828e0ad interim changelog notes for 0.0.7pre1
svn:r1923
2004-05-28 15:05:48 +00:00
Roger Dingledine b00257a28b dirservers try to reconnect periodically too, in case connections have failed
svn:r1922
2004-05-28 15:01:47 +00:00
Roger Dingledine de73123d57 rik's patch to not complain about freebsd's bug
svn:r1921
2004-05-26 20:27:54 +00:00
Roger Dingledine decb5acbf9 rik's patch to only include kerberos/include on red hat
svn:r1920
2004-05-26 20:23:12 +00:00
Nick Mathewson 3aa6956389 Keep temporary log in place while configuring logs
svn:r1919
2004-05-24 02:28:15 +00:00
Roger Dingledine 12e59bb82a commit two fixes from Thomas Themel
svn:r1918
2004-05-22 18:05:20 +00:00
Roger Dingledine 2477059198 it looks like parse_log_level() was never taught about WARN?
svn:r1917
2004-05-21 12:38:52 +00:00
Roger Dingledine 25b20e4cf9 minor comment patch
svn:r1916
2004-05-21 12:30:07 +00:00
Roger Dingledine f77e558548 when the dns resolve is cancelled, or fails, be sure to remove
conn from circ->resolving_streams

otherwise it gets freed and stays there, causing seg faults.


svn:r1915
2004-05-21 12:25:15 +00:00
Roger Dingledine 8b4f0bb0e4 a few instructions for hidden services
svn:r1914
2004-05-20 22:41:06 +00:00
Roger Dingledine 92a7a4be9c fix a double mark-for-close
svn:r1913
2004-05-20 22:39:01 +00:00
Nick Mathewson 0106ebd26e Tinker with log behavior: never send error messages about logs into the bitbucket
svn:r1912
2004-05-20 19:47:28 +00:00
Roger Dingledine 97f7e9a022 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 60cf749227 some more patching
svn:r1910
2004-05-20 08:41:54 +00:00
Roger Dingledine 343892a676 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 89db26aec7 don't ever expire dirserver routerinfos!
svn:r1908
2004-05-20 06:42:38 +00:00
Roger Dingledine 8f75756a79 non-dirservers expire routerinfo's that are more than a day old
svn:r1907
2004-05-20 05:10:30 +00:00
Roger Dingledine 67ff39fd86 enable checking the socks policy
svn:r1906
2004-05-20 04:16:43 +00:00
Nick Mathewson 9a0bd39e5d Allow multiple exit policy lines; mostly add support for AP policies
svn:r1905
2004-05-20 02:42:50 +00:00
Nick Mathewson 2b6605ac99 Tighten assert_cpath_layer_ok assumptions
svn:r1904
2004-05-19 23:51:39 +00:00
Roger Dingledine df42d16855 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 bb29431da2 tor_assert, not assert. stdout, not stderr
svn:r1902
2004-05-19 21:40:44 +00:00
Nick Mathewson d66ffc4d1e Add Port to *bindAddress.
svn:r1901
2004-05-19 20:25:44 +00:00
Nick Mathewson 510ed9eb36 Mark some items completed
svn:r1900
2004-05-19 20:08:02 +00:00
Nick Mathewson 5aa7e662e7 Allow multiple logfiles at different severity ranges
svn:r1899
2004-05-19 20:07:08 +00:00
Roger Dingledine 22f2a83ce8 and another todo item
svn:r1898
2004-05-19 20:06:08 +00:00
Roger Dingledine cc785e548e 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 ca39626dd4 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 cca7106756 Fix segfault
svn:r1895
2004-05-19 19:28:24 +00:00
Nick Mathewson 2946a6a2af 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 ed556a4096 final version.
svn:r1893
2004-05-18 17:29:36 +00:00
Roger Dingledine 1341b3e7c7 fix a seg fault, add another XXX for nick ;)
svn:r1892
2004-05-18 16:54:04 +00:00
Roger Dingledine b11b02f6f2 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 c381025009 Fix a spelling error
svn:r1890
2004-05-18 15:50:26 +00:00
Nick Mathewson d9066b67ff Resolve some XXXs
svn:r1889
2004-05-18 15:35:21 +00:00
Roger Dingledine ecfb8a5c6f first attempt at camera-ready tor-design.pdf
svn:r1888
2004-05-18 06:21:42 +00:00
Roger Dingledine d53643f9ac include actual rend spec in tarball
svn:r1887
2004-05-18 06:18:56 +00:00
Roger Dingledine 0e323f8736 remove obsolete rendezvous pre-spec
svn:r1886
2004-05-18 06:18:30 +00:00
Roger Dingledine ca3d80d989 clean up bib; remove incorrect directory consensus discussion
svn:r1885
2004-05-18 06:14:29 +00:00
Roger Dingledine fddc0f9097 cut clean tighten tweak
svn:r1884
2004-05-18 05:34:45 +00:00
Nick Mathewson 2256c241ba 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 9ea6d18bf4 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 7b15c60156 Fix segfault and logic error in last patch.
svn:r1881
2004-05-17 20:41:40 +00:00
Nick Mathewson dc74f686ad 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 f19cf9870a make design and in-the-wild sections more correct
plus other cleaning throughout


svn:r1879
2004-05-17 09:19:02 +00:00