client->trusted = client_is_trusted(client);
if (conn->proxied) {
+ client->proxied_ssl = conn->proxy.ssl;
client->secured = conn->proxy.ssl || client->trusted;
client->ssl_secured = conn->proxy.ssl;
client->local_name = conn->proxy.hostname;
if (!client->tls) {
tab[11].value = client->secured ? "secured" : NULL;
tab[12].value = "";
+ } else if (client->proxied_ssl) {
+ tab[11].value = "TLS";
+ tab[12].value = "(proxied)";
} else {
const char *ssl_state =
ssl_iostream_is_handshaked(client->ssl_iostream) ?
if (client->ssl_iostream != NULL &&
ssl_iostream_has_valid_client_cert(client->ssl_iostream))
auth_flags |= AUTH_REQUEST_FLAG_VALID_CLIENT_CERT;
+ if (client->tls)
+ auth_flags |= AUTH_REQUEST_FLAG_TRANSPORT_SECURITY_TLS;
if (client->secured)
auth_flags |= AUTH_REQUEST_FLAG_SECURED;
if (login_binary->sasl_support_final_reply)