Score:0

How to benchmark and analyze a network protocol prototype?

pf flag

We are currently working with an academic network protocol that modifies and partly encrypts IPv6 packets and establishes circuits to allow sourceless routing.

We got the prototype running, and it works with IPv6 messages if we put the message payload directly in to IP packet payload (e.g. send a hello world). We can, however, not use well-established tools as ping or iperf3, as the messages receive the destination, but no replies are sent.

We are wondering whether we can benchmark some features of the prototype. As far as I see it, it does not make any sense to benchmark packet loss, as the protocol itself does not introduce reasons from packet loss other than a node on the route being taken offline. Also, it does not really seem to make sense to measure data throughput, as this is subject to the link between the two parties. The protocol itself also does not introduce reasons for jitter, because all messages are handled the same, thus again this would be a network-related attribute. The latency is also mostly due to network-related issues, but what we could measure is the time the prototype needs to modify a message. Currently, we are running it on VMs. It uses iptables rules to intercept packets and pass them on to nfqueue, which modifies the packets using python.

I proposed to do a theoretical analysis instead were we calculate the additional bytes that are added on top of regular IPv6-packets, try to calculate the additional performance costs (how?), and try to narrow done, which attacks are feasible and which not, in respect to regular IPv6.

  • What features make sense to benchmark?
  • Apart from packet size and performance costs, what else could be theoretically analyzed?

P.S.: I hope it fits into this caytegory, since it does not seem to fit into network engineering

Paul avatar
cn flag
Server Fault is for addressing specific questions about servers, networking, and other I.T. infrastructure. You will need to ask a question with a specific problem to receive a useful answer. For development questions, you should try Stack Overflow, but they will have their requirements, as well.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.