samples/net/promiscuous_mode/README.html · samples/net/promiscuous_mode/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Networking · Packet capture

Promiscuous mode

QEMU network interface의 전체 수신 packet을 관찰하고 shell에서 감시 상태를 runtime에 전환합니다.

Official pathsamples/net/promiscuous_mode/README.html
Source filesamples/net/promiscuous_mode/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

promisc on·promisc off 명령, host networking 요구사항과 qemu_x86 build를 보존합니다.

Scope

All interfaces

Shell

promisc on · off

Target

qemu_x86

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 65E7FD7F45995C9A6AC6D930C0151D4F2FDE0BA059281C7170CDC8AC3B93E904
.. zephyr:code-sample:: net-promiscuous-mode
   :name: Promiscuous mode
   :relevant-api: promiscuous

   Enable promiscuous mode on all interfaces and print information about incoming packets.

Overview
********

This application will enable promiscuous mode for every network
interface in the system. It will then start to listen for incoming
network packets and show information about them.

The application will also provide a shell so that user can enable
or disable promiscuous mode at runtime. The commands are called
``promisc on`` and ``promisc off``.

Requirements
************

- :ref:`networking_with_host`

Building and Running
********************

There are multiple ways to use this application. In this example QEMU
is used:

.. zephyr-app-commands::
   :zephyr-app: samples/net/promiscuous_mode
   :board: qemu_x86
   :conf: <config file to use>
   :goals: build
   :compact:

Part 3

한국어 전문 번역

개요

이 application은 system의 모든 network interface에서 promiscuous mode를 활성화합니다. 그런 다음 들어오는 network packet을 수신하면서 각 packet 정보를 표시합니다.

Application은 shell도 제공하므로 runtime에 promiscuous mode를 켜거나 끌 수 있습니다. 명령 이름은 각각 promisc on과 promisc off입니다.

요구 사항

빌드 및 실행

이 application은 여러 방식으로 사용할 수 있습니다. 다음 example에서는 QEMU를 사용하고, 필요한 configuration file을 지정해 qemu_x86 target으로 build합니다.

west build -b qemu_x86 samples/net/promiscuous_mode -- -DCONF_FILE=<config file to use>

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.