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

bugzilla at redhat.com bugzilla at redhat.com
Thu May 19 08:56:56 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14413 committed in release-3.8 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit e208128e38cc62fc9812bc1f9ffb09be8329f698
Author: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Date:   Fri May 13 13:17:16 2016 +0530

    rpc: change client insecure port ceiling from 65535 to 49151

    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 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

    so now we have a clean segregation of port mapping

    Backport of:
    > Change-Id: Ie3b4e7703e0bbeabbe0adbdd6c60d9ef78ef7c65
    > BUG: 1335776
    > Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
    > Reviewed-on: http://review.gluster.org/14326
    > Tested-by: Prasanna Kumar Kalever <pkalever at redhat.com>
    > Reviewed-by: Raghavendra Talur <rtalur at redhat.com>
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Smoke: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    > Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

    Change-Id: Ie3b4e7703e0bbeabbe0adbdd6c60d9ef78ef7c65
    BUG: 1337127
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
    Reviewed-on: http://review.gluster.org/14413
    Tested-by: Prasanna Kumar Kalever <pkalever at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=8LWGU8Quzy&a=cc_unsubscribe


More information about the Bugs mailing list