Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to edit both inner and outer vlan tags. #274

Open
ckannan opened this issue Jan 13, 2017 · 1 comment
Open

Ability to edit both inner and outer vlan tags. #274

ckannan opened this issue Jan 13, 2017 · 1 comment
Projects

Comments

@ckannan
Copy link

ckannan commented Jan 13, 2017

A captured packet has 2 vlan tags like this..

[root@localhost pcap]# tcpdump -nner vlan_double.pcap
reading from file vlan_double.pcap, link-type EN10MB (Ethernet)
-5:00:00.000000 3c:fd:fe:9e:10:09 > 3c:fd:fe:9c:c2:d9, ethertype 802.1Q (0x8100), length 1514: vlan 3333, p 0, ethertype 802.1Q, vlan 666, p 0, ethertype IPv4, 198.18.0.1.1234 > 198.18.1.1.5678: Flags [none], seq 129018:130470, win 1024, length 1452

I can use tcpreplay-edit and edit only the outer tag...

[root@localhost pcap]# tcpreplay-edit -i ens6f1 -t -K -l 0 --enet-vlan=add --enet-vlan-pri=0 --enet-vlan-tag=501 --enet-vlan-cfi=0 vlan_double.pcap

There doesn't appear to be a way to edit the inner tag as well.

@fklassen
Copy link
Member

Deferring request until a later release. Is there a practical use for this? Although support for playback of such a packet has recently been added, usefulness of a tcpreplay-edit option seem impractical. The we would have to also support triple, quadruple etc. Where will it stop?

@fklassen fklassen added this to TODO in Release 4.2 Feb 27, 2017
@fklassen fklassen moved this from TODO to On Hold in Release 4.2 Feb 28, 2017
@fklassen fklassen removed this from On Hold in Release 4.2 Mar 20, 2017
@fklassen fklassen added this to To Do in 4.3 Jan 7, 2018
@fklassen fklassen moved this from To Do to Deferred in 4.3 Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
4.3
  
Deferred
Development

No branches or pull requests

2 participants