17.7. Step By Step Instructions
Prev | Chapter 17. Creating ASN.1 Dissectors | Next

## 17.7. Step By Step Instructions

1. Create a directory for your protocol in the epan/dissectors/asn1 directory and put your ASN.1 file there.
2. Copy CMakeLists.txt from another ASN.1 dissector and edit it to suit your needs.
3. Create a .cnf file either by copying an existing one and editing it or using the empty example above.
4. Create template files either by copying suitable existing ones and editing them or use the examples above, putting your protocol name in the appropriate places.
5. Add your dissector to epan/dissectors/asn1/CMakeLists.txt
6. Test generating your dissector by building the generate_dissector-*proto* target.
7. Depending on the outcome you may have to edit your .cnf file, ASN.1 file etc…​
8. Build Wireshark.

Prev | Up | Next
17.6. Generated Files | Home | 17.8. Hints For Using Asn2wrs