Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
OpenBSD networking configuration shell
C Other
Branch: master

Match Ingo Schwarze's recent commit to OpenBSD

"Remove clauses 3 and 4 from Christos Zoulas' BSD license.
This is safe because Christos did that himself in NetBSD in 2008.
No code change."
latest commit c10212e0c8
@yellowman authored
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 initial sppp, pppoe implementation
README right URL
TODO More doc update
arp.c keep using getrtdump
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 Use the arp pretty printer instead of the routing table printer for
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 move arp config printing from the generic rtmsg stuff to arp.c's stuff.
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 move arp config printing from the generic rtmsg stuff to arp.c's stuff.
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 argc check on 'inet6' which is an AF on/off flag, not a way to
ip.h Get rid of nsh cvs tags since it uses git now and the tags are mislea…
kroute.c change m_rtmsg to be like it is in arp.c
main.c Skip IPv6 addresses configured by rtsol/autoconf in IPv6 address output.
media.c support for port number on tunnel and vxlan parameters (vnetid,
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?
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 Stop checking for the same thing twice.
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 Accommodate if.h separation (From Mike Belopuhov)
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 casts to silence warnings for 64-bit time_t
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.