From e06b4fca0ef3dbd72862e65c4d5a30b0ab196c0c Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Wed, 31 May 2017 14:18:15 -0400 Subject: [PATCH] msg: do not enable client-side binding by default This breaks the usage of Ceph clients connecting to MONs and OSDs behind a NAT since the client will incorrectly attempt to bind to the gateway's IP address. Fixes: http://tracker.ceph.com/issues/20049 Signed-off-by: Jason Dillaman --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 476caad93d7f..bbb07281ded0 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -211,7 +211,7 @@ OPTION(ms_bind_retry_delay, OPT_INT, 5) // Delay between attemps to bind OPTION(ms_bind_retry_count, OPT_INT, 6) // If binding fails, how many times do we retry to bind OPTION(ms_bind_retry_delay, OPT_INT, 6) // Delay between attemps to bind #endif -OPTION(ms_bind_before_connect, OPT_BOOL, true) +OPTION(ms_bind_before_connect, OPT_BOOL, false) OPTION(ms_rwthread_stack_bytes, OPT_U64, 1024 << 10) OPTION(ms_tcp_read_timeout, OPT_U64, 900) OPTION(ms_pq_max_tokens_per_priority, OPT_U64, 16777216) -- 2.47.3