First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

editcap -d not removing duplicate packets with the same IP ID. Any reason why?

  • retag add tags

I have a capture with mutiple duplicate packets. For instance, I have multiple instances of SYNs with the same IP IDs. The editcap -d command is not removing any of the packets. Does anyone know why this would occur?

ccara924's avatar
1
ccara924
asked 2018-08-08 18:52:15 +0000, updated 2018-08-08 19:01:42 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Editcap does not determine that packets are duplicates based on the IP ID. It uses a hash of the packet. So if two packets are between the same IP addresses and both have the same IP ID, but something else--something other than the IP ID--is different, editcap will not see them as duplicates.

Also, editcap only looks within the duplicate window, which by default is 5, meaning the current packet and the previous four packets. So if packet 10 is a duplicate of packet 2, editcap won't see that because packet 2 is not within the four previous packets from packet 10. You can change the size of the duplicate window. You can also change it to be based on time rather than number of packets.

Enter "editcap -h" to see all the options.

Jim Aragon's avatar
7.5k
Jim Aragon
answered 2018-08-08 19:28:26 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer