![]()
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.33 / (download) - annotate - [select for diffs], Mon Mar 2 20:54:45 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
CVS Tags: HEAD
Diff to previous 1.32 (colored)
Remove wavelan support (like was done 3 years ago in OpenBSD)
Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 25 00:25:12 2008 UTC (4 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.31 (colored)
from Marc Balmer <marc@msys.ch> Let nsh build with 'make obj'
Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 16 22:57:20 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.30 (colored)
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.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 14 01:00:59 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.29 (colored)
-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.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 20 05:08:35 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.28 (colored)
implement very basic pager support for 'show run' and 'show start', needs search function and more (or less)
Revision 1.28 / (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.27 (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.27 / (download) - annotate - [select for diffs], Sun Jan 13 02:27:38 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.26 (colored)
random cleanup and arp set/search support (show arp already works)
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 6 18:18:16 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.25 (colored)
Move mbuf statistics into stats.c
Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 6 18:10:01 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.24 (colored)
get rid of -lutil
Revision 1.24 / (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.23 (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.23 / (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.22 (colored)
add timeslot and syncpeer commands (from ifconfig)
Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 27 22:19:39 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.21 (colored)
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.
Revision 1.21 / (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.20 (colored)
type cleanup from cc -W
Revision 1.20 / (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.19 (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.19 / (download) - annotate - [select for diffs], Wed Dec 26 03:55:49 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.18 (colored)
Remove this piece of shit.
Revision 1.18 / (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.17 (colored)
o adding trunk support (functions: inttrunkport, inttrunkproto, conf_trunk, show_trunk)
Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 31 19:09:13 2004 UTC (7 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.16 (colored)
Compile under current (skip 3.6) No new feature support yet
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:25:57 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.14 (colored)
Add support for configuring pfsync interfaces
Revision 1.14 / (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.13 (colored)
added enable secret. writes password to /var/run/nshpasswd, like pf.conf and others. lot of help and ok from chris@
Revision 1.13 / (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.12 (colored)
add command "show startup-config", pulled from jose/OpenSoekris added documentation ok chris@
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 25 21:00:04 2003 UTC (8 years, 9 months ago) by chris
Branch: MAIN
Diff to previous 1.11 (colored)
Import pieces of wicontrol to give the user ability to see if_wi power levels, associated stations, and available access points
Revision 1.11 / (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.10 (colored)
Clean up in commands.c a little bit, and add controls for IP-related sysctls (such as enabling ip forwarding)
Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 12 02:12:14 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.9 (colored)
Give people a hint on how to make nsh a static binary.
Revision 1.9 / (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.8 (colored)
add rcs tags to everything
Revision 1.8 / (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.7 (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.7 / (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.6 (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.6 / (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.5 (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.5 / (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.4 (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.4 / (download) - annotate - [select for diffs], Mon Feb 10 07:37:31 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)
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
Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 10 07:26:15 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)
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
Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 10 07:16:16 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)
import of nsh-20020304 -add README and TODO -add routing statistics from netstat -initialize nlist correctly
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 10 07:06:51 2003 UTC (9 years, 3 months ago) by chris
Branch: nsh
CVS Tags: initial
Diff to previous 1.1 (colored)
import of nsh-20020212
Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 10 07:06:51 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Initial revision