summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-10-11Fix spurious compiler warning in do_getpass().Nick Mathewson
Some compilers apparently noticed that p2len was allowed to be equal to msg, and so maybe we would be doing memset(prompt2, ' ', 0), and decided that we probably meant to do memset(prompt2, 0, 0x20); instead. Stupid compilers, doing optimization before this kind of warning! My fix is to just fill the entire prompt2 buffer with spaces, because it's harmless. Bugfix on e59f0d4cb964387c5, not in any released Tor.
2016-10-11torrc parsing b0rks on carriage-returnpaolo.ingls@gmail.com
(Specifically, carriage return after a quoted value in a config line. Fixes bug 19167; bugfix on 0.2.0.16-alpha when we introduced support for quoted values. Unit tests, changes file, and this parenthetical by nickm.)
2016-10-11Merge remote-tracking branch 'asn/bug19223'Nick Mathewson
2016-10-10Bug 20261: Treat AF_UNIX addresses as equal when comparing them.Yawning Angel
This is a kludge to deal with the fact that `tor_addr_t` doesn't contain `sun_path`. This currently ONLY happens when circuit isolation is being checked, for an isolation mode that is force disabled anyway, so the kludge is "ugly but adequate", but realistically, making `tor_addr_t` and the AF_UNIX SocksPort code do the right thing is probably the better option.
2016-10-10Fix non-triggerable heap corruption at do_getpass().George Kadianakis
2016-10-06Merge branch 'no_openssl_100'Nick Mathewson
2016-10-06Stop implying that we support openssl 1.0.0; we don't.Nick Mathewson
Closes ticket 20303. The LIBRESSL_VERSION_NUMBER check is needed because if our openssl is really libressl, it will have an openssl version number we can't really believe.
2016-10-06comment tweak. Fixes 20271. patch from pastly.Nick Mathewson
2016-10-06Merge branch 'maint-0.2.8'Nick Mathewson
2016-10-06Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-10-06Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-10-06Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-10-06Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-10-06Only use -levent when checking functions if we will use it to link.Nick Mathewson
Fixes 19904; bugfix on b62abf9f21499ab; patch from Rubiate.
2016-10-05dircollate: Use correct tor_calloc args.Muhammad Falak R Wani
Flip the tor_calloc arguments in the call. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2016-10-05Clean up and fix exit policy check in connection_exit_connect().Nick Mathewson
Previously, we would reject even rendezvous connections to IPv6 addresses when IPv6Exit was false. But that doesn't make sense; we don't count that as "exit"ing. I've corrected the logic and tried to make it a lottle more clear. Fixes bug 18357; this code has been wrong since 9016d9e8294a352 in 0.2.4.7-alpha.
2016-10-05Update geoip and geoip6 to the October 6 2016 database.Karsten Loesing
2016-10-04Allow a unix: address to contain a C-style quoted string.Nick Mathewson
Feature 18753 -- all this to allow spaces.