Commit Briefs
add pftop (extcmd)
introduce support for running externals commands installed from packages
nsh can now support a set of known external commands installed from packages. The commands will only be offered while the corresponding package is installed, and nsh knows how to complete arguments for such commands, how to edit their configurations files, etc.
if.c - vlan parent devices automatically disable
disable the child interface and change parent and enable interface after the change made... issue reported by Tom... fix authored by stsp tested by Tom and reviewed OK Tom and OK Chris
preserve only manually added ndp table entries in startup config
nsh was mistakenly adding all ndp table entries to startup-config when the configuration was saved with write-config. This results in spurious 'permanent' ndp entries when the written config is loaded. If you find spurious permanent ndp entries on your system these entries must be removed via 'no ndp <IPv6 address>', then use 'write-config' to save the fixed the configuration. Alternatively, remove all lines which set unwanted permanent NDP entries from /etc/nshrc and reboot. Problem reported and fix tested by Tom. ok Tom
Merge pull request #164 from smytht/systat-feature
add show system-stats commands Ok Stsp@
Update cmdargs.c
Use proper english :) initialised not initalized and give an informative error
add show system-stats commands
This is to allow nsh users to avail of systat functionality useful for queue stats and pf stats added full suite of systat features except nfs as I dont think those features are as interesting for a network appliance
version bump for release 1.2.3 (tags/v1.2.3)
don't skip empty lines in rules which store file contents
When file contents were stored in /etc/nshrc in a rules directive, such as contents of /etc/motd or sshd_config, empty lines were being stripped. ok Tom
make the rtable command actually update the rtable of the nsh process
The assumption that nsh always runs in rdomain 0 is invalid. Stop assuming that cli_rtable is set to zero by default, and switch the nsh process rdomain accordingly as needed. Tests + ok Tom
on startup, initialize cli_rtable to the current rdomain
Fixes behaviour when nsh starts in a non-default rdomain. We used to assume to start out in rdomain 0, which is not necessarily the case. ok Tom
remove references to dhclient(8); obsolete since OpenBSD 7.2
Should fix github issue #163 as a side effect
Merge pull request #161 from smytht/logger
add logger command for entering messages into the ..
Update extensive-nsh-openbsd-integrate.sh move motd on import
move /etc/motd on import so the sym link works then
add logger command for entering messages into the ..
system log or /var/log/messages