Ask Your Question
0

What's the "frame.packet_id" field?

asked 2022-12-10 17:03:16 +0000

wireschark gravatar image

updated 2022-12-10 17:04:36 +0000

I searched and some says frame.packet_id is "a unique identifier that is assigned to each network packet". I tried to get it in my Lua dissector but the field always returned nil. The earlier Field.new() did not report error so I suppose frame.packet_id is a valid field name.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-10 17:25:00 +0000

Jaap gravatar image

This is a reflection of an PCAPNG Enhanced Packet Block option which may or may not be present for the packet. Unless the capture engine adds this option in the capture file, it will not be there. Dumpcap, used by Wireshark, does not add this option.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-12-10 17:03:16 +0000

Seen: 187 times

Last updated: Dec 10 '22