This patch prevents possibility to give 1-1024 port range for autobinding. {1, 1} may only takes some sense for deep embedded people.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]> --- ./net/ipv4/sysctl_net_ipv4.c.port2 2007-10-10 17:46:48.000000000 +0400 +++ ./net/ipv4/sysctl_net_ipv4.c 2007-10-10 18:08:00.000000000 +0400 @@ -25,7 +25,7 @@ extern int sysctl_ip_nonlocal_bind; #ifdef CONFIG_SYSCTL static int zero; static int tcp_retr1_max = 255; -static int ip_local_port_range_min[] = { 1, 1 }; +static int ip_local_port_range_min[] = { 1024, 1024 }; static int ip_local_port_range_max[] = { 65535, 65535 }; #endif - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html