Powered by Apache

CVS log for nsh/conf.c

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.63 / (download) - annotate - [select for diffs], Tue May 26 22:08:06 2009 UTC (2 years, 11 months ago) by chris
Branch: MAIN
CVS Tags: HEAD
Diff to previous 1.62 (colored)

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

Revision 1.62 / (download) - annotate - [select for diffs], Fri Mar 13 23:20:22 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.61 (colored)

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.)

Revision 1.61 / (download) - annotate - [select for diffs], Fri Mar 13 16:45:12 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.60 (colored)

fix default_mtu - mtu are u_long, not u_int

Revision 1.60 / (download) - annotate - [select for diffs], Tue Mar 3 03:08:28 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.59 (colored)

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.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 2 23:01:13 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.58 (colored)

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)

Revision 1.58 / (download) - annotate - [select for diffs], Mon Mar 2 20:30:51 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.57 (colored)

Finish sysctl commit and a few fixes to conf.c

Revision 1.57 / (download) - annotate - [select for diffs], Sun Mar 1 01:37:25 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.56 (colored)

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)

Revision 1.56 / (download) - annotate - [select for diffs], Sun Mar 1 01:29:05 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.55 (colored)

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

Revision 1.55 / (download) - annotate - [select for diffs], Fri Mar 28 17:03:45 2008 UTC (4 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.54 (colored)

don't complain about missing config files in verbose mode

Revision 1.54 / (download) - annotate - [select for diffs], Fri Mar 28 16:58:56 2008 UTC (4 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.53 (colored)

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

Revision 1.53 / (download) - annotate - [select for diffs], Fri Mar 28 16:48:39 2008 UTC (4 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.52 (colored)

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

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 10 04:46:03 2008 UTC (4 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.51 (colored)

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

Revision 1.51 / (download) - annotate - [select for diffs], Mon Feb 25 06:30:54 2008 UTC (4 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.50 (colored)

configure ftp-proxy

Revision 1.50 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:01 2008 UTC (4 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.49 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Mon Feb 18 15:46:00 2008 UTC (4 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.48 (colored)

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)

Revision 1.48 / (download) - annotate - [select for diffs], Fri Feb 15 07:25:19 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.47 (colored)

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

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 7 22:48:47 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.46 (colored)

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

Revision 1.46 / (download) - annotate - [select for diffs], Wed Feb 6 22:48:53 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.45 (colored)

convert my copyrights to simpler ISC-style copyright statement

Revision 1.45 / (download) - annotate - [select for diffs], Mon Feb 4 02:49:46 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Thu Jan 24 07:40:53 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.43 (colored)

-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

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 20 07:21:21 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.42 (colored)

why not control ntpd here too?

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 15 07:34:34 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 15 06:10:12 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jan 14 09:05:23 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.39 (colored)

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.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jan 6 17:20:05 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.38 (colored)

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.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 29 23:11:22 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.37 (colored)

add timeslot and syncpeer commands (from ifconfig)

Revision 1.37 / (download) - annotate - [select for diffs], Thu Dec 27 03:12:22 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.36 (colored)

type cleanup from cc -W

Revision 1.36 / (download) - annotate - [select for diffs], Thu Dec 27 02:26:37 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.35 (colored)

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

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 27 01:57:56 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.34 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 26 05:19:33 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Tue Dec 25 06:37:12 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.32 (colored)

NULL and 0 are not necessarily the same thing

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 17 08:58:01 2007 UTC (4 years, 5 months ago) by chris
Branch: MAIN
Diff to previous 1.31 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Mon Dec 17 06:54:33 2007 UTC (4 years, 5 months ago) by chris
Branch: MAIN
Diff to previous 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Sat Dec 15 22:39:23 2007 UTC (4 years, 5 months ago) by chris
Branch: MAIN
Diff to previous 1.29 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 19 09:45:56 2007 UTC (5 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.28 (colored)

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

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 17 08:54:59 2007 UTC (5 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.27 (colored)

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...

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 14 18:04:07 2006 UTC (5 years, 6 months ago) by pata
Branch: MAIN
Diff to previous 1.26 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 8 19:58:17 2006 UTC (6 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.25 (colored)

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

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 1 02:45:12 2005 UTC (6 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.24 (colored)

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

Revision 1.24 / (download) - annotate - [select for diffs], Tue Aug 30 02:59:36 2005 UTC (6 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.23 (colored)

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

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

* 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

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 24 09:01:45 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.21 (colored)

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

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

Implement CARP controls

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

Add support for configuring pfsync interfaces

Revision 1.19 / (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.18 (colored)

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

Revision 1.18 / (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.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 18 20:03:15 2003 UTC (8 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.16 (colored)

default pfsync mtu is now 1896

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 18 19:44:23 2003 UTC (8 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.15 (colored)

Clone OpenBSD policy of always using strlcpy, and some other misc source
cleanup, mostly from Vincent Labrecque <vincent@psyfreaks.ca>

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 15 16:57:28 2003 UTC (9 years ago) by chris
Branch: MAIN
Diff to previous 1.14 (colored)

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....

Revision 1.14 / (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.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 3 21:40:23 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.12 (colored)

add pfsync mtu

Revision 1.12 / (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.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 10 20:10:02 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.10 (colored)

Add Cisco-style line breaks to the configuration

Revision 1.10 / (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.9 (colored)

add rcs tags to everything

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 13 21:25:42 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 11 01:48:17 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

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.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 10 19:41:41 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.6 (colored)

move vlan set before IP address set so that IFF_BROADCAST flag exists on vlan
interface

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 10 08:10:26 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.4 (colored)

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!!

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 10 07:56:54 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 10 07:47:55 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 10 07:43:48 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

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

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

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

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>