blob: ac038e1c116b454985aa6da37fc5068b200966df [file] [log] [blame]
Paul Jakma362b4032006-05-28 07:54:45 +000012006-05-24 Paul Jakma <paul.jakma@sun.com>
2
3 * vtysh.c: (general) Add 'show memory' command.
4
Paul Jakma4150f332006-05-23 22:10:55 +000052006-05-21 Paul Jakma <paul.jakma@sun.com>
6
7 * vtysh.c: (vtysh_show_logging_cmd) Suppress output for daemons
8 which are not running (Andrew Schorr).
9
Paul Jakmadbf7d132006-05-23 22:10:01 +0000102006-05-17 Paul Jakma <paul.jakma@sun.com>
11
12 * vtysh.c: (general) Add 'show logging' command.
13
paul44316fe2006-01-11 01:38:25 +0000142006-01-11 Erik Smit <zoiah@zoiah.net>
15
16 * vtysh.c: (vtysh_config_from_file) fix regression from
17 a previous cleanup, vtysh_client.flags and cmd->daemon are
18 bitwise flags, bitwise & was meant to be used. Fixes breakage
19 of integrated config file reading.
20
hasso53a6f932005-09-15 06:50:53 +0000212005-09-15 Hasso Tepper <hasso at quagga.net>
22
23 * vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly.
24 * extract.pl.in: Fix warning - add isisd/topology to the includes.
25
paul57b5b7e2005-08-22 22:44:29 +0000262005-08-22 Hugo Santos <hsantos@av.it.pt>
27
28 * vtysh.c: Add support for BGP_IPV6M_NODE
29
paulb8994082005-07-12 15:15:02 +0000302005-07-12 Christian Hammers <ch@debian.org>
31
32 * vtysh_user.c: rename struct user to struct vtysh_user to avoid
paule3782102005-07-12 16:47:01 +000033 clashes with sys/user.h on Linux/ARM.
paulb8994082005-07-12 15:15:02 +000034
hassob5d518f2005-04-07 17:07:39 +0000352005-04-07 Hasso Tepper <hasso at quagga.net>
36
37 * Makefile.am: Remove rebuild4 target, it's not used any more by build
38 procedure. Define vtysh_cmd_FILES. Use EXTRA_DIST.
hasso528bed42005-04-07 18:42:09 +000039 * extract.pl.in: Ignore "router zebra".
hassob5d518f2005-04-07 17:07:39 +000040
hasso7f223962005-03-28 15:38:16 +0000412005-03-28 Hasso Tepper <hasso at quagga.net>
42
43 * extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
44 snmp support.
45
hasso060d4382005-03-09 12:41:14 +0000462005-03-09 Hasso Tepper <hasso at quagga.net>
47
48 * vtysh_config.c: Move password commands to the AAA_NODE. It
49 quarantees that they will appear after SERVICE_NODE to make sure
50 that encrypted passwords will work ("service password-encryption"
51 command).
52
ajsb1aa1472005-01-28 21:11:46 +0000532005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
54
55 * vtysh.h: Remove obsolete VTYSH_INDEX_* defines. Fix many prototypes
56 for functions with no arguments (must specify argument list as void).
57 * vtysh.c: Enhance vtysh_client array to include the daemon's name
58 and bitmask and socket path (in addition to the fd). This allows
59 us to use loop constructs for various operations that need to be
60 applied to all client daemons, and it facilitates better error
61 messages. Also fix some prototypes with void argument lists.
62 (vclient_close) Issue a warning message indicating which daemon's
63 socket is being closed.
64 (vtysh_execute_func,vtysh_config_from_file) Use a for loop to
65 call vtysh_client_execute.
66 (vtysh_write_terminal,write_config_integrated) Use a for loop to
67 call vtysh_client_config.
68 (vtysh_write_memory) Use a for loop to call vtysh_client_execute.
69 (vtysh_show_daemons) Use a for loop.
70 (vtysh_connect) The struct vtysh_client is now statically initialized,
71 so do not initialize it here.
72 (vtysh_connect_all) Use a for loop to call vtysh_connect. Set
73 ripd_client pointer for use in vtysh_exit_ripd_only.
74
hasso90b42142005-01-23 19:24:46 +0000752005-01-23 Hasso Tepper <hasso at quagga.net>
76
77 * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
78 "integrated-vtysh-config".
hasso13bfca72005-01-23 21:42:25 +000079 * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it
80 already works in vty.
hasso90b42142005-01-23 19:24:46 +000081
hasso87d683b2005-01-16 23:31:54 +0000822005-01-10 Hasso Tepper <hasso at quagga.net>
83
84 * vtysh.c: Reflect changes in lib. cmd_execute_command() should know
85 now that it's called from vtysh and must not attempt to walk up in
86 the node tree.
87
hasso9a30ee52004-12-22 09:27:42 +0000882004-12-22 Hasso Tepper <hasso at quagga.net>
89
90 * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6
hassodfbb9122004-12-22 11:53:09 +000091 forwarding". Show common router-id before router nodes. Fix router
92 bgp node parsing. Move debug commands into debug node and no
93 delimiter between lines there.
hasso9a30ee52004-12-22 09:27:42 +000094
ajs09c3adb2004-12-09 15:15:03 +0000952004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
96
97 * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
98 the results were never used.
99
ajs274a4a42004-12-07 15:39:31 +00001002004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
101
102 * vtysh.c: Make several functions static instead of global.
103 Added several commands to support destination-specific logging levels.
104 (vtysh_completion) This function is unused, so comment it out.
105
ajs85fb1e62004-11-11 14:03:39 +00001062004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
107
108 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
109 '\0' chars and command return code.
110
hassof2799e62004-10-28 17:43:11 +00001112004-10-28 Hasso Tepper <hasso at quagga.net>
112
113 * vtysh.c: "show running-daemons" broke users habits who are using
114 "sho run" to view running configuration. Changed it to "show
115 daemons".
116
hasso97b7db22004-10-20 19:07:48 +00001172004-10-20 Hasso Tepper <hasso at quagga.net>
118
119 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
120 up my terminal if I exit" issue.
121
hasso43fb1352004-10-13 08:47:32 +00001222004-10-13 Hasso Tepper <hasso at quagga.net>
123
124 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
125 to limit access to vty.
126
paulf4ad4db2004-10-13 14:52:22 +00001272004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +0000128
129 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
130 final sync byte is not ASCII NULL, it's actually a status integer,
131 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
132 Fix pointed out by Hasso.
133
hasso5862ff52004-10-11 13:20:40 +00001342004-10-11 Hasso Tepper <hasso at quagga.net>
135
136 * vtysh.c, vtysh_user.c: Make more strings const.
137
hassodda09522004-10-07 21:40:25 +00001382004-10-07 Hasso Tepper <hasso at quagga.net>
139
140 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
141 warnings: make strings const, signed -> unsigned, remove unused
142 variables.
143 * vtysh_config.c: Fix crash introduced with previous patch.
144
hassoe7168df2004-10-03 20:11:32 +00001452004-10-03 Hasso Tepper <hasso at quagga.net>
146
147 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
148 make sense if we don't have any authentication for enable.
149 * vtysh.c: Implement "show running-daemons" command.
150 * vtysh.c: Use either integrated conf or daemon conf not both. Move
151 configuration command into "service" level.
152 * vtysh.c: Remove "write ..." commands from other nodes than enable.
153 We have "do ..." extension for that.
154 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
155 integrated one.
156 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
157 * vtysh_config.c: Make "service" lines unique in integrated config.
158 * vtysh.c: Make "service password-encryption" command work in vtysh.
159 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
160 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
161 commands that don't make sense in vtysh. Closes Bugzilla #104.
162 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
163 is similar to "log" commands - vtysh just passes commands to all
164 daemons.
165 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
166 configuration files specified from command line. We read/write files
167 from/to system location only (ie. remove -f again).
168 * Makefile.am: Parse zebra/router-id.c.
169
hasso42895462004-09-26 16:25:07 +00001702004-09-26 Hasso Tepper <hasso at quagga.net>
171
172 * vtysh.c: Fix compiler warning.
173
paul2852de12004-09-17 06:52:16 +00001742004-09-17 Paul Jakma <paul@dishone.st>
175
176 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
177 split across reads, dont get confused by this and block forever.
178
paul0e82d0e2004-09-13 05:00:18 +00001792004-09-13 Paul Jakma <paul@dishone.st>
180
181 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +0000182 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +0000183 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +0000184 various preamble due to out of tree builds. Substitute in the
185 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +0000186
hassoe42f5a32004-08-28 17:04:33 +00001872004-08-28 Hasso Tepper <hasso at quagga.net>
188
189 * vtysh_main.c: Rename signal handling functions not to conflict
190 with functions from lib/sigevent.c.
191
hasso67e29ab2004-08-26 22:21:31 +00001922004-08-27 Hasso Tepper <hasso at quagga.net>
193
hasso34553cc2004-08-27 13:56:39 +0000194 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
195
1962004-08-27 Hasso Tepper <hasso at quagga.net>
197
hasso67e29ab2004-08-26 22:21:31 +0000198 * vtysh.c: Enable using ssh from ENABLE_NODE.
199 * vtysh_config.c: Make enable password uniq lines appear only once in
200 configuration.
201 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
202 searched configuration files from current directory. Add -f to
203 specify conf from command line.
204
2052004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +0000206
207 * *.c: Cosmetical changes - strip long lines, fix multiline comments
208 style, indentation fixes, remove useless comments.
209 * vtysh.h: define VTYSH_INTERFACE.
210 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
211 items.
212 * vtysh.c: Move things around a little to reduce spaghetti mess.
213 * Makefile.am: Parse only needed files from zebra daemon while
214 building vtysh_cmd.c file to supress warnings.
215
gdtfc9d0742004-06-30 14:25:12 +00002162004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
217
218 * extract.pl.in: Rename from extract.pl, with @PERL@.
219
220 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
221
hasso6c0f9a72004-06-20 09:30:57 +00002222004-06-20 Hasso Tepper <hasso@estpak.ee>
223
224 * extract.pl: Zebra daemon has access lists as well.
225
hasso2a56df92004-05-09 23:16:40 +00002262004-05-10 Hasso Tepper <hasso@estpak.ee>
227
228 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
229
hasso4991f6c2004-04-06 11:36:17 +00002302004-04-06 Hasso Tepper <hasso@estpak.ee>
231
232 * vtysh_main.c: Don't save command to history if last command already
233 there is same.
234 * vtysh_main.c: Replace -e with -c.
235 * vtysh_main.c: Fix help.
236
hassofa2b17e2004-03-04 17:45:00 +00002372004-03-04 Hasso Tepper <hasso@estpak.ee>
238
239 * vtysh.c: Remove using PAGER.
240
paul13b8baa2004-01-15 01:00:49 +00002412004-01-15 Paul Jakma <paul@dishone.st>
242
243 * vtysh_config.c: Fix up strlen to use correct string.
244
hassoba6dffe2003-12-23 10:43:09 +00002452003-12-23 Hasso Tepper <hasso@estpak.ee>
246
247 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
248 isisd integration to vtysh.
249
paul445f1432003-05-16 19:00:31 +00002502003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
251
252 vtysh.c: Program shouldn't terminate on pager execution failure
253 vtysh_user.c: configure support for openpam (freebsd5.0)
254
2552003-04-19 Hasso Tepper <hasso@estpak.ee>
256
257 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
258 have same syntax
259
paul4fc01e62002-12-13 20:49:00 +00002602002-09-30 Paul Jakma <paulzebra@rs250.org>
261
262 * vtysh.c: add 'write-config (integrated|daemon)' option
263 to specifiy whether write config commands should write
264 integrated Zebra.conf file and/or per daemon files.
265 Defaults to per daemon, unless this is turned off.
266
paul718e3742002-12-13 20:15:29 +00002672002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
268
269 * zebra-0.93 released.
270
2712001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
272
273 * zebra-0.92a released.
274
2752001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
276
277 * zebra-0.92 released.
278
2792001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
280
281 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
282 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
283
2842001-02-15 Hideto Yamakawa <yamakawa@dml.com>
285
286 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
287
288 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
289
2902001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
291
292 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
293
2942001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
295
296 * vtysh.c: VTY shell pager name. When environment variable
297 VTYSH_PAGER is defined, use it as VTY shell pager.
298
2992001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
300
301 * vtysh.c (vtysh_execute_func): Add pager argument for test of
302 pager invocation.
303
3042001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
305
306 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
307
3082001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
309
310 * vtysh.c (vtysh_client_config): Use sysconf to determine output
311 buffer size.
312 (vtysh_write_memory): Set umask 0077.
313 (vtysh_connect): Check permission to the socket.
314
3152001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
316
317 * zebra-0.91 is released.
318
3192001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
320
321 * vtysh.c (new_completion): Fix problem of appending space when
322 completion is executed.
323
3242001-01-23 Akihiro Mizutani <mizutani@dml.com>
325
326 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
327
3282001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
329
330 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
331 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
332
3332001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
334
335 * zebra-0.90 is released.
336
3372001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
338
339 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
340 Ranney" <mjr@ranney.com>
341
3422000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
343
344 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
345
3462000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
347
348 * vtysh.c (execute_command): Add two arguemnt support for
349 executing child process.
350 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
351
3522000-10-23 Akihiro Mizutani <mizutani@dml.com>
353
354 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
355 saved without problem.
356
3572000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
358
359 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
360 flag problem is fixed.
361
3622000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
363
364 * vtysh_user.c: Change to use linklist.c.
365
3662000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
367
368 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
369
370 * zebra-0.89 is released.
371
3722000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
373
374 * vtysh_main.c: Declare thread master.
375
3762000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
377
378 * vtysh_main.c (main): Add missing --help procudure. Reported by
379 Patrick Rother <krd@roka.net>.
380
3812000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
382
383 * vtysh.c (DEFUNSH): "interface IFNAME" works.
384
3852000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
386
387 * vtysh_user.c: Change name from vtysh_pam.c.
388
389 * vtysh.conf.sample: New file for vtysh configuration.
390
3912000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
392
393 * vtysh_pam.c (vtysh_pam): New file for PAM.
394
3952000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
396
397 * zebra-0.88 is released.
398
3992000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
400
401 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
402
403 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
404 backward compatibility.
405
4062000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
407
408 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
409 time.
410
4112000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
412
413 * vtysh.c (signal_init): Ignore SIGPIPE signal.
414
4152000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
416
417 * extract.pl: ALIAS command can be extracted by extract.pl.
418
4192000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
420
421 * extract.pl: Fix scalar and array semantics.
422
423 * vtysh.c (vtysh_telnet): Add "telnet" client command.
424
4252000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
426
427 * vtysh.c (main): Add -e flag for passing command from arugment.
428 (vtysh_ping): Add "ping" command for test of command execution.
429 (init_node): Add "traceroute" command.
430 (vtysh_start_shell): Add "start-shell", "start-shell bash",
431 "start-shell zsh".
432 (sigint): Add check for execute_flag for avoid duplicate prompt.
433
4342000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
435
436 * vtysh.c: New file for vty shell.
437 * vtysh.h: Likewise.
438 * extract.pl: Likewise.
439 * vtysh_cmd.c: Generate by extract.pl.