摘要
通过分析原始网络模拟器PDNS中TCP Agent层的静态架构,发现其存在的端口冲突、空占现象和服务无效问题。提出了基于动态TCP Agent策略的模型,通过对TCP数据的分流与动态创建和绑定TCP Agent的方法成功的解决了静态架构中出现的问题,同时有效的降低了内存占用量。通过模拟蠕虫扩散表明,动态策略实际产生的TCP Agent数目不到静态绑定策略的10%,模拟时间与静态策略近似。通过释放TCP Agent,实际存在的连接数目只占创建总数的70%左右。
By analyzing the original and static frame of TCP Agent in network simulator PDNS,problems of Port-Clash/RedundantMemory/Service-Invalid appeared.This paper presents a new frame using dynamic agent which can solve the problems and limitations by switching stream of different TCP connections and dynamically creating-binding agent.Experimental results of worm spreading show that dynamic method can decrease the amount of TCP Agents to less than 10% comparing to static method.Time cost is similar to the static method.By freeing TCP Agent,the amount of existing agents is more or less 70% of the created ones.
出处
《微计算机信息》
2011年第1期175-177,共3页
Control & Automation
基金
基金申请人:张兆心
项目名称:高性能大规模网络行为模拟系统
基金颁发部门:中华人民共和国科学技术部(2007AA010503)