commit 7c5292ddc79cc267f1a314d79b093f3931200596
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 11:17:38 2013 -0700

    appropriate notes for flashrd 1.3

:100755 100755 1de7328... 4848eb2... M	save-ro.sh

commit 8377326e861acb73df4f763f4f3b154339037d98
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 11:15:11 2013 -0700

    sshd enable

:100644 100644 90a0077... 3bbdd5d... M	MANUAL

commit d488b360fa825df2586c0d9336d692911bfce395
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 11:11:57 2013 -0700

    Update for flashrd 1.3

:100755 100755 f13ca6b... 1de7328... M	save-ro.sh

commit 15fd3db2e9668484e70018599db1f5c72941d07f
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 11:06:43 2013 -0700

    NSH-specific details on tftpd, tftp-proxy

:100644 100644 731cf51... 90a0077... M	MANUAL

commit c419827f50f73e26f373de594f1e2d07902ef0c9
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 11:00:14 2013 -0700

    add hwfeatures output to 'show interface' verbose mode

:100644 100644 ecd2d71... 731cf51... M	MANUAL
:100644 100644 70adaa8... e36e112... M	if.c

commit 44a9f2e8fde03bcdebe78fada76722dc69a41681
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 09:33:49 2013 -0700

    add hardmtu to show interface output

:100644 100644 41cd1dd... 70adaa8... M	if.c

commit 47754e61f21cde255fd809a39f81fb8e39256299
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sun Feb 10 09:28:13 2013 -0700

    More doc update

:100644 100644 dc1a57f... ecd2d71... M	MANUAL
:100644 100644 8a3eb16... 102e80d... M	README
:100644 100644 9724952... 045a52c... M	TODO

commit b431c2346a4edb66380dbb14497b09b44cd828ef
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Feb 8 22:52:31 2013 -0700

    missing break

:100644 100644 99accce... e209506... M	main.c

commit 8aa9e87a8c4e1e49ad8b068c65641a8d388b11ac
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Feb 8 22:51:07 2013 -0700

    simplify README, more ipv6 in MANUAL

:100644 100644 e0eaa21... dc1a57f... M	MANUAL
:100644 100644 6d57b00... 8a3eb16... M	README

commit 5f8a1aeaf21d2aeadb449b54fb2f3093fd8ddbdc
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Feb 8 21:14:03 2013 -0700

    Before sqlite was used, NSH would determine what daemon configs to embed
    into nshrc by what files were present in /var/run/xyz.conf (assuming daemon
    xyz). Now that sqlite is used, the entries in "ctl" table are used to
    determine which configs to include during nshrc write time. So, instead of
    deleting temporal /var/run files during -i, delete the temporal sqlite
    database instead, since -i mode is intended to create a new database from
    an existing nshrc file. While there, add a -c mode for running single rc
    commands which doesn't try and delete anything.

:100644 100644 903b359... 13bf047... M	externs.h
:100644 100644 d490c75... 99accce... M	main.c

commit 360811fe04ec1c7e4e9f277a5a4e021b483eb824
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Mon Feb 4 12:08:54 2013 -0700

    rename cpass to carppass, to match other carp* commands

:100644 100644 b168d8b... e0eaa21... M	MANUAL
:100644 100644 0fa5230... 1f3a0a5... M	carp.c
:100644 100644 a9d3d18... 30bfdb2... M	commands.c

commit 09a7591a244e247de3f9e52eef1ce4d9789ef24b
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Mon Feb 4 09:56:14 2013 -0700

    more details

:100644 100644 26d1afb... b168d8b... M	MANUAL

commit 757f42efb4ffc89d1d8797fe4bb5b1cf94a9e28c
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sat Feb 2 18:43:32 2013 -0700

    remove contributors from README, there have not been significant contributors for some years now.

:100644 100644 1246c31... 6d57b00... M	README

commit f20271b51f374c6b54dd3a9b797cf8bbb48fcc3b
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sat Feb 2 11:51:39 2013 -0700

    don't leak memory on strdup error case, notified by llvm scan (the last one was, too)

:100644 100644 f934eb8... 8bfac29... M	media.c

commit e10ffeb3d858b077571b20342497dceda69b63d4
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sat Feb 2 11:44:51 2013 -0700

    Stop leaking memory in strdup, in fact, why use strdup at all?

:100644 100644 55f9167... a1201f9... M	passwd.c

commit 1d7e0c75ae1a0295b2c5da6df16d7eb1a525d969
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Wed Jan 30 22:12:44 2013 -0700

    clean compile

:100644 100644 778ee73... 7c690f4... M	nwrapper.c

commit 6617cb16dcc4b5a28d1a1d9e4952c030e281bb13
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sat Jan 26 19:01:00 2013 -0700

    Add a type flag to ctl handler items and use it to have multiple
    types of handlers with different argument arrangements and REQTEMP
    fill requirements. Fixes dns local-control after rtable REQTEMP stuff.

:100644 100644 28ebd01... 3802a6d... M	ctl.c
:100644 100644 b334db3... 903b359... M	externs.h

commit b688846370c4da74a6aa22995c845621978f8a6c
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sat Jan 26 11:54:07 2013 -0700

    Raise the size of a config file line to 1024-1(NUL) characters. (If a line exceeds 1023 characters, the suffix will be considered part of the next line, a better limit than the previous limit of 255 characters.)

:100644 100644 1c3dd86... a9d3d18... M	commands.c
:100644 100644 a354783... b334db3... M	externs.h

commit 0db7e78f80bf410bd74596ff22821c28a5312ee4
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Sat Jan 26 10:01:18 2013 -0700

    Clean up syncpeer slightly. I wanted to make 'syncpeer' removable
    in any situation, but that's not practical without making the
    function much more complicated. And it's already too complicated.

:100644 100644 6c75367... 3735ee2... M	pfsync.c

commit 1c0fd68deb6786c6fbbff2bea24979c1dc8e9102
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Jan 25 23:06:48 2013 -0700

    Use proper tmpfile.rtable name when writing config file lines

:100644 100644 c965d0e... 28ebd01... M	ctl.c

commit 1319bc2f0ac281c110ba64ce001c62c45468bced
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Jan 25 23:00:12 2013 -0700

    use htonl(INADDR_PFSYNC_GROUP)

:100644 100644 6731457... 6c75367... M	pfsync.c

commit c0042cc30ca6d6ab0055515048455009544ddaeb
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Jan 25 22:48:32 2013 -0700

    carpdev needs to be configured before ip address on carp interfaces,
    or else you end up with carp rejecting ip assignment with
    EADDRNOTAVAIL (but only in certain situations)

:100644 100644 f7027fb... beb6c49... M	conf.c

commit 7e5e36a7f835aa6b5594739dd13935f737c8357e
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Fri Jan 25 17:00:55 2013 -0700

    syncdev must be first, not last

:100644 100644 138646b... 6731457... M	pfsync.c

commit b1065d55d880698ec2492769dcea026454d62031
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Thu Jan 24 12:35:19 2013 -0700

    Paul Suh recommends disabling keynote support for isakmpd (nsh doesn't manage keynote files at the moment)

:100644 100644 2fc419a... c965d0e... M	ctl.c

commit bcc66d5479fd729b5ee8c5cbcb856d230d2a4c2a
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Tue Jan 22 13:22:05 2013 -0700

    Not every daemon can check its config file. For some stupid reason,
    I removed this in an earlier commit.

:100644 100644 819f0f5... 2fc419a... M	ctl.c

commit c72e3607ea45b609c8d16291dd22e603bb61b50c
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Tue Jan 22 13:15:26 2013 -0700

    An assumption was made about REQTEMP always being available, even
    in places where it is not.

:100644 100644 28c9d4b... 819f0f5... M	ctl.c

commit b80930cd53bc048644387ac0c965f84be4ac5abc
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Tue Jan 22 11:54:52 2013 -0700

    Reflect rtable changes for importing system config files in Section 2

:100644 100644 a2bc671... 26d1afb... M	MANUAL

commit 69f182e7aea9d9174455872639d6169adff4aefe
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Tue Jan 22 11:42:13 2013 -0700

    Slightly more detail on how to install NSH

:100644 100644 77099af... a2bc671... M	MANUAL

commit 167f43f684d772b60cabde1d7580883e51bbbce8
Author: Chris Cappuccio <chris@nmedia.net>
Date:   Mon Jan 21 17:20:58 2013 -0700

    Don't give out totally bogus information. Still needs a lot more help.

:100644 100644 6d3c3fd... 77099af... M	MANUAL

commit 6f20edcf38f4eb638b10060cea2b8b3cd3704cef
Author: chris <chris@nmedia.net>
Date:   Sun Jan 13 11:59:33 2013 -0700

    make ctl.c slightly easier to follow

:100644 100644 094f0f5... 28c9d4b... M	ctl.c

commit 9c1cb98940a6a6fe59f0e9c8c1ed1b6c9a623d4a
Author: chris <chris@nmedia.net>
Date:   Sun Jan 13 11:28:26 2013 -0700

    Allow a tmpfile to be null. Now that db flags are used, tmpfiles aren't necessary for ctl daemons that don't use a config file.

:100644 100644 e30156a... 094f0f5... M	ctl.c

commit 28c264feb1f706bf2c8b618c5892ebd6131dc837
Author: chris <chris@nmedia.net>
Date:   Sat Jan 12 21:38:59 2013 -0700

    Fix the last problem with less brain damage. This time, allocate new memory on the stack before fill_tmpfile is used for a temporary copy of the args (just like step_optreq) instead of modifying the reference structure.

:100644 100644 89b75e8... e30156a... M	ctl.c

commit 43d9fac877a6cc5e702f43408e538038e3f23a79
Author: chris <chris@nmedia.net>
Date:   Thu Jan 10 21:30:30 2013 -0700

    unfuck pointer array (it can only point to stack for current function, not forever)

:100644 100644 014fce0... 89b75e8... M	ctl.c

commit 18868b57f9aa9646be9f2b6f420589edb09f043e
Author: chris <chris@nmedia.net>
Date:   Thu Dec 20 14:14:35 2012 -0700

    Get rid of conf groupattrib output. It is really only useful to emulate /etc/rc, see main(), not as a general control that you'd want to save to nshrc.

:100644 100644 c45988b... f7027fb... M	conf.c

commit 50540360a11b9ea67f6dc85c689707ee33dc38e8
Author: chris <chris@nmedia.net>
Date:   Tue Dec 18 21:38:53 2012 -0800

    Fix build in OpenBSD 5.2-current case

:100644 100644 ba115ee... c45988b... M	conf.c

commit 992ba7aa7f9c8875890bf617fb78c1be0abb5a58
Author: chris <chris@nmedia.net>
Date:   Fri Sep 14 21:08:17 2012 -0600

    Fix build in OpenBSD 5.2-current case

:100644 100644 ba115ee... c45988b... M	conf.c

commit efd5f9de34ed2fb161a8e408028ab31bde488ce6
Author: Ben Klang <bklang@mojolingo.com>
Date:   Tue Dec 18 16:28:43 2012 -0500

    Typo

:100644 100644 06bab7a... 867b21e... M	if.c

commit a7c5b6bd310fc8592a4382560414a87d24c89761
Author: Ben Klang <bklang@mojolingo.com>
Date:   Tue Dec 18 16:26:33 2012 -0500

    Support OpenBSD from CVS HEAD as well as 5.2 and prior

:100644 100644 312e017... 58bc66d... M	conf.c
:100644 100644 0a01fcb... 06bab7a... M	if.c

commit 402b66c3e9e1d0d62e7aaed96fda64493ba498a6
Author: chris <chris@nmedia.net>
Date:   Fri Nov 16 23:04:56 2012 -0700

    But we already have a genhelp() so gen_help becomes sysctlhelp()...

:100644 100644 7437984... 1c3dd86... M	commands.c

commit b780ac7610dd0f755fc32c9cdeaad8273f57e6d6
Author: chris <chris@nmedia.net>
Date:   Mon Nov 12 23:50:59 2012 -0700

    Only ignore commented lines if called from a modh == 2 "mode handler".

:100644 100644 cafd103... 7437984... M	commands.c

commit 82f813e5f81d251d0df24f63103eb6d7b46d8604
Author: chris <chris@nmedia.net>
Date:   Sun Nov 11 21:52:54 2012 -0700

    The ldap control handler missed the config file option. The sshd one didn't run the conftest routine. Fixed.
    Go to version 1.0 in main. To be released after testing.

:100644 100644 06d3e92... 014fce0... M	ctl.c
:100644 100644 521db07... d490c75... M	main.c

commit c9c4c47cfa04e88944a5030df177d310f8a092b4
Author: chris <chris@nmedia.net>
Date:   Sat Nov 10 20:21:32 2012 -0700

    Show IP and MPLS IFQ drops in sho version

:100644 100644 9c6ffcd... 7f83f44... M	version.c

commit 600bb83af0d0b310e8aa7f5f4eb8e8d3fbfecb06
Author: chris <chris@nmedia.net>
Date:   Sat Nov 10 20:02:16 2012 -0700

    Bring TODO more up-to-date

:100644 100644 44ae745... 9724952... M	TODO

commit 8084533fc14e9a02b054f1490aa479658b180b60
Author: chris <chris@nmedia.net>
Date:   Sat Nov 10 19:52:06 2012 -0700

    add ddb, pipex sysctls

:100644 100644 12fe919... cafd103... M	commands.c
:100644 100644 152daf2... 4be1269... M	sysctl.c
:100644 100644 e3f38c8... 6140806... M	sysctl.h

commit 0f6dc7f8fdf62f1f70275775969fee0477830a6b
Author: chris <chris@nmedia.net>
Date:   Sat Nov 10 19:11:49 2012 -0700

    Include headers for sysctl table stuff

:000000 100644 0000000... e3f38c8... A	sysctl.h

commit e41c8a82c7d2156195ff09234d5fd9004ffba05c
Author: chris <chris@nmedia.net>
Date:   Sat Nov 10 19:11:49 2012 -0700

    amnd

:000000 100644 0000000... e3f38c8... A	sysctl.h

commit c39dbdd295643d569a33ee35d48ad054c0a55334
Author: chris <chris@nmedia.net>
Date:   Sat Nov 10 19:10:02 2012 -0700

    extend sysctl stuff to more easily add simple sysctls
    start to implement rtadvd (although this is probably going to change a bit)

:100644 100644 24c0d86... 12fe919... M	commands.c
:100644 100644 a1c0dcb... 312e017... M	conf.c
:100644 100644 868f32f... 06d3e92... M	ctl.c
:100644 100644 af15cfc... a354783... M	externs.h
:100644 100644 841ea0e... 152daf2... M	sysctl.c

commit 9893ec4b31c6b4f6b482f32c0139bfd32487923a
Author: chris <chris@nmedia.net>
Date:   Fri Nov 9 21:38:42 2012 -0700

    Get rid of nsh cvs tags since it uses git now and the tags are misleading.

:100644 100644 ea9e088... 4bb1e9b... M	COPYRIGHT
:100644 100644 1b6b103... 40795b7... M	Makefile
:100644 100644 febea17... a092c50... M	arp.c
:100644 100644 ad83900... c0bdeed... M	bridge.c
:100644 100644 884ecc4... 7c09444... M	bridge.h
:100644 100644 19da95a... 0fa5230... M	carp.c
:100644 100644 9518910... 24c0d86... M	commands.c
:100644 100644 7338a78... 0f8b6c8... M	commands.h
:100644 100644 269a6c8... 3af29ec... M	compile.sh
:100644 100644 d24db19... 820c869... M	complete.c
:100644 100644 49fc368... a1c0dcb... M	conf.c
:100644 100644 d8d2f12... 868f32f... M	ctl.c
:100644 100644 eaed6e0... e9bc288... M	editing.h
:100644 100644 8cfd149... af15cfc... M	externs.h
:100644 100644 7b14362... 5e7b17d... M	genget.c
:100644 100644 3c9d014... 40f6f72... M	ieee80211.c
:100644 100644 a239ed4... 0a01fcb... M	if.c
:100644 100644 3967e74... b4a9343... M	ip.h
:100644 100644 ced981f... bc73910... M	kroute.c
:100644 100644 7aafbb2... 521db07... M	main.c
:100644 100644 f2b91d9... f934eb8... M	media.c
:100644 100644 976b79d... 4e037df... M	more.c
:100644 100644 12d2bbf... 778ee73... M	nwrapper.c
:100644 100644 d13b9f2... 55f9167... M	passwd.c
:100644 100644 1cff670... 138646b... M	pfsync.c
:100644 100644 b608cef... 57db43a... M	route.c
:100755 100755 ccfcaeb... f13ca6b... M	save-ro.sh
:100755 100755 ba96327... e9a26f9... M	save-rw.sh
:100644 100644 385bae2... 10763ad... M	show.c
:100644 100644 48d59c7... 80c3ab9... M	stats.c
:100644 100644 b6ea809... 8a91785... M	stringlist.c
:100644 100644 49b95d5... 8237ad3... M	stringlist.h
:100644 100644 07bf8fb... 841ea0e... M	sysctl.c
:100644 100644 1ce7a27... e0c7036... M	timeslot.c
:100644 100644 b5101a8... c52de75... M	trunk.c
:100644 100644 2916b7b... 4866ea3... M	tunnel.c
:100644 100644 dfdd259... c8f98be... M	utils.c
:100644 100644 6f45abe... 9c6ffcd... M	version.c
:100644 100644 d8f6c83... 81b170a... M	who.c

commit 56891a391c00f4e89f8fdb571e801553d51f8235
Author: chris <chris@nmedia.net>
Date:   Fri Nov 9 08:25:44 2012 -0700

    Some ip6 sysctls (ip6 forwarding)

:100644 100644 41995f4... 9518910... M	commands.c
:100644 100644 0a846f4... 49fc368... M	conf.c
:100644 100644 43ca867... 8cfd149... M	externs.h
:100644 100644 3a25e2b... 07bf8fb... M	sysctl.c

commit a76a58b1440706627aa09ccb34167719a56f9069
Author: chris <chris@nmedia.net>
Date:   Thu Nov 8 00:03:26 2012 -0700

    sync to reality: 'ip dhcp' only supports ipv4 at the moment

:100644 100644 2adf12c... 0a846f4... M	conf.c

commit a89ddaf375e2bfd3024e90c7c0dc140d0e086136
Author: chris <chris@nmedia.net>
Date:   Wed Nov 7 23:08:55 2012 -0700

    fix a memory leak in lladdr set function, and better error comment in ip_route

:100644 100644 d1d82e6... a239ed4... M	if.c
:100644 100644 bd89e11... ced981f... M	kroute.c

commit edd3fcc56a9aaa97a8859226960800ab2925f660
Author: chris <chris@nmedia.net>
Date:   Wed Nov 7 22:47:24 2012 -0700

    Some fixes for unaligned sparc/hppa access to struct sockaddr_sin6 within a in6_aliasreq and struct sockaddr_sin within a in_aliasreq. The aliasreq structs need to be redesigned, or direct assignment is not possible on some architecures. More of this type of change is necessary, include several bits I recently switched to direct assignment in other areas...

:100644 100644 7e02a63... d1d82e6... M	if.c

commit 3101cf6c261a6d43e42a5004467ea3b7d0fadc84
Author: chris <chris@nmedia.net>
Date:   Wed Nov 7 22:41:46 2012 -0700

    Handle potential database failures without making the problem worse. Also add a function to get interface rdomain.

:100644 100644 3e04625... 2adf12c... M	conf.c
:100644 100644 95cf469... 43ca867... M	externs.h

commit 86d606423c15e5a5d2540a81e2b57a29d45f8da0
Author: chris <chris@nmedia.net>
Date:   Sat Nov 3 18:26:29 2012 -0600

    Better try again

:100644 100644 45a0c33... 3e04625... M	conf.c
:100644 100644 029096e... 9f577af... M	sqlite3.c

commit f3c3954d8f7ad9de8ab67551e999ab04975f0445
Author: chris <chris@nmedia.net>
Date:   Sat Nov 3 18:05:14 2012 -0600

    Test rtable obtained from database for conformance to standards of moral turpitude

:100644 100644 2747fb8... 45a0c33... M	conf.c
:100644 100644 291c1f5... 029096e... M	sqlite3.c

commit d0d804c10c9b2479a8536d11a66dea58a664964e
Author: chris <chris@nmedia.net>
Date:   Sun Oct 28 21:35:26 2012 -0600

    start using the database to handle original system lladdr, rather
    than text files

:100644 100644 e482f25... 2747fb8... M	conf.c
:100644 100644 a500c13... 95cf469... M	externs.h
:100644 100644 d20e04d... 7e02a63... M	if.c
:100644 100644 edbf66e... 7aafbb2... M	main.c
:100644 100644 1654883... 291c1f5... M	sqlite3.c

commit a43c0f6fe0d319955126aaae78d90136fe5706fe
Author: chris <chris@nmedia.net>
Date:   Sun Oct 28 09:16:56 2012 -0600

    whoops

:100644 100644 81bed04... 1b6b103... M	Makefile

commit 63b215f640e44b2ee1e985c13415ea10a92320c9
Author: chris <chris@nmedia.net>
Date:   Sat Oct 27 19:32:49 2012 -0600

    Use the -T argument with pkill to only kill items running in the
    proper rtable.

:100644 100644 598dd2e... d8d2f12... M	ctl.c
:100644 100644 bc414af... d20e04d... M	if.c

commit a9d67a870985af751a8ae486124df046df5232c0
Author: chris <chris@nmedia.net>
Date:   Sat Oct 27 18:12:55 2012 -0600

    The database is not consulted for a list of configured daemons in
    rtable 0 this time. Thus, the "remove tmpfile" idea should remain
    during -i initialization, but only needs to address table 0.

:100644 100644 e81a22a... edbf66e... M	main.c

commit 0326c6c28496f4d70574ee5b540310e4b129029b
Author: chris <chris@nmedia.net>
Date:   Sat Oct 27 18:01:45 2012 -0600

    Give ctl framework, including call_editor, conf_ctl and ctlhandler a
    fake pointer to look for in argument lists so they can revise it with
    the appropriate filename for the combination of service and routing
    table id. This way you automatically get non-conflicting daemon
    configs using the same daemon in multiple instances, across
    multiple routing tables.
    
    Also add some rtable stuff to the manual.

:100644 100644 32ff764... 6d3c3fd... M	MANUAL
:100644 100644 1b6b103... 81bed04... M	Makefile
:100644 100644 36b8ecc... 41995f4... M	commands.c
:100644 100644 c9d2aa0... e482f25... M	conf.c
:100644 100644 d3197bf... 598dd2e... M	ctl.c
:100644 100644 1ae3967... a500c13... M	externs.h

commit 2264ed33feb69017689ee81807a2dfd202fc6dfa
Author: chris <chris@nmedia.net>
Date:   Sat Oct 27 15:18:51 2012 -0600

    make the intent more obvious, return a realistic value as well

:100644 100644 39e4c82... 36b8ecc... M	commands.c

commit ee7537876fa9e911033c9aebed64935de4dd2800
Author: chris <chris@nmedia.net>
Date:   Sat Oct 27 14:38:31 2012 -0600

    Replace use of inet_pton(AF_INET6...) with getaddrinfo(). This allows for linklocal scoped addresses in the %if format to be translated to a actual IP address. It also allows for other types of IPv4 mapped addresses (mainly use for the common openbsd reject routes)
    
    Rename parse_ip to parse_ip_pfx and add parse_ipv6 as a wrapper around getaddrinfo.
    
    Start displaying (and accepting) the reject flag on static IP routes.
    
    Stop comparing only the first section of an IPv6 address when checking for a :: (all zero) address. Use IN6_IS_ADDR_UNSPECIFIED(struct in_addr *) instead.
    
    Assume that, when no netmask is provided on a PTP interface, the maximum length is intended. IPv6 does not accept anything less than /128 when a destination is specified.
    
    Validate dhcrelay argument through inet_pton(AF_INET...).
    
    Rename the struct in_addr union member to 'in' instead of 'sin' in ip_t. Same for sin6 -> in6. Calling the in_addr structures 'sin' is incredibly confusing to me. Not sure how I ever made that choice.
    
    Start displaying IPv6 IP addresses when an error is encountered in ip_route()
    
    Fix other bugs added in the past few commits

:100644 100644 f116dd3... c9d2aa0... M	conf.c
:100644 100644 9b34ff3... 1ae3967... M	externs.h
:100644 100644 f55ddec... bc414af... M	if.c
:100644 100644 6f75f6b... 3967e74... M	ip.h
:100644 100644 8dfa614... bd89e11... M	kroute.c
:100644 100644 0817f58... b608cef... M	route.c
:100644 100644 0c1ec87... 385bae2... M	show.c

commit 3fb23f4aeff5e4eddd6f47a99d05cfba7c2a0cb0
Author: chris <chris@nmedia.net>
Date:   Wed Oct 24 23:32:03 2012 -0600

    Moer correctorius.

:100644 100644 a6d1cb4... 39e4c82... M	commands.c

commit ff19873817934b62abcaa7f7eb602a63c59b60c6
Author: chris <chris@nmedia.net>
Date:   Wed Oct 24 23:02:55 2012 -0600

    If nothing happened, subtracting by one is stupid.

:100644 100644 0eac8c0... a6d1cb4... M	commands.c

commit 67be87fe55c848fc34aff868eaa05674311e09d7
Author: chris <chris@nmedia.net>
Date:   Tue Oct 23 18:00:20 2012 -0600

    minor cleanups

:100644 100644 22c0136... f55ddec... M	if.c
:100644 100644 b5cf2ee... 8dfa614... M	kroute.c

commit 9354eb709cf65565089f613291b6d96810f01d77
Author: chris <chris@nmedia.net>
Date:   Tue Oct 23 08:08:31 2012 -0600

    The name routesys.c has always bugged me somewhere deep in my soul. Change it to the ever-popular kroute.c.
    
    Fix isdefaultroute() to test mask as well.
    
    Don't let ntp get run out of multiple rtables, the system can only handle one ntpd at a time.

:100644 100644 293139f... 1b6b103... M	Makefile
:100644 100644 30b82e8... f116dd3... M	conf.c
:100644 100644 1729775... d3197bf... M	ctl.c
:000000 100644 0000000... b5cf2ee... A	kroute.c
:100644 000000 541d55a... 0000000... D	routesys.c

commit f4f32dc0fac653336b66657fdcb473650fe8c92e
Author: chris <chris@nmedia.net>
Date:   Mon Oct 22 22:33:11 2012 -0600

    Better IPv6 link local handling - don't print linklocal addresses in the interface config output, unless they were user-configured. That means configured via NSH, and stored in the local database, since we can't distinguish user-generated ones from kernel generated ones otherwise. Do print linklocal addresses without embedded scope and with %intface syntax.
    
    Also some other random code cleanup "while I'm there"

:100644 100644 6c946da... 30b82e8... M	conf.c
:100644 100644 28f8487... 1729775... M	ctl.c
:100644 100644 5dc49c6... 9b34ff3... M	externs.h
:100644 100644 7103df6... 22c0136... M	if.c
:100644 100644 1aafe5a... e81a22a... M	main.c
:100644 100644 970fac4... 0c1ec87... M	show.c
:100644 100644 28c014a... 1654883... M	sqlite3.c

commit fd8e30d2e702891c266bc0bf95b7bf1d843f5494
Author: chris <chris@nmedia.net>
Date:   Sun Oct 21 08:15:12 2012 -0600

    disabling a service should not remove it from the db

:100644 100644 8cfe1d2... 5dc49c6... M	externs.h

commit 89c92ab6632591253252a78598073e6b3431145c
Author: chris <chris@nmedia.net>
Date:   Sun Oct 21 08:14:13 2012 -0600

    disabling a service should not remove it from the db

:100644 100644 1970d1c... 28f8487... M	ctl.c
:100644 100644 c3db290... 7103df6... M	if.c

commit 00a1e8cefd0c4db3a1a8474d6cb3e4d576c42db7
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 23:42:26 2012 -0600

    make this slightly less painful to read

:100644 100644 4eca17a... c3db290... M	if.c

commit 0a98504eec6b28c6b2c243a2df3365b676b6c2f1
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 23:03:46 2012 -0600

    Don't require netmask on IFF_POINTTOPOINT interfaces,
    and don't print one if the interface doesn't have one.
    Part of this was accidentally committed earlier

:100644 100644 2f89d40... 6c946da... M	conf.c
:100644 100644 b9b30cb... 4eca17a... M	if.c

commit 82470036c40faa6a5b100b5e4501e4b10edb6d6a
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 22:12:14 2012 -0600

    Stop using a pointer as an integer. Not sure what I was thinking.

:100644 100644 e2e9baf... 2f89d40... M	conf.c
:100644 100644 25c68a6... 1970d1c... M	ctl.c
:100644 100644 391f0e5... 8cfe1d2... M	externs.h

commit 9bad2e6f7f5c06ba7637bd6f949138b81dbb2718
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 14:06:21 2012 -0600

    You can't delete an IPv6 address without using a full in6_aliasreq structure. Simplify everything.

:100644 100644 c8d1abe... b9b30cb... M	if.c

commit 0c107c1b02b055329f59a1e6f3aa17085fc483a6
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 13:36:35 2012 -0600

    overwrite space with nul at end of string instead of space followed by nul

:100644 100644 6d077a0... 0eac8c0... M	commands.c

commit a5e5b7112a621db0fc0536b0783dccd9c46130a2
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 12:57:28 2012 -0600

    show.c says "The address is assumed to be that of a net or subnet, not a host." for netname functions.
    
    So, we use netname4 to create a CIDR notation for a host or network IP address. Using netname6 for
    either does not work quite as nicely. It actively overwrites the host portions of the IPv6 address.
    There is no good reason to do this, even when used in the original convention of netname6. If a
    non-network address is used in the routing table, shouldn't we be able to obviously discern that flaw,
    instead of papering over it?
    
    This fixes the IPv6 address display problems for functions that already use netname6 (And shouldn't
    break anything that actually wants the original netname function)

:100644 100644 1981126... 970fac4... M	show.c

commit 5e75d63260addebf2048f8393233b86aad0a62ba
Author: chris <chris@nmedia.net>
Date:   Sat Oct 20 12:22:31 2012 -0600

    improve privilege handling within rtable()
    it is one of the few commands that has both unprivileged capabilies (execute commands in different, existing routing tables), and privileged ones (create new routing tables, delete them, change their name)

:100644 100644 01eb3aa... 6d077a0... M	commands.c

commit c2da204616c3bfae12bcb16b99213f6ec7af7b4c
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 21:58:21 2012 -0600

    Make some errors more informative if they do actually happen

:100644 100644 d1bf7bb... c8d1abe... M	if.c
:100644 100644 0bc4dea... 0817f58... M	route.c

commit 461bbcbc8e6bfb09d5804cca8fddb644a9b08fd9
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 09:59:30 2012 -0600

    setrtable errors use errno, not return value

:100644 100644 0959642... 01eb3aa... M	commands.c

commit 00fd34f56b8f665fd7f20cd78da13cf82689c114
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 09:53:55 2012 -0600

    print route without 'table '
    also move route print to proper location in conf_rtables_rtable()

:100644 100644 2da46ff... e2e9baf... M	conf.c

commit d44918eed42c49e9a5418d73a4261097bd285793
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 08:52:29 2012 -0600

    exit forked child process if setrtable fails instead of trying to execute it anyways
    also check for indented nsh ! comments only for mode 2 handler in cmdrc()

:100644 100644 fbc21e7... 0959642... M	commands.c

commit 2b2273c90bc3359b7d037cdb6eae7d8dc023224b
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 00:22:52 2012 -0600

    rewrite flag_x and conf_ctl to use sqlite backend instead of text files
    this also gives the ability to separate out daemons on a per-rtable basis

:100644 100644 08be6ef... 2da46ff... M	conf.c
:100644 100644 9e2a793... 25c68a6... M	ctl.c
:100644 100644 dc43190... 391f0e5... M	externs.h
:100644 100644 e9346a8... d1bf7bb... M	if.c
:100644 100644 c4d83b9... 1aafe5a... M	main.c
:100644 100644 44c330c... 28c014a... M	sqlite3.c

commit 6657447599b56a708aed2bd166a9f6bd64d15528
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 00:21:34 2012 -0600

    ignore "!" visual separator lines from indented config file commands

:100644 100644 fe4382e... fbc21e7... M	commands.c

commit aae63f40920930c93b32d87f88d88811cf4c4bad
Author: chris <chris@nmedia.net>
Date:   Fri Oct 19 00:18:34 2012 -0600

    get rid of stupid message

:100644 100644 a88c56e... d13b9f2... M	passwd.c

commit 1afbeae2d68548feb0ed28828d2d987992ee671b
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 18:21:24 2012 -0600

    don't require privileges to switch between rtables, only to delete one

:100644 100644 d047e4d... fe4382e... M	commands.c

commit 48c65284a38e6021d46de2d6ed3e51e190fa0d3e
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 15:21:05 2012 -0600

    Make argv-to-string its own function, and use it in multiple places

:100644 100644 9670d93... d047e4d... M	commands.c
:100644 100644 7d4321d... dc43190... M	externs.h
:100644 100644 23448f9... e9346a8... M	if.c

commit 24030684c2916a01ad1f7ffe9f66b5ae0d4c6eab
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 15:10:08 2012 -0600

    Wrong rtable? return out of the handler.

:100644 100644 e0b62cc... 9e2a793... M	ctl.c

commit f7c67a2f7480d40302e6712801575a0a87228b76
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 11:15:54 2012 -0600

    Remove unused cruft

:100644 100644 5f9f07c... 9670d93... M	commands.c
:100644 100644 62a8235... 7d4321d... M	externs.h

commit 49f644f4d0a4a62b0a4141b25f709004dde7a711
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 09:09:00 2012 -0600

    More strict cmdrc

:100644 100644 dd23c1a... 5f9f07c... M	commands.c

commit 67bbdc6a2525a4ca39f43485847ed22b58ab1d5d
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 09:03:29 2012 -0600

    Some documentation updates. The manual still needs an overhaul.

:100644 100644 00544fb... 32ff764... M	MANUAL
:100644 100644 d41d405... 1246c31... M	README

commit be87e1887f35664567b1f419f44200b8719af192
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 08:54:08 2012 -0600

    Bring TODO up-to-date after IPv6 and rtable changes

:100644 100644 ea2bec6... 44ae745... M	TODO

commit 86eaaf4e5b1221f9060e8e513b2257e9c8b7a6df
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 08:48:17 2012 -0600

    add 'show route6' command to view IPv6 routing table and fix route print routine to set af so the header code knows where the start is and can print appropriate headers for ipv6 route show.

:100644 100644 11c21f1... dd23c1a... M	commands.c
:100644 100644 7aacf95... 1981126... M	show.c

commit 02385e480a870385eea1521ccd80bf9b1939f7f4
Author: chris <chris@nmedia.net>
Date:   Thu Oct 18 08:26:53 2012 -0600

    Fix route() function so we don't always send a zeroed out IP address as the gateway, this makes "no route ..." without the gateway actually work again. Not sure when I broke this.
    Set gateway address family, now that we check for it later (as part of the previous IPv6 commit)

:100644 100644 6f59764... 0bc4dea... M	route.c

commit 9248370aaad85e11da2400f8357f563758bbf240
Author: chris <chris@nmedia.net>
Date:   Wed Oct 17 21:29:48 2012 -0600

    fix verbose printing in cmdrc

:100644 100644 e574f7c... 11c21f1... M	commands.c

commit bf8d8152b07adff2bf8b6ab84e7ba044141887cf
Author: chris <chris@nmedia.net>
Date:   Wed Oct 17 18:57:19 2012 -0600

    Mode handler 2 support means that the normal cmdrc interpreter gets to handle indented commands, not based on the saved parent command!

:100644 100644 b27b05b... e574f7c... M	commands.c

commit c67bfecf07b475b0905e5fb61fa8f8262cecaa27
Author: chris <chris@nmedia.net>
Date:   Wed Oct 17 18:29:13 2012 -0600

    Only allow rtable to be used with certain ctl handler commands
    Tools like pf and bgpd are not meant to be used outside of rtable 0 (they handle other rtables as a matter of course, and do not need to be executed within an rtable)

:100644 100644 c97029b... e0b62cc... M	ctl.c
:100644 100644 d882761... 62a8235... M	externs.h

commit ae1d70134b389b68dde11548969580ea9ca07232
Author: chris <chris@nmedia.net>
Date:   Wed Oct 17 09:48:29 2012 -0600

    New rtable method
    Config file format changes from:
    route table X ....
    to:
    rtable X
     route .....
    Executed commands get executed under current rtable
    cmdrc now handles "mode 2" handler which doesn't expect to process commands, but still indents them in rc file

:100644 100644 39eb8b3... b27b05b... M	commands.c
:100644 100644 486590d... 08be6ef... M	conf.c
:100644 100644 e13a597... d882761... M	externs.h
:100644 100644 0a968b5... c4d83b9... M	main.c
:100644 100644 e57ef3d... 6f59764... M	route.c
:100644 100644 a1718d4... 44c330c... M	sqlite3.c

commit e6c02f5caab8af3d5bcf39d1ede115deead07c1f
Author: chris <chris@nmedia.net>
Date:   Sun Oct 14 22:24:17 2012 -0600

    Add some sqlite3 backend for new temporal data needs, currently used for rtable and daemon tables.

:100644 100644 4d6b98e... 293139f... M	Makefile
:100644 100644 633c4b7... e13a597... M	externs.h
:000000 100644 0000000... a1718d4... A	sqlite3.c

commit ddf39a3e181f8be9c2345df424b908f72f6a3528
Author: chris <chris@nmedia.net>
Date:   Sun Oct 14 17:18:34 2012 -0600

    rtable extern for cli use

:100644 100644 c257af7... 633c4b7... M	externs.h
:100644 100644 fac7faf... 0a968b5... M	main.c

commit b6831f2c5517c5b1067f73add4c27bbef399b626
Author: chris <chris@nmedia.net>
Date:   Mon Sep 24 14:15:28 2012 -0600

    Welcome ospf6d

:100644 100644 b9beb76... 39eb8b3... M	commands.c
:100644 100644 ec6aa70... 7338a78... M	commands.h
:100644 100644 3d564cf... 486590d... M	conf.c
:100644 100644 5163578... c97029b... M	ctl.c
:100644 100644 ecfce60... c257af7... M	externs.h

commit 5786bd3d6ecc0cf18d1c6585294745f028073266
Author: chris <chris@nmedia.net>
Date:   Mon Sep 24 12:02:15 2012 -0600

    No more distinction between "primary" ip addresses and aliases
    In last commit, alias concept was already removed from 'ip' command

:100644 100644 31ceb55... 3d564cf... M	conf.c

commit a667340497323f43a3f990a38fede63e2664f08a
Author: chris <chris@nmedia.net>
Date:   Mon Sep 24 11:31:39 2012 -0600

    add IPv6 support to the interface IP address command

:100644 100644 8bc424d... ecfce60... M	externs.h
:100644 100644 e6e59e3... 23448f9... M	if.c
:100644 100644 d69e494... 541d55a... M	routesys.c

commit 0623571bcf40e21282b28f8fb40d3ad18272c296
Author: chris <chris@nmedia.net>
Date:   Sun Sep 23 19:20:22 2012 -0600

    Stop leaking memory in parse_ip

:100644 100644 20276d7... 8bc424d... M	externs.h
:100644 100644 accff5e... e6e59e3... M	if.c
:100644 100644 e402fac... e57ef3d... M	route.c

commit 5c923ed3df653b0ba86344b0cd31f154765b72af
Author: chris <chris@nmedia.net>
Date:   Sun Sep 23 18:35:14 2012 -0600

    Take all the skeleton IPv6 support that's already here and enable it.
    Also convert parse_ip and related functions so they tolerate IPv4 and IPv6 addresses.
    This isn't complete IPv6 support by any means. There are various bugs that need to be fixed and more conversion necessary.

:100644 100644 fc7107f... b9beb76... M	commands.c
:100644 100644 2aaa7e7... 31ceb55... M	conf.c
:100644 100644 e7bf2a2... 20276d7... M	externs.h
:100644 100644 63d7a6f... accff5e... M	if.c
:100644 100644 7af19ff... f2b91d9... M	media.c
:100644 100644 5e72ffc... e402fac... M	route.c
:100644 100644 5eccae4... d69e494... M	routesys.c
:100644 100644 d4a7153... 7aacf95... M	show.c

commit 42bb8201e428140ffdd40dc7e8b8903b40dada2c
Author: chris <chris@nmedia.net>
Date:   Thu Sep 20 12:45:25 2012 -0600

    nppp ctl handler
    also add some missing things for ifstated and tftpd ctl handler

:100644 100644 6b1db18... fc7107f... M	commands.c
:100644 100644 1340e6a... 5163578... M	ctl.c
:100644 100644 7eb2940... e7bf2a2... M	externs.h

commit fbf8df91791c80787f3caf21da28cb2d3c818982
Author: chris <chris@nmedia.net>
Date:   Fri Sep 14 21:07:25 2012 -0600

    Use INADDR_ANY instead of 0 where it makes sense

:100644 100644 312e017... bbd4d1d... M	conf.c
:100644 100644 0a01fcb... 9d63254... M	if.c

commit bdd22257575804f41de3493c7dcecb5cfac34cb2
Author: chris <chris@nmedia.net>
Date:   Sat Sep 8 18:58:43 2012 -0600

    welcome, ping6 and traceroute6

:100644 100644 767b644... 6b1db18... M	commands.c

commit c475ce31ebae99a053b64590151fb2f07508f22d
Author: chris <chris@nmedia.net>
Date:   Sat Sep 8 18:37:27 2012 -0600

    Significantly improve signal handling (and ignoring) for spawned processes
    Kill spawned process on alarm
    Pair down cmdarg() and cmdargs() to just cmdargs
    vfork is now obsolete, use fork

:100644 100644 342f12b... 767b644... M	commands.c
:100644 100644 477a510... 1340e6a... M	ctl.c
:100644 100644 5dad20b... 7eb2940... M	externs.h
:100644 100644 348493e... 63d7a6f... M	if.c

commit cb6be34640bf62132899a2921666fd1b91e3cd64
Author: chris <chris@nmedia.net>
Date:   Sat Sep 8 17:09:34 2012 -0600

    tftp and tftp-proxy are now daemons, include them via ctl handler
    add ifstate commands to the cli, they were missing!

:100644 100644 e2de8f5... 342f12b... M	commands.c
:100644 100644 1d18bf0... 477a510... M	ctl.c
:100644 100644 6f8834a... 5dad20b... M	externs.h

commit 10030f694cc76f06b16ca8d070d187e693641af3
Author: chris <chris@nmedia.net>
Date:   Fri Sep 7 20:17:51 2012 -0600

    autoconfprivacy is now default

:100644 100644 062c43e... 2aaa7e7... M	conf.c
:100644 100644 c5fd887... 348493e... M	if.c

commit b4e52616c078d2f9477081f31a19c4179b3de530
Author: chris <chris>
Date:   Fri Jun 1 18:03:09 2012 +0000

    use ctl_daemons table to get list of temp files instead of hard-coding them in init routine. duh.

:100644 100644 3071820... fac7faf... M	main.c

commit 7ada8a0dd234b7cad652c1841756e087dd4d94b1
Author: chris <chris>
Date:   Fri Jun 1 17:30:25 2012 +0000

    Set group carp carpdemote 128 during network initialization, then remove it, like /etc/rc does
    This should help keep CARP mastership from taking over before a dynamic routing protocol has established itself, although it doesn't quite fit in the rest of the nsh model so well (group carp stored in nshrc has less meaning now), it matches /etc/rc behavior which is more important at the moment...

:100644 100644 05d6a07... e2de8f5... M	commands.c
:100644 100644 b212e26... 6f8834a... M	externs.h
:100644 100644 f9faf4a... 3071820... M	main.c

commit 8635cc18d4a1fc55d816411e2a6564f6add383e4
Author: chris <chris>
Date:   Wed May 23 21:44:32 2012 +0000

    20120523

:100644 100644 d74fb25... f9faf4a... M	main.c

commit 71d1f507aa5910fbb0d5cbf6fcca9fd03e8ef7c5
Author: chris <chris>
Date:   Wed May 23 05:45:35 2012 +0000

    Add ifstated handler
    Fix interface start order. Configs will now be organized to start interfaces in the same order as /etc/netstart. This may fix problems for some trunk and carp users, and also possibly fixes issues with other (now reorganized) interface types. (I could see it being a problem for someone trying to use svlan on top of vlan and there are also potential problems configuring gre/gif before routes are established)

:100644 100644 92a15cb... 062c43e... M	conf.c
:100644 100644 7958fcf... 1d18bf0... M	ctl.c
:100644 100644 4af42ef... b212e26... M	externs.h

commit 4a4f00df9fbf5b3ab32540dff463abcc63d3297e
Author: chris <chris>
Date:   Mon May 21 14:47:47 2012 +0000

    20120521

:100644 100644 6b0337e... d74fb25... M	main.c

commit 15b9184cb273493269739d9a727082f617a9afaa
Author: chris <chris>
Date:   Mon May 21 14:46:11 2012 +0000

    GRE tunnel keepalive

:100644 100644 d495488... 05d6a07... M	commands.c
:100644 100644 b05db11... 92a15cb... M	conf.c
:100644 100644 8221b73... 4af42ef... M	externs.h
:100644 100644 f5d0067... c5fd887... M	if.c

commit 00adcc60cf27c73121757c4d0d3888e34eaf40e6
Author: chris <chris>
Date:   Mon May 21 01:03:31 2012 +0000

    rtable control for adding routes
    also display rtable in conf_routes output

:100644 100644 1482475... 00544fb... M	MANUAL
:100644 100644 3e7ed9b... ea2bec6... M	TODO
:100644 100644 618a532... d495488... M	commands.c
:100644 100644 d2e646c... b05db11... M	conf.c
:100644 100644 7151335... 8221b73... M	externs.h
:100644 100644 bd6cbcc... 5e72ffc... M	route.c
:100644 100644 d02e202... 5eccae4... M	routesys.c

commit 460cb88d914c150ca25150d7a9451ad141260bac
Author: chris <chris>
Date:   Sun May 20 20:11:01 2012 +0000

    Pass routing table id in various routing functions

:100644 100644 c01098f... febea17... M	arp.c
:100644 100644 5772188... 618a532... M	commands.c
:100644 100644 93137b9... 7151335... M	externs.h
:100644 100644 31d21f9... bd6cbcc... M	route.c
:100644 100644 a9bbea2... d02e202... M	routesys.c
:100644 100644 b373db6... d4a7153... M	show.c

commit a4977ddd0c9ba140ce0d9fd52cfcc0579feb52f4
Author: chris <chris>
Date:   Sun May 20 15:32:50 2012 +0000

    Update carp_state to handle multiple vhids (show int carp0 etc...)

:100644 100644 fee8c0c... 19da95a... M	carp.c
:100644 100644 9d754a9... 5772188... M	commands.c
:100644 100644 fbfc210... 93137b9... M	externs.h
:100644 100644 accacd7... f5d0067... M	if.c

commit 8a53e80fd9f66f2f59f95886ddfbf4a7a67f6b07
Author: chris <chris>
Date:   Sun May 20 05:22:44 2012 +0000

    asleep at the wheel

:100644 100644 91d2fc9... b5101a8... M	trunk.c

commit f037f6e116b74aac4ba87b38367c66c1369a3427
Author: chris <chris>
Date:   Sun May 20 05:09:52 2012 +0000

    Rename reload to reboot. It's silly but since many of the openbsd utilities have a 'reload' function, it creates a significant problem if 'reload' is accidentally typed in without the preceding utility name.

:100644 100644 06821db... 1482475... M	MANUAL
:100644 100644 83cbb76... 9d754a9... M	commands.c

commit 0a3dff06cf9c7163487b2f7d14f9119ddd82d347
Author: chris <chris>
Date:   Sun May 20 04:37:02 2012 +0000

    Fix trunkproto, now it always takes the right name and the config file always displays the right name
    
    This is overly complicated. Why are the enumerators numbered differently than the order of the name elements in the trunk proto structrue itself? The bridge code (balancing names) handles this in the appropriate way, trunk does not.
    
    As a side effect, trunk is actually usable via nsh now. This was broken for 6 years. Sorry.

:100644 100644 8a7631c... accacd7... M	if.c
:100644 100644 b62f660... 91d2fc9... M	trunk.c

commit d9c6088c44fbce56fa5be54089561554724ce702
Author: chris <chris>
Date:   Sun May 20 03:16:04 2012 +0000

    syncpeer needs to end with \n

:100644 100644 5af23fb... 1cff670... M	pfsync.c

commit c32058f9d683e553829fbfa049fea19faab11b42
Author: chris <chris>
Date:   Sun May 20 03:14:29 2012 +0000

    CARP balancing and carppeer

:100644 100644 e7e4d1b... fee8c0c... M	carp.c
:100644 100644 477e8c4... 83cbb76... M	commands.c
:100644 100644 66b0ba6... fbfc210... M	externs.h

commit 2e3017ac19b90f58ca7c6b3f0381354161c37788
Author: chris <chris>
Date:   Sun May 20 01:03:13 2012 +0000

    ignore MTU on pflow interface, it does not serve any purpose to save this value

:100644 100644 965d99b... d2e646c... M	conf.c

commit effabf750cf043bb68346f3df9a1a38154a9b47c
Author: chris <chris>
Date:   Sun May 20 00:59:32 2012 +0000

    more correctly identify max updates (now overloaded with defer)

:100644 100644 5e6ea95... 477e8c4... M	commands.c

commit f951d85b5c230a5207d7fd0010892011529d3eb8
Author: chris <chris>
Date:   Sun May 20 00:56:41 2012 +0000

    add mpls IFT and rearrange some more (some was snuck in a few commits ago)

:100644 100644 5dff0b4... 8a7631c... M	if.c

commit 36d01da8c65bb34370fe841123c25c02907b794f
Author: chris <chris>
Date:   Sat May 19 23:59:56 2012 +0000

    LDAP and SMTP daemon control, config handler
    and a piece in externs.h for tunnel rdomain pointer in phys_status()

:100644 100644 5081f04... 06821db... M	MANUAL
:100644 100644 911e13f... 5e6ea95... M	commands.c
:100644 100644 d83b21d... ec6aa70... M	commands.h
:100644 100644 de06eb5... 7958fcf... M	ctl.c
:100644 100644 52f6aac... 66b0ba6... M	externs.h
:100644 100644 0a6baca... 6b0337e... M	main.c

commit 31b1d8296b40885fd48b30ff4c0c5b4644c5a408
Author: chris <chris>
Date:   Sat May 19 23:57:53 2012 +0000

    pflow version conf output, tunnel rdomain conf output, pflow version set as 'version 5', 'version 9' or 'version 10' at the end of the pflow sender/receiver command

:100644 100644 5173e9a... 965d99b... M	conf.c
:100644 100644 c7aecdd... 5dff0b4... M	if.c

commit 9c8703a564d83a8201970f6fff9d774378f55b07
Author: chris <chris>
Date:   Sat May 19 23:55:37 2012 +0000

    add pfsync defer flag to the end of 'maxupd' command
    while it's not direectly related to maxupd, i'd rather not add more boolean flags as new commands, maxupd is a fine place for it as the concepts are related

:100644 100644 3a52224... 5af23fb... M	pfsync.c

commit 304caa428df21d31ab1b245a7563d49f5b32c50d
Author: chris <chris>
Date:   Sat May 19 23:54:26 2012 +0000

    second part of tunnel dest rdomain

:100644 100644 3346920... 7af19ff... M	media.c

commit 82818f4952585806098b1248e11a22d234434e0b
Author: chris <chris>
Date:   Sat May 19 23:53:20 2012 +0000

    add tunnel destination rdomain

:100644 100644 5692b99... 2916b7b... M	tunnel.c

commit 32e6ad6bb7077f88f0b446f910e54eafd839e6a6
Author: chris <chris>
Date:   Sat May 19 19:34:50 2012 +0000

    remove hints like ifconfig.c 1.247
    this will allow auto-detection of inet6 addresses

:100644 100644 ab61079... 5692b99... M	tunnel.c

commit 4094e37fd85b2e244f3c5dd914760445b4d2e3ea
Author: chris <chris>
Date:   Fri May 18 14:09:56 2012 +0000

    Update TODO

:100644 100644 f020470... 3e7ed9b... M	TODO

commit 2dc70b928ca692810b9e11fce7b3238b04ca5825
Author: chris <chris>
Date:   Fri May 18 14:04:15 2012 +0000

    add iked and ldpd control/config encapsulation
    still needed: certificate handling within nsh for iked (and isakmpd)

:100644 100644 85007e7... 911e13f... M	commands.c
:100644 100644 fd962cd... d83b21d... M	commands.h
:100644 100644 593e7e9... de06eb5... M	ctl.c
:100644 100644 b37cc0c... 52f6aac... M	externs.h

commit 504b456949e840c83c9fe94434b595e3e3e74b94
Author: chris <chris>
Date:   Fri May 18 14:02:28 2012 +0000

    rdomain: Print routing domain in config and show interface output
    rdomain: Ability to set routing domain on an interface
    lladdr: Devise random lladdr with 'lladdr random' (stolen from ifconfig)
    label: Rename mpls label set command to simply 'label'

:100644 100644 fe71c7b... 5173e9a... M	conf.c
:100644 100644 bf475a9... c7aecdd... M	if.c

commit 5cc011b3f0ba19c15836aa6a8672b06abd8dc1be
Author: chris <chris>
Date:   Fri May 18 02:28:22 2012 +0000

    appletalk networking protocol is no longer native to openbsd (or mac os for that matter)

:100644 100644 3e1a369... b373db6... M	show.c

commit ccc3d504131e362753b9a87639a338c16208fdc7
Author: chris <chris>
Date:   Thu May 17 14:09:24 2012 +0000

    add IFX flag set routines (wol, mpls, inet6, autoconfprivacy)

:100644 100644 295f08c... b37cc0c... M	externs.h
:100644 100644 9ccca6d... bf475a9... M	if.c

commit 7da546fd0876ba5e4b3a3c68f05647acbb42596a
Author: chris <chris>
Date:   Sat May 12 00:15:16 2012 +0000

    display mpls on mpls enabled interfaces and show mpls label for mpe interfaces in config

:100644 100644 ce4b0a7... fe71c7b... M	conf.c

commit 2e25f653b9266998bd0cf059c9d1ca4cfc77df82
Author: chris <chris>
Date:   Thu May 10 04:24:31 2012 +0000

    stop rounding up in format_k

:100644 100644 99679e3... dfdd259... M	utils.c

commit fa0e83bff13673e012a729a6d687462a643ce614
Author: chris <chris>
Date:   Thu May 10 04:14:51 2012 +0000

    show MPLS routes

:100644 100644 ab4ed82... 3e1a369... M	show.c

commit 390475760374d3b6edfa1d5ac7b03a7bbbcc75c9
Author: chris <chris>
Date:   Thu May 10 04:10:43 2012 +0000

    display memory size using format_k

:100644 100644 6a3a860... 295f08c... M	externs.h
:100644 100644 ec97822... 99679e3... M	utils.c
:100644 100644 931dd89... 6f45abe... M	version.c

commit 9b6eba4a053b05cd08b159f661f991801cf6b193
Author: chris <chris>
Date:   Thu May 10 03:36:46 2012 +0000

    Steal some format routines from top

:100644 100644 d3936fc... 4d6b98e... M	Makefile
:100644 100644 411689a... 6a3a860... M	externs.h
:000000 100644 0000000... ec97822... A	utils.c

commit f27743f519eac2010894d5cedfd9a374f42799f4
Author: chris <chris>
Date:   Thu May 10 03:22:18 2012 +0000

    more of the same

:100644 100644 6e458c2... d24db19... M	complete.c
:100644 100644 6dd88ae... 3c9d014... M	ieee80211.c

commit feff7c0fec7b9805adec5d836dcf886d22c4e436
Author: chris <chris>
Date:   Thu May 10 03:20:45 2012 +0000

    should be integer not NULL

:100644 100644 84f78a6... 9ccca6d... M	if.c

commit f74d196f14897bdd017c6ab976384e29ad096703
Author: chris <chris>
Date:   Thu May 10 02:47:08 2012 +0000

    priority tag no longer exists. goodbye.

:100644 100644 4dd95ca... ce4b0a7... M	conf.c
:100644 100644 746d2fb... 84f78a6... M	if.c

commit 3187ace87938f39c8c97f4e91f0a7a2b2685639d
Author: chris <chris>
Date:   Thu May 10 02:38:59 2012 +0000

    RTF_JUMBO is no longer

:100644 100644 052cc59... ab4ed82... M	show.c

commit 5eaa3ab06723db479ad8eef59da0cfdf11789f63
Author: chris <chris>
Date:   Thu May 10 01:14:20 2012 +0000

    get rid of "-T ftp-proxy" in the ftp-proxy command line since match rules are just not what most people (well, me) are wanting. figured this out the hard way when I tried to use ftp-proxy with pf.

:100644 100644 f96bcd5... 593e7e9... M	ctl.c

commit cb5ee8ddb4a6c17f6e241119459537b532a1f361
Author: chris <chris>
Date:   Sat Sep 11 15:27:55 2010 +0000

    don't print mtu == 0

:100644 100644 32aacca... 4dd95ca... M	conf.c

commit 31fe6e91b4aa61f6f9a6b33bd23001847ebd58d5
Author: chris <chris>
Date:   Sat Sep 11 15:26:55 2010 +0000

    rename variable line to line_show since line was already an extern used other places
    noticed by gcc4

:100644 100644 b5e78c9... 052cc59... M	show.c

commit 7359410352c2ff4c1facb76aaa837adc94659142
Author: chris <chris>
Date:   Thu Apr 8 17:40:55 2010 +0000

    Allow dhcpd lease file to be redefined (for instance, move from /var/db/dhcpd.leases to /flash/dhcpd.leases for persistency under flashrd)

:100644 100644 271556b... d3936fc... M	Makefile
:100644 100644 abf665b... f96bcd5... M	ctl.c

commit cab7caa4714fe8447659185775ca98237e3364ff
Author: chris <chris>
Date:   Fri Oct 9 21:49:58 2009 +0000

    support pflow sender/receiver

:100644 100644 ad23c5a... 85007e7... M	commands.c
:100644 100644 481a124... 32aacca... M	conf.c
:100644 100644 c231fe6... 411689a... M	externs.h
:100644 100644 e91c480... 746d2fb... M	if.c

commit 0588a41b7ffc86bd0146f4cf8a25461c62965511
Author: chris <chris>
Date:   Wed Jun 17 22:24:32 2009 +0000

    20090617

:100644 100644 c12b246... d41d405... M	README
:100644 100644 196e3db... 0a6baca... M	main.c

commit 59aa6f7868234e0dc18f1f14b91bb1dac99e759f
Author: chris <chris>
Date:   Fri Jun 5 03:42:43 2009 +0000

    rid of global in arp.c for great clarity

:100644 100644 53b8a74... c01098f... M	arp.c

commit 2ddc5ccb0e4db404c58569f1b729e5e9ef8529c5
Author: chris <chris>
Date:   Fri Jun 5 03:39:05 2009 +0000

    bad pointer math for rtm_hdrlen in one spot

:100644 100644 0886f21... a9bbea2... M	routesys.c

commit 2e2fce53b7893ea195eb2e42cac638d1468f9ea5
Author: chris <chris>
Date:   Tue May 26 22:11:25 2009 +0000

    Table empty message is not necessary

:100644 100644 ef2fe89... 0886f21... M	routesys.c

commit 6990ae38cdbc1a77b6cb17e855dc5a77615197e2
Author: chris <chris>
Date:   Tue May 26 22:08:06 2009 +0000

    DHCP relay agent suppot (per-interface)
    I suppose the ctl infrastructure could be "extended" to handle interface stuff if the demand for this type of usage goes up

:100644 100644 2c16dbf... ad23c5a... M	commands.c
:100644 100644 078dd34... 481a124... M	conf.c
:100644 100644 acce9d4... abf665b... M	ctl.c
:100644 100644 d02c084... c231fe6... M	externs.h
:100644 100644 c6682b5... e91c480... M	if.c

commit 9fbe947a7df199b4abb25c71414c97b379b990db
Author: chris <chris>
Date:   Fri May 22 23:51:51 2009 +0000

    add a route flags argument to ip_route() and pass RTF_UP in "show route" so that it shows active routes.  of course more work needs to be done here for situations where multiple routes exist

:100644 100644 ba89898... d02c084... M	externs.h
:100644 100644 bd33f85... 31d21f9... M	route.c
:100644 100644 e2f6b40... ef2fe89... M	routesys.c

commit b5707bf5b415fdd030774d1a8010310392b01ae4
Author: chris <chris>
Date:   Fri May 22 23:43:33 2009 +0000

    use correct cast for pointer math on hdrlen switch

:100644 100644 e9e088b... b5e78c9... M	show.c

commit 61ffcb257c47c651d67c4f93f6e2265759acf158
Author: chris <chris>
Date:   Wed Mar 25 16:09:04 2009 +0000

    IP multipath sysctl

:100644 100644 8c89c7c... 2c16dbf... M	commands.c
:100644 100644 b51c9d1... 3a25e2b... M	sysctl.c

commit b51c752bbe00d85ddb3060f0282a77d00014d285
Author: chris <chris>
Date:   Fri Mar 13 23:20:22 2009 +0000

    Change dhclient_isenabled to check and see if the current default route was
    learned by dhcp (by walking through the dhclient.leases.XXX files and
    comparing options routers to the current default route.)  This way we
    preserve the default route if it wasn't learned by dhclient.  (This may
    not behave perfectly at boot time if dhclient-script tries to set a default
    route before nsh does.)

:100644 100644 ced9c85... 078dd34... M	conf.c

commit a8c514abb5f53e99e9d0e5cdb5a906b94ce7da74
Author: chris <chris>
Date:   Fri Mar 13 16:45:12 2009 +0000

    fix default_mtu - mtu are u_long, not u_int

:100644 100644 da0f56d... ced9c85... M	conf.c
:100644 100644 4d8b3d4... ba89898... M	externs.h

commit 91959d36ad65c63b48f20260d32c7d862bde8fa0
Author: chris <chris>
Date:   Tue Mar 10 07:09:23 2009 +0000

    correct # of arguments

:100644 100644 c353cad... 8c89c7c... M	commands.c

commit bc0314cea102c5118e6b3ca7602c7948fc3039ec
Author: chris <chris>
Date:   Tue Mar 10 07:01:12 2009 +0000

    new CARP preempt and esp udpencap buttons, also see IFQ drops in show version

:100644 100644 6498641... f020470... M	TODO
:100644 100644 8be2319... c353cad... M	commands.c
:100644 100644 12fe815... 4d8b3d4... M	externs.h
:100644 100644 59ed120... b51c9d1... M	sysctl.c
:100644 100644 73d02d2... 931dd89... M	version.c

commit 6fecdcc122fccb0f102ed0254360178d1a8d9978
Author: chris <chris>
Date:   Tue Mar 3 03:08:28 2009 +0000

    Whoops.  Stuart's method was checking for the dhcp server being enabled.
    This was probably the case on his test setup (firewall?) but he really
    meant to check if dhclient was enabled.  So, check for that instead.

:100644 100644 ecb1c1d... da0f56d... M	conf.c

commit 00fe02463716c076c4f75b909fce686894bd9391
Author: chris <chris>
Date:   Mon Mar 2 23:01:13 2009 +0000

    Sync with OpenBSD - start using rtm_hdrlen from kernel route messages so we have a better chance of working if the kernel and userland are significantly out of sync (such as when the header changes)

:100644 100644 60304e9... 53b8a74... M	arp.c
:100644 100644 872b14d... ecb1c1d... M	conf.c
:100644 100644 0d9448b... e2f6b40... M	routesys.c
:100644 100644 9462271... e9e088b... M	show.c

commit 1fa344cb4beb92617444885ec6b44f264b98f537
Author: chris <chris>
Date:   Mon Mar 2 20:55:24 2009 +0000

    Bye Bill Paul

:100644 100644 afb7464... ea9e088... M	COPYRIGHT

commit 81c83f0534d78fdd8b13c7e016458d80580912c2
Author: chris <chris>
Date:   Mon Mar 2 20:54:45 2009 +0000

    Remove wavelan support (like was done 3 years ago in OpenBSD)

:100644 100644 b20c04a... 271556b... M	Makefile
:100644 100644 b98a4ca... 8be2319... M	commands.c
:100644 100644 521b461... 12fe815... M	externs.h
:100644 100644 39f59fd... c6682b5... M	if.c
:100644 000000 0e2452b... 0000000... D	wi.c

commit 0fd402ec8192db16aaef190d128910d44dc6cefe
Author: chris <chris>
Date:   Mon Mar 2 20:50:50 2009 +0000

    Remove clause 3,4 from NetBSD copyrights

:100644 100644 eef05df... afb7464... M	COPYRIGHT
:100644 100644 0e8f138... 6e458c2... M	complete.c
:100644 100644 159ffe3... 6dd88ae... M	ieee80211.c
:100644 100644 701807c... 3346920... M	media.c

commit d7842f99ebf653c71798e2f4af414485b9a274e0
Author: chris <chris>
Date:   Mon Mar 2 20:30:51 2009 +0000

    Finish sysctl commit and a few fixes to conf.c

:100644 100644 9287e9c... 872b14d... M	conf.c
:100644 100644 51cec62... 521b461... M	externs.h

commit 45c32b3dece9c25a2ea42ac96eaf5a6c3d651d67
Author: chris <chris>
Date:   Mon Mar 2 20:29:37 2009 +0000

    Move to table based sysctl configuration, much better than before.  This work was done last year but forgotten.
    
    Also replace net.inet.ip.maxqueue (which is the TCP fragment queue) with net.inet.ip.ifq.maxlen (max queued packets per interface) which is really what we wanted from the beginning.

:100644 100644 5dd0523... b98a4ca... M	commands.c
:100644 100644 0795cc7... 59ed120... M	sysctl.c

commit 405f1952abe7c8252f06ca163578b2e7c27ffe07
Author: chris <chris>
Date:   Mon Mar 2 20:27:11 2009 +0000

    add show bgp ip (becomes bgpctl show ip bgp)

:100644 100644 5b2cf9c... fd962cd... M	commands.h

commit f8bec91715970eea7fec80b695894564dc364ab7
Author: chris <chris>
Date:   Sun Mar 1 01:37:25 2009 +0000

    Introduce concept of MTU_IGNORE for interfaces which do not have a predictable MTU (this will cause the mtu settings on these interfaces to never get saved, which is perfectly acceptable for interfaces such as lo and pflog)

:100644 100644 09a4783... 9287e9c... M	conf.c

commit b7a4a3a9be57bd17807c29cfa0d3573f9e0fc420
Author: chris <chris>
Date:   Sun Mar 1 01:29:56 2009 +0000

    From Stuart Henderson <stu@spacehopper.org>
    - ignore EINVAL for SIOCG80211TXPOWER, avoids error message
      on the many interfaces that don't grok it

:100644 100644 7548cb4... 159ffe3... M	ieee80211.c

commit d27fe85b2e98aa58f3bf782d51acf60c889c017e
Author: chris <chris>
Date:   Sun Mar 1 01:29:31 2009 +0000

    From Stuart Henderson <stu@spacehopper.org>
    - only include ifprio/ifcost for interfaces with stp enabled,
      avoids an error message at startup time.

:100644 100644 3de5cb6... ad83900... M	bridge.c

commit 8493d90fa8facf80a9c5ca35b09c6b45d15d51a9
Author: chris <chris>
Date:   Sun Mar 1 01:29:05 2009 +0000

    From Stuart Henderson <stu@spacehopper.org>
    - don't save the default route if dhclient is enabled,
      avoids an error message at startup time.

:100644 100644 94986ce... 09a4783... M	conf.c

commit 89b7e4bbdeeebdc1a2c5c2167b7a584edfd8e5df
Author: chris <chris>
Date:   Wed Oct 29 17:00:31 2008 +0000

    Use debug level 2 for ftp-proxy.  Otherwise clients that reset FTP control connections will fill up the logs.

:100644 100644 f960377... acce9d4... M	ctl.c

commit 0971868a707ed6ba5512401361bc4cb580901922
Author: chris <chris>
Date:   Sat Jul 12 22:01:03 2008 +0000

    include netinet/if_ether.h for -current

:100644 100644 b5f167e... b62f660... M	trunk.c

commit e2b7919d09e5b4d1cf484098f3a3172ed3d347c7
Author: chris <chris>
Date:   Sun Apr 27 00:40:38 2008 +0000

    20080426

:100644 100644 3b53cbd... c12b246... M	README
:100644 100644 915caab... 196e3db... M	main.c

commit e219896a68cb1b4933defbf707d94dc83ed154e7
Author: chris <chris>
Date:   Sun Apr 27 00:40:02 2008 +0000

    ignore 'address' keyword when setting ip (don't print error for 'ip address x.x.x.x/y')

:100644 100644 f800083... 39f59fd... M	if.c

commit 3d5893dd7b45a45184b932c22a26a51222e9c0ad
Author: chris <chris>
Date:   Fri Apr 11 03:49:35 2008 +0000

    'show bgp neighbor' has only optional flags, not required flags

:100644 100644 85b62f7... f960377... M	ctl.c

commit faabddbc7bbdad3a4553d91ef8234f5c60e7d43d
Author: chris <chris>
Date:   Fri Mar 28 17:03:45 2008 +0000

    don't complain about missing config files in verbose mode

:100644 100644 2fc731a... 94986ce... M	conf.c

commit c8c62ec53a87addd909476fe85357f7326e1b02e
Author: chris <chris>
Date:   Fri Mar 28 16:58:56 2008 +0000

    missing from last commit msg:
    -add ssh control to ctl.c
    this commit:
    -print ! separator only when flags are printed

:100644 100644 403e8b2... 2fc731a... M	conf.c

commit de496f45061293b04f10c1afc177ccccc20e72bd
Author: chris <chris>
Date:   Fri Mar 28 16:48:39 2008 +0000

    -move call_editor handler to use just two arguments, not three
    -

:100644 100644 7df2c2e... 5dd0523... M	commands.c
:100644 100644 0f675fe... 403e8b2... M	conf.c
:100644 100644 a57d987... 85b62f7... M	ctl.c
:100644 100644 ea499c6... 51cec62... M	externs.h

commit 0c9d411fdbb8547d0fc9ddd769d08f6b60448e77
Author: chris <chris>
Date:   Fri Mar 28 16:20:38 2008 +0000

    SIOCGIFMEDIA returns ENOTTY if not supported

:100644 100644 63eea1c... 701807c... M	media.c

commit 1bfd581b158b322a172521ecf3eaba1082a542ce
Author: chris <chris>
Date:   Thu Mar 20 07:45:51 2008 +0000

    -finish committing inetd control
    -per-config-file mode that gets set on writeline or edit

:100644 100644 a17d128... 3b53cbd... M	README
:100644 100644 5851256... a57d987... M	ctl.c
:100644 100644 6180ef5... ea499c6... M	externs.h

commit 7efa0cc364363adff12413521ced32f7726a0599
Author: chris <chris>
Date:   Mon Mar 10 04:46:26 2008 +0000

    print interface description in 'show interface' output

:100644 100644 5936f08... f800083... M	if.c

commit ef01d7ef051264913f931e259a61bff88b811a7d
Author: chris <chris>
Date:   Mon Mar 10 04:46:03 2008 +0000

    -support inetd through ctl interface
    -put ! at bottom of interface conf output instead of the top, like
    all other conf output already does

:100644 100644 b320ef7... 7df2c2e... M	commands.c
:100644 100644 b685d7e... 0f675fe... M	conf.c
:100644 100644 0f5aba0... 5851256... M	ctl.c

commit aa6637d12eef03e1461275e364c4f3e90c63a178
Author: chris <chris>
Date:   Sun Mar 9 06:33:48 2008 +0000

    Enough "already"

:100644 100644 652474e... 5936f08... M	if.c

commit 156e69b7475a43eee2fdbceca7ba1c2db1ff643c
Author: chris <chris>
Date:   Sun Mar 9 05:17:57 2008 +0000

    bgp (and others?) want the rule file to be 0600

:100644 100644 1062276... 0f5aba0... M	ctl.c

commit 600c68a46bfc156ec391e53394bc2f89f9d22b28
Author: chris <chris>
Date:   Mon Feb 25 06:41:16 2008 +0000

    make 'show', 'flush' and 'ip' bring up usage if no argument supplied

:100644 100644 1e6e1f1... b320ef7... M	commands.c

commit 313c1f688b77c8753f16204b3a6485b6a196c3fe
Author: chris <chris>
Date:   Mon Feb 25 06:30:54 2008 +0000

    configure ftp-proxy

:100644 100644 3aff690... b685d7e... M	conf.c

commit 1ae5453caaf77a5856d8367b7b13486158efe27b
Author: chris <chris>
Date:   Mon Feb 25 06:18:00 2008 +0000

    not sure what i was thinking

:100644 100644 b270d87... 1062276... M	ctl.c

commit e3857e5ef5fc934a3fa67ac287b84af741c1ec6d
Author: chris <chris>
Date:   Mon Feb 25 00:27:01 2008 +0000

    -always abort if getrtdump returns NULL
    -socket not used in this conf routine anymore

:100644 100644 a52212a... 60304e9... M	arp.c
:100644 100644 e7477cc... 3aff690... M	conf.c

commit e1eb979605a033b1982ad3ad7924435c6d96e543
Author: chris <chris>
Date:   Mon Feb 25 00:25:12 2008 +0000

    from Marc Balmer <marc@msys.ch> Let nsh build with 'make obj'

:100644 100644 a43ff02... b20c04a... M	Makefile

commit 356b3312d96710698fba40c9f60b32a3fa607e2b
Author: chris <chris>
Date:   Mon Feb 25 00:23:31 2008 +0000

    from Marc Balmer <marc@msys.ch> fix potential uninitialized pointer use
    triggered by 0 sysctl estimate

:100644 100644 a0eb21f... 0d9448b... M	routesys.c

commit 63c3ad237f413aae61680ef938293e31184d2d26
Author: chris <chris>
Date:   Fri Feb 22 01:08:41 2008 +0000

    make conf_ipsysctl table driven too
    and fix a bug created in table driven ipsysctl set
    ('no ip xxx' would not set a default value)

:100644 100644 6c10b81... 0795cc7... M	sysctl.c

commit 49619fbf246ec171408122f6549b12670641b9ae
Author: chris <chris>
Date:   Wed Feb 20 16:52:07 2008 +0000

    restore SIGINT after monitor mode

:100644 100644 26acd28... 1e6e1f1... M	commands.c
:100644 100644 d838ad8... a0eb21f... M	routesys.c

commit 7906b3d3bfec891eef57f226c9a96eb27ddac98a
Author: chris <chris>
Date:   Mon Feb 18 15:46:00 2008 +0000

    add preliminary support for ftp-proxy enable (through ctl), but it can't
    handle arguments yet (ftp-proxy XXXX) because nsh has no way of storing
    arguments during runtime between sessions.  we could read the argument
    list of the command, but it might stop running and then we lose that data
    for the next nsh 'write'.  so a real infrastructure has to be developed to
    keep state between nsh sessions, between writes.  now we just create temp
    files in /var/run for the time between nsh -i and 'write' but that isn't
    enough for things like this.  there may be a decent way to do this with
    temp files, or this might be a good time to introduce a new infrastructure
    which runs in the background.
    
    this also adds dns manager support with three options - dns edit, dns local-
    control, and dns dhcp-control.  this requires that /etc/resolv.conf becomes
    a symlink to /var/run/resolv.conf.symlink.  in local-control, nsh
    symlinks /var/run/resolv.conf.symlink to /var/run/resolv.conf which it also
    gives you editor/rule control over.  in dhcp-control, nsh symlinks to
    /var/run/resolv.conf.dhcp which is what dhclient-script needs to edit
    when its in control (instead of trying to edit /etc/resolv.conf directly,
    which would interfere with local-control mode if you were still using dhclient)
    
    also while here, make conf_interfaces avoid specific interfaces during
    generic run so they can be dumped later (pfsync for instance, so pfsync
    interfaces can be setup after pf has already started)

:100644 100644 a20c602... 26acd28... M	commands.c
:100644 100644 b4c2ec6... e7477cc... M	conf.c
:100644 100644 5674240... b270d87... M	ctl.c
:100644 100644 ac30afa... 6180ef5... M	externs.h

commit 2bc0fabd77008b7bca53c9e5ad195c6f6b28dd4a
Author: chris <chris>
Date:   Sat Feb 16 22:57:20 2008 +0000

    Dump StringList based makeargv and revert back to 4.4BSD makeargv, but
    with cursor_argc/cursor_argo tracking added (for completion)
    
    The newer makeargv was painful to read, and didn't handle fgets supplied
    lines properly.  It did have the advantage of dynamically allocating
    space for new arguments through the use of sl_add.  While this was nice,
    it really isn't necessary.  Arguments are always parsed from a char line[].
    So, we just set the max arguments to sizeof(line)/2 which is impossible
    to exceed (an argument must be at least one character, and then it must
    have another charater, space or \t to delineate.)  This ties makeargv()
    to line[], which, surprise, is already the case.

:100644 100644 e92af2c... a43ff02... M	Makefile
:100644 100644 610c6a5... a20c602... M	commands.c
:100644 100644 92205f7... 0e8f138... M	complete.c
:100644 100644 ca52872... ac30afa... M	externs.h
:100644 100644 0f98127... 915caab... M	main.c
:100644 000000 b5c7c08... 0000000... D	makeargv.c

commit f3e35259b3e3e9fdaad027be223ca70ff95b279a
Author: chris <chris>
Date:   Fri Feb 15 07:25:19 2008 +0000

    Use memcpy to copy entire struct sockaddr_in, or else strange things
    happen when functions try to access anything beyond blah->s_addr

:100644 100644 9611538... b4c2ec6... M	conf.c
:100644 100644 dedf4b6... 652474e... M	if.c

commit d34924c8f6ed786d1cc3307960e2e2d32d5eb81d
Author: chris <chris>
Date:   Thu Feb 14 01:00:59 2008 +0000

    -SIGINT longjmp back to command() loop
    -Command completion framework based on ftp client's completion feature
    -Import StringList library
    -Import new StringList based makeargv() function with cursor argument
     locating trick
    
    Now we need more command completions, only handles menu and interface name
    completions at the moment.  We also need context sensitive help/usage
    to pop up for uncompleted command arguments.

:100644 100644 bfb3bee... e92af2c... M	Makefile
:100644 100644 4124601... 6498641... M	TODO
:100644 100644 b0f8ab4... 610c6a5... M	commands.c
:000000 100644 0000000... 5b2cf9c... A	commands.h
:000000 100644 0000000... 92205f7... A	complete.c
:100644 100644 7f5e4f1... 5674240... M	ctl.c
:100644 000000 aae28f5... 0000000... D	editing.c
:100644 100644 bc268cb... ca52872... M	externs.h
:100644 100644 8bb7c7f... 0f98127... M	main.c
:000000 100644 0000000... b5c7c08... A	makeargv.c
:000000 100644 0000000... b6ea809... A	stringlist.c
:000000 100644 0000000... 49b95d5... A	stringlist.h

commit e38c0c9c219ab47320e4b8f77d05d2310dd4ce7b
Author: chris <chris>
Date:   Fri Feb 8 07:02:51 2008 +0000

    20080207

:100644 100644 edec69c... a17d128... M	README
:100644 100644 ea418fc... 8bb7c7f... M	main.c

commit 7cc951cfe1ef023308e8c1ead5c07d115f9e69eb
Author: chris <chris>
Date:   Fri Feb 8 03:31:35 2008 +0000

    Preserve original formatting for rule files (dhcp, pf, etc..) instead
    of parsing it into argv and re-writing argv with single spaces in between.
    This way configs don't look like shit when they are folded into nshrc
    
    Also rename show stats to show kernel, show stats was awkward
    ('show kernel mbuf' makes more sense than 'show stats mbuf')

:100644 100644 0928ce6... b0f8ab4... M	commands.c
:100644 100644 1c49d51... 7f5e4f1... M	ctl.c
:100644 100644 3cfa1b3... bc268cb... M	externs.h

commit 51abdd2547149faf3e8df252a79cfc2de605541a
Author: chris <chris>
Date:   Thu Feb 7 22:48:47 2008 +0000

    Stop requiring action arguments (pf 'enable', etc..) in mode handlers
    to be specified on a separate, indented line under a handler 'action' header.
    It has always bugged me that the config file looked different than the
    actual way the command was used in the shell itself.
    
    THIS CHANGES CONFIGURATION SYNTAX!! (might as well do it now before the next
    release, since vlan syntax changed slightly too)
    
    Any config sections that looked like:
    
    pf action
     enable
     reload
    
    must now look like:
    
    pf enable
    pf reload

:100644 100644 c22d98a... 0928ce6... M	commands.c
:100644 100644 4273f8c... 9611538... M	conf.c
:100644 100644 4d73a8b... 1c49d51... M	ctl.c

commit 718822e53f77c85fd79471e98c1d77b10d45dfa9
Author: chris <chris>
Date:   Thu Feb 7 19:20:41 2008 +0000

    fix mode handler use (broken earlier this week)

:100644 100644 9d4c59f... 4d73a8b... M	ctl.c

commit 9065e60bca80b2f9176fc791b3cdd137718cc021
Author: chris <chris>
Date:   Thu Feb 7 19:20:03 2008 +0000

    enable line-by-line scrolling with enter key

:100644 100644 1106a88... 976b79d... M	more.c

commit b6602d4d1ad6c4ecf464cce12300771da93db81f
Author: chris <chris>
Date:   Thu Feb 7 06:56:18 2008 +0000

    use ioctl to get window size and maintain as global struct with updates
    courtesy of SIGWINCH

:100644 100644 8de2807... 3cfa1b3... M	externs.h
:100644 100644 4fab984... ea418fc... M	main.c
:100644 100644 b58497f... 1106a88... M	more.c

commit 89306c1c7a6fb88f51fef98ecf028e1f51026c53
Author: chris <chris>
Date:   Wed Feb 6 22:48:53 2008 +0000

    convert my copyrights to simpler ISC-style copyright statement

:100644 100644 cf63302... eef05df... M	COPYRIGHT
:100644 100644 f424682... e7e4d1b... M	carp.c
:100644 100644 074f1fc... c22d98a... M	commands.c
:100644 100644 ccc02b8... 4273f8c... M	conf.c
:100644 100644 61073f5... 9d4c59f... M	ctl.c
:100644 100644 ccce0e2... dedf4b6... M	if.c
:100644 100644 e5d05fe... 4fab984... M	main.c
:100644 100644 fe2b1e8... b58497f... M	more.c
:100644 100644 1f2a9ac... 3a52224... M	pfsync.c
:100644 100644 e0d096e... bd33f85... M	route.c
:100644 100644 1435662... 6c10b81... M	sysctl.c
:100644 100644 a3c58e9... 73d02d2... M	version.c

commit 4a129cb303821648c7e50f51b947736743d10941
Author: chris <chris>
Date:   Wed Feb 6 16:51:44 2008 +0000

    terminate all argument lists parsed through step_optreq() with NULL
    and not '\0'.  step_optreq() still terminates them with '\0' for execv()
    (as per the exec(3) man page) once it sees the NULL, or when it runs out of
    arguments to fill in.
    
    in step_optreq, change the meaning of the last argument to 'skip' - that
    is, how many arguments in the beginning of argv do we need to skip to get
    to the optional arguments that we will fill in OPT or REQ arguments with.
    now the number of non-OPT/REQ arguments in the compiled in argument
    can be different than the number of arguments typed in (since they have
    nothing to do with each other anyways, this flexibility makes sense)
    
    this resolves the distaste with this function that I expressed in the last
    commit message.  (step_optreq could be further improved to allow static
    arguments to be mixed into optional argument lists, but given the limited
    data available from the table, it's unclear to me how this would work in all
    cases)

:100644 100644 ed1d835... 074f1fc... M	commands.c
:100644 100644 f061ef3... 61073f5... M	ctl.c

commit 2af9e956d9134085bdc0593cf763538c6794a1dd
Author: chris <chris>
Date:   Tue Feb 5 04:39:53 2008 +0000

    make ctl.c routines more generic, and replace separate routines for
    each action with tables that contain the command names and argument lists.
    
    uses genget in cmdhandler to sort with prefix/ambiguous support.  reuses code
    from commands.c to parse the argument list from the table and fill space
    allocated from the generic handler (pr_prot1, cmdhandler). this creates
    step_optreq() which is currently dependant on the interpreted (typed or cmdrc)
    command having the first two arguments never get copied over to the executed
    argument list.  if you read the structures, then the drawbacks become
    pretty obvious.
    
    this is sort of a bug, or a cheap design trick but it fits the current usage
    perfectly, so this note is just to remind me to think about it more in the
    future as the usage of step_optreq() may become more sophisticated.

:100644 100644 54349ac... ed1d835... M	commands.c
:100644 100644 b5d7153... f061ef3... M	ctl.c
:100644 100644 9c7fe9b... 8de2807... M	externs.h

commit 26d077f4a90ab54c607351da0db98e2bf19e318d
Author: chris <chris>
Date:   Mon Feb 4 22:25:31 2008 +0000

    vhid 0 not valid

:100644 100644 00a95cf... f424682... M	carp.c

commit 4b7c1116f60b25dfb97462aa343fe3069af8cae1
Author: chris <chris>
Date:   Mon Feb 4 02:49:46 2008 +0000

    Destroy inappropriate use of CMP_ARG and rename it to MIN_ARG since is
    is really only for comparing that an argument matches a minimum of the
    characters supplied to the second position in the macro.
    
    Next move from using half-assed minimum-matching/ambiguous proof to
    being truly table driven by using genget everywhere.  This is done by
    eliminating chains of if (CMP_ARG){...; return;} and using structs
    which genget loops around to determine the shortest non-ambiguous
    prefix.  This doesn't buy command completion yet!  But, by using
    table driven command sets, it moves in the right direction.
    
    Also replace use of CMP_ARG in places that are not table-driven to
    isprefix() (it was already in genget.c) which does matching in the
    opposite order, so nsh can know that an argument is "interface"
    and match i, in, int, inte, ... but not match iff or other mis-spelled
    arguments.  (CMP_ARG was just matching against the minimum non-
    ambiguous part of the argument as compiled into nsh at any given
    time, poor form)

:100644 100644 8fd5726... 5081f04... M	MANUAL
:100644 100644 ea3d8bd... edec69c... M	README
:100644 100644 d6545e3... 4124601... M	TODO
:100644 100644 4beea82... a52212a... M	arp.c
:100644 100644 df32c7c... 3de5cb6... M	bridge.c
:100644 100644 00a9f53... 00a95cf... M	carp.c
:100644 100644 02dd02e... 54349ac... M	commands.c
:100644 100644 3b5baae... ccc02b8... M	conf.c
:100644 100644 dcbdac6... b5d7153... M	ctl.c
:100644 100644 2474c99... 9c7fe9b... M	externs.h
:100644 100644 55076bb... 7548cb4... M	ieee80211.c
:100644 100644 e5780b5... ccce0e2... M	if.c
:100644 100644 2e4224e... a88c56e... M	passwd.c
:100644 100644 b207785... 1f2a9ac... M	pfsync.c
:100644 100644 d5f58a5... 1435662... M	sysctl.c
:100644 100644 b3c7404... d8f6c83... M	who.c

commit d3b36fdb6bdbeffec7eab53cab30dbb7bddf9a23
Author: chris <chris>
Date:   Tue Jan 29 07:24:51 2008 +0000

    convert if() chain to use genget (so we get proper prefix and ambiguous
    support, also easier on the old eyes)

:100644 100644 c5e6eac... d5f58a5... M	sysctl.c

commit 2867feed800f3818a0a4e0b8205fdcc57af64bba
Author: chris <chris>
Date:   Tue Jan 29 06:17:35 2008 +0000

    use (int argc, char **argv) for all show commands, and start introducing
    show bgp commands

:100644 100644 e6d4cde... 02dd02e... M	commands.c
:100644 100644 679644e... dcbdac6... M	ctl.c
:100644 100644 cad6916... aae28f5... M	editing.c
:100644 100644 390ca26... 2474c99... M	externs.h
:100644 100644 555526a... e5780b5... M	if.c
:100644 100644 a7263f6... d838ad8... M	routesys.c
:100644 100644 0c7a74a... a3c58e9... M	version.c
:100644 100644 cdfbcbf... b3c7404... M	who.c
:100644 100644 733f420... 0e2452b... M	wi.c

commit 035fa2d86f1c5f469338bf7fcea2b3d5fbf6f866
Author: chris <chris>
Date:   Thu Jan 24 07:40:53 2008 +0000

    -add relayctl options (except show options)
    -create 'enabled' file to signal that services are enabled or disabled
    so that conf_xrules can only enable services if it is actually desired
    (this way a config can exist in nshrc for a daemon but stay turned off
    across reboots) - this is a crude and simple way to keep state between
    nsh sessions

:100644 100644 dfea4d9... 3b5baae... M	conf.c
:100644 100644 a5e83a6... 679644e... M	ctl.c

commit 73390e3c45dfa9367a5d31ca0a25ea80d153688c
Author: chris <chris>
Date:   Sun Jan 20 07:30:32 2008 +0000

    wipe out dhcp, ntp temp files on nsh -i startup

:100644 100644 e5cca0a... e5d05fe... M	main.c

commit c65e6a79ec72ac879da4253e965253391eed1fea
Author: chris <chris>
Date:   Sun Jan 20 07:21:21 2008 +0000

    why not control ntpd here too?

:100644 100644 e34ce54... d6545e3... M	TODO
:100644 100644 46963e4... e6d4cde... M	commands.c
:100644 100644 dd53c98... dfea4d9... M	conf.c
:100644 100644 e6baf7b... a5e83a6... M	ctl.c
:100644 100644 d770615... 390ca26... M	externs.h

commit 71c3e58d2c02f450ce6b7534573ad6c0e2aa798a
Author: chris <chris>
Date:   Sun Jan 20 06:08:49 2008 +0000

    add snmpd control (before snmp gets built by default in openbsd, so you
    have to install from /usr/src/usr.sbin/snmpd and /usr/src/usr.sbin/snmpctl
    manually in order to use it)

:100644 100644 863efe3... 46963e4... M	commands.c
:100644 100644 5c87b33... e6baf7b... M	ctl.c
:100644 100644 fc88eae... d770615... M	externs.h

commit c4e0836d0c685b6fc898dceac02e5e2c079b2844
Author: chris <chris>
Date:   Sun Jan 20 05:08:35 2008 +0000

    implement very basic pager support for 'show run' and 'show start',
    needs search function and more (or less)

:100644 100644 19ae074... bfb3bee... M	Makefile
:100644 100644 1d88403... 863efe3... M	commands.c
:100644 100644 5918c98... cad6916... M	editing.c
:100644 100644 b8ce15a... fc88eae... M	externs.h
:000000 100644 0000000... fe2b1e8... A	more.c

commit 5748d6a11b6d183cc89520bb1bf3df1a244c9540
Author: chris <chris>
Date:   Tue Jan 15 07:34:34 2008 +0000

    -collaspe dhclient-kill.sh into if.c 'no ip dhcp' routine
    -remote all ctl.c temp files in main.c on nsh -i routine

:100644 100644 77ace0a... dd53c98... M	conf.c
:100644 100644 1936c8e... 5c87b33... M	ctl.c
:100755 000000 4545d92... 0000000... D	dhclient-kill.sh
:100644 100644 11b6821... b8ce15a... M	externs.h
:100644 100644 0672386... 555526a... M	if.c
:100644 100644 7c47bde... e5cca0a... M	main.c

commit 085595a26251598e160b2b44e32c1f501c647078
Author: chris <chris>
Date:   Tue Jan 15 06:10:12 2008 +0000

    add DHCP daemon control and sasync daemon control to ctl.c and conf.c
    (they are a natural fit)

:100644 100644 21ecfce... 1d88403... M	commands.c
:100644 100644 c985d5f... 77ace0a... M	conf.c
:100644 100644 617eeb8... 1936c8e... M	ctl.c
:100644 100644 7d3a148... 11b6821... M	externs.h

commit 1719bac3c0f1f242fdf468f01fea5fcbdb86f0b9
Author: chris <chris>
Date:   Mon Jan 14 09:57:31 2008 +0000

    Remove unnecessary clutter

:100644 100644 4ac6430... 617eeb8... M	ctl.c

commit 8cfb4d8349bf9819d7c95567c42ca4728a13dd80
Author: chris <chris>
Date:   Mon Jan 14 09:48:11 2008 +0000

    This was the key piece of the last commit....

:000000 100644 0000000... 4ac6430... A	ctl.c

commit fe42dfcef6309cc7231b424659d8ce290eed9fe5
Author: chris <chris>
Date:   Mon Jan 14 09:05:23 2008 +0000

    Move nshrc<->pfctl interface to ctl.c and duplicate it for ospf, bgp,
    dvmrp, rip, relayd, and isakmpd/ipsecctl, also make conf_pfrules into
    generic conf_xrules with two modes - one for commands that require a
    'reload' to load ruleset (pfctl, ipsecctl) and the rest for commands
    that don't.  Actually pfctl could load rules on initialization too, but
    ipsecctl talks over a socket to isakmpd, so the old semantics are fine.
    
    This is a first cut and completely untested (Although pf should still
    work like it has unless I really fucked it up).  It's almost easy to
    collaspe all the handler routines into one, but I'll wait until later to
    see how things evolve (if at all).
    
    the 'show' and 'flush' commands still need to be implemented for everything.

:100644 100644 942ba4d... 19ae074... M	Makefile
:100644 100644 7c72c9b... e34ce54... M	TODO
:100644 100644 bac271b... 21ecfce... M	commands.c
:100644 100644 6cc59ac... c985d5f... M	conf.c
:100644 100644 6e0d6b6... 7d3a148... M	externs.h

commit e1ea1320696ee74bea22d61366fdcbc3b8000e56
Author: chris <chris>
Date:   Sun Jan 13 02:27:38 2008 +0000

    random cleanup and arp set/search support (show arp already works)

:100644 100644 3e6e70c... 942ba4d... M	Makefile
:100644 100644 bd05001... 7c72c9b... M	TODO
:000000 100644 0000000... 4beea82... A	arp.c
:100644 100644 1da9e60... df32c7c... M	bridge.c
:100644 100644 23d10c2... 00a9f53... M	carp.c
:100644 100644 7d85992... bac271b... M	commands.c
:100644 100644 2339f96... 6e0d6b6... M	externs.h
:100644 100644 441fd01... 55076bb... M	ieee80211.c
:100644 100644 862cb0d... 0672386... M	if.c
:100644 100644 1200115... a7263f6... M	routesys.c
:100644 100644 73f2916... 9462271... M	show.c

commit b1a3a0579d8dd7f0d6aaa9be0f65a5b1a5e2bf0e
Author: chris <chris>
Date:   Thu Jan 10 18:04:15 2008 +0000

    Trunk ioctls report ENOTTY, and other minor cleanup

:100644 100644 6646c4d... b5f167e... M	trunk.c

commit 2477ef31545c00ed195dc17a3ac83b663adbd830
Author: chris <chris>
Date:   Sun Jan 6 18:18:16 2008 +0000

    Move mbuf statistics into stats.c

:100644 100644 9d7c27c... 3e6e70c... M	Makefile
:100644 100644 2ae96bd... bd05001... M	TODO
:100644 000000 954262a... 0000000... D	mbuf.c
:100644 100644 63a2dcb... 48d59c7... M	stats.c

commit aada24065288f8a1900e5fd1c95cb2781c4dd6b9
Author: chris <chris>
Date:   Sun Jan 6 18:10:01 2008 +0000

    get rid of -lutil

:100644 100644 165f5bf... 9d7c27c... M	Makefile
:100644 100644 78d9622... 7d85992... M	commands.c

commit d70eb28a303a349ee36f526fb5b1ea7f50fc1c73
Author: chris <chris>
Date:   Sun Jan 6 17:20:05 2008 +0000

    Cleanup:
    -cleanup conf_route code so IPv4 and IPv6 static routes print without effort,
     using functions already available (note that we can't actually set an IPv6
     static route yet)
    -consolidate p_rttables route dump sysctl into getrtdump()
    -move chains of if(errno==blah)elseif(errno==bleh) to switch{case blah:}
    -print arp table with 'show arp'
    -fix static arp display in nsh configuration (still need arp set support)
    
    Initial cut at supporting new(er) openbsd features:
    -interface route labels
    -interface groups
    -group attribute support
    -vlan priority
    
    1. Don't bother to run this without the LATEST 4.2-CURRENT kernel or
    YOU WILL PANIC THE KERNEL
    
    2. THIS CHANGES VLAN CONFIGURATION SYNTAX:
    
    vlan <VID> <PARENT>
    becomes:
    vlan <VID> parent <PARENT>
    
    You must edit nshrc by hand if you are upgrading an existing installation that
    uses vlans!  Or run the new nsh binary and write out the config before trying
    to reboot.

:100644 100644 5f45fda... 165f5bf... M	Makefile
:100644 100644 dd50594... 78d9622... M	commands.c
:100644 100644 e045924... 6cc59ac... M	conf.c
:100644 100644 e0322ce... 2339f96... M	externs.h
:100644 100644 60fa100... 862cb0d... M	if.c
:100644 100644 d6e722e... 1200115... M	routesys.c
:100644 100644 d945cca... 73f2916... M	show.c

commit fe7810251cac3fbbe685e10cf60c25df4d840a73
Author: chris <chris>
Date:   Sat Dec 29 23:12:44 2007 +0000

    20071229

:100644 100644 3c50d37... ea3d8bd... M	README
:100644 100644 1ce26cb... 7c47bde... M	main.c

commit 4dc5bbe67955e5a0fa2cc10149d62aa1356ae6d4
Author: chris <chris>
Date:   Sat Dec 29 23:11:22 2007 +0000

    add timeslot and syncpeer commands (from ifconfig)

:100644 100644 1023416... 5f45fda... M	Makefile
:100644 100644 fb0521d... 2ae96bd... M	TODO
:100644 100644 6930838... dd50594... M	commands.c
:100644 100644 b2dd1a1... e045924... M	conf.c
:100644 100644 17d46ab... e0322ce... M	externs.h
:100644 100644 7d96fa7... b207785... M	pfsync.c
:000000 100644 0000000... 1ce7a27... A	timeslot.c

commit 1105a38e1f11ae27fa932560e787a6caa61f23e5
Author: chris <chris>
Date:   Thu Dec 27 22:19:39 2007 +0000

    Add show user/who support, basically a skeleton of usr.bin/who/who.c
    with some format changes.  Also add 'flush line' (like 'clear line' from
    ciscoworld.) which uses pkill to destroy everything related to the user's
    pty.  We still need to sanity check the flush line argument.  When we go
    to a privsep model, pkill will be called the privileged parent.

:100644 100644 a172c3e... 1023416... M	Makefile
:100644 100644 7008d9a... fb0521d... M	TODO
:100644 100644 42cdb47... 6930838... M	commands.c
:100644 100644 d6087c8... 17d46ab... M	externs.h
:000000 100644 0000000... cdfbcbf... A	who.c

commit cc71177c105c43555102917e332abaa7377a1241
Author: chris <chris>
Date:   Thu Dec 27 03:12:22 2007 +0000

    type cleanup from cc -W

:100644 100644 cce8f3c... a172c3e... M	Makefile
:100644 100644 e5317ca... 1da9e60... M	bridge.c
:100644 100644 027c2ca... 42cdb47... M	commands.c
:100644 100644 f08ac17... b2dd1a1... M	conf.c
:100644 100644 9041dcd... d6087c8... M	externs.h
:100644 100644 bc25922... 60fa100... M	if.c
:100644 100644 5ea5474... 2e4224e... M	passwd.c
:100644 100644 1249177... d6e722e... M	routesys.c
:100644 100644 a695d4d... d945cca... M	show.c

commit fa18af43a1be7fd337b5cce0833ed7b3d6624031
Author: chris <chris>
Date:   Thu Dec 27 02:26:37 2007 +0000

    compensate for uninitialized sin_addr on zero length netmask (like the
    default route from the kernel sysctl) in netname4/routename4, not at higher lvl

:100644 100644 959b022... f08ac17... M	conf.c
:100644 100644 688626a... a695d4d... M	show.c

commit 9950b282b93e470d1d9baca3efc527f31283f55f
Author: chris <chris>
Date:   Thu Dec 27 02:07:13 2007 +0000

    txpower defaults to 100, not 0 and
    more cleanup in route display

:100644 100644 f1e161a... 441fd01... M	ieee80211.c
:100644 100644 3e33e70... 1249177... M	routesys.c

commit 1c24a04e2098f12457d1767b9f16be172bf68755
Author: chris <chris>
Date:   Thu Dec 27 01:57:56 2007 +0000

    start using routename() from show.c and abandon routename_sa()
    also apply other trivial cleanup to show.c for nsh-style display

:100644 100644 a8a63e8... 027c2ca... M	commands.c
:100644 100644 ce05f73... 959b022... M	conf.c
:100644 100644 13dab76... 9041dcd... M	externs.h
:100644 100644 7940175... 3e33e70... M	routesys.c
:100644 100644 56c7729... 688626a... M	show.c

commit 8172c5a57109b518a927a8a2d7752932e9e176fa
Author: chris <chris>
Date:   Wed Dec 26 07:03:03 2007 +0000

    EINVAL changed to ENOTTY for invalid usage of ioctl

:100644 100644 a80a8ae... bc25922... M	if.c

commit cab23734966c86ded5771427f055cddfaa246d83
Author: chris <chris>
Date:   Wed Dec 26 06:59:00 2007 +0000

    handle multipath routes by always asserting RTF_MPATH when adding new
    routes via ip_route()

:100644 100644 bc79684... 7008d9a... M	TODO
:100644 100644 d50de5d... 7940175... M	routesys.c

commit 8d92a54546976816d53afe67ad3f0f6beafdc580
Author: chris <chris>
Date:   Wed Dec 26 06:10:47 2007 +0000

    Remove 'compiledon' superstition
    Now that we don't read KVM, this is totally useless information

:100644 100644 47374b0... a8a63e8... M	commands.c
:100644 100644 5b962d4... 269a6c8... M	compile.sh
:100644 100644 99b4c79... 0c7a74a... M	version.c

commit d28fcfe62006d9ed1e31f6d0117be28fac974dd1
Author: chris <chris>
Date:   Wed Dec 26 06:00:14 2007 +0000

    shell out for telnet/ssh

:100644 100644 012d5d5... bc79684... M	TODO
:100644 100644 d7ab1b1... 47374b0... M	commands.c
:100644 100644 1eda3d3... 13dab76... M	externs.h

commit f280351672d8d509962dd7cdd7474f6680e35684
Author: chris <chris>
Date:   Wed Dec 26 05:58:35 2007 +0000

    only print "interesting" flags for now

:100644 100644 fa34d80... 56c7729... M	show.c

commit 6ad1cfe3887d64f11717a198646c9c0828a14653
Author: chris <chris>
Date:   Wed Dec 26 05:42:23 2007 +0000

    Always show all octets for IPv4 addresses

:100644 100644 28df9b0... fa34d80... M	show.c

commit 59ea14a842045908441e554c1856f1af892179d8
Author: chris <chris>
Date:   Wed Dec 26 05:20:57 2007 +0000

    sysctl conversion done

:100644 100644 32b0953... 012d5d5... M	TODO

commit 4f2f5b63be3fa196486fff5091ec3d9396a53619
Author: chris <chris>
Date:   Wed Dec 26 05:19:33 2007 +0000

    new route print code from /usr/src/sbin/route/show.c
    (uses sysctl instead of kvm)
    extinguish all remaining kvm usage from NSH

:100644 100644 a2a9884... cce8f3c... M	Makefile
:100644 100644 323aeb7... d7ab1b1... M	commands.c
:100644 100644 a27a44b... ce05f73... M	conf.c
:100644 100644 7e9c3b5... 1eda3d3... M	externs.h
:100644 100644 68b708c... a80a8ae... M	if.c
:100644 000000 8adb714... 0000000... D	kread.c
:100644 100644 443fd08... 1ce26cb... M	main.c
:100644 100644 3d5734d... d50de5d... M	routesys.c
:000000 100644 0000000... 28df9b0... A	show.c
:100644 100644 6fade71... 63a2dcb... M	stats.c

commit c6e546b4fdab9ba4f22907b640d12e7cba5a3028
Author: chris <chris>
Date:   Wed Dec 26 03:55:49 2007 +0000

    Remove this piece of shit.

:100644 100644 06700d8... a2a9884... M	Makefile
:100644 100644 793184c... 7e9c3b5... M	externs.h
:100644 000000 b40880b... 0000000... D	routepr.c

commit 89348cba09568f68468c0bd51c2c7e3d7bf57a49
Author: chris <chris>
Date:   Wed Dec 26 03:48:03 2007 +0000

    Rename "802.11 network id" to "SSID" now that I heard the annoying drone in
    the Chicago airport telling people to use the "SSID of Boingo Hotspot" -- If
    the airport public is expected to understand that, then why not use it here.
    "802.11 network id" looks awkward.

:100644 100644 9b64d6e... 68b708c... M	if.c

commit 433e1f0407ca36a9923c0e291dd36941a54be064
Author: chris <chris>
Date:   Wed Dec 26 03:30:31 2007 +0000

    rcs tag

:100644 100644 8ee91ef... 954262a... M	mbuf.c

commit ef4e3de279f8289abcce1553961e5ecf9a530325
Author: chris <chris>
Date:   Wed Dec 26 03:29:39 2007 +0000

    add tabs to printf so it looks like other statistics

:100644 100644 28f5c28... 8ee91ef... M	mbuf.c

commit aea0c3d914ef770dd5d83327994c1893364f038a
Author: chris <chris>
Date:   Wed Dec 26 03:26:49 2007 +0000

    kill #ifdef IPX

:100644 100644 60ed081... b40880b... M	routepr.c

commit 60c69d0484834d7fc1e461f18ab80ba42da47e53
Author: chris <chris>
Date:   Tue Dec 25 22:46:14 2007 +0000

    bring mbuf.c up to date with netstat/mbuf.c
    (dump kread in favor of sysctl)

:100644 100644 ec7b7be... 323aeb7... M	commands.c
:100644 100644 29f1d9a... 793184c... M	externs.h
:100644 100644 555d010... 28f5c28... M	mbuf.c

commit 54df7571e855eb99a0aae8e376fc6aca19c4dc26
Author: chris <chris>
Date:   Tue Dec 25 22:32:24 2007 +0000

    bring stats.c up-to-date with netstat/inet.c
    eliminate kread in favor of sysctl, add carp_stats and pfsync_stats,
    add new stats to tcp_stats and udp_stats

:100644 100644 e6bdf96... ec7b7be... M	commands.c
:100644 100644 4ab9b5a... 29f1d9a... M	externs.h
:100644 100644 e5bb4ce... 6fade71... M	stats.c

commit 628fefd2817655010f16193e5e066d873972e5fc
Author: chris <chris>
Date:   Tue Dec 25 06:42:55 2007 +0000

    fix txpower display, also there is a potential kernel bug that needs to
    be tracked down (at least with my ral card.)  IEEE80211_TXPOWER_MODE_FIXED
    is always read from the ioctl, even after assert IEEE80211_TXPOWER_MODE_AUTO.
    will look at when i am awake.  txpower of 0 means 'off' in this implementation,
    but in reality, a txpower of 0 could be valid, in fact, some cards even allow
    settings of -4dBm or lower! it's not practical for most users, but the setting
    should be possible.

:100644 100644 32ebb7d... f1e161a... M	ieee80211.c

commit 830ecf16ef05292cc3499a789db779ea5b2467ea
Author: chris <chris>
Date:   Tue Dec 25 06:37:12 2007 +0000

    NULL and 0 are not necessarily the same thing

:100644 100644 a19ef39... a27a44b... M	conf.c

commit 44062b4d2f78d8f5460320c2ce04684ec70c74de
Author: chris <chris>
Date:   Mon Dec 17 09:20:53 2007 +0000

    fix arp set/show

:100644 100644 d5d94ba... 32b0953... M	TODO

commit c5145a98eddcf68de4feec2cb40d5cca4b71508d
Author: chris <chris>
Date:   Mon Dec 17 08:58:01 2007 +0000

    Stop nagging users about non-existant run time password cache.  Who
    gives a shit?

:100644 100644 254c44c... a19ef39... M	conf.c

commit 87aa548597ff52936e7bde1c4d358b435203eba9
Author: chris <chris>
Date:   Mon Dec 17 08:57:30 2007 +0000

    User friendly msg for subnet exists

:100644 100644 bba8d15... 3d5734d... M	routesys.c

commit fac4be9ba9c5bb2c255918010302c677fdc25894
Author: chris <chris>
Date:   Mon Dec 17 08:46:16 2007 +0000

    how did quotes ever get around this macro?

:100644 100644 2ae9cf2... e6bdf96... M	commands.c

commit ccd02f09555b752ac84558d54182b6b5813046ef
Author: chris <chris>
Date:   Mon Dec 17 08:39:04 2007 +0000

    multipath routes

:100644 100644 7e95693... d5d94ba... M	TODO

commit 26654b5aa01ab84941fa4977ae3494dbed62e42b
Author: chris <chris>
Date:   Mon Dec 17 06:57:02 2007 +0000

    Time for a new snapshot so people can use nsh with current
    (Unfortunately I haven't spent the time to setup anoncvs)

:100644 100644 6b092ad... 3c50d37... M	README
:100644 100644 8b15112... 443fd08... M	main.c

commit 6cf629d7dbca9caaf1b0fcedc0ea56670bf28913
Author: chris <chris>
Date:   Mon Dec 17 06:54:33 2007 +0000

    interface description support
    also update default MTU table in conf.c

:100644 100644 4f4e749... 2ae9cf2... M	commands.c
:100644 100644 ac8af0a... 254c44c... M	conf.c
:100644 100644 b4e1a25... 4ab9b5a... M	externs.h
:100644 100644 e4e1915... 9b64d6e... M	if.c

commit 153ce3ab1cd8f07eaea3824e293eef431f4fa9be
Author: chris <chris>
Date:   Mon Dec 17 06:15:13 2007 +0000

    More things got done, more things need to be done

:100644 100644 77a15f2... 7e95693... M	TODO

commit bb92c2dc746d9e60049659db1384f17a5dba17f4
Author: chris <chris>
Date:   Sun Dec 16 10:42:14 2007 +0000

    carpnode set support
    also has fairly intuitive carpnode delete support-a bit more flexible than
    ifconfig (which requries you to specify the full carpnode table on config)
    also, keep in mind this is not really useful in the kernel yet

:100644 100644 c8e297d... 23d10c2... M	carp.c
:100644 100644 ed0e590... 4f4e749... M	commands.c
:100644 100644 ee5b505... b4e1a25... M	externs.h

commit 197894253d756469f7350f047a2c72231ac74518
Author: chris <chris>
Date:   Sat Dec 15 22:51:26 2007 +0000

    track multiple vhid carp changes in OpenBSD-current
    still needs more work- missing a carpnode set command and other parts of
    carp.c still need to be aware of multiple vhids

:100644 100644 0cab7b6... c8e297d... M	carp.c

commit 457c0991b931a82b92b591fe77db22ce99e5cf7c
Author: chris <chris>
Date:   Sat Dec 15 22:39:23 2007 +0000

    update for 64 bit counters in OpenBSD-current (and some other type changes)

:100644 100644 9e4660f... ac8af0a... M	conf.c
:100644 100644 2a901aa... e4e1915... M	if.c
:100644 100644 d3322df... 60ed081... M	routepr.c
:100644 100644 998f8d4... bba8d15... M	routesys.c

commit 7b6b66a05017ff7f479bdde846898d03b17b485d
Author: chris <chris>
Date:   Fri Sep 14 16:54:53 2007 +0000

    how did that ever work?

:100644 100644 a73a6a9... 8b15112... M	main.c

commit 3fbf561ed3b0c2ba02829c3c0a22e49c9f7c893e
Author: chris <chris>
Date:   Fri Jan 19 10:29:37 2007 +0000

    Make powersave not display ms if its default (currently 100ms) under
    get_nwinfo scheme

:100644 100644 593a97f... 32ebb7d... M	ieee80211.c

commit d0b48790e60c3b4790b7551bed6c524ca81196f2
Author: chris <chris>
Date:   Fri Jan 19 09:45:56 2007 +0000

    add bssid function w/conf output, collapse get_nwpowersave into get_nwinfo,
    needs testing

:100644 100644 9dd62fb... 77a15f2... M	TODO
:100644 100644 21bd447... ed0e590... M	commands.c
:100644 100644 0ed3110... 9e4660f... M	conf.c
:100644 100644 41111ba... ee5b505... M	externs.h
:100644 100644 7b8f9fb... 593a97f... M	ieee80211.c
:100644 100644 e7946b7... 2a901aa... M	if.c

commit 4e6e746818c217ddd9091fd1133e65f60ca84312
Author: chris <chris>
Date:   Fri Jan 19 00:22:52 2007 +0000

    Manuel Pata did some of the TODO, so remove it!

:100644 100644 56dc463... 9dd62fb... M	TODO

commit 45fac571d283d731f61cc737c626e5cb8e59ce9b
Author: chris <chris>
Date:   Fri Jan 19 00:14:04 2007 +0000

    carpdev output in conf_ routine

:100644 100644 09afcfa... 0cab7b6... M	carp.c

commit 49ab7cad957f28f7aaf13d0a10b4e2377ac5f207
Author: chris <chris>
Date:   Wed Jan 17 09:57:18 2007 +0000

    Move snapshot date to 2007-01-17
    
    This project has been lagging for a bit of of 2005 and all of 2006
    
    Users need various fixes to run with any recent version of OpenBSD, and
    unfortunately no release was made in 2006 to address these issues at all.
    
    Here it is.  More additions are needed to bring up to date with current
    OpenBSD functionality, and hopefully I can get to that in the next month.
    This better than what was previous released as a snapshot.   Also I'd like
    to open anoncvs so people don't have to wait for snapshots, and maybe it
    will encourage others to help and pitch in with development more.  I could
    really use ideas and help to bring this program further along.  I have not used
    nsh in a professional capacity in the past two years, at least not to as
    much of a degree as I used to.  This could change at any time, but lately
    i'm just too busy on other things.
    
    I still would like to continue with nsh but, obviously, without some
    outside help, further enhancements will be rather slow.  Also, I get
    a lot of requests from people who do not have very much sophistication
    with the C compiler and the OpenBSD environment.  I would encourage people
    in this situation to think about what they want to accomplish and try
    anyways, because this is a very easy project to work on, and you might
    enjoy it...  If you are happy with C and OpenBSD, then there are plenty
    of things in here that need to be cleaned up.  The CLI parser can be
    largely rewritten, ipsecctl, bgp, etc can all be added, either as
    functionality where the ctl executable is called, or with direct kernel
    calls.  In most cases, calling the external executable is going to be
    preferrable.  If you are interested then talk to me and I can direct you..

:100644 100644 e9223aa... 6b092ad... M	README
:100644 100644 e79afdb... a73a6a9... M	main.c

commit e52f20711a0a2f81abbff2db4dae75df5c7585cb
Author: chris <chris>
Date:   Wed Jan 17 09:38:09 2007 +0000

    rename trunkdevice to trunkport, there's no reason to deviate from the
    openbsd standard name.  while there, also give trunkport the ability to
    generate multiple interface names on one config line (in conf output) and
    the ability to read multiple interface names from a trunkport config line.
    still need to fix: why does trunkproto give bogus output, fix return values
    to not dump you out of config mode when a trunk command fails, and make
    show_trunk() hook into show interface properly

:100644 100644 add2770... e9223aa... M	README
:100644 100644 d755048... 21bd447... M	commands.c
:100644 100644 9512637... 6646c4d... M	trunk.c

commit 161e1a96d39967b68c79c1f4a8e4e0745227ef25
Author: chris <chris>
Date:   Wed Jan 17 08:54:59 2007 +0000

    Smoke and mirrors to make 'lladdr' work like any other command, that is,
    make it reversible with 'no lladdr' back to system default lladdr.  While in
    there, add a conf_interface() routine to decide if we need to display lladdr
    in runtime config for an interface, or not.  We only display lladdr for an
    interface if it has a /var/run/lladdr.<ifname> file and also only if the
    contents are different than the current set lladdr.  The quality of my
    additional code here is in question.. I'm not sure if this is brilliant, or
    completely retarded.  Well, let's just say, I'm pretty sure it's not
    brilliant...

:100644 100644 e814731... 0ed3110... M	conf.c
:100644 100644 54112cd... 41111ba... M	externs.h
:100644 100644 ea9cdaa... e7946b7... M	if.c

commit a915c954840023259e91c3983a247b772fab2382
Author: chris <chris>
Date:   Wed Jan 17 06:45:03 2007 +0000

    Rename mac to lladdr since it could (theoretically) be used on types of
    media that where the "link level" address has a name other than MAC and
    (practically) because there's no real reason to deviate from the standard
    that obsd users would already know.  I prefer exsting names from openbsd,
    cisco or juniper on new commands, whatever fits the shorthand command notation
    best.  OK, maybe this is subjective...

:100644 100644 8a16d95... d755048... M	commands.c

commit 6e27b501532e9fc81ddd12a851f402a38fa730a1
Author: pata <pata>
Date:   Thu Nov 16 07:35:08 2006 +0000

    o add function inttxpower (wifi interfaces)

:100644 100644 6a5fd6f... 8a16d95... M	commands.c
:100644 100644 095e025... 54112cd... M	externs.h
:100644 100644 c5abd1c... 7b8f9fb... M	ieee80211.c

commit eb3762a15b7ee1bab9ba2c737d3896addaae0904
Author: pata <pata>
Date:   Tue Nov 14 18:04:07 2006 +0000

    o adding trunk support (functions: inttrunkport, inttrunkproto, conf_trunk, show_trunk)

:100644 100644 0d4beaa... 06700d8... M	Makefile
:100644 100644 a08467d... 6a5fd6f... M	commands.c
:100644 100644 66bea38... e814731... M	conf.c
:100644 100644 e9144cc... 095e025... M	externs.h
:000000 100644 0000000... 9512637... A	trunk.c

commit a5d31f22dff7a52128c5cbcf6591660fb1eabba8
Author: pata <pata>
Date:   Mon Nov 13 12:41:46 2006 +0000

    o add carpdev support (function intcdev)

:100644 100644 cdc9db6... 09afcfa... M	carp.c
:100644 100644 bfc12f2... a08467d... M	commands.c
:100644 100644 8e5e138... e9144cc... M	externs.h

commit 3221746decc8c469eb46b4c12c22866c5a5620ab
Author: pata <pata>
Date:   Mon Nov 13 11:41:00 2006 +0000

    o add function intlladdr (change mac address)

:100644 100644 d29fe04... bfc12f2... M	commands.c
:100644 100644 b526c33... 8e5e138... M	externs.h
:100644 100644 079a3de... ea9cdaa... M	if.c

commit 78a3abbd3f00b4580323ddb22afcbe61c0adbfb8
Author: pata <pata>
Date:   Wed Apr 19 10:37:26 2006 +0000

    style(9)

:100644 100644 41dcc6b... d29fe04... M	commands.c

commit c54ed2df30a77f595df982b1914d620a7673fe87
Author: pata <pata>
Date:   Tue Apr 11 20:17:30 2006 +0000

    ASSUME_NETMASK is only used here

:100644 100644 24366e0... e0d096e... M	route.c

commit 4656d4023aa9976f53c2f0d6ded01904524ac4d4
Author: pata <pata>
Date:   Tue Apr 11 20:02:56 2006 +0000

    PFSYNC_MAXUPDATES is only used here.

:100644 100644 6778651... 7d96fa7... M	pfsync.c

commit 4ad174a0282eff8dbd87e63f610417cde3eaf61a
Author: pata <pata>
Date:   Tue Apr 11 19:58:19 2006 +0000

    style(9)

:100644 100644 6dfeb55... 555d010... M	mbuf.c

commit de4ab15dc9a640a43ac973ef7ff215023d9e14ce
Author: pata <pata>
Date:   Tue Apr 11 19:55:54 2006 +0000

    Functions settunnel and deletetunnel are only used here

:100644 100644 6d4e9b3... ab61079... M	tunnel.c

commit 728240154d02ee7340a2015dc73307288ef044eb
Author: pata <pata>
Date:   Tue Apr 11 19:53:29 2006 +0000

    function isprefix is only used here

:100644 100644 72afdac... 7b14362... M	genget.c

commit c4a39e8fe7d37d411a33731df3826dac96e5370a
Author: pata <pata>
Date:   Tue Apr 11 19:50:55 2006 +0000

    style(9)

:100644 100644 28dfe54... 8adb714... M	kread.c

commit 11db2f2cf0f2c5e51d32969e78dc1931f5b12781
Author: pata <pata>
Date:   Tue Apr 11 12:29:01 2006 +0000

    bridge.c cleanup and moved the clr_ifflag function declaration from externs.h
    At the moment the function clr_ifflag isn't used anywhere.

:100644 100644 7e2fbd0... e5317ca... M	bridge.c

commit 379caf1d5f67e66c2026849e831f2c0e55257cb6
Author: pata <pata>
Date:   Tue Apr 11 11:08:50 2006 +0000

    cleanup according to style(9)
    message about non-root usefulness

:100644 100644 7e92852... e79afdb... M	main.c

commit 7dd0201948a90b628a93f1c39ce8654b1c678bbb
Author: chris <chris>
Date:   Sat Apr 8 20:10:17 2006 +0000

    use size_t where appropriate

:100644 100644 dfa69f5... c5e6eac... M	sysctl.c

commit fa44c0bfd5b667cec7ea9d5ee36a56c0ad9ff273
Author: chris <chris>
Date:   Sat Apr 8 19:58:17 2006 +0000

    errno.h cleanup
    from Manuel Pata <pata@alface.de>

:100644 100644 373abb9... 7e2fbd0... M	bridge.c
:100644 100644 4a3b4dd... cdc9db6... M	carp.c
:100644 100644 7c58012... 41dcc6b... M	commands.c
:100644 100644 66dfdfa... 66bea38... M	conf.c
:100644 100644 3429e39... 079a3de... M	if.c
:100644 100644 e42e852... 6778651... M	pfsync.c
:100644 100644 98c7420... 24366e0... M	route.c
:100644 100644 4b22d39... 6d4e9b3... M	tunnel.c
:100644 100644 83c2e4f... 99b4c79... M	version.c

commit 6889bcd85f4f87d00e3bdbf8f8bf5e548c2dcd8f
Author: chris <chris>
Date:   Mon Oct 24 04:23:49 2005 +0000

    From David A de Gruyl <david@bhaermandegruyl.org>
    
    Call ping and traceroute

:100644 100644 80ffa32... 7c58012... M	commands.c
:100644 100644 2056e90... b526c33... M	externs.h

commit 030696c95d951b8a415ce25dc359d9d110da578e
Author: chris <chris>
Date:   Thu Sep 1 04:31:36 2005 +0000

    Make the most common error (this device doesn't support media commands)
    more human-readable

:100644 100644 1c0a11a... 63eea1c... M	media.c

commit adf15e157dac179ae133faab884b4bc6fcdb0726
Author: chris <chris>
Date:   Thu Sep 1 02:45:12 2005 +0000

    Move interface config and pf rule config generator into their own functions

:100644 100644 30a6cb7... 66dfdfa... M	conf.c

commit f11f5c81e5da7436ec2fc68c657e66ad6eb8cae7
Author: chris <chris>
Date:   Tue Aug 30 03:14:05 2005 +0000

    dhclient attribution

:100644 100644 758867b... add2770... M	README

commit c190bc809675571a4aee4ec3dcce7287b276ee14
Author: chris <chris>
Date:   Tue Aug 30 03:06:19 2005 +0000

    up version to 20050829

:100644 100644 4a10eea... 758867b... M	README
:100644 100644 858be11... 7e92852... M	main.c

commit 2a2135ef7efae6171aa1ea9d20daf4a482868ae7
Author: chris <chris>
Date:   Tue Aug 30 02:59:36 2005 +0000

    move bridge and misc interface metrics displays out of conf() and
    into their own routines

:100644 100644 1974235... 30a6cb7... M	conf.c

commit be5bd735627287919017d9925f9a123773600ab9
Author: chris <chris>
Date:   Tue Aug 30 01:57:54 2005 +0000

    Notes on the current DHCP client implementation

:100644 100644 df39348... 8fd5726... M	MANUAL

commit 26233efaa70a98e1c6ca158732e223c9cad92430
Author: chris <chris>
Date:   Tue Aug 30 01:43:54 2005 +0000

    dhcp client mode
    
    mostly from Mats Mellstrand <mats@exmandato.se>

:100644 100644 c0e157b... df39348... M	MANUAL
:100644 100644 e720e36... 80ffa32... M	commands.c
:000000 100755 0000000... 4545d92... A	dhclient-kill.sh
:100644 100644 15dd668... 2056e90... M	externs.h
:100644 100644 7cf2c3d... 3429e39... M	if.c

commit 0cf8ae7dfd2c2c0397a84d7e86d7eb18e10000d2
Author: chris <chris>
Date:   Tue Aug 30 01:24:22 2005 +0000

    * change default gre mtu
    
    * move ifaddr print loop to its own function
    
    * display 'ip dhcp' if dhclient has created /var/db/dhclient.blah instead of
      'ip 1.2.3.4/5', from Mats Mellstrand <mats@exmandato.se>
    
    Note that dhclient typically keeps these files around forever.  On a soekris
    this is irrelevant since /var is recreated each boot, but on a typical
    distribution this means that nsh will always use dhcp until you do
    'no ip dhcp'.  I consider this to be largely irrelevant, but also slightly
    notable.
    
    * other random small cleanup

:100644 100644 781db93... 1974235... M	conf.c

commit 041078753101f930ef191c70bdee15d35694dc1a
Author: chris <chris>
Date:   Tue Aug 30 00:07:41 2005 +0000

    Exit prototype moved ?  include stdlib.h now...
    
    Also, set priv = 1 during cmdrc() mode because passwd.c expects priv = 1
    when 'enable secret' is set... As the CLI is reworked, this will disappear.

:100644 100644 91c87e7... 858be11... M	main.c

commit 61fafd5ad39cdab27ba8fceb6f0c0810ecdbb3f0
Author: chris <chris>
Date:   Tue Jun 28 19:42:32 2005 +0000

    20050628

:100644 100644 ad1ce7b... 4a10eea... M	README
:100644 100644 e8f291f... 91c87e7... M	main.c

commit f8caf8794b1ceffdeff7012c80d57a65db0be5a3
Author: chris <chris>
Date:   Sun Jun 12 07:47:58 2005 +0000

    Simplify life with strtonum() and other little cleanups

:100644 100644 d9cf1be... 373abb9... M	bridge.c
:100644 100644 33efd4f... 884ecc4... M	bridge.h
:100644 100644 0368d84... 4a3b4dd... M	carp.c
:100644 100644 895d76a... 7cf2c3d... M	if.c
:100644 100644 9a23e30... 1c0a11a... M	media.c
:100644 100644 1d6ac0a... e42e852... M	pfsync.c
:100644 100644 a1648e7... 998f8d4... M	routesys.c
:100644 100644 bae2363... dfa69f5... M	sysctl.c

commit f345d85eb814bece925f3cb65ca3465969c70703
Author: chris <chris>
Date:   Sun Jun 12 07:20:41 2005 +0000

    Stepping into a minefield tends to hurt

:100644 100644 d38da79... e720e36... M	commands.c

commit 47cbf5f2c0e570c0f8c7103c60ed554ac30e4f64
Author: chris <chris>
Date:   Tue May 31 08:50:40 2005 +0000

    Completely fix overloaded use of interface() function
    Before, we basically lost any 'no ....' command that was loaded from
    an init file into the abyss, which really broke bridging (and anything
    else where you setup commands like 'int blah' ' no shutdown' to get an
    interface state up and ready for the show).  This is really embarrasing (The
    entire interface() function, that is)...

:100644 100644 dc8fe6f... d38da79... M	commands.c

commit 03c6622b2414d8d40a56213dab3b19426afb7a27
Author: chris <chris>
Date:   Tue May 31 07:57:29 2005 +0000

    more todo

:100644 100644 8f670a2... 56dc463... M	TODO

commit e55d9773d77bc21978d1418451b173eeef672ceb
Author: chris <chris>
Date:   Tue May 31 07:56:44 2005 +0000

    Fix a bug that I created with interface create/destroy functionality.

:100644 100644 0d11079... dc8fe6f... M	commands.c

commit bc0510b2cdc4853647b6af7f86f83a7ff1c748ea
Author: chris <chris>
Date:   Tue May 31 02:48:15 2005 +0000

    so i don't forget

:100644 100644 fb345dd... 8f670a2... M	TODO

commit 426c33f8d26aa479e2f264a7f3d1f94a5ca46d80
Author: chris <chris>
Date:   Mon May 30 23:26:06 2005 +0000

    'syncif' became 'syncdev' in openbsd 3.7

:100644 100644 18956be... c0e157b... M	MANUAL
:100644 100644 16334dd... 0d11079... M	commands.c
:100644 100644 a1e5f3a... 15dd668... M	externs.h
:100644 100644 fe4f428... 1d6ac0a... M	pfsync.c

commit 9797a7641c4328f5cc402eb9ec12d827ef1c81cf
Author: chris <chris>
Date:   Thu Feb 10 05:54:13 2005 +0000

    Ummmm...yeah....

:100644 100644 aebae63... 5b962d4... M	compile.sh
:100644 100644 7384b39... 83c2e4f... M	version.c

commit 6af072a43ddc647ebb605b71fce75a53614c24f4
Author: chris <chris>
Date:   Thu Feb 10 05:41:35 2005 +0000

    Silly shell hack to account for gcc 3's lack of multi-line constant support.

:100644 100644 99a85af... aebae63... M	compile.sh
:100644 100644 380c575... 7384b39... M	version.c

commit 7418e78c403899411c13a7dbdda33da2b40b1b61
Author: chris <chris>
Date:   Fri Dec 31 19:09:13 2004 +0000

    Compile under current (skip 3.6)
    No new feature support yet

:100644 100644 2641e70... 0d4beaa... M	Makefile
:100644 100644 37564cc... a1e5f3a... M	externs.h
:100644 100644 d513234... c5abd1c... M	ieee80211.c
:100644 100644 b1afd8f... 895d76a... M	if.c
:100644 000000 e749bcc... 0000000... D	rate.c
:100644 100644 769d21e... 733f420... M	wi.c

commit b3fe351f31a6d9eaa7309bcc81bf8eb034c5678c
Author: chris <chris>
Date:   Wed Mar 24 09:07:15 2004 +0000

    Interim release 20040324

:100644 100644 48127c3... ad1ce7b... M	README
:100644 100644 53b22b9... e8f291f... M	main.c

commit 5f513f9ea0d0a0e680ed194eba59aaaa3e7392a9
Author: chris <chris>
Date:   Wed Mar 24 09:01:45 2004 +0000

    Bring bridge.c up to date with (almost) current brconfig

:100644 100644 39e7caa... d9cf1be... M	bridge.c
:100644 100644 3444bc2... 33efd4f... M	bridge.h
:100644 100644 5b92986... 16334dd... M	commands.c
:100644 100644 70a118c... 781db93... M	conf.c

commit 3074f4172e5c71352d667d34e0942738b663357d
Author: chris <chris>
Date:   Wed Mar 24 07:11:00 2004 +0000

    add IFT_PFSYNC

:100644 100644 609fe58... b1afd8f... M	if.c

commit 703de128b96140c080c522ec18c6a337f6730250
Author: chris <chris>
Date:   Tue Mar 23 08:36:33 2004 +0000

    Unnecessary force of IFF_RUNNING

:100644 100644 5636a62... 0368d84... M	carp.c

commit 8ab14cf5295b1f962034a300bc39a580e8512b70
Author: chris <chris>
Date:   Mon Mar 22 11:33:29 2004 +0000

    Implement CARP controls

:100644 100644 78d90e6... 18956be... M	MANUAL
:100644 100644 fe608e8... 2641e70... M	Makefile
:100644 100644 5eec7d7... fb345dd... M	TODO
:000000 100644 0000000... 5636a62... A	carp.c
:100644 100644 5974ee6... 5b92986... M	commands.c
:100644 100644 069f85c... 70a118c... M	conf.c
:100644 100644 ea23322... 37564cc... M	externs.h
:100644 100644 7660176... 609fe58... M	if.c

commit d490d3a58799a04aedbb90ec2755f32c3e6b6945
Author: chris <chris>
Date:   Mon Mar 22 11:17:09 2004 +0000

    make 'syncif' set IFF_UP flag when syncif also set

:100644 100644 4284535... fe4f428... M	pfsync.c

commit 14ad09b2fa5634a093e52c0b856f150eabc853c8
Author: chris <chris>
Date:   Mon Mar 22 10:41:09 2004 +0000

    pedantic use of strtoul which allows for proper detection of large
    (out of range) values and also the special 'base 0' feature which allows
    for base 8, 10 or base 16 conversions if the value starts with appropriate
    characters, see strtoul(3)..oh, yes, all uses of atoi or strtoul in nsh
    should be converted to look like this

:100644 100644 f90bb23... 4284535... M	pfsync.c

commit 23b956ad0acda5276a5c0d24b50bbf1603d99d8b
Author: chris <chris>
Date:   Mon Mar 22 09:35:09 2004 +0000

    Add manual updates for pfsync commands.
    
    While I'm here, I should also note that, in the last pfsync commit,
    I also changed the behavior of 'show run' and 'show start' so that they
    only display the configuration when you are in the privileged (enabled)
    state.  The reason for this is simple- now that 'enable' actually does
    something useful, we also have a crypted password hash to hide.

:100644 100644 a3633be... 78d90e6... M	MANUAL

commit 57df6e354b78e40ff635cbcce0e002deea6f7393
Author: chris <chris>
Date:   Mon Mar 22 09:25:57 2004 +0000

    Add support for configuring pfsync interfaces

:100644 100644 62286e6... fe608e8... M	Makefile
:100644 100644 2e75a6d... 5974ee6... M	commands.c
:100644 100644 1a37a07... 069f85c... M	conf.c
:100644 100644 75d548f... ea23322... M	externs.h
:000000 100644 0000000... f90bb23... A	pfsync.c

commit 3d753be739491b92bb645a97b53714d8ba21410d
Author: chris <chris>
Date:   Mon Mar 22 06:28:19 2004 +0000

    put enable below hostname in conf() output and a few other minor cleanups

:100644 100644 b8d0a39... a3633be... M	MANUAL
:100644 100644 f7df836... 1a37a07... M	conf.c
:100644 100644 9b43fde... 5ea5474... M	passwd.c

commit 371cfdf73bbbdaacd590b1459b069071343a5638
Author: chris <chris>
Date:   Mon Mar 22 03:56:29 2004 +0000

    Move enable() into passwd.c, where cyc's new code makes more sense
    (Anyways, commands.c is already bloated enough)
    
    Unfortunately, this makes int priv a global..I tried to move priv,
    bridge, editing, and verbose into a struct that gets passed around
    appropriately, but I found that is just going to be damn hard with the current
    (mis)design (including libedit's need for a prompt function, a function which
    also needs to know about priv and bridge...) So, a little more thought
    is necessary, but this is a nice extra cleanup for the moment.

:100644 100644 f85377e... 2e75a6d... M	commands.c
:100644 100644 ce889f1... 75d548f... M	externs.h
:100644 100644 78c09af... 53b22b9... M	main.c
:100644 100644 a146386... 9b43fde... M	passwd.c

commit 848867d80615bd11ac25753bed71467a9da6f16e
Author: chris <chris>
Date:   Fri Mar 19 08:07:19 2004 +0000

    Although there's no actual bug in read_pass(), simply logic in the same way

:100644 100644 96e98a3... a146386... M	passwd.c

commit 852ad3a9b285bdd0f4b1239da89f6a9065fdcabb
Author: chris <chris>
Date:   Fri Mar 19 08:03:50 2004 +0000

    Simplify logic in write_pass() so that we do not try and fclose() when
    a file handle was not obtained.  Also, make fopen write-only because reading
    is unnecessary.

:100644 100644 1d8aa32... 96e98a3... M	passwd.c

commit 292fad26c5018310e12cb77c513865f9aa8cce39
Author: cyc <cyc>
Date:   Wed Mar 17 08:09:13 2004 +0000

    added enable secret.
    writes password to /var/run/nshpasswd, like pf.conf and others.
    lot of help and ok from chris@

:100644 100644 cef4ce5... b8d0a39... M	MANUAL
:100644 100644 0fddc07... 62286e6... M	Makefile
:100644 100644 1e5ef75... f85377e... M	commands.c
:100644 100644 b79fd31... f7df836... M	conf.c
:100644 100644 2723265... ce889f1... M	externs.h
:000000 100644 0000000... 1d8aa32... A	passwd.c

commit acc9140ed16908b768456a8a356d0aba107da364
Author: cyc <cyc>
Date:   Sun Mar 7 16:31:57 2004 +0000

    add command "show startup-config", pulled from jose/OpenSoekris
    added documentation
    ok chris@

:100644 100644 6319c73... cef4ce5... M	MANUAL
:100644 100644 a3d8bec... 0fddc07... M	Makefile
:100644 100644 07646f0... 1e5ef75... M	commands.c

commit 2d270211052a3b5a456134f2cc0b2e59b8fa0a67
Author: chris <chris>
Date:   Wed Mar 3 09:19:40 2004 +0000

    Add interface creation and removal features.  'interface vlan0' creates,
    'no interface vlan0' destroys.

:100644 100644 254602b... 6319c73... M	MANUAL
:100644 100644 f133bff... 07646f0... M	commands.c

commit b3ae74f1fc81b76ebfcbc47966795d069492e62a
Author: chris <chris>
Date:   Wed Mar 3 08:46:44 2004 +0000

    libedit API changed after OpenBSD 3.4, accomodate that...

:100644 100644 17aac81... f133bff... M	commands.c
:100644 100644 9c8bb08... 5918c98... M	editing.c
:100644 100644 8ad9534... 2723265... M	externs.h
:100644 100644 e32a486... 78c09af... M	main.c

commit 740af4aca4994acf6682cf782b655eb73d3a8de6
Author: chris <chris>
Date:   Wed Mar 3 08:45:27 2004 +0000

    add ipcomp stat

:100644 100644 d37b72d... e5bb4ce... M	stats.c

commit bec6905f837f6d2eb9bc5ca3c7cfaca9a9897bb3
Author: chris <chris>
Date:   Thu Sep 18 20:31:38 2003 +0000

    Remove clause 3 from UCB copyrights, a clause which UC Berkeley rescinded in
    7/22/1999, also remove clause 3 and 4 from Jason's copyright, which he removed
    6/2/2003

:100644 100644 08f43d9... cf63302... M	COPYRIGHT
:100644 100644 c258a0f... 39e7caa... M	bridge.c
:100644 100644 bba85b7... 17aac81... M	commands.c
:100644 100644 2dc751a... 72afdac... M	genget.c
:100644 100644 c01aad4... d513234... M	ieee80211.c
:100644 100644 f86391c... 28dfe54... M	kread.c
:100644 100644 9904523... 6dfeb55... M	mbuf.c
:100644 100644 37c1cc8... d3322df... M	routepr.c
:100644 100644 2935b08... a1648e7... M	routesys.c
:100644 100644 c62cc23... d37b72d... M	stats.c

commit 0bc177679e84a2b979e71924c5ea5f46b9542ead
Author: chris <chris>
Date:   Thu Sep 18 20:09:51 2003 +0000

    pfsync returns ENOTTY not EINVAL...argh....I already compensated for this
    in conf_media_status(), but forgot media_status()...

:100644 100644 9b8d27a... 9a23e30... M	media.c

commit 46527241c21cd5ffca9135cf654336fb674f84f4
Author: chris <chris>
Date:   Thu Sep 18 20:03:15 2003 +0000

    default pfsync mtu is now 1896

:100644 100644 4beff72... b79fd31... M	conf.c

commit 6129e315b0963137ddb2d5d15d3811242e2c5116
Author: chris <chris>
Date:   Thu Sep 18 19:44:23 2003 +0000

    Clone OpenBSD policy of always using strlcpy, and some other misc source
    cleanup, mostly from Vincent Labrecque <vincent@psyfreaks.ca>

:100644 100644 d0d8f14... bba85b7... M	commands.c
:100644 100644 25eabdf... 4beff72... M	conf.c
:100644 100644 979bf78... 7660176... M	if.c
:100644 100644 4c80bb7... e32a486... M	main.c
:100644 100644 0566f71... 98c7420... M	route.c
:100644 100644 ed15f3f... 37c1cc8... M	routepr.c
:100644 100644 f512a42... 2935b08... M	routesys.c

commit 83386c53bd4731abbb026160ceaa60aad94635da
Author: chris <chris>
Date:   Thu Sep 18 19:19:32 2003 +0000

    Bring us to snapshot 20030918

:100644 100644 ebb5040... 48127c3... M	README
:100644 100644 83b89a5... 4c80bb7... M	main.c

commit 6736a89f7c4d3b065b4d2d333f0c9e78b5438abd
Author: chris <chris>
Date:   Thu Sep 18 19:17:41 2003 +0000

    make wi_printaplist return int for now 'cuz our structures in commands.c expect it

:100644 100644 9410bef... 8ad9534... M	externs.h
:100644 100644 bff8e55... 769d21e... M	wi.c

commit ba6fda7e5bef45a3a4b493f48abdf8566a65db9e
Author: chris <chris>
Date:   Thu Sep 18 19:14:37 2003 +0000

    Whoops...Define a size for tmp

:100644 100644 430bad8... c01aad4... M	ieee80211.c

commit 4282f75e99e72ed6add98c08b77150634d23a277
Author: chris <chris>
Date:   Wed Sep 10 02:12:08 2003 +0000

    optarg isn't guaranteed to stay there, and it shows with the memory
    reorganization in openbsd 3.4....

:100644 100644 041f65a... 83b89a5... M	main.c

commit 2db7aae9af2562658fe5d4a1192952080ea17681
Author: chris <chris>
Date:   Tue Jul 29 17:31:46 2003 +0000

    Could also be...link busy....

:100644 100644 24d3bc7... bff8e55... M	wi.c

commit 150631190aa5e913c896df68bbe711bddaae6cf0
Author: chris <chris>
Date:   Fri Jul 25 21:00:04 2003 +0000

    Import pieces of wicontrol to give the user ability to see if_wi power levels,
    associated stations, and available access points

:100644 100644 d12ce59... a3d8bec... M	Makefile
:100644 100644 0d80409... d0d8f14... M	commands.c
:100644 100644 94a9be5... 9410bef... M	externs.h
:100644 100644 8172a80... 979bf78... M	if.c
:000000 100644 0000000... 24d3bc7... A	wi.c

commit 127aff5b7e7883d3a2e73e8ffa2e8ef8925177c1
Author: chris <chris>
Date:   Fri Jun 20 16:44:31 2003 +0000

    Add 'sync' before read-only mount (and sync in the rw version too)
    otherwise nshrc could get corrupted if we lose power right after the
    remount.

:100755 100755 3dd35ec... ccfcaeb... M	save-ro.sh
:100755 100755 7bd66e8... ba96327... M	save-rw.sh

commit db9012639d68ad1812181e9b93e1ceb50c4c776d
Author: chris <chris>
Date:   Fri May 23 17:00:04 2003 +0000

    remove tcpstates[] sine it isn't necessary and conflicts with current

:100644 100644 96feaec... 94a9be5... M	externs.h

commit 307e99a761ac8350868f42b9f312a84093ee7953
Author: chris <chris>
Date:   Thu May 15 16:58:58 2003 +0000

    20030318 -> 20030515

:100644 100644 ad6b5b4... ebb5040... M	README
:100644 100644 e53dc41... 041f65a... M	main.c

commit ad496b7cab43342cc16579f10a6296fde734fd01
Author: chris <chris>
Date:   Thu May 15 16:57:28 2003 +0000

    setting an ip on an interface (ip x.x.x.x/y) will automatically turn it
    up (if flags), but someone might have turned an interface up without setting
    an IP....detect that and do 'no shutdown' where necessary....

:100644 100644 00029ca... 25eabdf... M	conf.c

commit 5d4957025fff7c20af6f627eb7414f1a6d7a70d6
Author: chris <chris>
Date:   Wed Apr 23 21:56:40 2003 +0000

    clean up pf rule handling a little bit:
    -don't open a rule file and write anything unless there's something to write
    this has the side effect of not allowing blank lines in the pf configuration,
    although i think that is desirable
    -remove any temporary rule file before starting nshrc initialization since
    it will be appended later, not over-written

:100644 100644 4668ae5... 254602b... M	MANUAL
:100644 100644 9d647b1... 0d80409... M	commands.c
:100644 100644 2eedf0c... e53dc41... M	main.c

commit d443eb8787bda386327d0e779c76ddcce330ad17
Author: chris <chris>
Date:   Wed Apr 23 18:58:42 2003 +0000

    Whoops, it's IPPROTO_MOBILE not IPPROTO_GRE for mobileip....

:100644 100644 82f0cd6... bae2363... M	sysctl.c

commit 432a09e1ca8a200d72157dc364fdfc566b810c75
Author: chris <chris>
Date:   Wed Apr 23 16:24:34 2003 +0000

    fix use of bridge mode from nsh -i /etc/nshrc

:100644 100644 9d1733d... 9d647b1... M	commands.c

commit a396212289d57585472377d980c8b5a4c468e19b
Author: chris <chris>
Date:   Wed Apr 23 16:23:10 2003 +0000

    fix uninitialized use of ippntd

:100644 100644 53e6e3b... 8172a80... M	if.c

commit 995780d0b6c7f993eb3e56a14364fd99342b3ede
Author: chris <chris>
Date:   Wed Apr 23 06:17:53 2003 +0000

    Fix bridge config output for learning/discover.

:100644 100644 79f8315... c258a0f... M	bridge.c

commit 9a2e086f721587fbe46088cc7d2c42dee3871686
Author: chris <chris>
Date:   Sun Apr 20 02:02:38 2003 +0000

    Fix two problems in conf_media_status:
    -printing status of ifm_active won't print a mediaopt if the media type
    itself was not set (like if you just typed mediaopt hostap)...fix this
    by printing ifm_current instead
    -for now, compare with ifm_current >= ifm_active, although it may be
    necessary to remove this check entirely.  another one found with
    mediaopt set, but media left as default

:100644 100644 d034586... 9b8d27a... M	media.c

commit 669551636df125c5d0e42629c37635568cbb5895
Author: chris <chris>
Date:   Fri Apr 18 00:15:26 2003 +0000

    fix ambiguous/invalid command error creating a continuous loop from
    interface() when modhvar is present

:100644 100644 65ac845... 9d1733d... M	commands.c

commit 1c52597531c8f9f55462082cb98c54f82dc9ac8d
Author: chris <chris>
Date:   Thu Apr 17 18:02:32 2003 +0000

    don't block signals if things aren't running interactively

:100644 100644 73ffeb0... 65ac845... M	commands.c

commit f638a0345cc558a78ab908f856218c0666ad6d52
Author: chris <chris>
Date:   Thu Apr 17 18:01:30 2003 +0000

    add [no] to ip commands

:100644 100644 32f8f42... 4668ae5... M	MANUAL

commit 0b744eac0e4dcb2d295f937fb0f9ed0a5e0e907d
Author: chris <chris>
Date:   Thu Apr 17 16:46:44 2003 +0000

    fix think-o

:100644 100644 e94f016... 82f0cd6... M	sysctl.c

commit 52993e174efb16686e69d7d7687cb3169596eb57
Author: chris <chris>
Date:   Thu Apr 17 16:18:45 2003 +0000

    Detect if a user is adding a route with a non-network address
    "% Inconsistent address and mask (x.x.x.x/y?)"

:100644 100644 13f18da... 0566f71... M	route.c

commit ff4ea377b12d972b9e8d91c66769ebdc951c5751
Author: chris <chris>
Date:   Thu Apr 17 02:25:52 2003 +0000

    Don't display an error when we are reading sysctls that don't exist for the
    kernel.. Just bail out.  Avoids errors during show run or write that would
    otherwise be annoying to people with trimmed-down kernels.

:100644 100644 811df81... e94f016... M	sysctl.c

commit 05a28d01506e44cce4fd7bb048072d26ab3c47b7
Author: chris <chris>
Date:   Mon Apr 14 16:24:23 2003 +0000

    set DEFAULT_XXX value for sysctl variables that take a value 'no ip .... <val>'

:100644 100644 1126fa1... 811df81... M	sysctl.c

commit 66afd42231cd0ee4b8dc96e4e14c8657efbd7299
Author: chris <chris>
Date:   Mon Apr 14 08:44:20 2003 +0000

    Clean up in commands.c a little bit, and add controls for IP-related sysctls
    (such as enabling ip forwarding)

:100644 100644 678f64d... 32f8f42... M	MANUAL
:100644 100644 9fa790b... d12ce59... M	Makefile
:100644 100644 40129c4... 79f8315... M	bridge.c
:100644 100644 614bb40... 73ffeb0... M	commands.c
:100644 100644 16c4764... 00029ca... M	conf.c
:100644 100644 4d20538... 96feaec... M	externs.h
:100644 100644 dad179b... e749bcc... M	rate.c
:000000 100644 0000000... 1126fa1... A	sysctl.c

commit 6f4537e49a553e2ddc9187a8e8558cf40e808e9c
Author: chris <chris>
Date:   Wed Apr 9 07:07:20 2003 +0000

    human parsable message for no such route on delete attempt

:100644 100644 09af8a8... ad6b5b4... M	README
:100644 100644 f99b1aa... f512a42... M	routesys.c

commit 7575bacbc81bbada385bfad5af4b5658fdfdddac
Author: chris <chris>
Date:   Thu Apr 3 23:41:40 2003 +0000

    Fix a silly bug; how did media_supported() ever work ?

:100644 100644 e523b1a... d034586... M	media.c

commit 4c983c5a2d306e40e5d0122305131a064c8afe41
Author: chris <chris>
Date:   Thu Apr 3 22:45:16 2003 +0000

    ENOTTY is returned by if_wi for media status, so bail out on that also

:100644 100644 978d9c4... e523b1a... M	media.c

commit 9c6fa7b34a765536962d2dab485fb9f7a210a6b1
Author: chris <chris>
Date:   Thu Apr 3 22:39:56 2003 +0000

    print \n even if a media type has no status (such as unconfigured if_wi)

:100644 100644 385464b... 978d9c4... M	media.c

commit 0e8b5e086d471bf0ee7a8a5d0bd3d28e968ca3f3
Author: chris <chris>
Date:   Thu Apr 3 21:40:23 2003 +0000

    add pfsync mtu

:100644 100644 6be0b0b... 16c4764... M	conf.c

commit 29e7c68579e03e00eee23f4db62f0c9eec3463cc
Author: chris <chris>
Date:   Fri Mar 28 16:43:43 2003 +0000

    I cvs rm'ed this file, but I don't want to do that just yet

:000000 100644 0000000... dad179b... A	rate.c

commit a198bd1045615ec4a3de31b2376f0a923b06987e
Author: chris <chris>
Date:   Fri Mar 28 16:15:19 2003 +0000

    Remove 'rate' command; rate limiting in 3.3 requires that a queuing type is
    applied and this is done through pf

:100644 100644 d1f302a... 678f64d... M	MANUAL
:100644 100644 36f9ade... 09af8a8... M	README
:100644 100644 ac5e345... 5eec7d7... M	TODO
:100644 100644 2a1fec4... 614bb40... M	commands.c
:100644 100644 3b253e9... 6be0b0b... M	conf.c
:100644 100644 c8940d4... 4d20538... M	externs.h
:100644 000000 1aac93b... 0000000... D	rate.c

commit 3d3fcc60ecbe54de8f85a279fc89e1b1cea8b7e3
Author: chris <chris>
Date:   Fri Mar 28 00:03:42 2003 +0000

    documentation updates

:100644 100644 798fcfe... d1f302a... M	MANUAL
:100644 100644 b01ae28... 12d2bbf... M	nwrapper.c

commit d64c23b813ed2d099559df29d841a8ea19f57331
Author: chris <chris>
Date:   Thu Mar 27 23:33:01 2003 +0000

    Sample wrapper for user login to nsh

:000000 100644 0000000... b01ae28... A	nwrapper.c

commit 29a2545b6ed36ad4a3ac1ee5c38b970f534eb01c
Author: chris <chris>
Date:   Thu Mar 27 23:30:54 2003 +0000

    Rename 'shutdown' to 'halt', otherwise it's too close to 'shutdown'
    under the interface handler...

:100644 100644 30f8ee2... 2a1fec4... M	commands.c

commit ed77e8ce2dec30b80cfd131bd02e2ce4b9df7054
Author: chris <chris>
Date:   Mon Mar 24 19:45:23 2003 +0000

    Fix intrate()

:100644 100644 f823597... c8940d4... M	externs.h
:100644 100644 ae41206... 1aac93b... M	rate.c

commit df8ff0737d718b34041bcd3ac703c3c146f95506
Author: chris <chris>
Date:   Fri Mar 21 21:26:24 2003 +0000

    fix 'no mtu'

:100644 100644 51a82f0... 53e6e3b... M	if.c

commit f9df0e2bf58622da337592e32263d7070e47f68d
Author: chris <chris>
Date:   Wed Mar 19 23:18:56 2003 +0000

    Use getifaddrs to display aliases too

:100644 100644 64c2faa... 51a82f0... M	if.c

commit e4b2d1100cfdf9c77b8d330bb9846b40c1eb5386
Author: chris <chris>
Date:   Wed Mar 19 09:58:24 2003 +0000

    print with %lu not %d for rmx values

:100644 100644 cdc8e2d... f99b1aa... M	routesys.c

commit 5e45db77b0799f76e86607817d91109e61f04e37
Author: chris <chris>
Date:   Tue Mar 18 23:10:46 2003 +0000

    Up to version 20030318
    And add some documentation to the manual

:100644 100644 e9f0402... 798fcfe... M	MANUAL
:100644 100644 728b87a... 36f9ade... M	README
:100644 100644 faf5de8... 2eedf0c... M	main.c

commit 8a708c70deb6fefcf5d6456c1e391922deded79c
Author: chris <chris>
Date:   Tue Mar 18 19:11:37 2003 +0000

    Add field to the Command table which tells the shell not to escape
    backslash or quote characters, and instead pass them in the arguments.
    
    Use this field for pf so that a user can have these characters in their
    pf configuration.

:100644 100644 d9b106e... 30f8ee2... M	commands.c

commit 0206a137752ace28c433fd36ceb9a9d608a246a9
Author: chris <chris>
Date:   Wed Mar 12 02:55:36 2003 +0000

    Tell commands.c that pf is a 'mode handler'

:100644 100644 99e196b... d9b106e... M	commands.c

commit afe77a4b6c198b1b105580c081c9aea84388eca1
Author: chris <chris>
Date:   Wed Mar 12 02:12:14 2003 +0000

    Give people a hint on how to make nsh a static binary.

:100644 100644 93ff20f... 9fa790b... M	Makefile

commit 80123662bf93e6280895a5eb0c877808824bda55
Author: chris <chris>
Date:   Wed Mar 12 02:10:22 2003 +0000

    More common sense for installing nsh after looking closer at /etc/rc

:100644 100644 0a515bd... e9f0402... M	MANUAL

commit 47d7f6510d142f76d165d6202c95195bb24ceb56
Author: chris <chris>
Date:   Wed Mar 12 02:01:02 2003 +0000

    Specify | tee outfile instead of | logger
    for logging nsh output since network startup happens way before syslog starts!

:100644 100644 20585d4... 0a515bd... M	MANUAL

commit 17506640b75ed5ba15419ada2403df4aefdf6685
Author: chris <chris>
Date:   Mon Mar 10 20:10:02 2003 +0000

    Add Cisco-style line breaks to the configuration

:100644 100644 52e4a91... 99e196b... M	commands.c
:100644 100644 3497cd0... 3b253e9... M	conf.c

commit c58a137630d06018240ec2152df0112237a5217f
Author: chris <chris>
Date:   Tue Feb 18 09:39:02 2003 +0000

    missing \n on shutdown printf

:100644 100644 94e9c54... 52e4a91... M	commands.c

commit d4af80393a005ef5483c1d84503c4fd351e5c031
Author: chris <chris>
Date:   Tue Feb 18 09:37:44 2003 +0000

    from openbsd; Don't print garbage when getnameinfo fails

:100644 100644 87c816f... ed15f3f... M	routepr.c

commit 2f6b7967e24e2e4eccc75a03b9d8c7da0db8eb8f
Author: chris <chris>
Date:   Tue Feb 18 09:29:46 2003 +0000

    add rcs tags to everything

:100644 100644 8df6d21... 20585d4... M	MANUAL
:100644 100644 cc71882... 93ff20f... M	Makefile
:100644 100644 557adab... 728b87a... M	README
:100644 100644 ec926a7... ac5e345... M	TODO
:100644 100644 73f12cf... 40129c4... M	bridge.c
:100644 100644 4bfc19f... 3444bc2... M	bridge.h
:100644 100644 79680a0... 94e9c54... M	commands.c
:100644 100644 1e20ac2... 99a85af... M	compile.sh
:100644 100644 0d12a9b... 3497cd0... M	conf.c
:100644 100644 7ce5735... 9c8bb08... M	editing.c
:100644 100644 e9bc288... eaed6e0... M	editing.h
:100644 100644 e482686... f823597... M	externs.h
:100644 100644 dac5f24... 2dc751a... M	genget.c
:100644 100644 5e97914... 430bad8... M	ieee80211.c
:100644 100644 e0577e9... 64c2faa... M	if.c
:100644 100644 dfaf45b... 6f75f6b... M	ip.h
:100644 100644 066b664... f86391c... M	kread.c
:100644 100644 9a6bf5a... faf5de8... M	main.c
:100644 100644 d5e397a... 9904523... M	mbuf.c
:100644 100644 11807c8... 385464b... M	media.c
:100644 100644 08af914... ae41206... M	rate.c
:100644 100644 daa928e... 13f18da... M	route.c
:100644 100644 7daf54a... 87c816f... M	routepr.c
:100644 100644 16627b2... cdc8e2d... M	routesys.c
:100755 100755 a271d21... 3dd35ec... M	save-ro.sh
:100755 100755 d972992... 7bd66e8... M	save-rw.sh
:100644 100644 53af2b3... c62cc23... M	stats.c
:100644 100644 0cf545f... 4b22d39... M	tunnel.c
:100644 100644 e584597... 380c575... M	version.c

commit 28fba1a0da2d4d045bb6943f612caf96bb367371
Author: chris <chris>
Date:   Tue Feb 18 09:28:02 2003 +0000

    in OpenBSD 3.3-beta as of 20030212, we need to define rt_tables[]

:100644 100644 661a86b... 7daf54a... M	routepr.c

commit 7cba5efaca39a1991ed81d5b11e976020d179d5f
Author: chris <chris>
Date:   Tue Feb 18 09:26:17 2003 +0000

    check reboot() for errors

:100644 100644 47966b0... 79680a0... M	commands.c

commit f9f912c33aea22b2daa50c0b310b718a37c7e0b1
Author: chris <chris>
Date:   Tue Feb 18 09:19:23 2003 +0000

    add rcs tag

:100644 100644 cba5162... 08f43d9... M	COPYRIGHT

commit 50cfba199b536bc1f14e54957b16d59bf9e50898
Author: jose <jose>
Date:   Tue Feb 18 03:24:44 2003 +0000

    almost forgot to change from perror to printf/strerror

:100644 100644 fd4bd1a... 16627b2... M	routesys.c

commit 21e84bced5addc379ad63092ce9ce6a6c1e0de94
Author: jose <jose>
Date:   Tue Feb 18 03:22:27 2003 +0000

    nsh diffs are really coming from OpenSoekris project. by request of
    rossonr@sf.net, ok chris@

:100644 100644 cef4619... 557adab... M	README

commit 34d15922613f43f9bae12a89a8eef87219bd783d
Author: jose <jose>
Date:   Tue Feb 18 03:22:00 2003 +0000

    handle the show monitor system a lot better:
    - use signal to catch ^C (SIGINT)
    - use select() to poll (1sec granularity) the routing socket reads
    - handle ^C or <enter> to escape the loop
    - set non-blocking IO on the routing socket reads so we dont choke it.
    
    some assistance fomr lurene grenier with the signal() stuff.
    
    ok chris@

:100644 100644 9a4cc20... fd4bd1a... M	routesys.c

commit df43624297a423b09e83daba6472e716d3f76953
Author: chris <chris>
Date:   Thu Feb 13 21:25:42 2003 +0000

    Use getifaddrs() in a loop instead of various ioctls to grab the interface IP.
    This gives us interface alias display, and simplifies the mess of ioctl code.

:100644 100644 2e9f541... 0d12a9b... M	conf.c

commit ff8c19995367ef8d960ca8bf55538a462cf8d810
Author: chris <chris>
Date:   Thu Feb 13 20:19:13 2003 +0000

    desire for comments, also we already implemented tunnels!

:100644 100644 8f3079f... ec926a7... M	TODO

commit 74d4bc8335521f52a76df481c90480b685a055e2
Author: chris <chris>
Date:   Tue Feb 11 04:11:09 2003 +0000

    Check for invalid IP from parse_ip()

:100644 100644 b42000d... e0577e9... M	if.c

commit 0235539b5a4e9efc16a8805d32d7e813bdd1210f
Author: chris <chris>
Date:   Tue Feb 11 01:48:17 2003 +0000

    Get rid of output to stderr.  It is unnecessary, and useless to try and output
    to stderr from what is supposed to be a shell.  When stderr is taken out
    of the equation, useful error logging can be obtained like this:
    
    nsh -vi /etc/nshrc | logger -t nsh -p daemon.info
    
    Interactive users won't notice this.

:100644 100644 7a0d2cd... 8f3079f... M	TODO
:100644 100644 481b8a2... 73f12cf... M	bridge.c
:100644 100644 29a52c2... 47966b0... M	commands.c
:100644 100644 06cab1b... 2e9f541... M	conf.c
:100644 100644 e7ed645... 5e97914... M	ieee80211.c
:100644 100644 6771e24... b42000d... M	if.c
:100644 100644 7ee1ae9... 066b664... M	kread.c
:100644 100644 bf3f9aa... 11807c8... M	media.c
:100644 100644 7a63ff5... 08af914... M	rate.c
:100644 100644 bb4aada... 661a86b... M	routepr.c
:100644 100644 f21ad82... 9a4cc20... M	routesys.c
:100644 100644 c68fdca... 0cf545f... M	tunnel.c
:100644 100644 fa8be83... e584597... M	version.c

commit 9e401dc9bec6b9d5eeedccd062d97262773d2829
Author: chris <chris>
Date:   Mon Feb 10 22:09:50 2003 +0000

    rfile -> rcfile

:100644 100644 9ddce04... 9a6bf5a... M	main.c

commit 3dbfd0772e6111c49f33121d75f7c2e66e5f065a
Author: chris <chris>
Date:   Mon Feb 10 19:41:41 2003 +0000

    move vlan set before IP address set so that IFF_BROADCAST flag exists on vlan
    interface

:100644 100644 a5a107e... 06cab1b... M	conf.c

commit 95c13d91d1af22f03ff26b085f1b89b82a3a9855
Author: chris <chris>
Date:   Mon Feb 10 08:23:07 2003 +0000

    this should have been removed in the nsh-20020412 import
    the needed functions were moved

:100644 000000 77ed812... 0000000... D	routemsg.c

commit 779c5fe3f1b46b983e04313f3a122f8cad0ffa5d
Author: chris <chris>
Date:   Mon Feb 10 08:20:42 2003 +0000

    import of nsh-20030208
    -make static work as static <mac> <member> not the other way around
    -that way you can do no static <mac> without specifying a member
    -use void where we don't need anything else
    -add pfctl handling so that you can edit pf rules, flush pf, save pf.conf in
    nshrc (this helps with the goal of keeping all the configuration in one file,
    although calling pfctl to begin with is a compromise since pfctl is too
    much of a moving target to try and integrate)
    -add a manual
    -exit if fork fails
    -add commands to reboot and shutdown (jose)
    -add command to save config (jose)
    -add tunnel to conf() output
    -add pf to conf() output
    -make default mtu table nicer
    -same for interface types
    -make rtdump easier to handle correctly
    -fix botched strlcat conversion in ieee80211 stuff
    -improve method to get hardware address for an interface
    -/dev/altq/altq becomes /dev/pf

:100644 100644 b02dbbf... cba5162... M	COPYRIGHT
:000000 100644 0000000... 8df6d21... A	MANUAL
:100644 100644 4b61b6f... cc71882... M	Makefile
:100644 100644 2a0086a... cef4619... M	README
:100644 100644 39e04bd... 7a0d2cd... M	TODO
:100644 100644 9721704... 481b8a2... M	bridge.c
:100644 100644 fd1894e... 29a52c2... M	commands.c
:100644 100644 baab49e... 1e20ac2... M	compile.sh
:100644 100644 0acfdfc... a5a107e... M	conf.c
:100644 100644 3a2e7f4... e482686... M	externs.h
:100644 100644 777d405... e7ed645... M	ieee80211.c
:100644 100644 e480547... 6771e24... M	if.c
:100644 100644 0783ead... 9ddce04... M	main.c
:100644 100644 73cc8ec... d5e397a... M	mbuf.c
:100644 100644 63e3172... bf3f9aa... M	media.c
:100644 100644 2a0223f... 7a63ff5... M	rate.c
:100644 100644 b6bbea0... bb4aada... M	routepr.c
:100644 100644 746cbd1... f21ad82... M	routesys.c
:000000 100755 0000000... a271d21... A	save-ro.sh
:000000 100755 0000000... d972992... A	save-rw.sh
:100644 100644 f8287d1... c68fdca... M	tunnel.c
:100644 100644 b72ac5b... fa8be83... M	version.c

commit c67f7310002e004daf64217aeff1932f84d5e77c
Author: chris <chris>
Date:   Mon Feb 10 08:10:26 2003 +0000

    import of nsh-20020619
    -use a more macros for better enjoyment
    -fix up the toilet flusher to handle arps and routes
    -make show route display a specific destination like 'route get' if you
    specify an additional argument
    -add media types in conf() output
    -add powersave to conf() output
    -add routes/arps to conf() output
    -add media type and hardware address to show interface
    -same for network key/powersaving time
    -add function that "suprisingly actually works" to get hardware address
    -merge ip/netmask/bitmask parser to parse_ip() instead of duplicating code
    -strtoul vs atoi becomes an issue
    -add capability to setup vlans from interface mode
    -get rid of mrtd code from routesys.c and go back to berkeley rtmsg()
    -whoops, i forgot to 'cvs add' bridge.c in the last commit!!

:000000 100644 0000000... b02dbbf... A	COPYRIGHT
:100644 100644 43813bc... 4b61b6f... M	Makefile
:100644 100644 e1f11f6... 2a0086a... M	README
:100644 100644 d726ed4... 39e04bd... M	TODO
:000000 100644 0000000... 9721704... A	bridge.c
:000000 100644 0000000... 4bfc19f... A	bridge.h
:100644 100644 48e508b... fd1894e... M	commands.c
:100644 100644 c9e3936... 0acfdfc... M	conf.c
:100644 100644 3c69deb... 7ce5735... M	editing.c
:100644 100644 a2f8697... 3a2e7f4... M	externs.h
:100644 100644 4355f20... 777d405... M	ieee80211.c
:100644 100644 01f7c7d... e480547... M	if.c
:100644 100644 3880c87... dfaf45b... M	ip.h
:100644 100644 0297ffc... 0783ead... M	main.c
:100644 100644 02aa23f... 73cc8ec... M	mbuf.c
:000000 100644 0000000... 63e3172... A	media.c
:100644 100644 da39a07... 2a0223f... M	rate.c
:100644 100644 900be24... daa928e... M	route.c
:100644 100644 408f8dc... b6bbea0... M	routepr.c
:100644 100644 bec21e0... 746cbd1... M	routesys.c
:100644 100644 0917a9e... 53af2b3... M	stats.c
:000000 100644 0000000... f8287d1... A	tunnel.c

commit 0de3f1a901a207c1479a7167a6f46ee5f0433070
Author: chris <chris>
Date:   Mon Feb 10 07:56:54 2003 +0000

    import of nsh-20020607
    -bridge config support from brconfig
    -rant on openbsd routers
    -extend interface mode handler to bridges as well (of course, they
    are interfaces anyways) but in a rather hackish way
    -add broadcast address to conf() output (not displayed if the user did
    not make it non-default)
    -fix up rate output while there
    -add bridge commands to conf() output
    -get rid of unused kern_routes()
    -start passing a socket along to interface mode support routines instead of
    opening and closing them each time
    -explain broadcast or pointtopoint in show interface
    -display vlan and rate information in show interface
    -display average input and output sizes in show interface
    -display flags on show interface if verbose
    -add a function to find the network address given an IP and netmask
    -add a function to find the broadcast address given an IP and netmask
    -stop using strlen() where it is completely unnecessary

:100644 100644 c71792f... 43813bc... M	Makefile
:100644 100644 0200151... e1f11f6... M	README
:100644 100644 51d2e2b... d726ed4... M	TODO
:100644 100644 95aaa10... 48e508b... M	commands.c
:100644 100644 aafc732... c9e3936... M	conf.c
:100644 100644 fc14ce3... a2f8697... M	externs.h
:100644 100644 3e3d139... 4355f20... M	ieee80211.c
:100644 100644 8b7516e... 01f7c7d... M	if.c
:100644 100644 62719a7... 0297ffc... M	main.c
:100644 100644 9ab5d44... da39a07... M	rate.c
:100644 100644 f8ed804... 900be24... M	route.c
:100644 100644 4ae302d... bec21e0... M	routesys.c

commit 8de16dac4eabebae4271b81dedf13f913db408ec
Author: chris <chris>
Date:   Mon Feb 10 07:47:55 2003 +0000

    import of nsh-20020531
    -ieee 802.11 interface config support from ifconfig
    -add metric to conf() output
    -add 802.11 nwid/nwkey to conf() output
    -add link flags and no arp to conf() output
    -nwid and powersave commands for interface mode

:100644 100644 7a1fea1... c71792f... M	Makefile
:100644 100644 ea73759... 0200151... M	README
:100644 100644 1729d57... 51d2e2b... M	TODO
:100644 100644 ec03a6c... 95aaa10... M	commands.c
:100644 100644 15cf032... aafc732... M	conf.c
:100644 100644 19a89e9... fc14ce3... M	externs.h
:000000 100644 0000000... 3e3d139... A	ieee80211.c
:100644 100644 2ae7219... 8b7516e... M	if.c
:100644 100644 670883c... 62719a7... M	main.c

commit 8278aeff176bd56f8fb36f706abe33263375a045
Author: chris <chris>
Date:   Mon Feb 10 07:43:48 2003 +0000

    import of nsh-20020521
    -make help() autosize output columns
    -gently remind users that there is no 'config' command
    -add interface mode command to set an ip address
    -add interface mode command to set mtu, metric, link flags, and other flags
    -have config generator dump metric, link flags, debug flag
    and have it only show mtu if it is not a default setting for the interface

:100644 100644 c53867c... ea73759... M	README
:100644 100644 6ae8b0c... 1729d57... M	TODO
:100644 100644 c7b7680... ec03a6c... M	commands.c
:100644 100644 a37b910... 15cf032... M	conf.c
:100644 100644 cf31bf5... 19a89e9... M	externs.h
:100644 100644 8779f4d... 2ae7219... M	if.c
:100644 100644 2b15db0... 670883c... M	main.c
:100644 100644 f26b128... 9ab5d44... M	rate.c

commit 990ff4c1e0ac5f1b2e957cbdd0ff534fc233ebf8
Author: chris <chris>
Date:   Mon Feb 10 07:37:31 2003 +0000

    import of nsh-20020510
    -start at configuration generator conf()
    -use -ledit for command line editing and history
    -add flush commands
    -is_valid_ifname() walks if_nameindex for the lazy

:100644 100644 fef2827... 7a1fea1... M	Makefile
:100644 100644 069ab45... c53867c... M	README
:100644 100644 c46a52e... 6ae8b0c... M	TODO
:100644 100644 433584b... c7b7680... M	commands.c
:000000 100644 0000000... a37b910... A	conf.c
:000000 100644 0000000... 3c69deb... A	editing.c
:000000 100644 0000000... e9bc288... A	editing.h
:100644 100644 0e07cbc... cf31bf5... M	externs.h
:100644 100644 3d96bb5... 8779f4d... M	if.c
:100644 100644 9a3801f... 2b15db0... M	main.c
:100644 100644 0af1473... f26b128... M	rate.c
:100644 100644 f5af9e2... f8ed804... M	route.c
:100644 100644 975514a... 4ae302d... M	routesys.c

commit 09b5dc37c0d0acad0609fc5686574454cada11ec
Author: chris <chris>
Date:   Mon Feb 10 07:31:58 2003 +0000

    import of nsh-20020415
    -allow cmdrc() to feed interface mode commands
    -add -v verbose flag
    -add compile notes to show version

:100644 100644 2f17b4d... 069ab45... M	README
:100644 100644 6ff994f... c46a52e... M	TODO
:100644 100644 387491c... 433584b... M	commands.c
:100644 100644 f5b3226... baab49e... M	compile.sh
:100644 100644 c8a1461... 0e07cbc... M	externs.h
:100644 100644 68000f2... dac5f24... M	genget.c
:100644 100644 5ef4f10... 9a3801f... M	main.c
:100644 100644 339e673... 975514a... M	routesys.c
:100644 100644 d90edc8... b72ac5b... M	version.c

commit 79e7c8a2dafeb39b848c236549fd7396f4d90c91
Author: chris <chris>
Date:   Mon Feb 10 07:26:15 2003 +0000

    import of nsh-20020412
    -add some -W gems
    -get rid of \r\n crap
    -add interface mode handler
    -vlan stats for show interface
    -make rate() work with interface mode handler
    -route.c moves to routepr.c
    -add route.c as a way to add routes with netmask or bitmask

:100644 100644 5f6263a... fef2827... M	Makefile
:100644 100644 514ca5a... 2f17b4d... M	README
:100644 100644 3149a55... 6ff994f... M	TODO
:100644 100644 3e2aab7... 387491c... M	commands.c
:100644 100644 7d3d710... c8a1461... M	externs.h
:100644 100644 c8dad85... 3d96bb5... M	if.c
:000000 100644 0000000... 3880c87... A	ip.h
:100644 100644 ab84191... 5ef4f10... M	main.c
:100644 100644 b706af3... 02aa23f... M	mbuf.c
:100644 100644 3ca0a79... 0af1473... M	rate.c
:100644 100644 25d1408... f5af9e2... M	route.c
:100644 100644 9c78eae... 408f8dc... M	routepr.c
:000000 100644 0000000... 339e673... A	routesys.c
:100644 100644 9fd2305... 0917a9e... M	stats.c
:100644 100644 61cf6cc... d90edc8... M	version.c

commit 5ac22bb76bf94759d9eeda4d1d9a1c370dbaec7c
Author: chris <chris>
Date:   Mon Feb 10 07:16:16 2003 +0000

    import of nsh-20020304
    -add README and TODO
    -add routing statistics from netstat
    -initialize nlist correctly

:100644 100644 a77a429... 5f6263a... M	Makefile
:000000 100644 0000000... 514ca5a... A	README
:000000 100644 0000000... 3149a55... A	TODO
:100644 100644 30bcae2... 3e2aab7... M	commands.c
:000000 100644 0000000... f5b3226... A	compile.sh
:100644 100644 6128f75... 7d3d710... M	externs.h
:000000 100644 0000000... c8dad85... A	if.c
:100644 100644 5495284... 7ee1ae9... M	kread.c
:100644 100644 ecab692... ab84191... M	main.c
:000000 100644 0000000... b706af3... A	mbuf.c
:000000 100644 0000000... 3ca0a79... A	rate.c
:000000 100644 0000000... 77ed812... A	routemsg.c
:000000 100644 0000000... 9c78eae... A	routepr.c
:100644 100644 a4e53fa... 9fd2305... M	stats.c
:000000 100644 0000000... 61cf6cc... A	version.c

commit 85954c520598a2245cc8fb54e032feb8b98674fd
Author: chris <chris>
Date:   Mon Feb 10 07:06:50 2003 +0000

    Initial revision

:000000 100644 0000000... a77a429... A	Makefile
:000000 100644 0000000... 30bcae2... A	commands.c
:000000 100644 0000000... 6128f75... A	externs.h
:000000 100644 0000000... 68000f2... A	genget.c
:000000 100644 0000000... 5495284... A	kread.c
:000000 100644 0000000... ecab692... A	main.c
:000000 100644 0000000... 25d1408... A	route.c
:000000 100644 0000000... a4e53fa... A	stats.c
