All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit abc77681 authored by Leigh B. Stoller's avatar Leigh B. Stoller

In fullconfig, silently skip commands that are not allowed when ssl is

not in use.
parent 7d3a83a0
......@@ -5644,6 +5644,14 @@ COMMAND_PROTOTYPE(dofullconfig)
for (i = 0; i < numcommands; i++) {
if (command_array[i].fullconfig & mask) {
if (tcp && !isssl && !reqp->islocal &&
(command_array[i].flags & F_REMREQSSL) != 0) {
* Silently drop commands that are not
* allowed for remote non-ssl connections.
OUTPUT(buf, sizeof(buf),
"*** %s\n", command_array[i].cmdname);
client_writeback(sock, buf, strlen(buf), tcp);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment