Commit Graph

9895 Commits

Author SHA1 Message Date
Peter Palfrader
00d64fd213 options_init_from_torrc(): move code that loads torrc into its own function
move code that loads torrc from disk and sets torrc_fname into its own function


svn:r13944
2008-03-10 12:41:36 +00:00
Peter Palfrader
ded55fa296 options_init_from_torrc(): tread non-existing torrc like empty torrc.
Tread the case of a non-existing conffile, when allowed, exactly like the one
with an empty torrc.


svn:r13943
2008-03-10 12:41:33 +00:00
Peter Palfrader
e8f4d79ec1 options_init_from_torrc(): move code that looks for torrc into its own function
Part of options_init_from_torrc()'s job was looking for -f flags (to specify
an alternate config file) on the command line, complaining if more than one
is given or the given does not exist.  If none is given then use the compiled-in
default location, accepting if it does not exist.  This logic has been moved
into its own function in an attemped to make options_init_from_torrc() easier
to deal with.


svn:r13942
2008-03-10 12:41:29 +00:00
Peter Palfrader
4118e319c7 options_init_from_torrc(): Split argv processing into two parts
Split the argv processing loop into two poarts, one that deals with
figuring out which conffile to use, and the other that figures out
which "command" (hash fingerprint, verify config, list fpr, run tor)
the user asked for.

There is a third part further down that imports command line args
into the config but that is not touched.


svn:r13941
2008-03-10 12:41:26 +00:00
Peter Palfrader
82f3459490 Chrooting todo
svn:r13940
2008-03-10 12:39:48 +00:00
Peter Palfrader
8987bd2fd9 If we decrement incoming_cmd's length when receiving the ending CRLF "." CRLF for a multi-line control command, also truncate the string by nul-terminating it in the correct place.
svn:r13939
2008-03-10 12:13:43 +00:00
Steven Murdoch
0c56c7201f Add candidate proposal xxx-verify-tor-usage
svn:r13937
2008-03-10 11:08:31 +00:00
Roger Dingledine
0df1564298 forward-port recent changes
svn:r13935
2008-03-10 07:50:09 +00:00
Andrew Lewman
28a220b3cc clarify a task, and take myself off one
svn:r13925
2008-03-10 01:23:30 +00:00
Nick Mathewson
7587e16796 r18639@catbus: nickm | 2008-03-07 20:11:48 -0500
Change semantics of add-a-log functions to copy severity setup: that is way less error-prone.  Fix up config.c to act accordingly.


svn:r13888
2008-03-08 01:11:54 +00:00
Nick Mathewson
2675276618 r18638@catbus: nickm | 2008-03-07 20:11:15 -0500
Fix typo in tortls.c comment.


svn:r13887
2008-03-08 01:11:52 +00:00
Roger Dingledine
b770cc8e6e add some details on why we haven't done proposal 127 yet, and may
not ever do it.


svn:r13884
2008-03-07 21:19:21 +00:00
Roger Dingledine
5112bb4b1d did i say *end* of june? ha ha. i meant mid june.
svn:r13879
2008-03-06 21:08:54 +00:00
Nick Mathewson
670f4c19af r18632@catbus: nickm | 2008-03-05 17:38:52 -0500
Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd


svn:r13876
2008-03-05 22:39:49 +00:00
Nick Mathewson
f56ba5f3d6 r18630@catbus: nickm | 2008-03-05 17:31:33 -0500
Implement domain-selection for logging.  Source is documented; needs documentation in manpage (maybe).  For now, see doxygen comment on parse_log_severity_config in log.c


svn:r13875
2008-03-05 22:31:39 +00:00
Peter Palfrader
d3589553bc Work around fig2dev failing to build the images on all archs
svn:r13870
2008-03-05 08:48:51 +00:00
Roger Dingledine
8ff639b34c auto update for tor would be nice. it'd be nice by august. or
earlier if possible.


svn:r13866
2008-03-05 03:52:12 +00:00
Roger Dingledine
eca22a8c3d and move a few items back a little bit too
svn:r13849
2008-03-04 08:02:50 +00:00
Roger Dingledine
7dca229290 and move another item up two months, but try to make it easier to
be sure to finish


svn:r13848
2008-03-04 07:46:44 +00:00
Roger Dingledine
effdec3974 hey nick, i just moved one of your external constraints up by
two months


svn:r13847
2008-03-04 07:40:23 +00:00
Andrew Lewman
2df2eae19e Enable openbsd malloc for linux users.
svn:r13837
2008-03-04 01:14:31 +00:00
Peter Palfrader
9d19e55390 Merge r13822: New upstream version
svn:r13824
2008-03-03 13:39:53 +00:00
Peter Palfrader
530d4237c2 Merge r13820: Fix broken quoting in init script
svn:r13821
2008-03-03 13:37:17 +00:00
Peter Palfrader
9e7b4400dc minor cleanup
in options_act() we set running_tor to options->command == CMD_RUN_TOR
once and used that in all but one place.  Now we use running_tor in that
place also.


svn:r13819
2008-03-03 12:48:13 +00:00
Roger Dingledine
5bf0a01011 forward-port r13799 and the 0.2.0.21-rc changelog
svn:r13808
2008-03-02 22:29:04 +00:00
Roger Dingledine
cf3e1b1309 we should consider dumping the v1 directory stuff from 0.2.1.x.
perhaps we would even replace the v1 directory with a static
page saying 'this is a tor server, let me tell you what that is'.


svn:r13797
2008-03-01 17:47:41 +00:00
Nick Mathewson
77d1654c50 r18535@catbus: nickm | 2008-03-01 09:58:33 -0500
Whoo.  People diagnosed and fixed bug 616. See changelog for details.  Bugfix on 0.2.0.20-rc.


svn:r13793
2008-03-01 14:59:03 +00:00
Peter Palfrader
306aab9288 karsten points out that we are missing one dirserver
svn:r13789
2008-03-01 00:52:48 +00:00
Peter Palfrader
9b582af28a Run --verify-config before start/reload/restart as root. No longer su - to
debian-tor tor run it.  Given that we now even start Tor as root (it setuids
later on) this should be fine (closes: #468566).


svn:r13788
2008-03-01 00:51:37 +00:00
Peter Palfrader
0b95e987b1 Move config check to its own function
svn:r13787
2008-03-01 00:49:03 +00:00
Roger Dingledine
c5a7ff8e43 forward-port r13777
svn:r13778
2008-02-29 01:45:06 +00:00
Roger Dingledine
04efc74e18 be a little bit more helpful than "Error reading directory."
make a note to try to be more helpful still.


svn:r13776
2008-02-28 21:37:39 +00:00
Nick Mathewson
eefe2a3562 r18462@catbus: nickm | 2008-02-27 14:15:57 -0500
Add better warnings for the error that produced bug 614, and downgrade from a tor_assert() to a tor_fragile_assert().


svn:r13752
2008-02-27 19:19:34 +00:00
Nick Mathewson
d14f8f2547 r14516@tombo: nickm | 2008-02-27 03:10:26 -0500
Write some unit tests for a few functions and cases that needed them.


svn:r13751
2008-02-27 08:10:28 +00:00
Nick Mathewson
5855ca92a3 r14514@tombo: nickm | 2008-02-27 02:11:38 -0500
Add notes on dataflow (originally written for Dan) to HACKING document.


svn:r13749
2008-02-27 07:13:14 +00:00
Nick Mathewson
4ea982c4c0 r14481@tombo: nickm | 2008-02-26 14:49:04 -0500
Bump trunk version to 0.2.1.0-alpha-dev


svn:r13745
2008-02-26 19:49:28 +00:00
Nick Mathewson
5375f4bc98 Add the .txt ending to proposal 129. Mark proposal 123 finished.
svn:r13743
2008-02-26 19:29:40 +00:00
Nick Mathewson
4d68f2db63 r14471@tombo: nickm | 2008-02-26 13:35:59 -0500
Update statuses of implemented proposals to "Finished".


svn:r13740
2008-02-26 19:26:45 +00:00
Roger Dingledine
f24b7a3f8f a blurb for 0.2.0.20-rc
svn:r13732
2008-02-26 03:11:37 +00:00
Jacob Appelbaum
fa24596e8e Added myself to the TODO list for claims as 'I'.
svn:r13730
2008-02-25 20:16:32 +00:00
Peter Palfrader
36edb85ebd New upstream version
svn:r13726
2008-02-25 13:27:46 +00:00
Roger Dingledine
52a1c244ca bump to 0.2.0.20-rc-dev
svn:r13725
2008-02-25 06:51:18 +00:00
Roger Dingledine
91a6a69070 minor updates from my sandbox
svn:r13724
2008-02-25 06:47:15 +00:00
Andrew Lewman
d1cb225c89 update torbutton version to current
svn:r13723
2008-02-25 03:42:26 +00:00
Roger Dingledine
3dd9a3a23a bump to 0.2.0.20-rc
svn:r13715
2008-02-25 00:39:58 +00:00
Roger Dingledine
e7f3d6f76c fix most of pnx's warnings on irix64
svn:r13706
2008-02-24 23:39:53 +00:00
Nick Mathewson
3452486ac6 r14422@tombo: nickm | 2008-02-24 17:09:56 -0500
Whitespace fixes


svn:r13700
2008-02-24 22:11:18 +00:00
Nick Mathewson
ee8dce3084 r14421@tombo: nickm | 2008-02-24 17:05:18 -0500
Patch from mwenge: always willingly serve our own extrainfo from the controlport


svn:r13699
2008-02-24 22:11:12 +00:00
Nick Mathewson
b8f1092077 r14420@tombo: nickm | 2008-02-24 16:58:22 -0500
More TODO items for 0.2.1.x


svn:r13698
2008-02-24 22:11:08 +00:00
Nick Mathewson
dde81de3dd r14419@tombo: nickm | 2008-02-24 16:55:11 -0500
Patch from tup: use sizeof sockaddr_un as the size of a unix sockaddr.  Fixes unix controlsocket binding on openbsd.


svn:r13697
2008-02-24 22:11:00 +00:00