This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi,

I would like to add comment inside the "packet comments" field of pcapng using a script.

Use case would be something like: if dns.ttl < 120 sec: add_comments("Short TLL")

I've been reading and it's probably doable using a LUA script but before today I never wrote a line of LUA. I would like to know if it is indeed doable and if someone could send me in the right direction to get that done.

thanks

asked 22 May '13, 20:35

x0r's gravatar image

x0r
11112
accept rate: 0%

I guess you want to highlight certain packets that way - have you thought about using coloring rules for something like this?

(23 May '13, 05:27) Jasper ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×431
×36
×8

question asked: 22 May '13, 20:35

question was seen: 3,163 times

last updated: 23 May '13, 05:27

p​o​w​e​r​e​d by O​S​Q​A