Intercepting network traffic and delaying it

Feb 24, 2014 at 1:01 AM
Hi, I am wanting to write a program that will intercept packets and then I will be able to delay them a certain amount of time and then send them out to where they were going to go. This program is just so I can simulate latency on the network. Am I able to do something like this?
Mar 26, 2014 at 10:25 PM
Edited Mar 26, 2014 at 10:25 PM

Sadly, it is not possible to delay traffic of the computer on which NetLab is running, due to limitations of the WinPcap driver.

However, you can use a second computer to intercept and delay the traffic.
For example, with the Setup described in the tutorial (, it is sufficient to plug a computer with two network cards in between.

This can also be accomplished using only a single NIC and a router (in NetLab)
  • if your peers are located in two different subnets and the computer running NetLab is the default gateway.
  • or if you are using ARP spoofing to intercept the traffic.
With best regards,