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