57 KiB
Change Log
All notable changes to the project are documented in this file.
v24.08.0
Changes
- Initial RISC-V (riscv64) support: StarFive VisionFive2
- Password login can now be disabled by removing the password. Before this change only empty password disabled password login (in favor of SSH key login), removing the password locked the user completely out
Fixes
- Fix #489: ensure all patches are versioned, including Linux kernel
- Fix #531: creating a new VLAN interface named
vlanNshould not setlower-layer-iftovlanN. With thevlanNpattern, only C-VLAN and VID can be inferred - Silence bogus
sysctlwarnings at boot (syslog) - Silence output from user group member check (sys-cli in syslog)
v24.06.0 - 2024-06-28
Note: this release contains breaking changes in YANG models that are incompatible with existing configuration files. So, after upgrade, but before reboot, a factory reset is required!
Changes
- Upgrade Buildroot to 2024.02.3 (LTS)
- Upgrade Linux kernel to 6.6.34 (LTS)
- Upgrade bundled curiOS httpd container to v24.05.0
- Default web landing page refactored into a Buildroot package to make it possible to overload from customer repos.
- Enable DCB support in aarch64 kernel (for EtherType prio override)
- Topology mapper improvements, including option for deterministic reproduction of logical to physical mappings
- New version of
gencerttool, for self signed HTTPS certificates. This allows dropping dependency on building a host rust toolchain - Issue #374: add timestamps to dagger .log files
- Add small delay in U-Boot to allow stopping boot on reference boards
- Document how to provision the bootloader and Infix on a blank board
- Use initial hostname from
/etc/os-releaseas configuration fallback - Update documentation for use of VETH pairs in containers
- Issue #454: create bridges in
factory-configwith IGMP/MLD snooping enabled by default - The following YANG models have been updated to newer draft versions:
ietf-crypto-types,ietf-keystore,ietf-netconf-server,ietf-ssh-common,ietf-ssh-server,ietf-tcp-client,ietf-tcp-common,ietf-tcp-server,ietf-tcp-server,ietf-tcp-server,ietf-tcp-server. In these there are a lot of breaking changes, most likely you will need to redo your configuration fromfactory-config. - The Augeas package has been dropped, so
augtoolis no longer available - VLAN interfaces can now map the incoming PCP value to the kernel-internal priority on ingress, and perform the reverse mapping on egress.
mv88e6xxxports can now use Linux's priority information to select the appropriate egress queue, via themqprioqueuing discipline.- Add logging of output from container start/stop action
- Clean up stale directories after OCI container archive import
- Add support for
show leaf-nodein CLI configure context - Allow non-admin users to use the CLI. NACM rules still apply
- Ensure filesystem is sync'ed properly after a CLI
copycommand - Issue #178: add early boot script to migrate configuration files of older version to new syntax. Initial, rudimentary support, for the change in shell types
- Issue #308: add
versionfield to configuration file using a new model, infix-meta.yang. Used to trigger migration from older formats to newer on future breaking changes - Issue #432: extract YANG documentation at build time. Part of the
release tarballs is now
yangdoc.htmlfor the complete tree of all YANG configuration, operational data, RPCs, and notification nodes - Issue #435: add support for
$factory$password hash. This allows backing up configuration files with device specific passwords. Upon restore to another device this ensures the replacement's password is used instead of the originals' - Issue #435: add support for hostname format specifiers. The default
hostname configuration is now
%h-%mto encode,infix-c0-ff-ee - Issue #435: support for "empty" NETCONF host keys. Primarily used in
static factory-config setups. When a configuration is detected with
this, the automatically generated, device specific 2048 bit RSA host
key pair is used. With this, vendor/product specific factory-config
is now fully supported. See
src/confd/README.md - Issue #447: add support for [yescrypt][],
$y$hashes. This also adds support for$0$cleartextpassword according to ietf-system.yang - Issue #455: split CLI tutorial into multiple files for easy access
from the CLI admin-exec context using the
helpcommand - Issue #478: add operational support for ietf-system.yang, reading actual hostname and passwords after issue #435
- Merge infix-shell-types.yang with infix-system.yang
- cli: improved error/warning message on missing or incomplete command
[yescrypt]: https://en.wikipedia.org/wiki/Yescrypt)
Fixes
- Fix #424: regression, root user can log in without password
- Fix build regressions in
cn9130_crb_boot_defconfigcaused by upgrade to Buildroot v2024.02 and recent multi-key support in RAUC and U-Boot - Fix provisioning script after changes to make GRUB loading more robust
- Fix missing
/etc/resolv.conf, as noticed byavahi-daemon, when a user callsno systemfrom the CLI - Fix #428: loss of admin account after upgrade to v24.04
- Fix #429: failing to load
startup-configdoes not trigger the fail secure mode, causing the system to end up in an undefined state - Fix #453: fix inconsistent behavior of custom MAC address (interface
phys-addressfor VETH pairs. Allows fixed MAC in containers - Fix #462: increase port column width for CLI
show bridge mdb - Fix #468: non-admin users can get a POSIX shell as login shell, root cause was buggy Augeas library, replaced with plain C API.
- Fix #469: non-admin users added to any group get administrator
privileges (added to UNIX
wheelgroup) - Fix #473: bridge interface with IPv6 SLAAC never get global prefix
- Fix #476: Custom command for containers not working
- Fix #479: timeout from underlying datastore when disabling containers in configuration. Only disabling (stopping) container now done in the configuration change, removal of container done in the background
- Fix locking issue with standard counter groups on
mv88e6xxx - Add missing LICENSE hash for factory reset tool
- Fix timeout handling in container restart command
- Fix MDB/ATU synchronization issue from IGMPv3/MLDv2 reports on
mv88e6xxxsystems
v24.04.2 - 2024-05-15
Changes
- Add small delay in U-Boot to allow stopping boot on reference boards
- Document how to provision the bootloader and Infix on a blank board
- Use initial hostname from
/etc/os-releaseas configuration fallback
Fixes
- Fix build regressions in
cn9130_crb_boot_defconfigcaused by upgrade to Buildroot v2024.02 and recent multi-key support in RAUC and U-Boot - Fix provisioning script after changes to make GRUB loading more robust
- Fix missing
/etc/resolv.conf, as noticed byavahi-daemon, when a user callsno systemfrom the CLI - Fix #428: loss of admin account after upgrade to v24.04
- Fix #429: failing to load
startup-configdoes not trigger the fail secure mode, causing the system to end up in an undefined state
v24.04.1 - 2024-05-03
Changes
- Default web landing page refactored into a Buildroot package to make it possible to overload from customer repos.
- Enable DCB support in aarch64 kernel (for EtherType prio override)
- Topology mapper improvements, including option for deterministic reproduction of logical to physical mappings
- New version of
gencerttool, for self signed HTTPS certificates. This allows dropping dependency on building a host rust toolchain - Issue #374: add timestamps to dagger .log files
Fixes
- Add missing LICENSE hash for factory reset tool
- Fix #424: regression, root user can log in without password
v24.04.0 - 2024-04-30
News: this release marks the first major upgrade of the underlying Buildroot to the latest LTS release, v2024.02. This caused a few small regressions in the release cycle, all known issues have been addressed.
Also worth highlighting, as of this release the Infix Classic variant
has been dropped. It was the legacy Infix with manual configuration of
the system using a persistent /etc. May be resurrected later as a
separate project. Going forward Infix' focus is entirely on NETCONF.
Finally, the YANG Status section has been dropped for this release, the idea is to generate supported features from the models and include in future releases.
Changes
- Bump the base Buildroot version to v2024.02 LTS
- Bump the base Linux kernel version to 6.6 LTS
- Drop Classic variant to reduce overhead, simplify build & release processes, and focus on NETCONF for Arm64 and Amd64 platforms
- Add hostname restrictions to ietf-system, and infix-dhcp-client models. Max 64 characters on Linux systems
- Add mDNS CNAME (alias) advertisement, e.g., infix.local in addition to the default infix-c0-ff-ee.local. Note: this is build-specific and does not change if system hostname is changed
- Add mDNS browser web application, https://network.local that shows all mDNS devices on the LAN. The network.local mDNS name is also a CNAME, so with multiple Infix devices, only one will act as the mDNS browser
- Add temporary landing page to web server for https://infix.local
- Add web console using ttyd, https://infix.local:7681
- Add support for disabling web services using CLI
- The bridge model now has built-in validation of port memberships, i.e., a port must be a bridge member to be used in VLAN filtering
- The bridge model only permits the bridge itself to be a tagged member of VLANs -- meaning, the only way to set an IP address on such bridges is to use a VLAN interface on top
- A VLAN filtering bridge now validates that no IP address has been set. Use a VLAN interface on top for that (see above)
- Restructure documentation, let first page in doc/ be table of contents
- Scripting Infix, new document on how to script Infix from remote, e.g., for production or from a container
- Introduction, update documentation now that the
adminuser's default login shell is/bin/bash - System documentation, first outline of how to change hostname, add users, add system administrator users, changing login banner, change the system default editor, and more
- Network documentation, add section on VETH pairs
- Container documentation:
- CLI prompts have been updated to match the examples used in other parts of the User Guide
- Default route example for static container interfaces
- How to upgrade a container image
- As a follow-up to port speed/duplex/autoneg support added in v24.02, this release ensures flow-control is always disabled on all Ethernet ports, as described in the IEEE Ethernet interfaces YANG model
- Add support for core dumps, saving them in
/var/crash, max one dump per process, for use with future support tarballs - Add support for multicast snooping, both IPv4 (IGMP) and IPv6 (MLD) in bridge setups, including offloading to switchdev
- Add support for acting as passive (proxy) or active IGMP querier
- Add support for static multicast filters, MAC, IPv4 and IPv6 groups are supported -- multicast snooping must be enabled
- Include Buildroot
legal-infoin releases, i.e., licenses, sources with patches, as well as csv files for packages and toolchain - Drop
shellcommand from CLI to allow confining users - The CLI
copycommand now allows absolute paths - Local resolver,
dnsmasq, had port 53 visible from externalnmapscans, even though it dropped non-local requests, it now only binds to the loopback interface reduce number of externally visible ports - Kernel log messages, of severity error or higher, now log directly to the console. This may cause some annoyance but has been enabled to ease debugging, in particular issues where the system crashes before the syslog daemon has flushed logs to disk. (Logs are still saved to log files as well.)
- Issue #325: Add support for multiple administrator users by opening
up basic NETCONF ACM support. See documentation for details
- Any user can be added to the
adminNACM group - Any user not in the
admingroup is not allowed to have a login shell other than the CLI (or disabled). POSIX shell, e.g., Bash is reserved for system administrators
- Any user can be added to the
- Issue #327: Remove IPv6LL from bridge port interfaces
- Issue #358: translate YANG model's LOWER-LAYER-DOWN -> LINK-DOWN in
CLI
show interfacescommand - Issue #360: document factory-config, startup-config, and the various failure modes in the system
- Issue #361: document how a privileged container can break out of its
confinement and run host commands, e.g., call
sysrepocfg - Issue #365: add limited support for container capabilities, e.g., to
enable
CAP_NET_RAWto allow containers to useping. This allows users to avoid enabling privileged mode - Issue #367: setting date/time over NETCONF now saves system time also to the RTC, which otherwise is only saved on reboot or power-down
- Issue #369: Remove limitation that the routing instance must be named 'default'
Fixes
- confd: Fix memory leak when operating on candidate configuration
- probe: Fix crash on systems without USB
- Reduced syslog errors for accesses no non-existing xpaths
- Fix bogus warning about not properly updating
/etc/motdin newmotd-bannersetting, introduced in v24.02.0 - infix-routing model: the
enableconfiguration setting for OSPF, indefault-route-advertisehas been obsoleted and replaced byenabled - Fix #328: when setting up a VLAN filtering bridge, the PVID for bridge ports defaulted to 1, making it impossible to set up "tagged-only" ports which drop ingressing untagged traffic
- Fix #329: VLAN inference for interfaces named
eth0.1, i.e., VID 1 on lower-layer-ifeth0. Only affects automatic inference in the CLI, entering the values manually (CLI/NETCONF) not affected by this bug - Fix #331: inconsistent naming of 'enabled' in infix-routing.yang
- Fix #349: minor changes to
bridge-portsettings, like settingpvidwhen you forget it, did not take without a reboot - Fix #353: impossible to remove bridge port with
no bridge-port - Fix #358: MAC address no longer shown for bridge interfaces in CLI
show interfacescommand - Fix #365: not possible to run
pingfrom container - Fix #366: static routes from container host interfaces do not work. Documentation updated with an example
- Fix #368: upgrading
oci-archive:/images fail because system thinks the image can be pulled from a localhost registry. Documentation has also been updated, describing various methods and how to upgrade them - Fix #370: despite the documentation stating containers must explicitly
declare
networksettings, Infix v23.02 had a late regression that reverted back to the podman default: network behind a CNI bridge (firewalled and NAT:ed, hidden from the rest of the network) - Fix #375: k8s-logger, used for containers, does not exit properly and causes 100% CPU load when container stop or are restarted. Also in this issue: handle ip/route additions to container networks at runtime
- Fix #384: segfault in helper function when disabling the DHCP client
using
no dhcp-clientfrom the CLI - Fix #391 Creating VLAN interface in the CLI with "edit interface vlanN" does not set VLAN id to N.
- Fix #404:
lldpdshould be disabled on internal interfacedsa0 - Fix #406: an overly restrictive
whenexpression in the bridge YANG model prevented users from adding VLAN interfaces as bridge ports. E.g., creating interfaceeth0.10and adding that tobr0 - Fix #412: after starting up with DHCP client enabled on any interface
set dhcp-client enabled falsedoes not bite at runtime - Fix #414: spelling error in
infix-hardware.yang, leaf nodecoutry - Fix #415:
startup-configowned byrootuser and group instead ofadmin. The file ownership is now adjusted on every boot - Fix #416:
adminuser cannot perform a factory reset with RPC usingsysrepocfgtool over SSH - Fix bogus syslog warning about not updating
/etc/motdproperly
v24.02.0 - 2024-03-01
Note: the
rootaccount is disabled in official builds. Only theadminuser can log in to the system. This can be changed, but only in developer builds:make menuconfig-> System configuration ->[*]Enable root login with password
YANG Status
Infix devices support downloading all YANG models over NETCONF, including models with submodules. As a rule, standard models are used as long as they map to underlying Linux concepts and services. All exceptions are listed in Infix specific models, detailing deviations and augmentations.
Currently supported models:
-
- Toggle port speed & duplex auto-negotiation on/off
- Set port speed and duplex when auto-negotiation is off
- Query port speed/duplex and auto-negotiation status (operational)
- Frame counters:
YANG Linux / Ethtool out-framesFramesTransmittedOKout-multicast-framesMulticastFramesXmittedOKout-broadcast-framesBroadcastFramesXmittedOKin-total-octetsFramesReceivedOK+ FrameCheckSequenceErrors+ FramesLostDueToIntMACRcvError+ AlignmentErrors+ etherStatsOversizePkts+ etherStatsJabbersin-framesFramesReceivedOKin-multicast-framesMulticastFramesReceivedOKin-broadcast-framesBroadcastFramesReceivedOKin-error-undersize-framesundersize_pktsin-error-fcs-framesFrameCheckSequenceErrorsin-good-octetsOctetsReceivedOKout-good-octetsOctetsTransmittedOK -
- Populates standard hardware model from corresponding data in device EEPROMs
- augments:
- Initial support for USB ports
- Vital Product Data (VPD) from device EEPROMs (ONIE structure)
- infix-hardware: Deviations and augments
-
- augments:
- Message of the Day (MotD) banner, shown after SSH or console login.
Please note: the legacy
motdhas been replaced withmotd-banneros of v24.02. Use CLItext-editorto modify the latter - User login shell, default:
/bin/false(no SSH or console login) - State information for remotely querying firmware version information
- Message of the Day (MotD) banner, shown after SSH or console login.
Please note: the legacy
- deviations:
- timezone-name, using IANA timezones instead of plain string
- UTC offset, only support per-hour offsets with tzdata
- Usernames, clarifying Linux restrictions
- Unsupported features marked as deviations, e.g. RADIUS
- infix-system-software: firmware upgrade with
install-bundleRPC
- augments:
-
- deviation to allow read-write
if:phys-addressfor custom MAC address - ietf-ip: augments
- IPv4LL similar to standardized IPv6LL
- ietf-ip: deviations (
not-supported) added for IPv4 and IPv6:/if:interfaces/if:interface/ip:ipv4/ip:address/ip:subnet/ip:netmask/if:interfaces/if:interface/ip:ipv6/ip:address/ip:status/if:interfaces/if:interface/ip:ipv4/ip:neighbor/if:interfaces/if:interface/ip:ipv6/ip:neighbor
- ietf-routing: Base model for routing
- ietf-ipv4-unicast-routing: Static unicast routing, incl. operational data, i.e., setting static IPv4 routes and reading IPv4 routing table
- ietf-ipv6-unicast-routing: Static unicast routing, incl. operational data, i.e., setting static IPv6 routes and reading IPv6 routing table
- ietf-ospf: Limited support for OSPFv2, with additional support for injecting default route, and route redistribution. Underlying routing engine in use is Frr. Includes operational status + data (routes). See infix-routing model for detailed list of deviations
- infix-ethernet-interface: deviations for ieee802-ethernet-interface
- infix-routing: Limit ietf-routing to one instance
defaultper routing protocol, also details unsupported features (deviations) to both ietf-routing and ietf-ospf models, as well as augments made to support injecting default route in OSPFv2 - infix-if-bridge: Linux bridge interfaces with native VLAN support
- infix-if-type: deviation for interface types, limiting number to
supported types only. New identities are derived from default IANA
interface types, ensuring compatibility with other standard models, e.g.,
ieee802-ethernet-interface.yang - infix-if-veth: Linux VETH pairs
- infix-if-vlan: Linux VLAN interfaces, e.g.
eth0.10
- deviation to allow read-write
-
infix-containers: Support for Docker containers, incl. operational data to query status and remotely stop/start containers
-
infix-dhcp-client: DHCPv4 client, including supported options
-
Configurable services:
- ieee802-dot1ab-lldp: stripped down to an
enabledsetting - infix-services: support for enabling mDNS service/device discovery
- ieee802-dot1ab-lldp: stripped down to an
Changes
-
New hardware support: NanoPi R2S from FriendlyELEC, a simple two-port router
-
Static routing support, now also for IPv6
-
Dynamic routing support with OSPFv2, limited (see
infix-routing.yangfor deviations), but still usable in most relevant use-cases. If you are using this and are interested in more features, please let us know!- Multiple area support, including different area types
- Route redistribution
- Default route injection
- Full integration with Bidirectional Forward Detection (BFD)
- Operational status, including but not limited to:
- OSPF Router ID
- Neighbor status
- OSPF routing table
- Interface type, incl. passive status
- For more information, see
doc/networking.md
-
Support for disabling USB ports in
startup-config(no auto-mount yet!) -
Initial support for Docker containers, see documentation for details:
- Custom Infix model, see
infix-containers.yangfor details - Add image URL/location and volumes/mounts/interfaces to configuration, the system ensures the image is downloaded and container created in the background before launching it. If now networking is available the job is queued and retried every time a new network route is learned
- Status and actions (stop/start/restart) available in operational datastore
- Possible to move physical switch ports inside container, see docs
- Possible to bundle OCI archives in Infix image, as well as storing any
file content in
factory-configto override container image defaults
- Custom Infix model, see
-
IEEE Ethernet interface:
- Support for setting port speed/duplex or auto-negotiating
- New per-port counters, augments to IEEE model added in infix-ethernet.yang:
in-good-octets,out-good-octets
-
Many updates to DHCPv4 client YANG model:
- new options, see
infix-dhcp-client.yangfor details:- Default options: subnet, router, dns+domain, hostname, broadcast, ntpsrv
- Set NTP servers, require NTP client in ietf-system to be enabled, will
be treated as non-preferred sources, configured
preferservers wins - Learn DNS servers, statically configured servers always takes precedence
- Install routes, not only from option 3, but also options 121 and 249
- Support for ARP:ing for client lease (default enabled)
- Configurable route metrics, by default metric 100 to allow static routes to win over DHCP routes, useful for backup DHCP connections
- new options, see
-
IETF Hardware data: added YANG model for vital product data representation, and augments for initial USB support (enable/disable)
-
IETF System:
- the
motdaugment ininfix-system.yangfor Message of the Day has been marked as obsolete and replaced withmotd-banner. The new setting is of type binary and allows control codes and multi-line content to be stored. The legacymotdwill remain for the foreseeable future and takes precedence over the newmotd-bannersetting - new
text-editoraugment ininfix-system.yangto select the backend for the newtext-editorcommand:emacs,nano, orvi
- the
-
Many updates to the test system, Infamy, incl. new Quick Start Guide in updated
doc/testing.mdto help new developers get started -
Add
htopto default builds, useful for observing and attaching (strace) -
Change the default shell of the
adminuser fromclishtobash. Change required for factory production and provisioning reasons. Only affects the built-in default, customer specificfactory-config's are not affected! -
CLI: the
setcommand on a boolean can now be used without an argument,set booleansets the boolean option to true -
CLI: new command
change, for use with ietf-system user passwords, starts an interactive password dialog, including confirmation entry. The resulting password is by default salted and hashed using sha512crypt -
CLI: new command
text-editor, for use with binary fields, e.g.,contentfor file mounts in containers, or the newmotd-banner:admin@infix-c0-ff-ee:/config/system/> text-editor motd-banner ... exit with Ctrl-x Ctrl-c ... admin@infix-c0-ff-ee:/config/system/> show motd-banner VGhpcyByZWxlYXNlIHdhcyBzcG9uc29yZWQgYnkgQWRkaXZhIEVsZWt0cm9uaWsK; -
CLI: new admin-exec command
show ntp [sources] -
CLI: new admin-exec command
show dnsto display DNS client status -
CLI: new admin-exec command
show ospf [subcommand] -
CLI: new admin-exec command
show container [subcommand] -
CLI: new admin-exec command
show hardwareonly USB port status for now -
CLI: updates to the
show interfacescommand to better list bridge VLANs
Fixes
- Fix #177: ensure bridge is not bridge port to itself
- Fix #259: failure to
copy factory-config startup-configin CLI - Fix #278: allow DHCP client to set system hostname (be careful)
- Fix #283: hostname in DHCP request adds quotation marks
- Fix #294: drop stray
vfrom version suffix in release artifacts - Fix #298: drop privileges properly before launching user
shellin CLI - Fix #312: race condition in
ipv4_autoconf.py, causes test to block forever - Backport upstream fix to netopeer2-server for fetching YANG models that refer to submodules over NETCONF
- CLI: drop developer debug in
setcommand - Fix out-of-place
[OK]messages at shutdown/reboot - Fix garbled syslog messages due to unicode in Infix tagline, drop unicode
v23.11.0 - 2023-11-30
Note: this is the first release where the
rootaccount is disabled in default builds. Only theadminuser, generated fromfactory-config, can log in to the system. This can be changed only in developer builds:make menuconfig-> System configuration ->[*]Enable root login with password
YANG Status
-
ieee802-ethernet-interface: Currently supported (read-only) features:
- Status of auto-negotiation, and if enabled.
- Current speed and duplex
- Frame counters:
YANG Linux / Ethtool out-framesFramesTransmittedOKout-multicast-framesMulticastFramesXmittedOKout-broadcast-framesBroadcastFramesXmittedOKin-total-octetsFramesReceivedOK+ FrameCheckSequenceErrors+ FramesLostDueToIntMACRcvError+ AlignmentErrors+ etherStatsOversizePkts+ etherStatsJabbersin-framesFramesReceivedOKin-multicast-framesMulticastFramesReceivedOKin-broadcast-framesBroadcastFramesReceivedOKin-error-undersize-framesundersize_pktsin-error-fcs-framesFrameCheckSequenceErrors -
- augments:
- MotD (Message of the Day)
- User login shell, default:
/bin/false(no SSH or console login) - State information for remotely querying firmware version information
- deviations:
- timezone-name, using IANA timezones instead of plain string
- UTC offset, only support per-hour offsets with tzdata
- Usernames, clarifying Linux restrictions
- Unsupported features marked as deviations, e.g. RADIUS
- infix-system-software: firmware upgrade with
install-bundleRPC
- augments:
-
- deviation to allow read-write
if:phys-addressfor custom MAC address - ietf-ip: augments
- IPv4LL similar to standardized IPv6LL
- ietf-ip: deviations (
not-supported) added for IPv4 and IPv6:/if:interfaces/if:interface/ip:ipv4/ip:address/ip:subnet/ip:netmask/if:interfaces/if:interface/ip:ipv6/ip:address/ip:status/if:interfaces/if:interface/ip:ipv4/ip:neighbor/if:interfaces/if:interface/ip:ipv6/ip:neighbor
- ietf-routing: Base model for routing
- ietf-ipv4-unicast-routing: Static unicast routing, incl. operational data, i.e., setting static IPv4 routes and reading IPv4 routing table
- infix-ethernet-interface: deviations for ieee802-ethernet-interface
- infix-routing: Limit ietf-routing to one instance
defaultper routing protocol, also details unsupported features (deviations) - infix-if-bridge: Linux bridge interfaces with native VLAN support
- infix-if-type: deviation for interface types, limiting number
to supported types only. New identities are derived from default
IANA interface types, ensuring compatibility with other standard
models, e.g.,
ieee802-ethernet-interface.yang - infix-if-veth: Linux VETH pairs
- infix-if-vlan: Linux VLAN interfaces, e.g.
eth0.10
- deviation to allow read-write
-
Configurable services:
- ieee802-dot1ab-lldp: stripped down to an
enabledsetting - infix-services: support for enabling mDNS service/device discovery
- ieee802-dot1ab-lldp: stripped down to an
Changes
- The CLI built-in command
password generatehas been changed to use the secure mode of thepwgentool, and 13 chars for increased entropy - The
qemu.sh -ccommand, available in developer builds and the release zip, can now be used to modify the RAM size and enable VPD emulation - Add support for overriding generated factory defaults in derivatives
using a
/etc/confdrc.lcocalfile -- incl. updated branding docs. - Add support for detecting factory reset condition from a bootloader
- Ensure
/varis also cleared (properly) during factory reset - Add support for port auto-negotiation status in operational datastore
- Add CLI support for showing veth pairs in
show interfaces - Speedups to CLI detailed view of a single interface
- Updated documentation of VLAN interfaces and VLAN filtering bridge
- Updated documentation for how to customize services in Hybrid Mode
- In RMA mode (runlevel 9), the system no longer has any login services
- Disable
rootlogin in all NETCONF builds, onlyadminavailable - Add support for VPD data in ONIE EEPROM format
- Add
iito, the intelligent input/output daemon for LED control - Add port autoneg and speed/duplex status to operational data
- Upgrade Linux to v6.5.11, with kkit extensions
- Add support for static IPv4 routing using
ietf-routing@2018-03-13.yangandietf-ipv4-unicast-routing@2018-03-13.yang, onedefaultinstance only - Add support for partitioning and self-provisioning of new devices
- Add support for reading
adminuser's default password from VPD. Devices that do not have a VPD can set a password hash in the device tree - Add support for upgrading software bundles (images) from the CLI. Supported remote servers: ftp, tftp, and http/https.
- Traversing the CLI configure context has been simplified by collapsing all
YANG containers that only contain a single list element. Example:
edit interfaces interface eth0becomesedit interface eth0 - Add CLI support for creating configuration backups and transferring files to/from remote servers: tftp, ftp, http/https (download only). Issue #155
- Add
_netconf-ssh._tcprecord to mDNS-SD
Fixes
- Fix #111: fix auto-inference of dynamic interface types (bridge, veth)
- Fix #125: improved feedback on invalid input in configure context
- Fix #198: drop bridge default PVID setting, for VLAN filtering bridge. All bridge ports must have explicit VLAN assignment (security)
- Fix #215: impossible to enable NTP client, regression from v23.06.0
- Fix regression in CLI
show factory-configcommand - Fix missing version in
/etc/os-releasevariablePRETTY_NAME - Fix failure to start
podmanin GNS3 (missing Ext4 filesystem feature) - Fix initial terminal size probing in CLI when logging in from console port
- Fix CLI
show running-config, use proper JSON format like other files - Fix caching of libyang module references in confd. Loading other plugins to sysrepo-plugind modifies these references, which may can cause corruption
- Fix missing
vinVERSION,VERSION_ID, andIMAGE_VERSIONin/etc/os-releaseand other generated files for release builds.
v23.10.0 - 2023-10-31
Note: upcoming releases will lock the
rootuser for system-only services. Instead anadminuser will be the only default user with the CLI as its login shell. This user is already available, so please consider updating any guidelines or documentation you may have.
YANG Status
- ietf-system:
- augments:
- MotD (Message of the Day)
- User login shell, default:
/bin/false - State information for remotely querying firmware version information
- deviations:
- timezone-name, using IANA timezones instead of plain string
- UTC offset, only support per-hour offsets with tzdata
- Usernames, clarifying Linux restrictions
- Unsupported features marked as deviations, e.g. RADIUS
- infix-system-software: firmware upgrade with
install-bundleRPC
- augments:
- ietf-interfaces:
- deviation to allow read-write
if:phys-addressfor custom MAC address - ietf-ip: augments
- IPv4LL similar to standardized IPv6LL
- ietf-ip: deviations (
not-supported) added for IPv4 and IPv6:/if:interfaces/if:interface/ip:ipv4/ip:address/ip:subnet/ip:netmask/if:interfaces/if:interface/ip:ipv6/ip:address/ip:status/if:interfaces/if:interface/ip:ipv4/ip:neighbor/if:interfaces/if:interface/ip:ipv6/ip:neighbor
ietf-if-vlan-encapsulation:Removed in favor of a native model.- infix-if-bridge: Linux bridge interfaces with native VLAN support
- infix-if-type: deviation for interface types, limiting number
to supported types only. New identities are derived from default
IANA interface types, ensuring compatibility with other standard
models, e.g.,
ieee802-ethernet-interface.yang - infix-if-veth: Linux VETH pairs
- infix-if-vlan: Linux VLAN interfaces, e.g.
eth0.10(New model!)
- deviation to allow read-write
- Configurable services:
- ieee802-dot1ab-lldp: stripped down to an
enabledsetting - infix-services: support for enabling mDNS service/device discovery
- ieee802-dot1ab-lldp: stripped down to an
Changes
-
Add support for setting/querying IPv4/IPv6 MTU, see #152 for details.
-
Add support for Fail Secure Mode: if loading
startup-configfails, e.g. YANG model validation failure after upgrade, the system now falls back to loadfailure-configinstead of just crashing. This config, along withfactory-config, is generated on every boot to match the active image's YANG models. In case neither config can be loaded, or even bootstrapping YANG models fail, the system will go into an RMA state -- Return to Manufacturer, clearly signaled on the console and, on devices that support it, angry LED signaling. See #154 for more. -
Add support for generating GNS3 appliance file for NETCONF Aarch64.
-
Add support for UTC offset (+/- HH:00) in
ietf-system, PR #174 -
Add support for
ietf-factory-defaultRPC, PR #175 -
Add support for performing factory reset (using #175 RPC) from CLI
-
Replace
ietf-if-vlan-encapsulationYANG model with the nativeinfix-if-vlanmodel. This fits better with Linux VLAN interfaces and simplifies the syntax greatly. For details, see PR #179admin@example:/config/interfaces/interface/eth0.10/> set vlan id 10 lower-layer-if eth0 -
The following new NETCONF interface operational counters have been added:
| YANG | Linux / Ethtool |
|---|---|
out-frames |
FramesTransmittedOK |
out-multicast-frames |
MulticastFramesXmittedOK |
out-broadcast-frames |
BroadcastFramesXmittedOK |
in-total-frames |
FramesReceivedOK |
+ FrameCheckSequenceErrors |
|
+ FramesLostDueToIntMACRcvError |
|
+ AlignmentErrors |
|
+ etherStatsOversizePkts |
|
+ etherStatsJabbers |
|
in-frames |
FramesReceivedOK |
in-multicast-frames |
MulticastFramesReceivedOK |
in-broadcast-frames |
BroadcastFramesReceivedOK |
in-error-undersize-frames |
undersize_pkts |
in-error-fcs-frames |
FrameCheckSequenceErrors |
- Greatly improved branding support using
make menuconfig. All the identifying strings, including firmware image, is in/etc/os-release, will be used in CLIshow system-information, the WebUI About dialog, and any prominent areas when booting up (on console), logging in to CLI and WebUI. - IGMP/MLD snooping is now disabled by default on new bridges. Support for multicast filtering bridges expected no later than v24.01.
- The SSDP responder, device discovery in Windows, has been removed in favor of Windows 10 (build 1709) native support for mDNS-SD. Details in #166
- A GreenPAK programmer has been added, not enabled by default. This is a popular programmable little chip from Renesas. Worth a look!
- The
confdscriptgen-interfacescan now generate bridges and stand-alone interfaces with IPv6 (SLAAC) forfactory-configet al. - Drop
x86_64_minimal_defconfig, previously used for regression tests only - Documentation updates of how IPv4/IPv6 addresses are shown in NETCONF operational data, as well as the built-in CLI, see #163 for details.
Fixes
- Fix #106: confd: drop deviation
ietf-system:timezone-utc-offset - Fix #151: Operational status broken in v23.09
- Fix #159: Hacky generation of
/etc/resolv.confat boot - Fix #162: VLAN interface without encapsulation is accepted by YANG model
v23.09.0 - 2023-10-02
Note: upcoming releases will lock the
rootuser for system-only services. Instead anadminuser will be the only default user with the CLI as its login shell. This user is already available, so please consider updating any guidelines or documentation you may have.
YANG Status
- ietf-system:
- infix-system: MotD (Message of the Day) augment
- infix-system: user login shell augment, default:
/bin/false - infix-system-software: system-state/software augment for remotely querying firmware version information
- infix-system-software: firmware upgrade with
install-bundleRPC - infix-system: timezone-name deviation, replaced with IANA timezones
- infix-system: username deviation, clarifying Linux restrictions
- infix-system: deviations for unsupported features, e.g. RADIUS
- ietf-interfaces:
- infix-interfaces: deviation for
if:phys-addressto allow read-write - ietf-ip: augmented with IPv4LL similar to standardized IPv6LL
- infix-ip: deviations (
not-supported) added for IPv4 and IPv6:/if:interfaces/if:interface/ip:ipv4/ip:address/ip:subnet/ip:netmask/if:interfaces/if:interface/ip:ipv6/ip:address/ip:status/if:interfaces/if:interface/ip:ipv4/ip:mtu/if:interfaces/if:interface/ip:ipv6/ip:mtu/if:interfaces/if:interface/ip:ipv4/ip:neighbor/if:interfaces/if:interface/ip:ipv6/ip:neighbor
- ietf-if-vlan-encapsulation: Linux VLAN interfaces, e.g.
eth0.10 - infix-if-bridge: Linux bridge interfaces with native VLAN support
- infix-if-veth: Linux VETH pairs
- infix-if-type: deviation for interface types, limiting number
to supported types only. New identities are derived from default
IANA interface types, ensuring compatibility with other standard
models, e.g.,
ieee802-ethernet-interface.yang
- infix-interfaces: deviation for
- Configurable services:
- ieee802-dot1ab-lldp: stripped down to an
enabledsetting - infix-services: support for enabling mDNS and SSDP discovery
- ieee802-dot1ab-lldp: stripped down to an
Changes
- The following new NETCONF interface operational status have been added:
- admin-status
- IP address origin (dhcp, static, link-layer, random, other)
- bridge
- parent-interface
- basic statistics (
in_octets,out_octets)
- Support for custom interface
phys-address(MAC address) - The CLI admin-exec command
show interfacesnow fully uses NETCONF operational data to display both available interfaces and all of their IP addresses. Displaying an individual interface will show more info. - The CLI admin-exec command
password encryptnow default to SHA512
Fixes
- Fix #136: IPv6 autoconf
create-global-addresses truedoes not bite - Fix #138: Not possible to have static IP and DHCP at the same time
- Minor fixes and updates to documentation (faulty links, references)
- The
sync-fork.ymlworkflow has finally been fixed.
v23.08.0 - 2023-08-31
Note: upcoming releases will lock the
rootuser for system-only services. Instead anadminuser will be the only default user with the CLI as its login shell. This user is already available, so please consider updating any guidelines or documentation you may have.
YANG Status
- ietf-system:
- infix-system: MotD (Message of the Day) augment
- infix-system: user login shell augment, default:
/bin/false - infix-system-software: system-state/software augment for remotely querying firmware version information
- infix-system-software: firmware upgrade with
install-bundleRPC - infix-system: timezone-name deviation, replaced with IANA timezones
- infix-system: username deviation, clarifying Linux restrictions
- infix-system: deviations for unsupported features, e.g. RADIUS
- ietf-interfaces:
- ietf-ip: augmented with IPv4LL similar to standardized IPv6LL
- ietf-if-vlan-encapsulation: Linux VLAN interfaces, e.g.
eth0.10 - infix-if-bridge: Linux bridge interfaces with native VLAN support
- infix-if-veth: Linux VETH pairs
- infix-if-type: deviation for interface types, limiting number
to supported types only. New identities are derived from default
IANA interface types, ensuring compatibility with other standard
models, e.g.,
ieee802-ethernet-interface.yang
- Configurable services:
- ieee802-dot1ab-lldp: stripped down to an
enabledsetting - infix-services: support for enabling mDNS and SSDP discovery
- ieee802-dot1ab-lldp: stripped down to an
Changes
- Bump Linux kernel: v5.19 to v6.1
- Updated board support for Microchip SparX-5i and Marvell CN9130 CRB
- New logo and significant updates to the documentation
- New NETCONF RPC
factory-defaultto resetrunning-config - Replaced limited BusyBox ping with iputils-ping
- Most system services are now disabled by default, support for enabling
LLDP, mDNS-SD, and SSDP using NETCONF, enabled in
factory-config - Firmware upgrade framework, based on RAUC, added
- Matching YANG model (see above) and an
install-bundleRPC - Currently supported upgrade protocols: HTTP/HTTPS, FTP, SCP
- Matching YANG model (see above) and an
- Initial support for interface operational status, in ietf-interfaces
- Add support for setting user login shell:
bash,clish,false - Default login shell for new users:
false - Massive updates and fixes to the CLI (klish):
- Line editing now works as similar CLI:s from major vendors
- Hotkey fixes: Ctrl-D and Ctrl-Z now work as expected
- Prompt changed from JunOS style to be more similar to Bash
- Online help commands, both in admin-exec and configure context,
type
helpafter entering the CLI to get started - Improved help for configure context using YANG descriptions
- Support for reading and setting system "datetime" (RPC), an
optional
isokeyword can be used when reading time to see the format required when setting the time - Support for showing interfaces status, using above operational data
- Support for showing bridge status: links, fdb, mdb, vlans
- Support for showing log files, including tailing with
follow - Support for
password generateandpassword encrypt, highly useful from configure context when creating new users: use thedo password encrypt type sha256to generate the hash - Support show uptime, version, calling
netcalc, ping, and tcpdump
Fixes
- Fix #57: unneccesary lldpd restarts on configuration change
- Ensure mDNS advertises the correct hostname after hostname change
- Fix regression in enabling IPv4 ZeroConf address
- Loopback interface now shows
UPoperstate instead ofUNKNOWN - Fix adding user without password, i.e., login using SSH keys only
v23.06.0 - 2023-06-23
Midsummer release. The first official Infix release, based on Buildroot 2023.02.2, with NETCONF support using the sysrepo and netopeer2.
Supported YANG models in addition to those used by sysrepo and netopeer:
- ietf-system
- Everything except radius authentication and timezone-utc-offset
- Augmented with MotD (Message of the Day), Infix YANG model
- ietf-interfaces
- ietf-ip augmented with IPv4LL similar to standardized IPv6LL
- ietf-if-vlan-encapsulation, Linux VLAN interfaces, e.g.
eth0.10 - Linux bridge interfaces with native VLAN support, Infix YANG model
- Linux VETH pairs, Infix YANG model
DISCLAIMER: the Infix YANG models for Linux, are still under heavy development. New revisions are expected which may not be backwards compatible. When upgrading to a new release, test on a GNS3 staging environment first, or start over from a factory reset.
Changes
- Bump sysrepo to v2.2.73
- Backport support for initializing factory-default data store with default config data also for sysrepo internal modules.
- Add support for
sysrepocfg -Cfactory -d running, for testing
- Bump netopeer2 to v2.1.62
- Bump libyang to v2.1.80
- Add klish, a CLI for sysrepo
- Add podman for container support, backported from upstream Buildroot
- Add conmon for container support, backported from upstream Buildroot
- Backport cni-plugins support for host-local and static plugins
Fixes
- N/A