Accession Number:



Automatic Traffic-Based Internet Control Message Protocol (ICMP) Model Generation for ns-3

Descriptive Note:

Technical Report,01 Jun 2015,01 Aug 2015

Corporate Author:

US Army Research Laboratory Adelphi

Personal Author(s):

Report Date:


Pagination or Media Count:



The urgency of measuring the security posture of network systems continues to increase with the development of new technologies and the number of vulnerabilities that these introduce. The most effective way of testing these networks is through field tests on real systems in operational environments. Although this provides the highest level of accuracy, the disadvantages that arise with this approach can limit its efficiency and success. These challenges include high costs, time constraints, and the coordination efforts involved in the execution of these tests. One potential solution is the generation of system models that facilitate the continuous experimentation and testing on simulations of these networks in a laboratory environment. Models aid in the testing and analyzing of network systems, but as things stand today, there are limitations to this approach models can lack synchronization with actual systems and must be built mostly from scratch. In this report, we introduce the ns-3 Model Generator a tool aimed at automating the generation of protocol models and scenario files that can be run on the ns-3. Our focus for this work was to recreate the Internet Control Message Protocol ICMP Ping protocol and an ns-3 scenario using only a 10-second Wireshark network capture. Our results show that in many aspects, the autogenerated protocol is closer to ground truth.

Subject Categories:

  • Computer Programming and Software
  • Computer Systems

Distribution Statement: