Releases: yellowman/nsh
Releases · yellowman/nsh
1.2.3
What's Changed
Bug fixes:
- (major) stsp@ fixed "no autoconf4" disabling dhcp on an interface where there was a dhclient.leases.if file in /var/db/ this would prevent static ips being configured on an interface (found by tom)
- (major) stsp@ fixed nsh so that nsh now checks what Rdomain it was invoked in so that users can switch rdomains when accessing nsh from a ssh client where ssh server is running in a non default rdomain ( like a management network interface in an ISP) found by Tom
- (minor) show diff-config now does not show striped blank lines in rendering nshrc after boot up (found by tom and stsp@)
New features (minor)
Full Changelog: v1.2.2...v1.2.3
1.2.2
1.2.2 is a release aimed at improving quality and ease of installation.
Features added
- clear command added based on feedback from nsh training in BSDCAN 2024
- su command alias added for enable (for the unix users with muscle memory)
- ! on its own no longer forks a shell (makes copying an pasting configs between devices easier)
- one can jump between individual interface config modes directly without having to exit to global config mode between.
- make install now looks for save.sh and copies it if it is missing from the system.
- adding integration scripts to /usr/local/share/examples/nsh in the OpenBSD port package
- minor improvements to integration scripts, improving information messaging, and moving hostname.if and mygate configs as opposed to backup (to prevent conflicts between /etc/hostname.if and /etc/nshrc post install.
Bugs fixed
- segfault fixed where users were trying to run a shell command and tab completion after using the back space character
- fixed static build on sparc64 and arm64 builds.
- fixed interface status layout (reported by ryan-sg)
- removed broken snmp trap (reported by ryan-sg)
- fixed patch / pair commands (reported by ryan-sg)
- fixed carp warning message on initialization of nsh at startup
- fixed rtmsg warning message on initialization of nsh at startup
- fix adding blackhole and reject routes gatway is required
- fixed a file descriptor exhaustion bug in who.c
- fixed multiple minor bugs identified by scan-build-16 and code-checker which were manually reviewed and validated by stsp
a Big thank you to those who tried nsh tested it and feedback issues and feature requests... keep them coming!
massive thanks to STSP for patiently wading through torrents of scan-build and codechecker false-positives :)
What's Changed
- add clear command to clear terminal screen (feedback from BSDCAN) tra… by @smytht in #148
- add su command alias for enable by @smytht in #150
- fix conf_patch to avoid overwriting the current interface being shown by @stspdotname in #153
- ! without arguments should not fork a new shell by @smytht in #154
Full Changelog: v1.2.1...v1.2.2
1.2.1
- fix motd permissions in integration scripts
- disable interactive mode if -c or -i options are used
- fix a divide-by zero crash when reading commands from stdin
- start less(1) pager in restricted mode for the manual command
- include stdio.h explicitly in utf8.c to fix build on -current
- build process improved substantially with the 'make obj' build step is now entirely optional
- improve nsh.8 accuracy and general syntax
- fix file locking error when loading of config examples is stopped with Ctrl-C
- release process improved and documented by stsp
NSH 1.2
v1.2 nsh 1.2 release
NSH 1.1
What's Changed
- fix crash when running reboot and halt by @muhammadn in #19
- add motd functionality - this is needed to warn users, etc by @muhammadn in #20
- Add 'sh ipsec sadb/flows' by @sthen in #21
- replace obsolete rtsol support with autoconf6 by @sthen in #23
- add nsh.8 mdoc manual page based on Chris's MANUAL file by @ogmaconnect in #28
- added sysctl ip cmds by @scottmcdonnellwc in #29
- adding ipv6 commands to nsh by @wc-alanmcg in #30
- cleanup manual up to about line 2200 by @sthen in #31
- Update nsh.8 to improve mdoc syntax compliance on lines containing "\ ?" and Spelling by @ogmaconnect in #32
- A bunch of fixes for the nsh integration script by @stspdotname in #33
- set Makefile defaults to have 'make install' work out of the box by @stspdotname in #34
- directly set the IFXF_AUTOCONF4 flag if dhcpleased(8) is running by @stspdotname in #35
- Dhcp defaultroute by @stspdotname in #36
- fix build error: don't know how to make /usr/local/usr/lib/crt0.o by @stspdotname in #38
- avoid saving IP addresses managed by dhcpleased during write-config by @stspdotname in #37
- add initial support for slaacd, with a new "show autoconf" command by @stspdotname in #40
- add nameserver command to manage static DNS nameserver IPs by @stspdotname in #41
- adjust inputs which exit the "interface" command scope by @stspdotname in #44
- Nameserver doc by @stspdotname in #43
- detect getsocket() failure in arp.c by @stspdotname in #48
- use explicit casts for ctype function arguments by @stspdotname in #46
- ensure makeargv() produced some arguments before dereferencing margv[0] by @stspdotname in #45
- Create basic-show-run.nshrc by @smytht in #42
- Update documentation: Enter won't leave interface config mode anymore. by @stspdotname in #50
- Bridge protected by @stspdotname in #49
- add support for the staticarp interface flag by @stspdotname in #52
- put interfaces UP explicitly if setting an address does not suffice by @stspdotname in #51
- Proxyarp by @stspdotname in #53
- implement a cisco-style 'show interface status' command by @stspdotname in #54
- add nsh commands for the IPv6 Neighbour Discovery Protocol by @stspdotname in #55
- add a "show vlan" command by @stspdotname in #56
- initialize ifp in show_vnet_parent() by @stspdotname in #57
- support the VISUAL environment variable as well as EDITOR by @stspdotname in #58
- Add files via upload by @smytht in #62
- add a "show bridge" command by @stspdotname in #59
New Contributors
- @muhammadn made their first contribution in #19
- @ogmaconnect made their first contribution in #28
- @scottmcdonnellwc made their first contribution in #29
- @wc-alanmcg made their first contribution in #30
- @stspdotname made their first contribution in #33
- @smytht made their first contribution in #42
Full Changelog: https://github.com/yellowman/nsh/commits/v1.1