"Wireshark" Wireshark principle analysis and two development series

Source: Internet
Author: User

1. Copyright Notice

This series of articles is I spent a lot of effort written, Wireshark is open source software, I am also willing to share technical knowledge and experience, is to appreciate and promote the spirit of open source, so anyone who see this article can be reproduced at will , but only a request:

In the case of large paragraphs or even full-text references to this series of articles, it is necessary to retain My Network name (Zhaozi) and all or part of this blog address (HTTP://WWW.CNBLOGS.COM/ZZQCN).

2. Introduction

Wireshark is an excellent open source protocol analysis software, for many years, Countless developers around the world have written thousands of kinds of parsing plugins for Wireshark (more than 1500 versions of 1.12.6), plus powerful, easy-to-use analytics that make them one of the tools necessary for protocol analysis.

However, there is no tool that can fully meet the needs of all users, as powerful as Wireshark. Especially for professional protocol analysis, security personnel, in the actual work, often need to analyze some of the private protocol of the message, or the official Wireshark does not provide some features, and some developers, you need to wireshark the message parsing function into their own application scenario ... All of this requires us to develop two times on the basis of understanding how the Wireshark works.

The two major features of Wireshark make it easier to develop two times:

    • The code is open source.
    • Provides a plug-in mechanism (C/lua)

This series of articles is intended to show how to develop Wireshark two times.

3. Main content and agreement

To develop the Wireshark two times, you must first understand the basic workings of wireshark and the plug-in interfaces it provides (Lua, C). This series first introduces the basic principles of Wireshark, then introduces the LUA plug-in and C-Plug-ins, and finally describes how to modify the Wireshark to add custom functionality.

For general developers, learn how to write Wireshark plug-ins, which is often a need to write a new protocol parser, to complete some kind of data statistics, and for some people who want to join the custom function, you have to modify the Wireshark main code.

All of the articles in this series that involve code development are presented with examples and running results, and are validated on both Windows and MACOSX, but examples are just examples, may be simpler, and the code format is less prescriptive. In addition to the principle of the description, I am also in the process of learning, some principles described may be a little bit, even some small errors, is inevitable.

4. Article index

Todo

"Wireshark" Wireshark principle analysis and two development series

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.