Revision history [back]
Is there a way to change the Packet Info Field based on criteria?
Looking to see if there is a possibility to change the text in the Info field based on a packet criteria. For example, if ssl.handshake.type == 1 then then change the packet info field to <custom text>
, or even the comment field.
I have tried the following with Lua, but no soup:
function changeInfo(name) if pinfo.cols.info == "Client Hello" then pinfo.cols.info:set("") end if ssl.handshake.type == 1 then pinfo.cols['info'] = "" end if ssl.handshake.type == 2 then pinfo.cols.info = "" end end
Have also tried
pinfo.cols.info:set('stuff') pinfo.cols.info:fence()
Is there a way to change the Packet Info Field based on criteria?
Looking to see if there is a possibility to change the text in the Info field based on a packet criteria. For example, if ssl.handshake.type == 1 1 then then change the packet info field to , or even the comment field.<custom text>
I have tried the following with Lua, but no soup:
Have also tried
Is there a way to change the Packet Info Field based on criteria?
Looking to see if there is a possibility to change the text in the Info field based on a packet criteria. For example, if ssl.handshake.type == 1 then then change the packet info field to , or even the comment field.
I have tried the following with Lua, but no soup:
function changeInfo(name) if pinfo.cols.info == "Client Hello" then pinfo.cols.info:set("") end if ssl.handshake.type == 1 then pinfo.cols['info'] = "" end if ssl.handshake.type == 2 then pinfo.cols.info = "" end end
Have also tried
pinfo.cols.info:set('stuff') pinfo.cols.info:fence()
Is there a way to change the Packet Info Field based on criteria?
Looking to see if there is a possibility to change the text in the Info field based on a packet criteria. For example, if ssl.handshake.type == 1 then then change the packet info field to , or even the comment field.
I have tried the following with Lua, but no soup:
function changeInfo(name) if pinfo.cols.info == "Client Hello" then pinfo.cols.info:set("") end if ssl.handshake.type == 1 then pinfo.cols['info'] = "" end if ssl.handshake.type == 2 then pinfo.cols.info = "" end end