Go to file
Andrew J. Schorr f366ad31ae [vtysh] Never skip authentication, and add support for multiple -c commands
2006-07-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

	* vtysh.1: Document new options -d and -E, and note that now multiple
	  -c options may be supplied, with embedded linefeed now supported.
	  In BUGS section, remove warning about vtysh causing a daemon
	  to freeze, since this has been fixed.
	* vtysh_main.c: (usage) Add new -d and -E options.  And note that
	  -c can be used multiple times, possibly with embedded linefeeds.
	  (longopts) Add new -d and -E options.
	  (main) Add new -d and -E options, and create a linked list to
	  support multiple -c options.  Do not call vtysh_connect_all until
	  after vtysh_read_config(config_default) and vtysh_auth have
	  succeeded.  This prevents the vtysh.conf file from configuring
	  any daemons, and it ensures that authentication has been passed
	  before we send any commands to any daemons.  Call vtysh_connect_all
	  with any daemon name supplied with -d.  If it is unable to connect
	  to any daemons, issue an error message and exit immediately.
	  When used in -c mode, call vtysh_execute("enable") before
	  executing the commands in order to match interactive behavior.
	  And detect embedded linefeed chars in -c commands and break them up
	  appropriately.
	* vtysh.h: (vtysh_connect_all) Fix proto to reflect new
	  daemon_name argument, and that it now returns an integer -- the
	  number of daemons to which we were able to connect.
	* vtysh.c: (vtysh_connect_all) Add a new daemon_name argument.
	  If supplied, connect only to that daemon.  And return
	  the number of daemons to which we were able to connect.
	  (vtysh_prompt): Performance enhancement -- make struct utsname
	  static so we call uname to get the hostname only once.
2006-07-27 18:01:41 +00:00
bgpd [bgpd] Fix crash on shutdown of peer 2006-07-02 11:01:50 +00:00
doc [vtysh] Never skip authentication, and add support for multiple -c commands 2006-07-27 18:01:41 +00:00
guile - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch 2004-11-02 18:59:49 +00:00
init CVS ignore Linux NFS silly-delete .nfs* files 2004-06-06 15:25:35 +00:00
isisd [zserv] fix up custom isisd and bgpd Zserv functions for new format. 2006-01-17 17:33:46 +00:00
lib [lib] Optimise thread_call by caching pointer to thread history in the thread 2006-07-25 20:40:40 +00:00
m4 - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch 2004-11-02 18:59:49 +00:00
ospf6d [ospf6d] GNU Zebra 3563: Fix as-external forwarding address 2006-05-15 10:47:53 +00:00
ospfclient [ospfclient] add static qualifier 2005-11-24 12:40:39 +00:00
ospfd [ospfd] Allow ospf_lsa_unlock to NULL out callers' LSA pointers upon free 2006-07-26 09:37:26 +00:00
pkgsrc - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch 2004-11-02 18:59:49 +00:00
ports - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch 2004-11-02 18:59:49 +00:00
redhat [redhat quagga.spec] Detect fedora release automatically 2006-06-15 22:31:39 +00:00
ripd [ripd] update to use auto-generated redistribute route-type defs 2006-06-30 16:58:53 +00:00
ripngd [ripngd] CID #72, remove unneeded NULL check 2006-05-11 13:20:47 +00:00
solaris [solaris] Manifest referenced non-existent services, fix. 2006-04-03 21:27:20 +00:00
tests [tests] Fix stray character in previous commit 2006-05-28 08:32:44 +00:00
tools - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch 2004-11-02 18:59:49 +00:00
vtysh [vtysh] Never skip authentication, and add support for multiple -c commands 2006-07-27 18:01:41 +00:00
watchquagga 2005-02-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-02-17 20:11:58 +00:00
zebra [zebra] Connected routes must always be added to main table 2006-07-27 16:11:02 +00:00
.cvsignore Ignore <dist tarball>.asc - i always seem to have one hanging around from 2005-01-12 23:49:05 +00:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
ChangeLog [redhat quagga.spec] Detect fedora release automatically 2006-06-15 22:31:39 +00:00
configure.ac [lib] Add support for Sun libc printstack to zlog_backtrace_sigsafe 2006-05-28 08:26:15 +00:00
COPYING Initial revision 2002-12-13 20:15:29 +00:00
COPYING.LIB Initial revision 2002-12-13 20:15:29 +00:00
HACKING 2005-11-10 Paul Jakma <paul.jakma@sun.com> 2005-11-10 10:21:19 +00:00
INSTALL.quagga.txt rework 2005-08-10 15:07:02 +00:00
Makefile.am 2005-08-13 Paul Jakma <paul@jakma.org> 2005-08-13 13:42:38 +00:00
mkinstalldirs Revert to zebra.org automake files 2003-02-17 23:54:05 +00:00
NEWS 2005-11-11 Paul Jakma <paul.jakma@sun.com> 2005-11-11 10:28:59 +00:00
README 2004-11-12 Paul Jakma <paul@dishone.st> 2004-11-12 10:30:21 +00:00
README.NetBSD shell script and hints for building on NetBSD. (gdt deleted private 2005-12-29 15:40:49 +00:00
REPORTING-BUGS Zebra -> Quagga and reformatting. 2004-02-20 20:33:43 +00:00
SERVICES 2607/tcp is already used by ospfapi. 2003-12-23 10:42:45 +00:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
TODO [TODO] Note MED functionality we should implement 2006-03-30 14:36:23 +00:00
update-autotools 2004-11-06 Paul Jakma <paul@dishone.st> 2004-11-07 22:34:23 +00:00

Quagga is free software that manages various IPv4 and IPv6 routing
protocols.

Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, and RIPng as well as very early support for IS-IS.
  
See the file INSTALL.quagga.txt for building and installation instructions.
  
See the file REPORTING-BUGS to report bugs.
  
Quagga is free software. See the file COPYING for copying conditions.