it seems curl command in centos is not controlled by net.ipv4.ip_local_port_range.
When I running curl command , the source port range is from 11728 to 65508 with tcpdump log.
So the valid test approach should be 'curl --local-port 49216-61000 xxxx' 49216-61000 is stx ip local port range.
it seems curl command in centos is not controlled by net.ipv4. ip_local_ port_range.
When I running curl command , the source port range is from 11728 to 65508 with tcpdump log.
So the valid test approach should be 'curl --local-port 49216-61000 xxxx' 49216-61000 is stx ip local port range.