RHEL7. sysctl net.ipv4.ip_local_reserved_ports shows upto 1024 characters

Solution Verified - Updated -

Issue

  • sysctl net.ipv4.ip_local_reserved_ports shows limited data.
net.ipv4.ip_local_reserved_ports = 64,71,94,137,336,388,398,400,533,564,617,729,975,1033,1145,1362,1
367, 1469,1562,1565,1886,1996,2068,2090,2123,2216,2559,2601,2678,2809,2876,2993,3047,3109,3151,3170,
3175,3220,3306,3454,3528,3549,3842,3850,4000,4142,4256,4267,4326,4365,4397,4434,4436,4716,4931,4943,
5026,5029,5069,5231,5350,5386,5415,5443,5820,5838,5879,5888,5896,5917,5930,6028,6053,6102,6383,6449,
6676,6688,6877,7012,7043,7114,7417,7619,7638,7721,7919,7931,8008,8056,8137,8242,8314,8348,8358,8415,
8505,8510,8515,8657,8874,9266-9267,9395,9519,9588,9596,9632,9636,9649,9866,9876,9935,10183,10247,103
41,10406,10444,10732,10843,10963,11203,11351,11611,11720,11732,11804,11811,12011,12035,12125,12245,1
2276,12296,12507,12763,12815,12925,12979,13017,13030,13107,13149,13265,13268,13444,13482,13653,13656
,13746,13892,13914,14250,14294,14489,15108,15291,15395,15467,15625,15695,15781,15794,15848,15894,159
43,15998,16065,16271,16349,16366,16404,16607,16687,16929,17123,17158,17321,17437,17446,17490,17513,1
7518,17591,17601,17708,17718,17998,18052,18077,18140,18190,
net.ipv4.ip_local_reserved_ports = 1

Environment

  • Red Hat Enterprise Linux 7
  • procps-ng-3.3.10-28.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content