I would like to model packet reordering for UDP packets in Linux to measure the performance and fault tolerance of my application. Is there an easy way to do this?
take a look at WANEM
Thus, the WAN allows the application to the development team for a transparent application gateway, which can be used to simulate WANs such as network latency, packet loss, packet corruption, outages, packet reordering, jitter, etc.
"netem", Linux. . netem - , , .
( ), netem netem ( , ).
- netem VM. , .
scapy. python . pcap, tcpdump, wirehark, , scapy.
a=rdpcap("/spare/captures/isakmp.cap") for pkt in a.reverse(): sendp(pkt)
Depending on how you count the packets, you may need to send (level 3) rather than sendp (level 2)
Source: https://habr.com/ru/post/1768904/More articles:Jython Coverage - pythonweb application for data modeling - web-applicationsJComboBox causes a runtime error - javaforum comments on a web page - asp.netQuestion about data template or style in WPF xaml - data-bindingHow to get a list of ports that are used on a server from Delphi - command-linemysql separates the search string with a space and inserts the query - phpWorkaround for adding ActionListener to JTextArea - javaОшибка приложения в NSURLConnection - iosSinatra shotgun problem - undefined methoddefault - ruby | fooobar.comAll Articles