LoginSignup
0
0

Wireshark
https://www.wireshark.org/

プロジェクトはGitlabで運営している。
https://gitlab.com/wireshark/wireshark

SSH鍵がないと

You won't be able to pull or push repositories via SSH until you add an SSH key to your profile

「SSH鍵を追加」を押すと

SSH 鍵
SSH 鍵を使用すると、コンピュータとGitLabの間を安全に接続できます。
SSH 鍵を追加
SSH キーを追加するには、キーを生成する または既存のキーを使用するのどちらかが必要です。
キー
Paste your public SSH key, which is usually contained in the file '~/.ssh/id_ed25519.pub' or '~/.ssh/id_rsa.pub' and begins with 'ssh-ed25519' or 'ssh-rsa'. Do not paste your private SSH key, as that can compromise your identity.

##既存のキーを使用する

See if you have an existing SSH key pair
Before you create a key pair, see if a key pair already exists.
On Windows, Linux, or macOS, go to your home directory.
Go to the .ssh/ subdirectory. If the .ssh/ subdirectory doesn’t exist, you are either not in the home directory, or you haven’t used ssh before. In the latter case, you need to generate an SSH key pair.
See if a file with one of the following formats exists:

Algorithm Public key Private key
ED25519 (preferred) id_ed25519.pub id_ed25519
RSA (at least 2048-bit key size) id_rsa.pub id_rsa
DSA (deprecated) id_dsa.pub id_dsa
ECDSA id_ecdsa.pub id_ecdsa

キーを生成する

Generate an SSH key pair
https://docs.gitlab.com/ee/ssh/index.html#generate-an-ssh-key-pair

キーを追加。

README.md

Developer's Guide
https://www.wireshark.org/docs/wsdg_html_chunked/

ソースコード

wireshark.h
/* wireshark.h
 * Global public header with minimally available wireshark API
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __WIRESHARK_H__
#define __WIRESHARK_H__

/*
 * This header can be included in any file, header or source, public or private.
 * It is strongly recommended to be always included to provide macros that are
 * required for the project and a consistent minimum set of interfaces that are
 * always guaranteed to be available. There is no need to include <glib.h>
 * directly, this header should replace it.
 *
 * Other public headers provided here should be minimal, with stable interfaces
 * and have only global declarations.
 *
 * Everytime this header changes everything must be rebuilt so consider carefully
 * if the other project headers included here should really have global scope.
 *
 * See README.developer for a more in-depth guide.
 */

/* System headers.*/
#include <stdint.h>
#include <stdbool.h>
#include <glib.h>

/*
 * Project headers and definitions.
 *
 * Only public headers and symbols can be included here. Nothing related
 * with configuration.
 */
#include <ws_attributes.h>
#include <ws_compiler_tests.h>
#include <ws_diag_control.h>
#include <ws_symbol_export.h>
#include <ws_version.h>

#include <wsutil/ws_assert.h>
#include <wsutil/wslog.h>

#endif /* __WIRESHARK_H__ */

/*
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
 *
 * Local variables:
 * c-basic-offset: 4
 * tab-width: 8
 * indent-tabs-mode: nil
 * End:
 *
 * vi: set shiftwidth=4 tabstop=8 expandtab:
 * :indentSize=4:tabSize=8:noTabs=true:
 */

file.c

Cmakelists.txt

APPLEとWin32がある。3762行ある。読みきれてない。

今日の感想

コメントは// がいい。
/* */ コメントは面倒くさくて嫌。

新しいソースから//を推奨したい。
そのためには何かを書かねば。

<この項は書きかけです。順次追記します。>

参考資料(reference) Wireshark

Wiresharkのインストール手順(Windows編)

WireSharkで学ぶネットワークの基礎

WireSharkの仕組み

 wiresharkで保存したデータをpysharkで扱う

m1macにWiresharkをインストール

Nutanix から通信フロー情報を取得してみる

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>

文書履歴(document history)

ver. 0.01 初稿   20211023
ver. 0.02 ありがとう追記 20230604

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0