diff options
-rw-r--r-- | misc.c | 5 | ||||
-rw-r--r-- | options.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -2408,6 +2408,11 @@ sanitize_control_message(const char *str, struct gc_arena *gc) cp += 7; redact = true; } + else if (c == 'e' && !strncmp(cp, "echo ", 5)) + { + cp += 4; + redact = true; + } else { if (c == ',') /* end of session id? */ @@ -3886,9 +3886,13 @@ add_option (struct options *options, } if (good) { +#if 0 + /* removed for now since ECHO can potentially include + security-sensitive strings */ msg (M_INFO, "%s:%s", pull_mode ? "ECHO-PULL" : "ECHO", BSTR (&string)); +#endif #ifdef ENABLE_MANAGEMENT if (management) management_echo (management, BSTR (&string), pull_mode); |