以下是阿盛的配置
sysctl net.inet.tcp.msl=2000 sysctl net.inet.tcp.mssdflt=1460 sysctl net.inet.tcp.minmss=216 sysctl net.inet.icmp.icmplim=200 sysctl net.inet.icmp.drop_redirect=1 sysctl kern.ipc.somaxconn=32768 sysctl net.inet.ip.portrange.first=60000
对应的默认值
sysctl net.inet.tcp.msl=2000 #defa=30000 sysctl net.inet.tcp.mssdflt=1460 #defa=536 sysctl net.inet.tcp.minmss=216 #defa=216 sysctl net.inet.icmp.icmplim=200 #defa=0 sysctl net.inet.icmp.drop_redirect=1 #defa=0 sysctl kern.ipc.somaxconn=32768 #defa=128 sysctl net.inet.ip.portrange.first=60000 #defa=1024