Powered by Apache

CVS log for nsh/MANUAL

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 4 02:49:46 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
CVS Tags: HEAD
Diff to previous 1.19 (colored)

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)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 30 01:57:54 2005 UTC (6 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.18 (colored)

Notes on the current DHCP client implementation

Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 30 01:43:54 2005 UTC (6 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.17 (colored)

dhcp client mode

mostly from Mats Mellstrand <mats@exmandato.se>

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 30 23:26:06 2005 UTC (6 years, 11 months ago) by chris
Branch: MAIN
Diff to previous 1.16 (colored)

'syncif' became 'syncdev' in openbsd 3.7

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 22 11:33:29 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.15 (colored)

Implement CARP controls

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 22 09:35:09 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 22 06:28:19 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.13 (colored)

put enable below hostname in conf() output and a few other minor cleanups

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 17 08:09:13 2004 UTC (8 years, 2 months ago) by cyc
Branch: MAIN
Diff to previous 1.12 (colored)

added enable secret.
writes password to /var/run/nshpasswd, like pf.conf and others.
lot of help and ok from chris@

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 7 16:31:57 2004 UTC (8 years, 2 months ago) by cyc
Branch: MAIN
Diff to previous 1.11 (colored)

add command "show startup-config", pulled from jose/OpenSoekris
added documentation
ok chris@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 3 09:19:40 2004 UTC (8 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.10 (colored)

Add interface creation and removal features.  'interface vlan0' creates,
'no interface vlan0' destroys.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 23 21:56:40 2003 UTC (9 years ago) by chris
Branch: MAIN
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 17 18:01:30 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.8 (colored)

add [no] to ip commands

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 14 08:44:20 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

Clean up in commands.c a little bit, and add controls for IP-related sysctls
(such as enabling ip forwarding)

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 28 16:15:19 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.6 (colored)

Remove 'rate' command; rate limiting in 3.3 requires that a queuing type is
applied and this is done through pf

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 28 00:03:42 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.5 (colored)

documentation updates

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 18 23:10:46 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.4 (colored)

Up to version 20030318
And add some documentation to the manual

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 12 02:10:22 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)

More common sense for installing nsh after looking closer at /etc/rc

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 12 02:01:02 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

Specify | tee outfile instead of | logger
for logging nsh output since network startup happens way before syslog starts!

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 18 09:29:46 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

add rcs tags to everything

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 10 08:20:42 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>