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