Font Size: a A A

Design And Implementation Of A DHCP Automatic Testing Tool Based On TTCN-3

Posted on:2018-06-15Degree:MasterType:Thesis
Country:ChinaCandidate:Q Q MaoFull Text:PDF
GTID:2428330566498714Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The rapid development of Internet,network access equipment increased,so the demand for IP addresses are also increasing,BOOTP(Bootstrap Protocol)protocol is often used in relatively static environment,its disadvantages gradually obvious,DHCP(Dynamic Host Configuration Protocol)protocol is compatible with BOOTP protocol,and applied to the dynamic the environment,so it has been widely used.At the beginning of the design,the DHCP protocol did not take into account the security factors,so there are many threats in use,and some threats will directly lead to the paralysis of the entire network,which has caused great trouble for maintaining network stability.In order to meet the requirement of anti attack test of DHCP protocol,this paper provides more comprehensive and systematic test points,and studies the DHCP anti attack automatic test tool.TTCN-3(Testing and Test Notation version3 Control)is the latest powerful test specification and test case development language,applicable to all black box testing.TTCN-3 has a wide range of applications,such as mobile communications,broadband technology,middleware platforms,Internet protocols and so on.It supports ASN.1 data definition and encoding and decoding functions,together with its platform independence and flexibility,makes TTCN-3 widely used in Internet communication protocol.DHCP automated testing tools,using the TTCN-3 programming language,and ASN.1,can be used for all the DHCP router system.The implemented functions include providing four types of message types testing functions,and analyzing whether the DHCP server has passed the test for the server that implements the DHCP function.The difficulty of the tool is how to design a more comprehensive DHCP exception message,call anomaly algorithm in the implementation process,to traverse the field message structure,produce more comprehensive test cases in order to achieve the purpose.DHCP anti attack test automation tool combined with ASN.1and TCL(Tool Command Language)exception message attack test,according to the test requirements of DHCP anti attack design automation,to design test method and test case set,and according to the test suite obtained result and finally test result analysis is made.After the development of the tool,after unit testing and system testing,it fixes the development errors and improves the correctness and stability of the tool.At present,this tool can run correctly and achieve the purpose of development.
Keywords/Search Tags:Dynamic Host Configuration Protocol, Network attack and defense, A functional test, Message
PDF Full Text Request
Related items