From bc92b11aa5d076ea2367d624b1b1030edebab5ea Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Tue, 31 May 2011 06:49:37 +0000 Subject: Introduce client-allow-insecure xlator-option. Allows glusterfs clients to bind to any port and does not restrict it to 1024. This is a xlator-option only, and is not supported in volume set cmd. The reason is, few clients may choose this, and few may not. Hence only supported as a xlator-option during mount time. For this to work with glusterfs, server.allow-insecure should be set to on Signed-off-by: shishir gowda Signed-off-by: Anand Avati BUG: 2868 (Add xlator-option to support insecure-bind for clients) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2868 --- xlators/protocol/client/src/client.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/protocol/client/src/client.c') diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index ff766844d84..4153db429a1 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -2488,5 +2488,8 @@ struct volume_options options[] = { .min = 1, .max = 1013, }, + { .key = {"client-bind-insecure"}, + .type = GF_OPTION_TYPE_BOOL + }, { .key = {NULL} }, }; -- cgit