blob: d72c7a6a302ebf8c0963459f9d7718cfacf8ae76 [file] [log] [blame]
hassob5d518f2005-04-07 17:07:39 +000012005-04-07 Hasso Tepper <hasso at quagga.net>
2
3 * Makefile.am: Remove rebuild4 target, it's not used any more by build
4 procedure. Define vtysh_cmd_FILES. Use EXTRA_DIST.
5
hasso7f223962005-03-28 15:38:16 +000062005-03-28 Hasso Tepper <hasso at quagga.net>
7
8 * extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
9 snmp support.
10
hasso060d4382005-03-09 12:41:14 +0000112005-03-09 Hasso Tepper <hasso at quagga.net>
12
13 * vtysh_config.c: Move password commands to the AAA_NODE. It
14 quarantees that they will appear after SERVICE_NODE to make sure
15 that encrypted passwords will work ("service password-encryption"
16 command).
17
ajsb1aa1472005-01-28 21:11:46 +0000182005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
19
20 * vtysh.h: Remove obsolete VTYSH_INDEX_* defines. Fix many prototypes
21 for functions with no arguments (must specify argument list as void).
22 * vtysh.c: Enhance vtysh_client array to include the daemon's name
23 and bitmask and socket path (in addition to the fd). This allows
24 us to use loop constructs for various operations that need to be
25 applied to all client daemons, and it facilitates better error
26 messages. Also fix some prototypes with void argument lists.
27 (vclient_close) Issue a warning message indicating which daemon's
28 socket is being closed.
29 (vtysh_execute_func,vtysh_config_from_file) Use a for loop to
30 call vtysh_client_execute.
31 (vtysh_write_terminal,write_config_integrated) Use a for loop to
32 call vtysh_client_config.
33 (vtysh_write_memory) Use a for loop to call vtysh_client_execute.
34 (vtysh_show_daemons) Use a for loop.
35 (vtysh_connect) The struct vtysh_client is now statically initialized,
36 so do not initialize it here.
37 (vtysh_connect_all) Use a for loop to call vtysh_connect. Set
38 ripd_client pointer for use in vtysh_exit_ripd_only.
39
hasso90b42142005-01-23 19:24:46 +0000402005-01-23 Hasso Tepper <hasso at quagga.net>
41
42 * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
43 "integrated-vtysh-config".
hasso13bfca72005-01-23 21:42:25 +000044 * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it
45 already works in vty.
hasso90b42142005-01-23 19:24:46 +000046
hasso87d683b2005-01-16 23:31:54 +0000472005-01-10 Hasso Tepper <hasso at quagga.net>
48
49 * vtysh.c: Reflect changes in lib. cmd_execute_command() should know
50 now that it's called from vtysh and must not attempt to walk up in
51 the node tree.
52
hasso9a30ee52004-12-22 09:27:42 +0000532004-12-22 Hasso Tepper <hasso at quagga.net>
54
55 * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6
hassodfbb9122004-12-22 11:53:09 +000056 forwarding". Show common router-id before router nodes. Fix router
57 bgp node parsing. Move debug commands into debug node and no
58 delimiter between lines there.
hasso9a30ee52004-12-22 09:27:42 +000059
ajs09c3adb2004-12-09 15:15:03 +0000602004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
61
62 * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
63 the results were never used.
64
ajs274a4a42004-12-07 15:39:31 +0000652004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
66
67 * vtysh.c: Make several functions static instead of global.
68 Added several commands to support destination-specific logging levels.
69 (vtysh_completion) This function is unused, so comment it out.
70
ajs85fb1e62004-11-11 14:03:39 +0000712004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
72
73 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
74 '\0' chars and command return code.
75
hassof2799e62004-10-28 17:43:11 +0000762004-10-28 Hasso Tepper <hasso at quagga.net>
77
78 * vtysh.c: "show running-daemons" broke users habits who are using
79 "sho run" to view running configuration. Changed it to "show
80 daemons".
81
hasso97b7db22004-10-20 19:07:48 +0000822004-10-20 Hasso Tepper <hasso at quagga.net>
83
84 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
85 up my terminal if I exit" issue.
86
hasso43fb1352004-10-13 08:47:32 +0000872004-10-13 Hasso Tepper <hasso at quagga.net>
88
89 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
90 to limit access to vty.
91
paulf4ad4db2004-10-13 14:52:22 +0000922004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +000093
94 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
95 final sync byte is not ASCII NULL, it's actually a status integer,
96 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
97 Fix pointed out by Hasso.
98
hasso5862ff52004-10-11 13:20:40 +0000992004-10-11 Hasso Tepper <hasso at quagga.net>
100
101 * vtysh.c, vtysh_user.c: Make more strings const.
102
hassodda09522004-10-07 21:40:25 +00001032004-10-07 Hasso Tepper <hasso at quagga.net>
104
105 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
106 warnings: make strings const, signed -> unsigned, remove unused
107 variables.
108 * vtysh_config.c: Fix crash introduced with previous patch.
109
hassoe7168df2004-10-03 20:11:32 +00001102004-10-03 Hasso Tepper <hasso at quagga.net>
111
112 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
113 make sense if we don't have any authentication for enable.
114 * vtysh.c: Implement "show running-daemons" command.
115 * vtysh.c: Use either integrated conf or daemon conf not both. Move
116 configuration command into "service" level.
117 * vtysh.c: Remove "write ..." commands from other nodes than enable.
118 We have "do ..." extension for that.
119 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
120 integrated one.
121 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
122 * vtysh_config.c: Make "service" lines unique in integrated config.
123 * vtysh.c: Make "service password-encryption" command work in vtysh.
124 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
125 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
126 commands that don't make sense in vtysh. Closes Bugzilla #104.
127 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
128 is similar to "log" commands - vtysh just passes commands to all
129 daemons.
130 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
131 configuration files specified from command line. We read/write files
132 from/to system location only (ie. remove -f again).
133 * Makefile.am: Parse zebra/router-id.c.
134
hasso42895462004-09-26 16:25:07 +00001352004-09-26 Hasso Tepper <hasso at quagga.net>
136
137 * vtysh.c: Fix compiler warning.
138
paul2852de12004-09-17 06:52:16 +00001392004-09-17 Paul Jakma <paul@dishone.st>
140
141 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
142 split across reads, dont get confused by this and block forever.
143
paul0e82d0e2004-09-13 05:00:18 +00001442004-09-13 Paul Jakma <paul@dishone.st>
145
146 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +0000147 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +0000148 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +0000149 various preamble due to out of tree builds. Substitute in the
150 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +0000151
hassoe42f5a32004-08-28 17:04:33 +00001522004-08-28 Hasso Tepper <hasso at quagga.net>
153
154 * vtysh_main.c: Rename signal handling functions not to conflict
155 with functions from lib/sigevent.c.
156
hasso67e29ab2004-08-26 22:21:31 +00001572004-08-27 Hasso Tepper <hasso at quagga.net>
158
hasso34553cc2004-08-27 13:56:39 +0000159 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
160
1612004-08-27 Hasso Tepper <hasso at quagga.net>
162
hasso67e29ab2004-08-26 22:21:31 +0000163 * vtysh.c: Enable using ssh from ENABLE_NODE.
164 * vtysh_config.c: Make enable password uniq lines appear only once in
165 configuration.
166 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
167 searched configuration files from current directory. Add -f to
168 specify conf from command line.
169
1702004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +0000171
172 * *.c: Cosmetical changes - strip long lines, fix multiline comments
173 style, indentation fixes, remove useless comments.
174 * vtysh.h: define VTYSH_INTERFACE.
175 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
176 items.
177 * vtysh.c: Move things around a little to reduce spaghetti mess.
178 * Makefile.am: Parse only needed files from zebra daemon while
179 building vtysh_cmd.c file to supress warnings.
180
gdtfc9d0742004-06-30 14:25:12 +00001812004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
182
183 * extract.pl.in: Rename from extract.pl, with @PERL@.
184
185 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
186
hasso6c0f9a72004-06-20 09:30:57 +00001872004-06-20 Hasso Tepper <hasso@estpak.ee>
188
189 * extract.pl: Zebra daemon has access lists as well.
190
hasso2a56df92004-05-09 23:16:40 +00001912004-05-10 Hasso Tepper <hasso@estpak.ee>
192
193 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
194
hasso4991f6c2004-04-06 11:36:17 +00001952004-04-06 Hasso Tepper <hasso@estpak.ee>
196
197 * vtysh_main.c: Don't save command to history if last command already
198 there is same.
199 * vtysh_main.c: Replace -e with -c.
200 * vtysh_main.c: Fix help.
201
hassofa2b17e2004-03-04 17:45:00 +00002022004-03-04 Hasso Tepper <hasso@estpak.ee>
203
204 * vtysh.c: Remove using PAGER.
205
paul13b8baa2004-01-15 01:00:49 +00002062004-01-15 Paul Jakma <paul@dishone.st>
207
208 * vtysh_config.c: Fix up strlen to use correct string.
209
hassoba6dffe2003-12-23 10:43:09 +00002102003-12-23 Hasso Tepper <hasso@estpak.ee>
211
212 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
213 isisd integration to vtysh.
214
paul445f1432003-05-16 19:00:31 +00002152003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
216
217 vtysh.c: Program shouldn't terminate on pager execution failure
218 vtysh_user.c: configure support for openpam (freebsd5.0)
219
2202003-04-19 Hasso Tepper <hasso@estpak.ee>
221
222 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
223 have same syntax
224
paul4fc01e62002-12-13 20:49:00 +00002252002-09-30 Paul Jakma <paulzebra@rs250.org>
226
227 * vtysh.c: add 'write-config (integrated|daemon)' option
228 to specifiy whether write config commands should write
229 integrated Zebra.conf file and/or per daemon files.
230 Defaults to per daemon, unless this is turned off.
231
paul718e3742002-12-13 20:15:29 +00002322002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
233
234 * zebra-0.93 released.
235
2362001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
237
238 * zebra-0.92a released.
239
2402001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
241
242 * zebra-0.92 released.
243
2442001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
245
246 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
247 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
248
2492001-02-15 Hideto Yamakawa <yamakawa@dml.com>
250
251 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
252
253 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
254
2552001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
256
257 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
258
2592001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
260
261 * vtysh.c: VTY shell pager name. When environment variable
262 VTYSH_PAGER is defined, use it as VTY shell pager.
263
2642001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
265
266 * vtysh.c (vtysh_execute_func): Add pager argument for test of
267 pager invocation.
268
2692001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
270
271 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
272
2732001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
274
275 * vtysh.c (vtysh_client_config): Use sysconf to determine output
276 buffer size.
277 (vtysh_write_memory): Set umask 0077.
278 (vtysh_connect): Check permission to the socket.
279
2802001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
281
282 * zebra-0.91 is released.
283
2842001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
285
286 * vtysh.c (new_completion): Fix problem of appending space when
287 completion is executed.
288
2892001-01-23 Akihiro Mizutani <mizutani@dml.com>
290
291 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
292
2932001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
294
295 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
296 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
297
2982001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
299
300 * zebra-0.90 is released.
301
3022001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
303
304 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
305 Ranney" <mjr@ranney.com>
306
3072000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
308
309 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
310
3112000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
312
313 * vtysh.c (execute_command): Add two arguemnt support for
314 executing child process.
315 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
316
3172000-10-23 Akihiro Mizutani <mizutani@dml.com>
318
319 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
320 saved without problem.
321
3222000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
323
324 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
325 flag problem is fixed.
326
3272000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
328
329 * vtysh_user.c: Change to use linklist.c.
330
3312000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
332
333 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
334
335 * zebra-0.89 is released.
336
3372000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
338
339 * vtysh_main.c: Declare thread master.
340
3412000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
342
343 * vtysh_main.c (main): Add missing --help procudure. Reported by
344 Patrick Rother <krd@roka.net>.
345
3462000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
347
348 * vtysh.c (DEFUNSH): "interface IFNAME" works.
349
3502000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
351
352 * vtysh_user.c: Change name from vtysh_pam.c.
353
354 * vtysh.conf.sample: New file for vtysh configuration.
355
3562000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
357
358 * vtysh_pam.c (vtysh_pam): New file for PAM.
359
3602000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * zebra-0.88 is released.
363
3642000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
365
366 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
367
368 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
369 backward compatibility.
370
3712000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
372
373 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
374 time.
375
3762000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
377
378 * vtysh.c (signal_init): Ignore SIGPIPE signal.
379
3802000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
381
382 * extract.pl: ALIAS command can be extracted by extract.pl.
383
3842000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
385
386 * extract.pl: Fix scalar and array semantics.
387
388 * vtysh.c (vtysh_telnet): Add "telnet" client command.
389
3902000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
391
392 * vtysh.c (main): Add -e flag for passing command from arugment.
393 (vtysh_ping): Add "ping" command for test of command execution.
394 (init_node): Add "traceroute" command.
395 (vtysh_start_shell): Add "start-shell", "start-shell bash",
396 "start-shell zsh".
397 (sigint): Add check for execute_flag for avoid duplicate prompt.
398
3992000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
400
401 * vtysh.c: New file for vty shell.
402 * vtysh.h: Likewise.
403 * extract.pl: Likewise.
404 * vtysh_cmd.c: Generate by extract.pl.