Network address translation (NAT) router traffic replaying method
The invention discloses an NAT (Network Address Translation) router traffic replay method, which relates to the field of traffic replay and comprises the following steps: S1, storing acquired recorded traffic; s2, distributing a cache space for the flow, and loading the cache space of a cache module...
Gespeichert in:
Hauptverfasser: | , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an NAT (Network Address Translation) router traffic replay method, which relates to the field of traffic replay and comprises the following steps: S1, storing acquired recorded traffic; s2, distributing a cache space for the flow, and loading the cache space of a cache module; s3, the k cache blocks are taken out and put into a sending module, the sending speed is recorded, and the total sending speed is calculated; s4, recording the current time, and merging the mac data frames of the k cache blocks into a data frame stream; s5, placing the data stream into a network card hardware queue, waiting to be sent to a test network for application test, and recording the total sending amount; s6, judging whether the cache block is sent or not, if so, returning to S3, and otherwise, entering S7; s7, judging whether the cache space has a cache block or not, if not, ending, and if yes, returning to S3; flow packets in a storage module can be classified and configured, and different types of flow |
---|