| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r13649
|
|
|
|
| |
svn:r13644
|
|
|
|
|
|
|
| |
Answer one xxx020 item; move 7 other ones to a new "XXX020rc" category: they should get fixed before we cut a release candidate. arma: please review these to see whether you have fixes/answers for any. Please check out the other 14 XXX020s to see if any look critical for the release candidate.
svn:r13640
|
|
|
|
|
|
|
| |
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer.
svn:r13639
|
|
|
|
|
|
|
| |
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
|
|
|
|
|
|
| |
Correct handling of nested MAP_FOREACH loops. There are none of those ATM, but isn't it nice that now they'll be correct?
svn:r13637
|
|
|
|
|
|
|
| |
Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke.
svn:r13626
|
|
|
|
| |
svn:r13621
|
|
|
|
|
|
|
| |
Simplify rounding logic in bitarray; fix a bug in bitarray_expand().
svn:r13619
|
|
|
|
|
|
|
| |
Count sockets returned from socketpair() too. This is probably not the socket counting bug.
svn:r13600
|
|
|
|
|
|
|
| |
Add a few asserts to catch possible errors found by veracode.
svn:r13598
|
|
|
|
|
|
|
| |
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function.
svn:r13596
|
|
|
|
|
|
|
| |
Brown-paper-bag time. We were failing to count all the sockets from accept().
svn:r13595
|
|
|
|
|
|
|
| |
New debugging code to figure out what is happending with socket counts.
svn:r13593
|
|
|
|
|
|
|
| |
When SafeLogging is off, have TLS errors and messages logged with their associated addresses.
svn:r13591
|
|
|
|
|
|
|
| |
Add some checks in torgzip.c to make sure we never overflow size_t there. Also make sure we do not realloc(list,0) in container.c. Backport candidate.
svn:r13587
|
|
|
|
| |
svn:r13581
|
|
|
|
|
|
|
| |
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it
svn:r13580
|
|
|
|
| |
svn:r13578
|
|
|
|
|
|
|
| |
Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610.
svn:r13557
|
|
|
|
|
|
|
| |
Fix capitalization error
svn:r13545
|
|
|
|
|
|
|
| |
Add openbsd memory allocator discussed in bug 468, to make it easier for linux users to get non-awful allocation patterns. Use --enable-openbsd-malloc to turn it on. Needs more testing.
svn:r13544
|
|
|
|
|
|
|
| |
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
|
|
|
|
|
|
|
| |
Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release.
svn:r13530
|
|
|
|
|
|
|
| |
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs).
svn:r13529
|
|
|
|
|
|
|
| |
cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
svn:r13488
|
|
|
|
|
|
|
| |
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation.
svn:r13484
|