<div dir="ltr"><div><div><div><div><div>Hi Eloy,<br><br></div>I'm using this great sotware.<br></div>But I find that this tool cannot make MPLS bottom of stack today.<br></div><br></div>This is an example for tgn. nexp has the same problem.<br>
-----<br></div>* ip.pcap (correct behavior)<br><div>#tgn -w ip.pcap "ether()/" "ip(src = 192.168.0.1, dst = 192.168.0.20)/" "tcp(src = 333 , dst = 4444, window = 16384)/" "data (data = 'random:1200')"<br>
#tcpdump -nr ip.pcap | less<br>reading from file ip.pcap, link-type EN10MB (Ethernet)<br>17:16:58.700152 IP 192.168.0.1.333 > 192.168.0.20.4444: Flags [], seq 0:1200, win 16384, length 1200<br><br></div><div>* mpls.pcap (incorrect behavior; bottom of stack "s = 1" is not to set.)</div>
<div># tgn -w mpls.pcap "ether()/" "mpls(label=2999, s = 1)/" "ip(src = 192.168.0.1, dst = 192.168.0.20)/" "tcp(src = 333 , dst = 4444, window = 16384)/" "data (data = 'random:1200')"<br>
# tcpdump -nr mpls.pcap | less<br>17:18:16.203560 MPLS (label 2999, exp 0, ttl 0) (label 282624, exp 2, ttl 216) (label 4096, exp 0, ttl 0) (label 262255, exp 1, [S], ttl 186)<br> 0x0000: c0a8 0001 c0a8 0014 014d 115c 0000 0000 .........M.\....<br>
0x0010: 0000 0000 5000 4000 8f94 0000 ceab ba5f ....P.@........_<br> 0x0020: 4388 28c1 0fed b173 229a b58f 0d17 3fbf C.(....s".....?.<br> 0x0030: cc21 4dec cc86 92f4 8079 844e 243f ad68 .!M......y.N$?.h<br>
0x0040: c7d5 29d6 c2da 49e4 74fe 7481 15b3 41e2 ..)...I.t.t...A.<br>-----<br><br><span class="">Please fix it if you have time.</span><br><br></div><div>Yousuke<br></div><div><br></div></div>