From 404593844058763a95d4802ae6fbeb00af4840a8 Mon Sep 17 00:00:00 2001 From: gord_chen Date: Thu, 18 Aug 2022 06:01:32 +0000 Subject: [PATCH] Add grpc default port 50051 to reserved ports The port 50051 is used by grpc (telemetry). Add it into the reserved ports to prevent from being chosen as the ephemeral port when establishing a network connection. Signed-off-by: gord_chen --- files/image_config/sysctl/sysctl-net.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/files/image_config/sysctl/sysctl-net.conf b/files/image_config/sysctl/sysctl-net.conf index 1a2cc35ad491..b10c757057d6 100644 --- a/files/image_config/sysctl/sysctl-net.conf +++ b/files/image_config/sysctl/sysctl-net.conf @@ -38,3 +38,4 @@ net.core.rmem_max=3145728 net.core.wmem_max=3145728 net.core.somaxconn=512 net.ipv4.fib_multipath_use_neigh=1 +net.ipv4.ip_local_reserved_ports=50051