Skip to content
OpenBSD networking configuration shell
C Other
Find file
Failed to load latest commit information.
COPYRIGHT Get rid of nsh cvs tags since it uses git now and the tags are mislea…
MANUAL SIOCSIFMETRIC sets int, not ulong
Makefile ipv4/6 pflow (thanks to ifconfig)
README right URL
TODO More doc update
arp.c rename this (for now)
bridge.c Get rid of nsh cvs tags since it uses git now and the tags are mislea…
bridge.h Get rid of nsh cvs tags since it uses git now and the tags are mislea…
carp.c Correct limits for CARP advskew, advbase as per ifconfig
commands.c The days of global rtadv flag are gone
commands.h Get rid of nsh cvs tags since it uses git now and the tags are mislea…
compile.sh Get rid of nsh cvs tags since it uses git now and the tags are mislea…
complete.c fix use-after-free in ifname tab completion (issue 6)
conf.c remove some debugging cruft
ctl.c tftpd needs a directory name, point it to /tftpboot for now
editing.h Get rid of nsh cvs tags since it uses git now and the tags are mislea…
externs.h make port numbers optional for output, pass ifname
genget.c Get rid of nsh cvs tags since it uses git now and the tags are mislea…
ieee80211.c Get rid of nsh cvs tags since it uses git now and the tags are mislea…
if.c fully embrace the age of pflow_addr
ip.h Get rid of nsh cvs tags since it uses git now and the tags are mislea…
kroute.c bye xresolve
main.c Skip IPv6 addresses configured by rtsol/autoconf in IPv6 address output.
media.c fix wrong types
more.c Get rid of nsh cvs tags since it uses git now and the tags are mislea…
nopt.c An incremental improvement to the current argument parsing.
nwrapper.c clean compile
passwd.c Stop leaking memory in strdup, in fact, why use strdup at all?
pflow.c make port numbers optional for output, pass ifname
pfsync.c Clean up syncpeer slightly. I wanted to make 'syncpeer' removable
ppp.c clear data
route.c support for port number on tunnel and vxlan parameters (vnetid,
save-ro.sh appropriate notes for flashrd 1.3
save-rw.sh Get rid of nsh cvs tags since it uses git now and the tags are mislea…
show.c bye xresolve
sqlite3.c Better try again
stats.c patch for pool->kinfo_pool changes in OpenBSD
stringlist.c Match Ingo Schwarze's recent commit to OpenBSD
stringlist.h Match Ingo Schwarze's recent commit to OpenBSD
sysctl.c The days of global rtadv flag are gone
sysctl.h add ddb, pipex sysctls
timeslot.c Get rid of nsh cvs tags since it uses git now and the tags are mislea…
trunk.c use nitems
tunnel.c support for port number on tunnel and vxlan parameters (vnetid,
utils.c casts to silence warnings for 64-bit time_t
version.c remove mpls ifq-maxlen since it was removed from openbsd
who.c casts to silence warnings for 64-bit time_t

README

nsh//network config shell//Chris Cappuccio <chris@nmedia.net> version 1.0

NSH is a CLI intended for OpenBSD-based network appliances. It replaces
ifconfig, sysctl and route with its own simple command language, and
encapsulates configuration for other daemons into one place, effectively
replacing /etc/netstart and parts of /etc/rc for appliance-style usage.

Daemons and services encapsulated by nsh:

pf, ospfd, ospf6d, bgpd, ripd, ldpd, relayd, ipsecctl, iked, rtadvd,
dvmrpd, sasyncd, dhcpd, snmpd, sshd, ntpd, ifstated, tftp-proxy, ftp-proxy,
tftpd, npppd, resolv.conf, inetd, smtpd, ldapd, ifstated

NSH is freely licensed, in the BSD style.

In conjunction with the OpenBSD kernel and the daemons you wish to control,
you have a fully functioning system.

See MANUAL for installation instructons and command set.

See TODO for details on implementation status and future ideas.

See http://github.com/yellowman/nsh/ for current source code repository and
see http://www.nmedia.net/nsh/ for example configurations and mailing
list.
Something went wrong with that request. Please try again.