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

Memcached server specification (TLS/SSL) documentation #397

Open
rusty-udemy opened this issue Sep 16, 2022 · 1 comment
Open

Memcached server specification (TLS/SSL) documentation #397

rusty-udemy opened this issue Sep 16, 2022 · 1 comment

Comments

@rusty-udemy
Copy link

I was unable to find any documentation on the wiki on the specification of downstream servers in the wiki, especially around SSL/TLS.

I had to do code spelunking to find

parseParts(apString, protocol, encr, comp);
, which says that the extended format is <host>:<port>[:<protocol>[:<encryption>[:<compressed>]]]

It would be good to have that format (along with the options for each - who knew that encryption could be ssl, fizz, ktls, tls_to_plain? What does each mean?)

@HMartyrossian
Copy link

HMartyrossian commented Sep 20, 2022

@rusty-udemy

SecurityMech class declared here:
mcrouter/mcrouter/lib/network/SecurityOptions.h
Line 19 in 4e08bf0

"plain" = SecurityMech::NONE
"ssl" = SecurityMech::TLS
"tls_to_plain" = SecurityMech::TLS_TO_PLAINTEXT
"fizz" = SecurityMech::TLS13_FIZZ
"ktls12" = SecurityMech::KTLS12

AccessPointTest.cpp file has an example of using extended parameters for the access point:
mcrouter/mcrouter/lib/network/test/AccessPointTest.cpp
Line 78 in 4e08bf0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants