Changes for version 0.3.0 - 2021-07-03

  • changed: CLI: Seamless support for custom attributes (set and addpeer)
  • added: CLI: Ability to remove peers
  • added: CLI: Machine readable output (dump)
  • changed: Core: removed any predefined wg-meta attributes (except alias and checksum)
  • changed: Core: Rewrote parser architecture to be more general and extendable
  • changed: Tests: Are now not dependent on threads any more
  • changed: Wrapper: API of set() and add_peer()

Documentation

CLI interface to manage Wireguard using Perl
A toolkit to manage Wireguard configurations.

Modules

A toolkit to manage Wireguard configurations.
A collection of utility functions to make things more human friendly
Routes commands to their implementation
Parser for Wireguard configurations
Middleware between the parser and wrapper class(es)
Parser for `wg show dump`
Supported attribute configurations
A place for all input validation functions
Interface with shell using IPC::Open3
Class for interfacing the wireguard configuration
Class for interfacing the wireguard configuration supporting concurrent access
Class for interfacing `wg show dump` output

Provides

in lib/Wireguard/WGmeta/Cli/Commands/Add.pm
in lib/Wireguard/WGmeta/Cli/Commands/Apply.pm
in lib/Wireguard/WGmeta/Cli/Commands/Disable.pm
in lib/Wireguard/WGmeta/Cli/Commands/Enable.pm
in lib/Wireguard/WGmeta/Cli/Commands/Help.pm
in lib/Wireguard/WGmeta/Cli/Commands/Remove.pm
in lib/Wireguard/WGmeta/Cli/Commands/Set.pm
in lib/Wireguard/WGmeta/Cli/Commands/Show.pm
in lib/Wireguard/WGmeta/Cli/TerminalHelpers.pm
in lib/Wireguard/WGmeta/Utils.pm