{"rsdb":{"rid":"2768","subhead":"","postdate":"0","aid":"1198","fid":"56","uid":"1","topic":"1","content":"\u5728TCP\/IP\u534f\u8bae\u4e2d\uff0cTCP\u534f\u8bae\u63d0\u4f9b\u53ef\u9760\u7684\u8fde\u63a5\u670d\u52a1\uff0c\u91c7\u7528\u4e09\u6b21\u63e1\u624b\u5efa\u7acb\u4e00\u4e2a\u8fde\u63a5\u3002 \r\n\r\n\u7b2c\u4e00\u6b21\u63e1\u624b\uff1a\u5efa\u7acb\u8fde\u63a5\u65f6\uff0c\u5ba2\u6237\u7aef\u53d1\u9001syn\u5305(syn=j)\u5230\u670d\u52a1\u5668\uff0c\u5e76\u8fdb\u5165SYN_SEND\u72b6\u6001\uff0c\u7b49\u5f85\u670d\u52a1\u5668\u786e\u8ba4\uff1b \r\n\r\n\u7b2c\u4e8c\u6b21\u63e1\u624b\uff1a\u670d\u52a1\u5668\u6536\u5230syn\u5305\uff0c\u5fc5\u987b\u786e\u8ba4\u5ba2\u6237\u7684SYN\uff08ack=j+1\uff09\uff0c\u540c\u65f6\u81ea\u5df1\u4e5f\u53d1\u9001\u4e00\u4e2aSYN\u5305\uff08syn=k\uff09\uff0c\u5373SYN+ACK\u5305\uff0c\u6b64\u65f6\u670d\u52a1\u5668\u8fdb\u5165SYN_RECV\u72b6\u6001\uff1b \r\n\r\n\u7b2c\u4e09\u6b21\u63e1\u624b\uff1a\u5ba2\u6237\u7aef\u6536\u5230\u670d\u52a1\u5668\u7684SYN\uff0bACK\u5305\uff0c\u5411\u670d\u52a1\u5668\u53d1\u9001\u786e\u8ba4\u5305ACK(ack=k+1)\uff0c\u6b64\u5305\u53d1\u9001\u5b8c\u6bd5\uff0c\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u8fdb\u5165ESTABLISHED\u72b6\u6001\uff0c\u5b8c\u6210\u4e09\u6b21\u63e1\u624b\u3002 \r\n\r\n\u5b8c\u6210\u4e09\u6b21\u63e1\u624b\uff0c\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u5668\u5f00\u59cb\u4f20\u9001\u6570\u636e\uff0c\u5728\u4e0a\u8ff0\u8fc7\u7a0b\u4e2d\uff0c\u8fd8\u6709\u4e00\u4e9b\u91cd\u8981\u7684\u6982\u5ff5\uff1a \r\n\r\n\u672a\u8fde\u63a5\u961f\u5217\uff1a\u5728\u4e09\u6b21\u63e1\u624b\u534f\u8bae\u4e2d\uff0c\u670d\u52a1\u5668\u7ef4\u62a4\u4e00\u4e2a\u672a\u8fde\u63a5\u961f\u5217\uff0c\u8be5\u961f\u5217\u4e3a\u6bcf\u4e2a\u5ba2\u6237\u7aef\u7684SYN\u5305\uff08syn=j\uff09\u5f00\u8bbe\u4e00\u4e2a\u6761\u76ee\uff0c\u8be5\u6761\u76ee\u8868\u660e\u670d\u52a1\u5668\u5df2\u6536\u5230SYN\u5305\uff0c\u5e76\u5411\u5ba2\u6237\u53d1\u51fa\u786e\u8ba4\uff0c\u6b63\u5728\u7b49\u5f85\u5ba2\u6237\u7684\u786e\u8ba4\u5305\u3002\u8fd9\u4e9b\u6761\u76ee\u6240\u6807\u8bc6\u7684\u8fde\u63a5\u5728\u670d\u52a1\u5668\u5904\u4e8eSyn_RECV\u72b6\u6001\uff0c\u5f53\u670d\u52a1\u5668\u6536\u5230\u5ba2\u6237\u7684\u786e\u8ba4\u5305\u65f6\uff0c\u5220\u9664\u8be5\u6761\u76ee\uff0c\u670d\u52a1\u5668\u8fdb\u5165ESTABLISHED\u72b6\u6001\u3002 \r\nBacklog\u53c2\u6570\uff1a\u8868\u793a\u672a\u8fde\u63a5\u961f\u5217\u7684\u6700\u5927\u5bb9\u7eb3\u6570\u76ee\u3002 \r\n\r\nSYN-ACK \u91cd\u4f20\u6b21\u6570 \u670d\u52a1\u5668\u53d1\u9001\u5b8cSYN\uff0dACK\u5305\uff0c\u5982\u679c\u672a\u6536\u5230\u5ba2\u6237\u786e\u8ba4\u5305\uff0c\u670d\u52a1\u5668\u8fdb\u884c\u9996\u6b21\u91cd\u4f20\uff0c\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u4ecd\u672a\u6536\u5230\u5ba2\u6237\u786e\u8ba4\u5305\uff0c\u8fdb\u884c\u7b2c\u4e8c\u6b21\u91cd\u4f20\uff0c\u5982\u679c\u91cd\u4f20\u6b21\u6570\u8d85\u8fc7\u7cfb\u7edf\u89c4\u5b9a\u7684\u6700\u5927\u91cd\u4f20\u6b21\u6570\uff0c\u7cfb\u7edf\u5c06\u8be5\u8fde\u63a5\u4fe1\u606f\u4ece\u534a\u8fde\u63a5\u961f\u5217\u4e2d\u5220\u9664\u3002\u6ce8\u610f\uff0c\u6bcf\u6b21\u91cd\u4f20\u7b49\u5f85\u7684\u65f6\u95f4\u4e0d\u4e00\u5b9a\u76f8\u540c\u3002 \r\n\r\n\u534a\u8fde\u63a5\u5b58\u6d3b\u65f6\u95f4\uff1a\u662f\u6307\u534a\u8fde\u63a5\u961f\u5217\u7684\u6761\u76ee\u5b58\u6d3b\u7684\u6700\u957f\u65f6\u95f4\uff0c\u4e5f\u5373\u670d\u52a1\u4ece\u6536\u5230SYN\u5305\u5230\u786e\u8ba4\u8fd9\u4e2a\u62a5\u6587\u65e0\u6548\u7684\u6700\u957f\u65f6\u95f4\uff0c\u8be5\u65f6\u95f4\u503c\u662f\u6240\u6709\u91cd\u4f20\u8bf7\u6c42\u5305\u7684\u6700\u957f\u7b49\u5f85\u65f6\u95f4\u603b\u548c\u3002\u6709\u65f6\u6211\u4eec\u4e5f\u79f0\u534a\u8fde\u63a5\u5b58\u6d3b\u65f6\u95f4\u4e3aTimeout\u65f6\u95f4\u3001SYN_RECV\u5b58\u6d3b\u65f6\u95f4\u3002","orderid":"0","title":"TCP\u4e09\u6b21\u63e1\u624b\u8fc7\u7a0b","smalltitle":"","mid":"0","fname":"\u7f51\u7edc\u7f16\u7a0b","special_id":"0","bak_id":"0","info":"0","hits":"2091","pages":"1","comments":"0","posttime":"2012-03-08 13:01:35","list":"1331182895","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"http:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"TCP<\/A> \u63e1\u624b<\/A> \u8fc7\u7a0b<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"121.14.96.125","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"\u5728TCP\/IP\u534f\u8bae\u4e2d\uff0cTCP\u534f\u8bae\u63d0\u4f9b\u53ef\u9760\u7684\u8fde\u63a5\u670d\u52a1\uff0c\u91c7\u7528\u4e09\u6b21\u63e1\u624b\u5efa\u7acb\u4e00\u4e2a\u8fde\u63a5\u3002 \r\r\u7b2c\u4e00\u6b21\u63e1\u624b\uff1a\u5efa\u7acb\u8fde\u63a5\u65f6\uff0c\u5ba2\u6237\u7aef\u53d1\u9001syn\u5305(syn=j)\u5230\u670d\u52a1\u5668\uff0c\u5e76\u8fdb\u5165SYN_SEND\u72b6\u6001\uff0c\u7b49\u5f85\u670d\u52a1\u5668\u786e\u8ba4\uff1b \r\r\u7b2c\u4e8c\u6b21\u63e1\u624b\uff1a\u670d\u52a1\u5668\u6536\u5230syn\u5305\uff0c\u5fc5\u987b\u786e\u8ba4\u5ba2\u6237\u7684SYN\uff08ack=j+1\uff09\uff0c\u540c\u65f6\u81ea\u5df1\u4e5f\u53d1\u9001\u4e00\u4e2aSYN..","lastview":"1490091946","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"|2~~\u6b20\u6241|2","htmlname":"","city_id":"0"},"page":"1"}