Hello,
I am trying to capture the sflow data using tcpdump but I cannot see any packets information. In this case, I tried to send iperf UDP packets between two OpenStack Nodes and Network is configured with VxLAN. Could you please suggest what is going wrong? Thank you.
# sflowtool -p 6343 -l | grep FLOW
FLOW,192.168.121.81,0,1,fa163e33025b,fa163e2ac5f8,0x0800,0,0,10.0.0.3,10.0.0.2,17,0x00,64,43449,46354,0x18,0,-18,100
FLOW,192.168.121.81,0,1,fa163e4e8dad,fa163ec33bdc,0x0800,0,0,10.0.0.3,10.0.0.2,17,0x00,64,33762,46354,0x00,0,-18,100
# sflowtool -p 6343 -t | tcpdump -r -
reading from file -, link-type EN10MB (Ethernet)
10:54:56.000000 [|ether]
10:55:07.000000 [|ether]
10:55:07.000000 [|ether]
I also tried with wireshark as well but it shows error as follows:
$ wireshark -k -i <(sflowtool -t)
10:37:22 Warn Error "The file appears to be damaged or corrupt." while reading: "pcapng_read_packet_block: cap_len 32 is larger than packet_len 0." ("/tmp/wireshark_pcapng_63_20170315103722_PhCGl0")
10:37:23 Warn Error "Less data was read than was expected" while reading: "(null)" ("/tmp/wireshark_pcapng_63_20170315103722_PhCGl0")