Age | Commit message (Collapse) | Author |
|
svn:r13996
|
|
Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why.
svn:r13977
|
|
Fix for bug 614: always look at the network BIO for the SSL object, not at the buffering BIO (if one exists because we are renegotiating or something). Bugfix on 0.1.2.x, oddly enough, though it should be impossible to trigger the problem there. Backport candidate. See comments in tortls.c for detailed implementation note.
svn:r13975
|
|
Request client certs when renegotiating on server-side. Spotted by lodger. Bugfix on 0.2.0.x.
svn:r13973
|
|
svn:r13972
|
|
svn:r13971
|
|
Forward-port: Fix the SVK version detection logic to work right on a branch: tolerate multiple "copied from" tags and only look at the first.
svn:r13959
|
|
Fix bug spotted by mwenge: a server_event should not be a sever_event. Also, fix compile errors in config.c and control.c with --enable-gcc-warnings.
svn:r13957
|
|
Try to clarify draft vs needs-revision.
svn:r13956
|
|
svn:r13955
|
|
svn:r13951
|
|
svn:r13950
|
|
svn:r13949
|
|
The LOADCONF control command allows posting a config file to Tor
over the control interface. This config file is then loaded as if
it had been read from disk. Sending a HUP signal to Tor will make
it try to load its old config from disk again, thereby forgetting
the config loaded with this command.
svn:r13948
|
|
Change options_init_from_string() so that it returns different exit codes in the
error case, depending on what went wrong. Also push the responsibility to log
the error to the caller.
svn:r13947
|
|
svn:r13946
|
|
svn:r13945
|
|
move code that loads torrc from disk and sets torrc_fname into its own function
svn:r13944
|
|
Tread the case of a non-existing conffile, when allowed, exactly like the one
with an empty torrc.
svn:r13943
|
|
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
|
|
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
|
|
svn:r13940
|
|
CRLF for a multi-line control command, also truncate the string by nul-terminating it in the correct place.
svn:r13939
|
|
svn:r13937
|
|
svn:r13935
|
|
svn:r13925
|
|
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
|
|
Fix typo in tortls.c comment.
svn:r13887
|
|
not ever do it.
svn:r13884
|
|
svn:r13879
|
|
Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd
svn:r13876
|
|
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
|
|
svn:r13870
|
|
earlier if possible.
svn:r13866
|
|
svn:r13849
|
|
be sure to finish
svn:r13848
|
|
two months
svn:r13847
|
|
svn:r13837
|
|
svn:r13824
|
|
svn:r13821
|
|
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
|
|
svn:r13808
|
|
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
|
|
Whoo. People diagnosed and fixed bug 616. See changelog for details. Bugfix on 0.2.0.20-rc.
svn:r13793
|
|
svn:r13789
|
|
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
|
|
svn:r13787
|
|
svn:r13778
|
|
make a note to try to be more helpful still.
svn:r13776
|
|
Add better warnings for the error that produced bug 614, and downgrade from a tor_assert() to a tor_fragile_assert().
svn:r13752
|