summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-02Improve comments in check_private_dir and onion poisoningteor
Comment changes only
2016-11-02fixup! Refactor, adding a create argument to rend_service_check_private_dirteor
2016-11-02Use check_private_dir in test_single_onion_poisoningteor
This avoids Win32 conditionals for mkdir.
2016-11-02Remove redundant group permission code from rend_service_check_private_dirteor
check_private_dir already does this for existing directories.
2016-11-02Refactor, adding a create argument to rend_service_check_private_dirteor
It used to be rend_service_check_and_create_private_dir, which always created the directory. No behaviour change.
2016-10-31Create single-onion-service directory before poisoning it, if neededNick Mathewson
(Also, refactor the code to create a hidden service directory into a separate funcion, so we don't have to duplicate it.) Fixes bug 20484; bugfix on 0.2.9.3-alpha.
2016-10-31Actually clamp the number of detected CPUs to 16.Nick Mathewson
Previously we said we did, but didn't. Fixes #19968; bugfix on 0.2.3.1-alpha.
2016-10-26Avoid tor_fragile_assert() failure with DNSPort on RESOLVED_TYPE_ERRORNick Mathewson
The tor_fragile_assert() bug has existed here since c8a5e2d588e0d91 in tor-0.2.1.7-alpha forever, but tor_fragile_assert() was mostly a no-op until 0.2.9.1-alpha. Fixes bug 19869.
2016-10-18changes file for module docsNick Mathewson
2016-10-18Module-level docs for ext_orport and router.cNick Mathewson
2016-10-18Turn replaycache.c module doc into doxygenNick Mathewson
2016-10-18Document connection_or.c and connection.c at module levelNick Mathewson
2016-10-18Module documentation for circuitmux_ewma.cNick Mathewson
2016-10-18Turn circuitmux.c comments into module docs.Nick Mathewson
2016-10-18Module docs for channel.c and channeltls.cNick Mathewson
2016-10-17Merge branch 'maint-0.2.8'Nick Mathewson
"ours" commit to avoid bumping version.
2016-10-17Bump to 0.2.8.9-devNick Mathewson
2016-10-17Bump master to 0.2.9.4-alpha-devNick Mathewson
2016-10-17release-notes for 0.2.8.9tor-0.2.9.4-alphaNick Mathewson
2016-10-17Merge branch 'maint-0.2.8'Nick Mathewson
("ours" merge to avoid taking version bump)
2016-10-17bump to 0.2.8.9Nick Mathewson
2016-10-17Fold 20384 into changelogNick Mathewson
2016-10-17Update the buffer sentinel fix to work with our #20081 fix.Nick Mathewson
2016-10-17Merge branch 'maint-0.2.8'Nick Mathewson
2016-10-17Merge branch 'buf_sentinel_026_v2' into maint-0.2.8Nick Mathewson
2016-10-17Add a one-word sentinel value of 0x0 at the end of each buf_t chunkNick Mathewson
This helps protect against bugs where any part of a buf_t's memory is passed to a function that expects a NUL-terminated input. It also closes TROVE-2016-10-001 (aka bug 20384).
2016-10-17changelog typo fixes from RubiateNick Mathewson
2016-10-17Bump version to 0.2.9.4-alpha.Nick Mathewson
2016-10-17edits to changelog from kate and davidNick Mathewson
2016-10-17Wrap the changelog, add a blurbNick Mathewson
2016-10-17Start on an 0.2.9.4-alpha changelogNick Mathewson
2016-10-17Fix a syntax problemNick Mathewson
2016-10-17changes file for module docsNick Mathewson
2016-10-17Merge branch 'module_docs_1'Nick Mathewson
2016-10-17Write a bunch of module documentation.Nick Mathewson
This commit adds or improves the module-level documenation for: buffers.c circuitstats.c command.c connection_edge.c control.c cpuworker.c crypto_curve25519.c crypto_curve25519.h crypto_ed25519.c crypto_format.c dircollate.c dirserv.c dns.c dns_structs.h fp_pair.c geoip.c hibernate.c keypin.c ntmain.c onion.c onion_fast.c onion_ntor.c onion_tap.c periodic.c protover.c protover.h reasons.c rephist.c replaycache.c routerlist.c routerparse.c routerset.c statefile.c status.c tor_main.c workqueue.c In particular, I've tried to explain (for each documented module) what each module does, what's in it, what the big idea is, why it belongs in Tor, and who calls it. In a few cases, I've added TODO notes about refactoring opportunities. I've also renamed an argument, and fixed a few DOCDOC comments.
2016-10-17Add a logic-consistency test when parsing unix socket configsNick Mathewson
Coverity couldn't tell that 'addrport' was always non-NULL at this point in the function, so I'm adding an explicit check. This closes CID 1374060.
2016-10-14Whitespace cleaningNick Mathewson
2016-10-14adding instructions how to include new test filesChelsea H. Komlo
2016-10-14Merge branch 'bug20176_v2'Nick Mathewson
2016-10-14Merge remote-tracking branch 'public/spaces_in_unix_addrs'Nick Mathewson
2016-10-14Make the FreeBSD ersatz_socketpair test even more skippable.Nick Mathewson
(This is safe, since only windows actually -uses- erstaz_socketpair.)
2016-10-14Merge branch 'bug18357_v2'Nick Mathewson
2016-10-14Extract ExitPolicy-and-IPv6Exit check into a new functionNick Mathewson
(I've done this instead of changing the semantics of router_compare_to_my_exit_policy, because dns.c uses router_compare_to_my_exit_policy too, in a slightly weird way.)
2016-10-13ersatz socketpair tests: work around freebsd jails.Nick Mathewson
2016-10-13Tweak patch for 18529.Nick Mathewson
- function doesn't need to be inline. - rename function - Make documentation more pedantically correct - Remove needless "? 1 : 0."
2016-10-13Remove duplicate code that checks for default authoritiesNick Mathewson
Patch from ericho. Fixes 18529. Simple refactoring.
2016-10-11Fix a bug in displaying IPv6 addrs in test_op_ipv6_ with --verboseNick Mathewson
The test code, if it failed, or if it was run in verbose mode, would use the wrong variable for its loop. Patch from rubiate uploaded to 19999.
2016-10-11Switch from "AF_UNIX is always equal" to "always unequal" to avoid wacky ↵Nick Mathewson
bugs. See discussion on 20261
2016-10-11Merge remote-tracking branch 'yawning-schwanenlied/bug20261'Nick Mathewson
2016-10-11Fix a new compilation warning with broken-mulodi i386 clang builds. :(Nick Mathewson