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

From Edit -> Preferences menu under protocols tag if we have made our own protocol in that we want to add browse button to browse the particular file as like in SSL how we can achieve that using LUA Script??

asked 03 Mar '15, 20:55

ankit's gravatar image

accept rate: 25%

edited 04 Mar '15, 01:59

Guy%20Harris's gravatar image

Guy Harris ♦♦

Unfortunately, the prefs_register_filename_preference() function isn't exposed in the Lua API, so you can't have such a preference in a Lua dissector, only in a dissector written in C.

@Hadriel, this might be something useful to add to the Lua API in a future release.

permanent link

answered 04 Mar '15, 01:59

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 03 Mar '15, 20:55

question was seen: 2,100 times

last updated: 04 Mar '15, 01:59

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