Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 strongswan

查看 strongswan 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install strongswan

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add strongswan

Alpine Linux edge package indexes · strongswan · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install strongswan

Debian stable package indexes · strongswan · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install strongswan

Fedora Rawhide package metadata · strongswan · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#strongswan

nixpkgs package indexes · pkgs/by-name/st/strongswan/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S strongswan

Arch Linux sync databases · strongswan · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install strongswan

openSUSE Tumbleweed package metadata · strongswan · 来源: download.opensuse.org

概览

软件包摘要

VPN based on IPsec

命令和别名

  • charon-cmd
  • ipsec
  • pki
  • swanctl

历史

项目历史与用法

strongSwan is a long-running open source IPsec and IKE implementation used to build policy- and route-based VPNs. In package-manager culture it is a substantial security package: a suite of daemons, plugins, and command-line tools such as `ipsec`, `swanctl`, `pki`, and `charon-cmd` rather than a single small executable.

项目历史

The official strongSwan history says the project launched in 2005 as a fork of the discontinued FreeS/WAN project, integrating the X.509 patch its authors had contributed since 2000. The project later replaced inherited FreeS/WAN code with a new modular IKE daemon written in a modern object-oriented C style.

strongSwan initially used the new daemon for IKEv2 while IKEv1 remained handled by an extended FreeS/WAN pluto daemon. Because IKEv2 adoption by other vendors was slower than expected, strongSwan added IKEv1 support to the new daemon in strongSwan 5.0 in 2012 and removed pluto and other legacy components.

采用历史

The project documents more than 400,000 lines of code, more than 400 automated tests, and more than 110 contributors on its official about page. The input package facts show broad packaging across Homebrew, Debian and Ubuntu components, Fedora, Nix, pacman, APK, and zypper, reflecting its role as infrastructure software rather than a niche CLI.

使用方式

Administrators use strongSwan to configure, control, and monitor IPsec/IKE VPNs. Official documentation describes `swanctl` as the command-line utility for configuring, controlling, and monitoring the IKE charon daemon through the vici interface, while the broader documentation covers configuration files, certificates, kernel integration, and platform-specific builds.

为什么软件包爱好者会关心

Package nerds care about strongSwan because it sits at the intersection of kernel networking, cryptography, service management, plugin selection, and distro policy. Packaging it correctly means handling default configuration paths, private-key directories, optional plugins, service startup, and compatibility across Linux, macOS, FreeBSD, Android, and other supported environments.

时间线

  • 2000: strongSwan authors were contributing an X.509 patch to FreeS/WAN.
  • 2005: strongSwan launched as a fork of the discontinued FreeS/WAN project.
  • 2012: strongSwan 5.0 added IKEv1 support to the new daemon and removed pluto and other legacy components.
  • 2022: secunet Security Networks AG acquired intellectual property rights to the strongSwan project.

Related projects

  • FreeS/WAN is the direct ancestor named by the official project history. The official documentation also positions `swanctl`, `charon`, `pki`, and the vici interface as core parts of the modern strongSwan toolchain.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/strongswan.conf/etc/strongswan.d//etc/swanctl/swanctl.conf/etc/swanctl/conf.d/*.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/swanctl/private//etc/swanctl/rsa//etc/swanctl/ecdsa//etc/swanctl/pkcs8//etc/swanctl/pkcs12//etc/swanctl/swanctl.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
charon-cmdcli全局可执行文件
ipseccli全局可执行文件
pkicli全局可执行文件
swanctlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本6.0.7
管理器更新时间2026-06-08
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.strongswan.org

安装元数据

软件包元数据

软件包键brew:strongswan
版本6.0.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/strongswan
主页https://www.strongswan.org
仓库https://github.com/strongswan/strongswan
上游文档https://docs.strongswan.org/
许可证GPL-2.0-or-later
源码归档https://download.strongswan.org/strongswan-6.0.7.tar.bz2
最后更新2026-06-08T08:40:44Z
Pulseupdated
依赖openssl@3
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项You will have to run both "ipsec" and "charon-cmd" with "sudo".

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestrongswan
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

charon-cmd 6.0.1-6+deb13u5

standalone IPsec client

http://www.strongswan.org

sudo apt install charon-cmd
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 3 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: charon-cmd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

charon-systemd 6.0.1-6+deb13u5

strongSwan IPsec client, systemd support

http://www.strongswan.org

sudo apt install charon-systemd
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 5 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: charon-systemd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcharon-extauth-plugins 6.0.1-6+deb13u5

strongSwan charon library (extended authentication plugins)

http://www.strongswan.org

sudo apt install libcharon-extauth-plugins
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 2 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcharon-extauth-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcharon-extra-plugins 6.0.1-6+deb13u5

strongSwan charon library (extra plugins)

http://www.strongswan.org

sudo apt install libcharon-extra-plugins
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 4 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcharon-extra-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libstrongswan 6.0.1-6+deb13u5

strongSwan utility and crypto library

http://www.strongswan.org

sudo apt install libstrongswan
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 4 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libstrongswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libstrongswan-extra-plugins 6.0.1-6+deb13u5

strongSwan utility and crypto library (extra plugins)

http://www.strongswan.org

sudo apt install libstrongswan-extra-plugins
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 8 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libstrongswan-extra-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libstrongswan-standard-plugins 6.0.1-6+deb13u5

strongSwan utility and crypto library (standard plugins)

http://www.strongswan.org

sudo apt install libstrongswan-standard-plugins
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 3 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libstrongswan-standard-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan 6.0.1-6+deb13u5

IPsec VPN solution metapackage

http://www.strongswan.org

sudo apt install strongswan
  • Section: net
  • Architecture: all
  • 4 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan-charon 6.0.1-6+deb13u5

strongSwan Internet Key Exchange daemon

http://www.strongswan.org

sudo apt install strongswan-charon
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan-charon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan-libcharon 6.0.1-6+deb13u5

strongSwan charon library

http://www.strongswan.org

sudo apt install strongswan-libcharon
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 2 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan-libcharon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan-nm 6.0.1-6+deb13u5

strongSwan plugin to interact with NetworkManager

http://www.strongswan.org

sudo apt install strongswan-nm
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan-nm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan-pki 6.0.1-6+deb13u5

strongSwan IPsec client, pki command

http://www.strongswan.org

sudo apt install strongswan-pki
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 3 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan-pki from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan-starter 6.0.1-6+deb13u5

strongSwan daemon starter and configuration file parser

http://www.strongswan.org

sudo apt install strongswan-starter
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 6 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan-starter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

strongswan-swanctl 6.0.1-6+deb13u5

strongSwan IPsec client, swanctl command

http://www.strongswan.org

sudo apt install strongswan-swanctl
  • Section: net
  • Architecture: amd64
  • Source Package: strongswan
  • 2 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strongswan-swanctl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

strongswan

nix profile install nixpkgs#strongswan
  • normalized package name match
  • 匹配方式:Strongswan
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/strongswan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

charon-cmd 5.9.13-2ubuntu4

standalone IPsec client

http://www.strongswan.org

sudo apt install charon-cmd
  • Section: universe/net
  • Architecture: amd64
  • Source Package: strongswan
  • 3 依赖
  • normalized package name match
  • 匹配方式:Strongswan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: charon-cmd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment