Skip to content

NetplanTUI Version 1.0

Choose a tag to compare

@pyr0hax pyr0hax released this 08 Dec 08:32
· 15 commits to main since this release

1.0 – Added CIDR Input & Validation

Added support for entering IP addresses in CIDR notation (e.g., 192.168.1.10/24).

Implemented a CIDR syntax validator to ensure:

IP is a valid IPv4 address

CIDR prefix is in range 0–32

No invalid characters, missing segments, or malformed masks

Invalid CIDR entries now show an inline TUI error dialog instead of allowing bad configuration to be written.

Improved form logic so address fields with missing or invalid CIDR masks cannot proceed to YAML generation.

Updated generated Netplan YAML to correctly apply:

addresses:

  • 192.168.1.10/24
    General code cleanup and validation hardening for edge cases.