
Edgeshark

…or watch the recording of the Edgeshark class at SharkFest 2023 in Brussels, with quick start, Docker networking, the Edgeshark architecture, below the surface of Docker Desktop, and more:

Discover the virtual communication of containers in
(Docker) container hosts, such as the Siemens Industrial
Edge. And capture container traffic live
from the comfort of your Desktop’s Wireshark with a
simple click. Edgeshark additionally is
KinD-aware and supports further
container engines, such as containerd.

Learn more about what Edgeshark has on offer from our Edgeshark online
manual.
Quick Start
Docker Host
We provide multi-architecture Docker images for linux/amd64 and linux/arm64.
First, ensure that you have the Docker compose plugin v2 installed. For Debian
users it is strongly recommended to install docker-ce instead of docker.io
packages, as these are updated on a regular basis.
Make sure you have a Linux kernel of at least version 4.11 installed, however we
highly recommend at least kernel version 5.6 or later.
To expose service TCP port 5001 only on localhost:
wget -q --no-cache -O - \
https://github.com/siemens/edgeshark/raw/main/deployments/wget/docker-compose-localhost.yaml \
| DOCKER_DEFAULT_PLATFORM= docker compose -f - up
[!WARNING]
The following quick start deployments will expose TCP port 5001 (or 5500)
also to clients external to your host. Make sure to have proper network
protection in place.
To expose service TCP port 5001 to remote clients:
wget -q --no-cache -O - \
https://github.com/siemens/edgeshark/raw/main/deployments/wget/docker-compose.yaml \
| DOCKER_DEFAULT_PLATFORM= docker compose -f - up
To expose alternate service TCP port 5500 to remote clients (download and
edit to export on a different host port, then deploy using your local composer
file):
wget -q --no-cache -O - \
https://github.com/siemens/edgeshark/raw/main/deployments/wget/docker-compose-5500.yaml \
| DOCKER_DEFAULT_PLATFORM= docker compose -f - up
Finally, visit http://localhost:5001 (or :5500) and start looking around your
container host virtual networking.
If you want to live capture traffic using Wireshark, please download the
Containershark extcap plugin
for the OS/distribution and install it, see also the cshargextcap
installation instructions.
Siemens Industrial Edge
Please head over to our
releases page to download the
latest (and greatest) Edgeshark app. There are separate app bundles for amd64
and arm64 IEDs; both can be imported into the same IEM side by side as they
are two different IE apps:
- download the
edgeshark-<version>-amd64.app.zip or
edgeshark-<version>-arm64.app.zip file, depending on your IED’s
architecture.
- unpack the downloaded ZIP archive.
- import the
edgeshark-<version>-<arch>.app file into the catalog of your IEM.
- deploy … and enjoy!
The Edgeshark app doesn’t expose port 5001 on IEDs. Instead, open it via its app
tile in the IED user interface, or at https://<ied-address>/edgeshark/. This
reverse proxy route requires an IED login, so log in to the IED user
interface first.
If you want to live capture traffic using Wireshark, please download the
Containershark extcap plugin
v1.1.0 or later for the OS/distribution and install it; it asks for your IED
login when needed, see Industrial Edge
Login. Please also check the
cshargextcap installation
instructions,
especially for macOS users regarding the additional packetflix URL handler
installation.
Edgeshark Project
This hub repository is part of the “Edgeshark” project that consist of several
repositories:
Working on the Manual
The Edgeshark manual in _docs/ uses docsify
so there is no need for processing the documentation files first. Instead, they
can be directly copied one-to-one to a place from where they can be served
as-is, such as the Edgeshark live manual.
The docs workflow publishes the manual on GitHub
Pages whenever changes to it reach the main branch; the repository’s Pages
source needs to be set to “GitHub Actions” for this.
When working on the documentation, the dev container automatically serves the
manual on port 3300 with an automatically updating live “preview” (which
actually is quite “what you see is what you get” in this case). Outside the dev
container, run instead:
make docsify
When updating or adding icons in icons/_media/icons, make sure to optimize and
sync them to _docs/_media/icons:
sudo npm -g install svgo
make icons
Do not edit the icons in _docs/_media/icons; edit only the “source” icons
in icons/_media/icons.
Contributing
Please see CONTRIBUTING.md.
License and Copyright
© Siemens AG 2023, 2024
SPDX-License-Identifier: MIT
评论