??????????????????????????????У??????????????connection timed out??socket read timed out??????????????????????????????????Щ????????????????????????????????????????????????????????????????????
???????tcpЭ?????connection????????????????????socket read???????????????????????????????????????????????????????????????С??????????????????????????????????????????紫??????????????
????Tc??traffic control??????????????????????????????Tc???????????????class???????filter??
?????????????class???????豸?????????????????
????tc class add dev $DEV parent 1: classid 1:11 htb rate 90mbps ceil 100mbps
????tc class add dev $DEV parent 1: classid 1:12 htb rate 90bps ceil 100bps
?????????11???class?????????90??100mbps??12???class???????????90??100bps?????????class???????????filter??????????????????????????class??
????tc filter add dev $DEV protocol ip parent 1:0 prio 1 u32 match ip sport $PORT 0xffff match ip dst $IP flowid 1:12
???????????????$PORT?????????$IP???????????12???class????????????????????????????????????90??100bps???????????е????п???????tc????????????????????????????С?????????????connection timed out?????????tc????????????ο?1??2??
???????socket read timed out???????????????????????????????????????????????????????tc??????????????????????????????????????У??????linux??????iptables????????????????
????Iptables??linux???г??????????????????????????????????????????????????????????е?syn??ack????λ???????????????????????????????????????
????iptables -A INPUT -p tcp --src $IP --dport $PORT ! --syn -j DROP
?????????????????????????iptables????????????δ????syn???λ????????????????????????????????????????????????佫???????
????????Iptables?????????????????????????????????????Щ???????NEW??ESTABLISHED??RELATED??INVALID??????????????????????????Ч????
????iptables -A INPUT -p tcp -m state --state ESTABLISHED -s $IP --dport $PORT -j DROP
?????????????????????????iptables???????????ip?????????????????????????????ESTABLISHED?????????
????????read timed out???????????????Tc??Iptables??linux????????????????????????????????????????????????????????????з??????????á?