summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-09Bump version to 0.4.5.0-alpha-devtor-0.4.5.0-alpha-devNick Mathewson
2020-06-08scripts/maint: Remove obsolete generated tor.shc
Per <https://trac.torproject.org/projects/tor/ticket/34381>, these contrib scripts were generated by older versions of Tor and shellcheck will throw warnings if they still exist.
2020-06-05Merge branch 'maint-0.4.3'Nick Mathewson
2020-06-05Merge branch 'maint-0.4.2' into maint-0.4.3Nick Mathewson
2020-06-05Merge branch 'maint-0.3.5' into maint-0.4.2Nick Mathewson
2020-06-05Update and upgrade Pacman before installing dependencies in AppVeyor.Alexander Færøy
This patch makes sures that AppVeyor upgrades its Pacman (the package manager) before installing the Tor dependencies. See: https://bugs.torproject.org/34384
2020-06-05Merge remote-tracking branch 'tor-github/pr/1920/head'Nick Mathewson
2020-06-05Merge remote-tracking branch 'tor-github/pr/1902/head'Nick Mathewson
2020-06-05Remove tor.sh from .gitignorec
The files contrib/dist/tor.sh and contrib/dist/suse/tor.sh should not exist anymore, but when building in same repository for older versions of Tor, these files may return and not be cleaned up properly. This commit unignores those files from .gitignore, in order to make it clear that these files are no longer auto-generated and should be cleaned up.
2020-06-05Fix some checks of tor_inet_ntoa() return valuerl1987
Also, fix a format string.
2020-06-04changes file for ticket 32888Nick Mathewson
2020-06-04Merge remote-tracking branch 'tor-github/pr/1910/head'Nick Mathewson
2020-06-04doc: specify C99 coding standardsc
Make clear that Tor's C code targets C99 standards. This makes it more explicit what to expect for new code, because guessing from existing code is not always reliable, especially for code that predates the change in standard.
2020-06-04config: Styling fix + use fmt_addr()c
Conform to C99 as suggested by nickm on #32888 and use fmt_addr() rather than tor_addr_to_str_dup()
2020-06-03config: Add interface address debug loggingc
Add logging for "the local network interface addresses" as requested by ticket #32888.
2020-06-02remove a period from a doxygen headingNick Mathewson
The other headings don't have periods.
2020-06-02Merge branch 'maint-0.4.3'George Kadianakis
2020-06-02Merge branch 'tor-github/pr/1909' into maint-0.4.3George Kadianakis
2020-06-02Merge branch 'tor-github/pr/1909'George Kadianakis
2020-06-01Merge branch 'maint-0.4.3'Nick Mathewson
2020-06-01Merge remote-tracking branch 'tor-github/pr/1905/head' into maint-0.4.3Nick Mathewson
2020-06-01config: Add IPv4 Address config debug loggingc
Per ticket #32888 this should address logging "the Address torrc option", "and whether it is an IP address, or a DNS name"; or the detected "local hostname", "and whether it is an IP address, or a DNS name". Some of these details already seem to be logged, so just add what's missing.
2020-05-30Preemptive circs should work with UseEntryGuards 0Roger Dingledine
Resume being willing to use preemptively-built circuits when UseEntryGuards is set to 0. We accidentally disabled this feature with that config setting (in our fix for #24469), leading to slower load times. Fixes bug 34303; bugfix on 0.3.3.2-alpha.
2020-05-28Merge branch 'tor-github/pr/1901'David Goulet
2020-05-28Merge branch 'maint-0.4.3'George Kadianakis
2020-05-28Merge branch 'tor-github/pr/1792' into maint-0.4.3George Kadianakis
2020-05-28changes: Add changes file for ticket 33458David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-05-28hs-v3: Improve accessor semantic of client cached objectDavid Goulet
Add an inline helper function that indicates if the cached object contains a decrypted descriptor or not. The descriptor object is NULL if tor is unable to decrypt it (lacking client authorization) and some actions need to be done only when we have a decrypted object. This improves code semantic. Fixes #33458 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-05-27Merge branch 'tor-github/pr/1898'George Kadianakis
2020-05-27Add changes file for ticket #24844Neel Chauhan
2020-05-27Add HS v3 status to the SIGUSR1 dumpstats()Neel Chauhan
2020-05-23Man page: MinUptimeHidServDirectoryV2 defaults to 96 hoursRoger Dingledine
Bugfix on 0.2.6.3-alpha; fixes bug 34299.
2020-05-21Merge remote-tracking branch 'tor-github/pr/1899/head'Nick Mathewson
2020-05-21Merge branch 'tor-github/pr/1850'George Kadianakis
2020-05-21Merge branch 'tor-github/pr/1861'George Kadianakis
2020-05-21Tweak format stringrl1987
2020-05-21Check for NULL from tor_dup_ip()rl1987
2020-05-21Bail out of format_networkstatus_vote if fmt_addr32() failed.rl1987
Something is fishy if we cannot put IP address string into dir-vote line.
2020-05-21Actually, bail out of routerstatus_format_entry() if fmt_addr32() failsrl1987
2020-05-21Add changes filerl1987
2020-05-21Check that fmt_addr32() returned non-empty string before putting it into ↵rl1987
documents
2020-05-21Check for possible failures of tor_inet_ntop/tor_inet_ntoa in fmt_addr32 and ↵rl1987
tor_dup_ip
2020-05-21Check output value of tor_inet_ntop/tor_inet_ntoa in dns.crl1987
2020-05-21Fix an enum comparison that was blowing up jenkins.George Kadianakis
The warning was: 11:23:10 ../tor/src/feature/hs/hs_service.c: In function 'log_cant_upload_desc': 11:23:10 ../tor/src/feature/hs/hs_service.c:3118:3: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits] See #34254 for more info. I guess this means that gcc assigned an unsigned type to the `log_desc_upload_reason_t` enum and it warned if we compared it against 0... For now I think it's simpler to remove that check instead of turning the enum to a signed type, or trying to hack it some other way. From what it seems, enum is up to the compiler on whether it's signed/unsigned: https://stackoverflow.com/questions/159034/are-c-enums-signed-or-unsigned
2020-05-20Add support for console control signals in WindowsDamon Harris
2020-05-19Merge branch 'tor-github/pr/1886'David Goulet
2020-05-19Merge branch 'tor-github/pr/1897'David Goulet
2020-05-19Merge branch 'tor-github/pr/1894'David Goulet
2020-05-19doxygen: add a link to src-ref on mainpage.md.Nick Mathewson
Closes 34246.
2020-05-19Merge branch 'maint-0.4.3'Nick Mathewson