Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#20006: Allow for client auth when responding to HSFETCH #621

Closed
wants to merge 2 commits into from

Conversation

Labels
None yet
Projects
None yet
4 participants
@rl1987
Copy link
Contributor

@rl1987 rl1987 commented Dec 26, 2018

Until now Tor could not respond to HSFETCH command properly if
target Onion Service had client auth enabled. Now it checks if
we have an entry for requested address in our map of configured auth
cookies. If one is found, auth cookie is used to request HSDesc.

https://trac.torproject.org/projects/tor/ticket/20006

Until now Tor could not respond to HSFETCH command properly if
target Onion Service had client auth enabled. Now it checks if
we have an entry for requested address in our map of configured auth
cookies. If one is found, auth cookie is used to request HSDesc.
@coveralls
Copy link

@coveralls coveralls commented Dec 26, 2018

Pull Request Test Coverage Report for Build 3692

  • 0 of 7 (0.0%) changed or added relevant lines in 1 file are covered.
  • 5837 unchanged lines in 34 files lost coverage.
  • Overall coverage increased (+0.6%) to 61.752%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/feature/control/control.c 0 7 0.0%
Files with Coverage Reduction New Missed Lines %
src/feature/nodelist/routerlist.c 1 39.21%
src/lib/fs/freespace.c 1 77.78%
src/feature/hs/hs_cache.c 1 86.6%
src/feature/nodelist/nodelist.c 2 71.88%
src/core/or/versions.c 2 94.47%
src/feature/stats/rephist.c 2 40.49%
src/lib/time/tvdiff.c 3 90.0%
src/lib/crypt_ops/crypto_dh_openssl.c 4 97.12%
src/feature/dirparse/parsecommon.c 9 88.04%
src/core/or/connection_or.c 10 46.26%
Totals Coverage Status
Change from base Build 3386: 0.6%
Covered Lines: 45268
Relevant Lines: 73306

💛 - Coveralls

rend_auth_type_t auth_type = REND_NO_AUTH;
rend_service_authorization_t *auth = NULL;

char *cookie = NULL;
Copy link
Contributor

@dgoulet-tor dgoulet-tor Jan 21, 2019

This should be const.

Copy link
Contributor Author

@rl1987 rl1987 Jan 24, 2019

Fixed in b93f414.

@torproject-pusher torproject-pusher deleted the branch torproject:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment