fragmented cflow packets
I have a packet capture which has fragmented cflow packets, i am not able to reassemble using tshark. I am trying to use -o tcp.desegment_tcp_streams:TRUE
, but still i cant reassemble it.
below is the example:
16 773 173.150.1.1 -> 172.148.1.50 TCP 570 50687 > personal-agent [ACK] Seq=257 Ack=1 Win=8192 Len=500 TSval=22838 TSecr=398428810
18 773 173.150.1.1 -> 172.148.1.50 TCP 570 50687 > personal-agent [ACK] Seq=757 Ack=1 Win=8192 Len=500 TSval=22838 TSecr=399197440
20 773 173.150.1.1 -> 172.148.1.50 TCP 520 50687 > personal-agent [PSH, ACK] Seq=1257 Ack=1 Win=8192 Len=450 TSval=22838 TSecr=399197440
I want to re-assemble this and then analyse it as a cflow packets and get the fields values.
Could you please help me.
Do you have access to the Wireshark Gui to test?
Edit -> Preferences... -> Protocols -> CFLOW
Looks like
personal-agent
in your question isTCP port 5555
.Have you added this to the list of Cflow TCP ports?
Hi, Thanks for your comment. I don't have gui access in my code, But yeah, i am able to decode when port number is 5555, i use below command:
tshark -d tcp.port==5555,cflow ---> this decodes the packet as cflow.
My only issue here is i am not able to reassemble the above three packets into one, so that i could get one cflow packet and analyze it for the field values.
Have you checked the other settings for cflow? (change findstr to grep on *nix)
Exactly, This is what I was looking for. Thanks for the suggestion.
This is working. But it looks like CentOS 7 comes with wireshark version 1.10, which is latest stable version, and in that version its not supported.
Lets see if i can install a later version on CentOS 7. thanks again.