aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* r18929@catbus: nickm | 2008-03-18 12:08:16 -0400Nick Mathewson2008-03-18
| | | | | | | Detect errors from directory listing correctly on win32. Bug found by lodger. svn:r14102
* r18927@catbus: nickm | 2008-03-18 11:11:49 -0400Nick Mathewson2008-03-18
| | | | | | | 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
* r18923@catbus: nickm | 2008-03-18 11:01:22 -0400Nick Mathewson2008-03-18
| | | | | | | Add missing typecasts to log message in set_max_file_descriptors to tell gcc everything is okay on windows. Fixes bug 630. svn:r14099
* r18919@catbus: nickm | 2008-03-18 10:53:38 -0400Nick Mathewson2008-03-18
| | | | | | | Forward-port bug 622 fix as diagnosed by lodger. svn:r14096
* r18913@catbus: nickm | 2008-03-18 10:30:39 -0400Nick Mathewson2008-03-18
| | | | | | | 16, not 64. svn:r14094
* point out another bug for nick. and if it's *not* a bug, that'sRoger Dingledine2008-03-18
| | | | | | | stunning and i want to know why. :) svn:r14088
* forward-port the 0.2.0.22-rc changelog entry, plus removeRoger Dingledine2008-03-18
| | | | | | | some duplicate items. svn:r14086
* r18900@catbus: nickm | 2008-03-17 18:32:25 -0400Nick Mathewson2008-03-17
| | | | | | | Fix tests and routerdesc behavior on trunk. svn:r14084
* r18896@catbus: nickm | 2008-03-17 16:10:54 -0400Nick Mathewson2008-03-17
| | | | | | | Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors. svn:r14082
* r18891@catbus: nickm | 2008-03-17 13:20:20 -0400Nick Mathewson2008-03-17
| | | | | | | Patch from Sebastian Hahn: give an error message on "error replacing old router store." svn:r14080
* r18890@catbus: nickm | 2008-03-17 13:19:29 -0400Nick Mathewson2008-03-17
| | | | | | | Clarify documentation for file_status a little svn:r14079
* r18880@catbus: nickm | 2008-03-17 12:51:24 -0400Nick Mathewson2008-03-17
| | | | | | | Fix policy-related crash bug found by lodger. svn:r14077
* And use 16k pages on ia64. Maybe this should be a configure thingPeter Palfrader2008-03-17
| | | | svn:r14073
* r18878@catbus: nickm | 2008-03-17 00:11:02 -0400Nick Mathewson2008-03-17
| | | | | | | Clean up an overwide line. svn:r14072
* r18873@catbus: nickm | 2008-03-17 00:06:31 -0400Nick Mathewson2008-03-17
| | | | | | | 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
* r18872@catbus: nickm | 2008-03-16 23:56:48 -0400Nick Mathewson2008-03-17
| | | | | | | 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
* r18862@catbus: nickm | 2008-03-16 23:33:11 -0400Nick Mathewson2008-03-17
| | | | | | | 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
* r18861@catbus: nickm | 2008-03-16 23:22:56 -0400Nick Mathewson2008-03-17
| | | | | | | Fix a couple of bugs in setting control log callback severity. svn:r14065
* r18852@catbus: nickm | 2008-03-16 22:47:19 -0400Nick Mathewson2008-03-17
| | | | | | | Downgrade "sslv3 alert handshake failure" message to info. svn:r14057
* r18850@catbus: nickm | 2008-03-16 22:35:38 -0400Nick Mathewson2008-03-17
| | | | | | | 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
* r18804@catbus: nickm | 2008-03-13 18:18:31 -0400Nick Mathewson2008-03-13
| | | | | | | Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone. svn:r14016
* r18803@catbus: nickm | 2008-03-13 17:59:25 -0400Nick Mathewson2008-03-13
| | | | | | | Fix behavior of switch_logs_debug() in trunk. Fixes bug 626. Bugfix on r13875. svn:r14015
* r18793@catbus: nickm | 2008-03-13 14:09:19 -0400Nick Mathewson2008-03-13
| | | | | | | 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
* Assert that severity in logv() is sane. Interesting effects otherwise (It ↵Peter Palfrader2008-03-13
| | | | | | is being used as an array index) svn:r14006
* downgrade get_interface_address6 logging severity to LOG_DEBUG.Peter Palfrader2008-03-13
| | | | | | | | | 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
* r18787@catbus: nickm | 2008-03-13 11:11:52 -0400Nick Mathewson2008-03-13
| | | | | | | Make set-option functions return sensible error codes from an enum, not mysterious negative integers svn:r14004
* Use proper log levels with get_interface_address6() calls so we do not die ↵Peter Palfrader2008-03-13
| | | | | | in an assert error because of invalid log levels. Should a failure here fail our test suite? svn:r14003
* r18783@catbus: nickm | 2008-03-13 11:06:45 -0400Nick Mathewson2008-03-13
| | | | | | | Oops, do a better fix for that. svn:r14001
* r18781@catbus: nickm | 2008-03-13 11:00:51 -0400Nick Mathewson2008-03-13
| | | | | | | 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
* I wonder what the DISGARD service isPeter Palfrader2008-03-13
| | | | svn:r13999
* r18753@catbus: nickm | 2008-03-11 14:56:39 -0400Nick Mathewson2008-03-11
| | | | | | | Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why. svn:r13977
* r18751@catbus: nickm | 2008-03-11 14:22:43 -0400Nick Mathewson2008-03-11
| | | | | | | 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
* r18747@catbus: nickm | 2008-03-11 13:21:25 -0400Nick Mathewson2008-03-11
| | | | | | | Request client certs when renegotiating on server-side. Spotted by lodger. Bugfix on 0.2.0.x. svn:r13973
* r18730@catbus: nickm | 2008-03-11 00:47:04 -0400Nick Mathewson2008-03-11
| | | | | | | 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
* r18723@catbus: nickm | 2008-03-11 00:25:30 -0400Nick Mathewson2008-03-11
| | | | | | | 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
* And appease the whitespace nazis among usPeter Palfrader2008-03-10
| | | | svn:r13950
* Implement LOADCONF control commandPeter Palfrader2008-03-10
| | | | | | | | | | | 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
* different exit codes for options_init_from_string()Peter Palfrader2008-03-10
| | | | | | | | | 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
* options_init_from_torrc(): split off options_init_from_string()Peter Palfrader2008-03-10
| | | | svn:r13946
* Store options we got from commandline seperately from bare argv/argcPeter Palfrader2008-03-10
| | | | svn:r13945
* options_init_from_torrc(): move code that loads torrc into its own functionPeter Palfrader2008-03-10
| | | | | | | move code that loads torrc from disk and sets torrc_fname into its own function svn:r13944
* options_init_from_torrc(): tread non-existing torrc like empty torrc.Peter Palfrader2008-03-10
| | | | | | | | Tread the case of a non-existing conffile, when allowed, exactly like the one with an empty torrc. svn:r13943
* options_init_from_torrc(): move code that looks for torrc into its own functionPeter Palfrader2008-03-10
| | | | | | | | | | | | 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
* options_init_from_torrc(): Split argv processing into two partsPeter Palfrader2008-03-10
| | | | | | | | | | | | | 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
* If we decrement incoming_cmd's length when receiving the ending CRLF "." ↵Peter Palfrader2008-03-10
| | | | | | CRLF for a multi-line control command, also truncate the string by nul-terminating it in the correct place. svn:r13939
* forward-port recent changesRoger Dingledine2008-03-10
| | | | svn:r13935
* r18639@catbus: nickm | 2008-03-07 20:11:48 -0500Nick Mathewson2008-03-08
| | | | | | | 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
* r18638@catbus: nickm | 2008-03-07 20:11:15 -0500Nick Mathewson2008-03-08
| | | | | | | Fix typo in tortls.c comment. svn:r13887
* r18632@catbus: nickm | 2008-03-05 17:38:52 -0500Nick Mathewson2008-03-05
| | | | | | | Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd svn:r13876
* r18630@catbus: nickm | 2008-03-05 17:31:33 -0500Nick Mathewson2008-03-05
| | | | | | | 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