| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
Detect errors from directory listing correctly on win32. Bug found by lodger.
svn:r14102
|
|
|
|
|
|
|
| |
Combine common code in set_max_file_descriptors(): all that varies from platform to platform in the no-getrlimit() case is the connection limit and the platform name.
svn:r14101
|
|
|
|
|
|
|
| |
Add missing typecasts to log message in set_max_file_descriptors to tell gcc everything is okay on windows. Fixes bug 630.
svn:r14099
|
|
|
|
|
|
|
| |
Forward-port bug 622 fix as diagnosed by lodger.
svn:r14096
|
|
|
|
|
|
|
| |
16, not 64.
svn:r14094
|
|
|
|
|
|
|
| |
stunning and i want to know why. :)
svn:r14088
|
|
|
|
|
|
|
| |
some duplicate items.
svn:r14086
|
|
|
|
|
|
|
| |
Fix tests and routerdesc behavior on trunk.
svn:r14084
|
|
|
|
|
|
|
| |
Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors.
svn:r14082
|
|
|
|
|
|
|
| |
Patch from Sebastian Hahn: give an error message on "error replacing old router store."
svn:r14080
|
|
|
|
|
|
|
| |
Clarify documentation for file_status a little
svn:r14079
|
|
|
|
|
|
|
| |
Fix policy-related crash bug found by lodger.
svn:r14077
|
|
|
|
| |
svn:r14073
|
|
|
|
|
|
|
| |
Clean up an overwide line.
svn:r14072
|
|
|
|
|
|
|
| |
oops. guard status logging change had a bug. it is non-obvious how to make the code perfect atm; just make it work.
svn:r14070
|
|
|
|
|
|
|
| |
Only dump all guard node status to the log when the guard node status actually changes. Downgrade the 4 most common remaining INFO log messages to DEBUG.
svn:r14069
|
|
|
|
|
|
|
| |
Part of fix for bug 617: allow connection_ap_handshake_attach_circuit() to mark connections, to avoid double-mark warnings. Note that this is an incomplete refactoring.
svn:r14066
|
|
|
|
|
|
|
| |
Fix a couple of bugs in setting control log callback severity.
svn:r14065
|
|
|
|
|
|
|
| |
Downgrade "sslv3 alert handshake failure" message to info.
svn:r14057
|
|
|
|
|
|
|
| |
Use 8k pages in openbsd malloc code on alpha. Bug and solution found by weasel. Also, when initializing openbsd malloc code, check that compiled page size matches output of getpagesize().
svn:r14056
|
|
|
|
|
|
|
| |
Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone.
svn:r14016
|
|
|
|
|
|
|
| |
Fix behavior of switch_logs_debug() in trunk. Fixes bug 626. Bugfix on r13875.
svn:r14015
|
|
|
|
|
|
|
| |
Add a malloc_good_size() implementation to OpenBSD_malloc_Linux.c. Also, make configure.in not use support functions for the platform malloc when we are not using the platform mallocs.
svn:r14010
|
|
|
|
|
|
| |
is being used as an array index)
svn:r14006
|
|
|
|
|
|
|
|
|
| |
get_interface_address6() fails regardless of the allocator used,
wever logging to the original severity of 0 causes an assert
error only with the bsd allocator. weird.
svn:r14005
|
|
|
|
|
|
|
| |
Make set-option functions return sensible error codes from an enum, not mysterious negative integers
svn:r14004
|
|
|
|
|
|
| |
in an assert error because of invalid log levels. Should a failure here fail our test suite?
svn:r14003
|
|
|
|
|
|
|
| |
Oops, do a better fix for that.
svn:r14001
|
|
|
|
|
|
|
| |
Have OpenBSD_malloc_Linux.c use SIZE_T_MAX from torint.h, instead of checking cpu macros. There is always one more cpu you havent checked for.
svn:r14000
|
|
|
|
| |
svn:r13999
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r13950
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
CRLF for a multi-line control command, also truncate the string by nul-terminating it in the correct place.
svn:r13939
|
|
|
|
| |
svn:r13935
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|