Journal on Communications ›› 2012, Vol. 33 ›› Issue (Z2): 15-19.doi: 10.3969/j.issn.1000-436x.2012.z2.003

• Papers • Previous Articles     Next Articles

Improvement on simulating TCP connection establishment in NS2

Yu JIANG1,2,Jian REN3(),Li-ming ZHOU1   

  1. 1 School of Computer Science and Technology,Heilongjiang University,Harbin 150080,China
    2 Key Laboratory of Database and Parallel Computing of Heilongjiang Province,Harbin 150080,China
    3 School of Information Science and Technology,Heilongjiang University,Harbin 150080,China
  • Online:2012-11-25 Published:2017-08-03
  • Supported by:
    The National Natural Science Foundation of Heilongjiang Province;The Science and Technology Research Project Foundation of Heilongjiang Education Office;The Science and Technology Research Project Foundation of Heilongjiang Education Office

Abstract:

In the procedure of three-way handshake of transmission control protocol connection establishment,it involves the management of half-connection and connection tables.However,in the famous networks simulator NS2,there is only a formal description instead of a concrete and complete implementation for the procedure of TCP connection establishment.An improvement was beed made on the point.Table structures for half-connections and connections are added,and the way of managing half-connection table in Linux kernel is also imported into NS2.Simulation results show that it is clear to monitor the change in half-connection table in the TCP connection establishment procedure,and thus the requirement of simulating the connection establishment procedure in studies such as protection from TCP SYN flooding attack can be met.

Key words: network simulation, transmission control protocol, connection establishment, half-connection

No Suggested Reading articles found!