ajs | 274a4a4 | 2004-12-07 15:39:31 +0000 | [diff] [blame^] | 1 | 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 2 | |
| 3 | * vtysh.c: Make several functions static instead of global. |
| 4 | Added several commands to support destination-specific logging levels. |
| 5 | (vtysh_completion) This function is unused, so comment it out. |
| 6 | |
ajs | 85fb1e6 | 2004-11-11 14:03:39 +0000 | [diff] [blame] | 7 | 2004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
| 8 | |
| 9 | * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing |
| 10 | '\0' chars and command return code. |
| 11 | |
hasso | f2799e6 | 2004-10-28 17:43:11 +0000 | [diff] [blame] | 12 | 2004-10-28 Hasso Tepper <hasso at quagga.net> |
| 13 | |
| 14 | * vtysh.c: "show running-daemons" broke users habits who are using |
| 15 | "sho run" to view running configuration. Changed it to "show |
| 16 | daemons". |
| 17 | |
hasso | 97b7db2 | 2004-10-20 19:07:48 +0000 | [diff] [blame] | 18 | 2004-10-20 Hasso Tepper <hasso at quagga.net> |
| 19 | |
| 20 | * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws |
| 21 | up my terminal if I exit" issue. |
| 22 | |
hasso | 43fb135 | 2004-10-13 08:47:32 +0000 | [diff] [blame] | 23 | 2004-10-13 Hasso Tepper <hasso at quagga.net> |
| 24 | |
| 25 | * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists |
| 26 | to limit access to vty. |
| 27 | |
paul | f4ad4db | 2004-10-13 14:52:22 +0000 | [diff] [blame] | 28 | 2004-10-11 Paul Jakma <paul@dishone.st> |
paul | 0921d48 | 2004-10-11 18:21:55 +0000 | [diff] [blame] | 29 | |
| 30 | * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and |
| 31 | final sync byte is not ASCII NULL, it's actually a status integer, |
| 32 | and only ASCII NULL if CMD_SUCCESS is returned by daemon. |
| 33 | Fix pointed out by Hasso. |
| 34 | |
hasso | 5862ff5 | 2004-10-11 13:20:40 +0000 | [diff] [blame] | 35 | 2004-10-11 Hasso Tepper <hasso at quagga.net> |
| 36 | |
| 37 | * vtysh.c, vtysh_user.c: Make more strings const. |
| 38 | |
hasso | dda0952 | 2004-10-07 21:40:25 +0000 | [diff] [blame] | 39 | 2004-10-07 Hasso Tepper <hasso at quagga.net> |
| 40 | |
| 41 | * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler |
| 42 | warnings: make strings const, signed -> unsigned, remove unused |
| 43 | variables. |
| 44 | * vtysh_config.c: Fix crash introduced with previous patch. |
| 45 | |
hasso | e7168df | 2004-10-03 20:11:32 +0000 | [diff] [blame] | 46 | 2004-10-03 Hasso Tepper <hasso at quagga.net> |
| 47 | |
| 48 | * vtsyh_main.c: Enter into enable node by default. Disable node doesn't |
| 49 | make sense if we don't have any authentication for enable. |
| 50 | * vtysh.c: Implement "show running-daemons" command. |
| 51 | * vtysh.c: Use either integrated conf or daemon conf not both. Move |
| 52 | configuration command into "service" level. |
| 53 | * vtysh.c: Remove "write ..." commands from other nodes than enable. |
| 54 | We have "do ..." extension for that. |
| 55 | * vtysh_config.c, vtysh.c: Integrate vtysh configuration into |
| 56 | integrated one. |
| 57 | * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes. |
| 58 | * vtysh_config.c: Make "service" lines unique in integrated config. |
| 59 | * vtysh.c: Make "service password-encryption" command work in vtysh. |
| 60 | * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line |
| 61 | vty commands in vtysh. Parse lib/vty.c for commands, but ignore |
| 62 | commands that don't make sense in vtysh. Closes Bugzilla #104. |
| 63 | * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior |
| 64 | is similar to "log" commands - vtysh just passes commands to all |
| 65 | daemons. |
| 66 | * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with |
| 67 | configuration files specified from command line. We read/write files |
| 68 | from/to system location only (ie. remove -f again). |
| 69 | * Makefile.am: Parse zebra/router-id.c. |
| 70 | |
hasso | 4289546 | 2004-09-26 16:25:07 +0000 | [diff] [blame] | 71 | 2004-09-26 Hasso Tepper <hasso at quagga.net> |
| 72 | |
| 73 | * vtysh.c: Fix compiler warning. |
| 74 | |
paul | 2852de1 | 2004-09-17 06:52:16 +0000 | [diff] [blame] | 75 | 2004-09-17 Paul Jakma <paul@dishone.st> |
| 76 | |
| 77 | * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily |
| 78 | split across reads, dont get confused by this and block forever. |
| 79 | |
paul | 0e82d0e | 2004-09-13 05:00:18 +0000 | [diff] [blame] | 80 | 2004-09-13 Paul Jakma <paul@dishone.st> |
| 81 | |
| 82 | * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir. |
paul | b63dc1f | 2004-09-13 12:59:08 +0000 | [diff] [blame] | 83 | remove zebra/irdp.c from list - dead. |
paul | 0e82d0e | 2004-09-13 05:00:18 +0000 | [diff] [blame] | 84 | * extract.pl.in: match on end of filenames, filename could contain |
paul | b63dc1f | 2004-09-13 12:59:08 +0000 | [diff] [blame] | 85 | various preamble due to out of tree builds. Substitute in the |
| 86 | autoconf srcdir/builddir paths for includes to cpp. |
paul | 0e82d0e | 2004-09-13 05:00:18 +0000 | [diff] [blame] | 87 | |
hasso | e42f5a3 | 2004-08-28 17:04:33 +0000 | [diff] [blame] | 88 | 2004-08-28 Hasso Tepper <hasso at quagga.net> |
| 89 | |
| 90 | * vtysh_main.c: Rename signal handling functions not to conflict |
| 91 | with functions from lib/sigevent.c. |
| 92 | |
hasso | 67e29ab | 2004-08-26 22:21:31 +0000 | [diff] [blame] | 93 | 2004-08-27 Hasso Tepper <hasso at quagga.net> |
| 94 | |
hasso | 34553cc | 2004-08-27 13:56:39 +0000 | [diff] [blame] | 95 | * vtysh.c: Make "terminal length <0-512>" command work in vtysh. |
| 96 | |
| 97 | 2004-08-27 Hasso Tepper <hasso at quagga.net> |
| 98 | |
hasso | 67e29ab | 2004-08-26 22:21:31 +0000 | [diff] [blame] | 99 | * vtysh.c: Enable using ssh from ENABLE_NODE. |
| 100 | * vtysh_config.c: Make enable password uniq lines appear only once in |
| 101 | configuration. |
| 102 | * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which |
| 103 | searched configuration files from current directory. Add -f to |
| 104 | specify conf from command line. |
| 105 | |
| 106 | 2004-08-26 Hasso Tepper <hasso at quagga.net> |
hasso | 95e735b | 2004-08-26 13:08:30 +0000 | [diff] [blame] | 107 | |
| 108 | * *.c: Cosmetical changes - strip long lines, fix multiline comments |
| 109 | style, indentation fixes, remove useless comments. |
| 110 | * vtysh.h: define VTYSH_INTERFACE. |
| 111 | * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO |
| 112 | items. |
| 113 | * vtysh.c: Move things around a little to reduce spaghetti mess. |
| 114 | * Makefile.am: Parse only needed files from zebra daemon while |
| 115 | building vtysh_cmd.c file to supress warnings. |
| 116 | |
gdt | fc9d074 | 2004-06-30 14:25:12 +0000 | [diff] [blame] | 117 | 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com> |
| 118 | |
| 119 | * extract.pl.in: Rename from extract.pl, with @PERL@. |
| 120 | |
| 121 | * Makefile.am: Add vtysh_cmds.c to CLEANFILES. |
| 122 | |
hasso | 6c0f9a7 | 2004-06-20 09:30:57 +0000 | [diff] [blame] | 123 | 2004-06-20 Hasso Tepper <hasso@estpak.ee> |
| 124 | |
| 125 | * extract.pl: Zebra daemon has access lists as well. |
| 126 | |
hasso | 2a56df9 | 2004-05-09 23:16:40 +0000 | [diff] [blame] | 127 | 2004-05-10 Hasso Tepper <hasso@estpak.ee> |
| 128 | |
| 129 | * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58. |
| 130 | |
hasso | 4991f6c | 2004-04-06 11:36:17 +0000 | [diff] [blame] | 131 | 2004-04-06 Hasso Tepper <hasso@estpak.ee> |
| 132 | |
| 133 | * vtysh_main.c: Don't save command to history if last command already |
| 134 | there is same. |
| 135 | * vtysh_main.c: Replace -e with -c. |
| 136 | * vtysh_main.c: Fix help. |
| 137 | |
hasso | fa2b17e | 2004-03-04 17:45:00 +0000 | [diff] [blame] | 138 | 2004-03-04 Hasso Tepper <hasso@estpak.ee> |
| 139 | |
| 140 | * vtysh.c: Remove using PAGER. |
| 141 | |
paul | 13b8baa | 2004-01-15 01:00:49 +0000 | [diff] [blame] | 142 | 2004-01-15 Paul Jakma <paul@dishone.st> |
| 143 | |
| 144 | * vtysh_config.c: Fix up strlen to use correct string. |
| 145 | |
hasso | ba6dffe | 2003-12-23 10:43:09 +0000 | [diff] [blame] | 146 | 2003-12-23 Hasso Tepper <hasso@estpak.ee> |
| 147 | |
| 148 | * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c: |
| 149 | isisd integration to vtysh. |
| 150 | |
paul | 445f143 | 2003-05-16 19:00:31 +0000 | [diff] [blame] | 151 | 2003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net> |
| 152 | |
| 153 | vtysh.c: Program shouldn't terminate on pager execution failure |
| 154 | vtysh_user.c: configure support for openpam (freebsd5.0) |
| 155 | |
| 156 | 2003-04-19 Hasso Tepper <hasso@estpak.ee> |
| 157 | |
| 158 | * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to |
| 159 | have same syntax |
| 160 | |
paul | 4fc01e6 | 2002-12-13 20:49:00 +0000 | [diff] [blame] | 161 | 2002-09-30 Paul Jakma <paulzebra@rs250.org> |
| 162 | |
| 163 | * vtysh.c: add 'write-config (integrated|daemon)' option |
| 164 | to specifiy whether write config commands should write |
| 165 | integrated Zebra.conf file and/or per daemon files. |
| 166 | Defaults to per daemon, unless this is turned off. |
| 167 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 168 | 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 169 | |
| 170 | * zebra-0.93 released. |
| 171 | |
| 172 | 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 173 | |
| 174 | * zebra-0.92a released. |
| 175 | |
| 176 | 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com> |
| 177 | |
| 178 | * zebra-0.92 released. |
| 179 | |
| 180 | 2001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 181 | |
| 182 | * vtysh.c (vtysh_client_config): Do not set bufsz to 120. |
| 183 | Suggested by: Matthew Grant <grantma@anathoth.gen.nz>. |
| 184 | |
| 185 | 2001-02-15 Hideto Yamakawa <yamakawa@dml.com> |
| 186 | |
| 187 | * vtysh.c (vtysh_client_execute): Call fflush after fprintf. |
| 188 | |
| 189 | * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined. |
| 190 | |
| 191 | 2001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 192 | |
| 193 | * vtysh.c (vtysh_execute_func): Add fflush before pclose. |
| 194 | |
| 195 | 2001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 196 | |
| 197 | * vtysh.c: VTY shell pager name. When environment variable |
| 198 | VTYSH_PAGER is defined, use it as VTY shell pager. |
| 199 | |
| 200 | 2001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 201 | |
| 202 | * vtysh.c (vtysh_execute_func): Add pager argument for test of |
| 203 | pager invocation. |
| 204 | |
| 205 | 2001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 206 | |
| 207 | * extract.pl: Add -DHAVE_CONFIG_H option to cpp. |
| 208 | |
| 209 | 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz> |
| 210 | |
| 211 | * vtysh.c (vtysh_client_config): Use sysconf to determine output |
| 212 | buffer size. |
| 213 | (vtysh_write_memory): Set umask 0077. |
| 214 | (vtysh_connect): Check permission to the socket. |
| 215 | |
| 216 | 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 217 | |
| 218 | * zebra-0.91 is released. |
| 219 | |
| 220 | 2001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com> |
| 221 | |
| 222 | * vtysh.c (new_completion): Fix problem of appending space when |
| 223 | completion is executed. |
| 224 | |
| 225 | 2001-01-23 Akihiro Mizutani <mizutani@dml.com> |
| 226 | |
| 227 | * vtysh.c (vtysh_write_terminal): "write terminal" to all node. |
| 228 | |
| 229 | 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 230 | |
| 231 | * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY. |
| 232 | Suggested by Hideto Yamakawa <yamakawa@dml.com>. |
| 233 | |
| 234 | 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 235 | |
| 236 | * zebra-0.90 is released. |
| 237 | |
| 238 | 2001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 239 | |
| 240 | * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt |
| 241 | Ranney" <mjr@ranney.com> |
| 242 | |
| 243 | 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 244 | |
| 245 | * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH. |
| 246 | |
| 247 | 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 248 | |
| 249 | * vtysh.c (execute_command): Add two arguemnt support for |
| 250 | executing child process. |
| 251 | (vtysh_telnet_port): New command "telnet WORD PORT" is added. |
| 252 | |
| 253 | 2000-10-23 Akihiro Mizutani <mizutani@dml.com> |
| 254 | |
| 255 | * vtysh.c (vtysh_write_memory): Display [OK] when configuration is |
| 256 | saved without problem. |
| 257 | |
| 258 | 2000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 259 | |
| 260 | * vtysh.c (vtysh_config_from_file): "key chain" command with -b |
| 261 | flag problem is fixed. |
| 262 | |
| 263 | 2000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 264 | |
| 265 | * vtysh_user.c: Change to use linklist.c. |
| 266 | |
| 267 | 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 268 | |
| 269 | * Makefile.am (noinst_HEADERS): Add vtysh_user.h. |
| 270 | |
| 271 | * zebra-0.89 is released. |
| 272 | |
| 273 | 2000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 274 | |
| 275 | * vtysh_main.c: Declare thread master. |
| 276 | |
| 277 | 2000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 278 | |
| 279 | * vtysh_main.c (main): Add missing --help procudure. Reported by |
| 280 | Patrick Rother <krd@roka.net>. |
| 281 | |
| 282 | 2000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 283 | |
| 284 | * vtysh.c (DEFUNSH): "interface IFNAME" works. |
| 285 | |
| 286 | 2000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 287 | |
| 288 | * vtysh_user.c: Change name from vtysh_pam.c. |
| 289 | |
| 290 | * vtysh.conf.sample: New file for vtysh configuration. |
| 291 | |
| 292 | 2000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 293 | |
| 294 | * vtysh_pam.c (vtysh_pam): New file for PAM. |
| 295 | |
| 296 | 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 297 | |
| 298 | * zebra-0.88 is released. |
| 299 | |
| 300 | 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 301 | |
| 302 | * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses. |
| 303 | |
| 304 | * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for |
| 305 | backward compatibility. |
| 306 | |
| 307 | 2000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 308 | |
| 309 | * extract.pl: Change regexp to match DEFUN and ALIAS at the same |
| 310 | time. |
| 311 | |
| 312 | 2000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 313 | |
| 314 | * vtysh.c (signal_init): Ignore SIGPIPE signal. |
| 315 | |
| 316 | 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 317 | |
| 318 | * extract.pl: ALIAS command can be extracted by extract.pl. |
| 319 | |
| 320 | 2000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 321 | |
| 322 | * extract.pl: Fix scalar and array semantics. |
| 323 | |
| 324 | * vtysh.c (vtysh_telnet): Add "telnet" client command. |
| 325 | |
| 326 | 2000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 327 | |
| 328 | * vtysh.c (main): Add -e flag for passing command from arugment. |
| 329 | (vtysh_ping): Add "ping" command for test of command execution. |
| 330 | (init_node): Add "traceroute" command. |
| 331 | (vtysh_start_shell): Add "start-shell", "start-shell bash", |
| 332 | "start-shell zsh". |
| 333 | (sigint): Add check for execute_flag for avoid duplicate prompt. |
| 334 | |
| 335 | 2000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org> |
| 336 | |
| 337 | * vtysh.c: New file for vty shell. |
| 338 | * vtysh.h: Likewise. |
| 339 | * extract.pl: Likewise. |
| 340 | * vtysh_cmd.c: Generate by extract.pl. |