Commit Briefs

4a8a517f29 Stefan Sperling

add pftop (extcmd)


bd030151f6 Stefan Sperling

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.



731e161842 Stefan Sperling

trim a comment which went beyond 80 columns


fcd96d69b5 Stefan Sperling

fix whitespace issues


fd352ad5f1 GitHub

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


21775861a4 Stefan Sperling

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


a199218926 GitHub

Merge pull request #164 from smytht/systat-feature

add show system-stats commands Ok Stsp@


bfc7e834d7 GitHub

Update cmdargs.c

Use proper english :) initialised not initalized and give an informative error



40daa21cd8 Stefan Sperling

oops, fix typo in previous which broke the build


0e3e46b7cc GitHub

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



00c101b246 GitHub

version bump for release 1.2.3 (tags/v1.2.3)


289def2f02 GitHub

fix misspelling of privileged (sorry)



0b080a2247 Stefan Sperling

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


9bdde78d5a Stefan Sperling

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


2fae624233 Stefan Sperling

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


2a0ad55e61 Stefan Sperling

use cli_rtable to construct the bgp socket path, not getrtable(2)

ok Tom


b3ef1874c3 Stefan Sperling

remove fallback code for OpenBSD 6.8 and earlier


8b2d313fcf Stefan Sperling

remove references to dhclient(8); obsolete since OpenBSD 7.2

Should fix github issue #163 as a side effect


ce8077eccc GitHub

Merge pull request #161 from smytht/logger

add logger command for entering messages into the ..


309124c7f0 GitHub

Update extensive-nsh-openbsd-integrate.sh move motd on import

move /etc/motd on import so the sym link works then


4282096ce0 GitHub

add logger command for entering messages into the ..

system log or /var/log/messages