Lua dissector for custom PcapNG blocks

asked 2025-11-07 15:04:49 +0000

Antón gravatar image

It seems it is possible to register dissectors in C for custom PcapNG blocks based on PEN numbers. I am trying to implement a dissector purely based on Lua code for this same purpose but I am unable to find a way to register my dissector.

Does Wireshark support this? Thanks,

edit retag flag offensive close merge delete

Comments

Have you looked at the pcapng_custom_block table?
packet-bblog.c:

dissector_add_uint("pcapng_custom_block", PEN_NFLX, bblog_handle);
Chuckc gravatar imageChuckc ( 2025-11-07 18:32:45 +0000 )edit