| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r14203
|
|
|
|
| |
svn:r14202
|
|
|
|
|
|
|
| |
Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely.
svn:r14201
|
|
|
|
|
|
|
| |
Fix whitespace
svn:r14197
|
|
|
|
|
|
|
| |
Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies.
svn:r14194
|
|
|
|
|
|
|
| |
More unit tests to improve coverage.
svn:r14185
|
|
|
|
|
|
|
| |
Add some unit tests, particularly for AES counter mode.
svn:r14180
|
|
|
|
| |
svn:r14165
|
|
|
|
|
|
|
| |
Use RAND_poll() again: the bug that made us stop using it has been fixed.
svn:r14150
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Clarify documentation for file_status a little
svn:r14079
|
|
|
|
| |
svn:r14073
|
|
|
|
|
|
|
| |
Clean up an overwide line.
svn:r14072
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Whoo. People diagnosed and fixed bug 616. See changelog for details. Bugfix on 0.2.0.20-rc.
svn:r13793
|
|
|
|
|
|
|
| |
make a note to try to be more helpful still.
svn:r13776
|
|
|
|
|
|
|
| |
Write some unit tests for a few functions and cases that needed them.
svn:r13751
|
|
|
|
| |
svn:r13706
|
|
|
|
|
|
|
| |
Whitespace fixes
svn:r13700
|
|
|
|
|
|
|
|
|
|
| |
<weasel> tortls.c:634: warning: passing arg 1 of `SSL_get_session' discards
qualifiers from pointer target type
Nick, see if you like this patch.
svn:r13690
|
|
|
|
|
|
|
| |
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
|
|
|
|
|
| |
Make torint.h define ssize_t more robustly; add spaces to last patch
svn:r13670
|
|
|
|
|
|
|
| |
Remove extraneous commas in compat.c
svn:r13669
|
|
|
|
|
|
|
| |
Remove redundant check from container.c that gcc 4.2 didnt like
svn:r13668
|
|
|
|
|
|
|
| |
Enable v2 handshakes.
svn:r13666
|
|
|
|
|
|
|
| |
Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate.
svn:r13665
|
|
|
|
|
|
|
| |
Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not.
svn:r13664
|
|
|
|
| |
svn:r13663
|
|
|
|
|
|
|
| |
Fix all -Wshorten-64-to-32 warnings that appear on my macbook.
svn:r13662
|
|
|
|
|
|
|
| |
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit.
svn:r13660
|
|
|
|
|
|
|
| |
Change some of our log messages related to closed TLS connections in order to better reflect reality.
svn:r13657
|
|
|
|
|
|
|
| |
Patch from Sebastian Hahn: remove obsolete timeval manipulation functions.
svn:r13653
|