[Bugs] [Bug 1335776] New: rpc: change client insecure port ceiling from 65535 to 49151

bugzilla at redhat.com bugzilla at redhat.com
Fri May 13 08:14:56 UTC 2016


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

            Bug ID: 1335776
           Summary: rpc: change client insecure port ceiling from 65535 to
                    49151
           Product: GlusterFS
           Version: mainline
         Component: rpc
          Assignee: bugs at gluster.org
          Reporter: prasanna.kalever at redhat.com
                CC: bugs at gluster.org



Description of problem:
current port allocation to various processes (clumsy):

 1023 - 1       -> client ports range if bind secure is turned on
49151 - 1024    -> fall back to this, if in above case ports exhaust
65535 - 1024    -> client port range if bind insecure is on
49152 - 65535   -> brick port range

now, we should have segregated port ranges 0 - 65535 to below 3 ranges

 1023 - 1       -> client ports range if bind secure is turned on
49151 - 1024    -> client port range if bind insecure is on
                   (fall back to this, if in above case ports exhaust)
49152 - 65535   -> brick port range

for a cleaner way of segregation this is necessary, and since  bind insecure
is on by default, there could be a chance of port clashes between brick and
clients

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list