User Guide
Wireshark User's Guide
vii
10.4.3. Show User Specified Decodes ................................................................. 149
10.5. Preferences ..................................................................................................... 150
10.5.1. Interface Options .................................................................................. 151
10.6. Configuration Profiles ...................................................................................... 152
10.7. User Table ..................................................................................................... 154
10.8. Display Filter Macros ....................................................................................... 154
10.9. ESS Category Attributes ................................................................................... 154
10.10. GeoIP Database Paths ..................................................................................... 155
10.11. IKEv2 decryption table ................................................................................... 155
10.12. Object Identifiers ........................................................................................... 156
10.13. PRES Users Context List ................................................................................ 156
10.14. SCCP users Table .......................................................................................... 156
10.15. SMI (MIB and PIB) Modules .......................................................................... 157
10.16. SMI (MIB and PIB) Paths ............................................................................... 157
10.17. SNMP Enterprise Specific Trap Types ............................................................... 157
10.18. SNMP users Table ......................................................................................... 157
10.19. Tektronix K12xx/15 RF5 protocols Table ........................................................... 158
10.20. User DLTs protocol table ................................................................................ 158
11. Lua Support in Wireshark ........................................................................................... 159
11.1. Introduction .................................................................................................... 159
11.2. Example of Dissector written in Lua ................................................................... 159
11.3. Example of Listener written in Lua ..................................................................... 160
11.4. Wireshark's Lua API Reference Manual ............................................................... 161
11.5. Saving capture files ........................................................................................ 161
11.5.1. Dumper ............................................................................................... 161
11.5.2. PseudoHeader ....................................................................................... 162
11.6. Obtaining dissection data ................................................................................. 163
11.6.1. Field ................................................................................................... 163
11.6.2. FieldInfo ............................................................................................. 164
11.6.3. Non Method Functions ........................................................................... 165
11.7. GUI support .................................................................................................. 165
11.7.1. ProgDlg ............................................................................................... 165
11.7.2. TextWindow ........................................................................................ 166
11.7.3. Non Method Functions ........................................................................... 169
11.8. Post-dissection packet analysis .......................................................................... 171
11.8.1. Listener ............................................................................................... 171
11.9. Obtaining packet information ............................................................................ 171
11.9.1. Address ............................................................................................... 171
11.9.2. Column ............................................................................................... 172
11.9.3. Columns .............................................................................................. 173
11.9.4. Pinfo ................................................................................................... 173
11.10. Functions for writing dissectors ....................................................................... 175
11.10.1. Dissector ............................................................................................ 175
11.10.2. DissectorTable .................................................................................... 176
11.10.3. Pref ................................................................................................... 177
11.10.4. Prefs ................................................................................................. 179
11.10.5. Proto ................................................................................................. 180
11.10.6. ProtoField .......................................................................................... 180
11.10.7. Non Method Functions ......................................................................... 188
11.11. Adding information to the dissection tree .......................................................... 189
11.11.1. TreeItem ............................................................................................ 189
11.12. Functions for handling packet data ................................................................... 190
11.12.1. ByteArray .......................................................................................... 190
11.12.2. Int .................................................................................................... 192