[Bugs] [Bug 1796814] New: config ssh-port can accept negative and outside allowed port range value

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 31 10:03:28 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1796814

            Bug ID: 1796814
           Summary: config ssh-port can accept negative and outside
                    allowed port range value
           Product: Red Hat Gluster Storage
            Status: NEW
         Component: geo-replication
          Severity: medium
          Assignee: sunkumar at redhat.com
          Reporter: saraut at redhat.com
        QA Contact: rhinduja at redhat.com
                CC: bugs at gluster.org, csaba at redhat.com,
                    khiremat at redhat.com, rhs-bugs at redhat.com,
                    sabose at redhat.com, storage-qa-internal at redhat.com,
                    sunkumar at redhat.com
        Depends On: 1792276
            Blocks: 1793412
  Target Milestone: ---
    Classification: Red Hat



+++ This bug was initially created as a clone of Bug #1792276 +++

Description of problem:

If non-standard ssh-port is used, Geo-rep can be configured to use ssh port by
using config option, the value should be in allowed port range and non
negative.


Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


$ gluster volume geo-replication master 127.0.0.1::slave config ssh-port -22
    geo-replication config updated successfully
$ gluster volume geo-replication master 127.0.0.1::slave config ssh-port
22222222
    geo-replication config updated successfully

--- Additional comment from Worker Ant on 2020-01-17 13:14:06 UTC ---

REVIEW: https://review.gluster.org/24035 (geo-rep: Fix ssh-port validation)
posted (#1) for review on master by Sunny Kumar

--- Additional comment from Worker Ant on 2020-01-19 06:32:07 UTC ---

REVIEW: https://review.gluster.org/24035 (geo-rep: Fix ssh-port validation)
merged (#2) on master by Sunny Kumar


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1792276
[Bug 1792276] config ssh-port can accept negative and outside allowed port
range value
https://bugzilla.redhat.com/show_bug.cgi?id=1793412
[Bug 1793412] config ssh-port can accept negative and outside allowed port
range value
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list