2004-12-22 Hasso Tepper * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6 forwarding". Show common router-id before router nodes. Fix router bgp node parsing. Move debug commands into debug node and no delimiter between lines there. 2004-12-09 Andrew J. Schorr * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid, the results were never used. 2004-12-07 Andrew J. Schorr * vtysh.c: Make several functions static instead of global. Added several commands to support destination-specific logging levels. (vtysh_completion) This function is unused, so comment it out. 2004-11-11 Andrew J. Schorr * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing '\0' chars and command return code. 2004-10-28 Hasso Tepper * vtysh.c: "show running-daemons" broke users habits who are using "sho run" to view running configuration. Changed it to "show daemons". 2004-10-20 Hasso Tepper * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws up my terminal if I exit" issue. 2004-10-13 Hasso Tepper * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists to limit access to vty. 2004-10-11 Paul Jakma * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and final sync byte is not ASCII NULL, it's actually a status integer, and only ASCII NULL if CMD_SUCCESS is returned by daemon. Fix pointed out by Hasso. 2004-10-11 Hasso Tepper * vtysh.c, vtysh_user.c: Make more strings const. 2004-10-07 Hasso Tepper * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler warnings: make strings const, signed -> unsigned, remove unused variables. * vtysh_config.c: Fix crash introduced with previous patch. 2004-10-03 Hasso Tepper * vtsyh_main.c: Enter into enable node by default. Disable node doesn't make sense if we don't have any authentication for enable. * vtysh.c: Implement "show running-daemons" command. * vtysh.c: Use either integrated conf or daemon conf not both. Move configuration command into "service" level. * vtysh.c: Remove "write ..." commands from other nodes than enable. We have "do ..." extension for that. * vtysh_config.c, vtysh.c: Integrate vtysh configuration into integrated one. * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes. * vtysh_config.c: Make "service" lines unique in integrated config. * vtysh.c: Make "service password-encryption" command work in vtysh. * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line vty commands in vtysh. Parse lib/vty.c for commands, but ignore commands that don't make sense in vtysh. Closes Bugzilla #104. * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior is similar to "log" commands - vtysh just passes commands to all daemons. * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with configuration files specified from command line. We read/write files from/to system location only (ie. remove -f again). * Makefile.am: Parse zebra/router-id.c. 2004-09-26 Hasso Tepper * vtysh.c: Fix compiler warning. 2004-09-17 Paul Jakma * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily split across reads, dont get confused by this and block forever. 2004-09-13 Paul Jakma * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir. remove zebra/irdp.c from list - dead. * extract.pl.in: match on end of filenames, filename could contain various preamble due to out of tree builds. Substitute in the autoconf srcdir/builddir paths for includes to cpp. 2004-08-28 Hasso Tepper * vtysh_main.c: Rename signal handling functions not to conflict with functions from lib/sigevent.c. 2004-08-27 Hasso Tepper * vtysh.c: Make "terminal length <0-512>" command work in vtysh. 2004-08-27 Hasso Tepper * vtysh.c: Enable using ssh from ENABLE_NODE. * vtysh_config.c: Make enable password uniq lines appear only once in configuration. * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which searched configuration files from current directory. Add -f to specify conf from command line. 2004-08-26 Hasso Tepper * *.c: Cosmetical changes - strip long lines, fix multiline comments style, indentation fixes, remove useless comments. * vtysh.h: define VTYSH_INTERFACE. * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO items. * vtysh.c: Move things around a little to reduce spaghetti mess. * Makefile.am: Parse only needed files from zebra daemon while building vtysh_cmd.c file to supress warnings. 2004-06-30 Greg Troxel * extract.pl.in: Rename from extract.pl, with @PERL@. * Makefile.am: Add vtysh_cmds.c to CLEANFILES. 2004-06-20 Hasso Tepper * extract.pl: Zebra daemon has access lists as well. 2004-05-10 Hasso Tepper * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58. 2004-04-06 Hasso Tepper * vtysh_main.c: Don't save command to history if last command already there is same. * vtysh_main.c: Replace -e with -c. * vtysh_main.c: Fix help. 2004-03-04 Hasso Tepper * vtysh.c: Remove using PAGER. 2004-01-15 Paul Jakma * vtysh_config.c: Fix up strlen to use correct string. 2003-12-23 Hasso Tepper * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c: isisd integration to vtysh. 2003-05-01 Sergiy Vyshnevetskiy vtysh.c: Program shouldn't terminate on pager execution failure vtysh_user.c: configure support for openpam (freebsd5.0) 2003-04-19 Hasso Tepper * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to have same syntax 2002-09-30 Paul Jakma * vtysh.c: add 'write-config (integrated|daemon)' option to specifiy whether write config commands should write integrated Zebra.conf file and/or per daemon files. Defaults to per daemon, unless this is turned off. 2002-07-07 Kunihiro Ishiguro * zebra-0.93 released. 2001-08-19 Kunihiro Ishiguro * zebra-0.92a released. 2001-08-15 Kunihiro Ishiguro * zebra-0.92 released. 2001-02-20 Kunihiro Ishiguro * vtysh.c (vtysh_client_config): Do not set bufsz to 120. Suggested by: Matthew Grant . 2001-02-15 Hideto Yamakawa * vtysh.c (vtysh_client_execute): Call fflush after fprintf. * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined. 2001-02-14 Kunihiro Ishiguro * vtysh.c (vtysh_execute_func): Add fflush before pclose. 2001-02-10 Kunihiro Ishiguro * vtysh.c: VTY shell pager name. When environment variable VTYSH_PAGER is defined, use it as VTY shell pager. 2001-02-09 Kunihiro Ishiguro * vtysh.c (vtysh_execute_func): Add pager argument for test of pager invocation. 2001-02-08 Kunihiro Ishiguro * extract.pl: Add -DHAVE_CONFIG_H option to cpp. 2001-02-08 Matthew Grant * vtysh.c (vtysh_client_config): Use sysconf to determine output buffer size. (vtysh_write_memory): Set umask 0077. (vtysh_connect): Check permission to the socket. 2001-02-01 Kunihiro Ishiguro * zebra-0.91 is released. 2001-01-31 Michael Rozhavsky * vtysh.c (new_completion): Fix problem of appending space when completion is executed. 2001-01-23 Akihiro Mizutani * vtysh.c (vtysh_write_terminal): "write terminal" to all node. 2001-01-15 Kunihiro Ishiguro * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY. Suggested by Hideto Yamakawa . 2001-01-09 Kunihiro Ishiguro * zebra-0.90 is released. 2001-01-07 Kunihiro Ishiguro * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt Ranney" 2000-11-06 Kunihiro Ishiguro * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH. 2000-10-23 Kunihiro Ishiguro * vtysh.c (execute_command): Add two arguemnt support for executing child process. (vtysh_telnet_port): New command "telnet WORD PORT" is added. 2000-10-23 Akihiro Mizutani * vtysh.c (vtysh_write_memory): Display [OK] when configuration is saved without problem. 2000-10-20 Kunihiro Ishiguro * vtysh.c (vtysh_config_from_file): "key chain" command with -b flag problem is fixed. 2000-10-17 Kunihiro Ishiguro * vtysh_user.c: Change to use linklist.c. 2000-10-02 Kunihiro Ishiguro * Makefile.am (noinst_HEADERS): Add vtysh_user.h. * zebra-0.89 is released. 2000-09-22 Kunihiro Ishiguro * vtysh_main.c: Declare thread master. 2000-08-25 Kunihiro Ishiguro * vtysh_main.c (main): Add missing --help procudure. Reported by Patrick Rother . 2000-08-22 Kunihiro Ishiguro * vtysh.c (DEFUNSH): "interface IFNAME" works. 2000-08-20 Kunihiro Ishiguro * vtysh_user.c: Change name from vtysh_pam.c. * vtysh.conf.sample: New file for vtysh configuration. 2000-08-19 Kunihiro Ishiguro * vtysh_pam.c (vtysh_pam): New file for PAM. 2000-08-17 Kunihiro Ishiguro * zebra-0.88 is released. 2000-08-02 Kunihiro Ishiguro * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses. * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for backward compatibility. 2000-07-09 Kunihiro Ishiguro * extract.pl: Change regexp to match DEFUN and ALIAS at the same time. 2000-07-05 Kunihiro Ishiguro * vtysh.c (signal_init): Ignore SIGPIPE signal. 2000-07-04 Kunihiro Ishiguro * extract.pl: ALIAS command can be extracted by extract.pl. 2000-07-03 Kunihiro Ishiguro * extract.pl: Fix scalar and array semantics. * vtysh.c (vtysh_telnet): Add "telnet" client command. 2000-07-02 Kunihiro Ishiguro * vtysh.c (main): Add -e flag for passing command from arugment. (vtysh_ping): Add "ping" command for test of command execution. (init_node): Add "traceroute" command. (vtysh_start_shell): Add "start-shell", "start-shell bash", "start-shell zsh". (sigint): Add check for execute_flag for avoid duplicate prompt. 2000-06-28 Kunihiro Ishiguro * vtysh.c: New file for vty shell. * vtysh.h: Likewise. * extract.pl: Likewise. * vtysh_cmd.c: Generate by extract.pl.