blob: b0c13544624052ac3d741f23f1196aa873f74439 [file] [log] [blame]
paul57b5b7e2005-08-22 22:44:29 +000012005-08-22 Hugo Santos <hsantos@av.it.pt>
2
3 * vtysh.c: Add support for BGP_IPV6M_NODE
4
paulb8994082005-07-12 15:15:02 +000052005-07-12 Christian Hammers <ch@debian.org>
6
7 * vtysh_user.c: rename struct user to struct vtysh_user to avoid
paule3782102005-07-12 16:47:01 +00008 clashes with sys/user.h on Linux/ARM.
paulb8994082005-07-12 15:15:02 +00009
hassob5d518f2005-04-07 17:07:39 +0000102005-04-07 Hasso Tepper <hasso at quagga.net>
11
12 * Makefile.am: Remove rebuild4 target, it's not used any more by build
13 procedure. Define vtysh_cmd_FILES. Use EXTRA_DIST.
hasso528bed42005-04-07 18:42:09 +000014 * extract.pl.in: Ignore "router zebra".
hassob5d518f2005-04-07 17:07:39 +000015
hasso7f223962005-03-28 15:38:16 +0000162005-03-28 Hasso Tepper <hasso at quagga.net>
17
18 * extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
19 snmp support.
20
hasso060d4382005-03-09 12:41:14 +0000212005-03-09 Hasso Tepper <hasso at quagga.net>
22
23 * vtysh_config.c: Move password commands to the AAA_NODE. It
24 quarantees that they will appear after SERVICE_NODE to make sure
25 that encrypted passwords will work ("service password-encryption"
26 command).
27
ajsb1aa1472005-01-28 21:11:46 +0000282005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
29
30 * vtysh.h: Remove obsolete VTYSH_INDEX_* defines. Fix many prototypes
31 for functions with no arguments (must specify argument list as void).
32 * vtysh.c: Enhance vtysh_client array to include the daemon's name
33 and bitmask and socket path (in addition to the fd). This allows
34 us to use loop constructs for various operations that need to be
35 applied to all client daemons, and it facilitates better error
36 messages. Also fix some prototypes with void argument lists.
37 (vclient_close) Issue a warning message indicating which daemon's
38 socket is being closed.
39 (vtysh_execute_func,vtysh_config_from_file) Use a for loop to
40 call vtysh_client_execute.
41 (vtysh_write_terminal,write_config_integrated) Use a for loop to
42 call vtysh_client_config.
43 (vtysh_write_memory) Use a for loop to call vtysh_client_execute.
44 (vtysh_show_daemons) Use a for loop.
45 (vtysh_connect) The struct vtysh_client is now statically initialized,
46 so do not initialize it here.
47 (vtysh_connect_all) Use a for loop to call vtysh_connect. Set
48 ripd_client pointer for use in vtysh_exit_ripd_only.
49
hasso90b42142005-01-23 19:24:46 +0000502005-01-23 Hasso Tepper <hasso at quagga.net>
51
52 * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
53 "integrated-vtysh-config".
hasso13bfca72005-01-23 21:42:25 +000054 * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it
55 already works in vty.
hasso90b42142005-01-23 19:24:46 +000056
hasso87d683b2005-01-16 23:31:54 +0000572005-01-10 Hasso Tepper <hasso at quagga.net>
58
59 * vtysh.c: Reflect changes in lib. cmd_execute_command() should know
60 now that it's called from vtysh and must not attempt to walk up in
61 the node tree.
62
hasso9a30ee52004-12-22 09:27:42 +0000632004-12-22 Hasso Tepper <hasso at quagga.net>
64
65 * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6
hassodfbb9122004-12-22 11:53:09 +000066 forwarding". Show common router-id before router nodes. Fix router
67 bgp node parsing. Move debug commands into debug node and no
68 delimiter between lines there.
hasso9a30ee52004-12-22 09:27:42 +000069
ajs09c3adb2004-12-09 15:15:03 +0000702004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
71
72 * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
73 the results were never used.
74
ajs274a4a42004-12-07 15:39:31 +0000752004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
76
77 * vtysh.c: Make several functions static instead of global.
78 Added several commands to support destination-specific logging levels.
79 (vtysh_completion) This function is unused, so comment it out.
80
ajs85fb1e62004-11-11 14:03:39 +0000812004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
82
83 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
84 '\0' chars and command return code.
85
hassof2799e62004-10-28 17:43:11 +0000862004-10-28 Hasso Tepper <hasso at quagga.net>
87
88 * vtysh.c: "show running-daemons" broke users habits who are using
89 "sho run" to view running configuration. Changed it to "show
90 daemons".
91
hasso97b7db22004-10-20 19:07:48 +0000922004-10-20 Hasso Tepper <hasso at quagga.net>
93
94 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
95 up my terminal if I exit" issue.
96
hasso43fb1352004-10-13 08:47:32 +0000972004-10-13 Hasso Tepper <hasso at quagga.net>
98
99 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
100 to limit access to vty.
101
paulf4ad4db2004-10-13 14:52:22 +00001022004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +0000103
104 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
105 final sync byte is not ASCII NULL, it's actually a status integer,
106 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
107 Fix pointed out by Hasso.
108
hasso5862ff52004-10-11 13:20:40 +00001092004-10-11 Hasso Tepper <hasso at quagga.net>
110
111 * vtysh.c, vtysh_user.c: Make more strings const.
112
hassodda09522004-10-07 21:40:25 +00001132004-10-07 Hasso Tepper <hasso at quagga.net>
114
115 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
116 warnings: make strings const, signed -> unsigned, remove unused
117 variables.
118 * vtysh_config.c: Fix crash introduced with previous patch.
119
hassoe7168df2004-10-03 20:11:32 +00001202004-10-03 Hasso Tepper <hasso at quagga.net>
121
122 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
123 make sense if we don't have any authentication for enable.
124 * vtysh.c: Implement "show running-daemons" command.
125 * vtysh.c: Use either integrated conf or daemon conf not both. Move
126 configuration command into "service" level.
127 * vtysh.c: Remove "write ..." commands from other nodes than enable.
128 We have "do ..." extension for that.
129 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
130 integrated one.
131 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
132 * vtysh_config.c: Make "service" lines unique in integrated config.
133 * vtysh.c: Make "service password-encryption" command work in vtysh.
134 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
135 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
136 commands that don't make sense in vtysh. Closes Bugzilla #104.
137 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
138 is similar to "log" commands - vtysh just passes commands to all
139 daemons.
140 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
141 configuration files specified from command line. We read/write files
142 from/to system location only (ie. remove -f again).
143 * Makefile.am: Parse zebra/router-id.c.
144
hasso42895462004-09-26 16:25:07 +00001452004-09-26 Hasso Tepper <hasso at quagga.net>
146
147 * vtysh.c: Fix compiler warning.
148
paul2852de12004-09-17 06:52:16 +00001492004-09-17 Paul Jakma <paul@dishone.st>
150
151 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
152 split across reads, dont get confused by this and block forever.
153
paul0e82d0e2004-09-13 05:00:18 +00001542004-09-13 Paul Jakma <paul@dishone.st>
155
156 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +0000157 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +0000158 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +0000159 various preamble due to out of tree builds. Substitute in the
160 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +0000161
hassoe42f5a32004-08-28 17:04:33 +00001622004-08-28 Hasso Tepper <hasso at quagga.net>
163
164 * vtysh_main.c: Rename signal handling functions not to conflict
165 with functions from lib/sigevent.c.
166
hasso67e29ab2004-08-26 22:21:31 +00001672004-08-27 Hasso Tepper <hasso at quagga.net>
168
hasso34553cc2004-08-27 13:56:39 +0000169 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
170
1712004-08-27 Hasso Tepper <hasso at quagga.net>
172
hasso67e29ab2004-08-26 22:21:31 +0000173 * vtysh.c: Enable using ssh from ENABLE_NODE.
174 * vtysh_config.c: Make enable password uniq lines appear only once in
175 configuration.
176 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
177 searched configuration files from current directory. Add -f to
178 specify conf from command line.
179
1802004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +0000181
182 * *.c: Cosmetical changes - strip long lines, fix multiline comments
183 style, indentation fixes, remove useless comments.
184 * vtysh.h: define VTYSH_INTERFACE.
185 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
186 items.
187 * vtysh.c: Move things around a little to reduce spaghetti mess.
188 * Makefile.am: Parse only needed files from zebra daemon while
189 building vtysh_cmd.c file to supress warnings.
190
gdtfc9d0742004-06-30 14:25:12 +00001912004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
192
193 * extract.pl.in: Rename from extract.pl, with @PERL@.
194
195 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
196
hasso6c0f9a72004-06-20 09:30:57 +00001972004-06-20 Hasso Tepper <hasso@estpak.ee>
198
199 * extract.pl: Zebra daemon has access lists as well.
200
hasso2a56df92004-05-09 23:16:40 +00002012004-05-10 Hasso Tepper <hasso@estpak.ee>
202
203 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
204
hasso4991f6c2004-04-06 11:36:17 +00002052004-04-06 Hasso Tepper <hasso@estpak.ee>
206
207 * vtysh_main.c: Don't save command to history if last command already
208 there is same.
209 * vtysh_main.c: Replace -e with -c.
210 * vtysh_main.c: Fix help.
211
hassofa2b17e2004-03-04 17:45:00 +00002122004-03-04 Hasso Tepper <hasso@estpak.ee>
213
214 * vtysh.c: Remove using PAGER.
215
paul13b8baa2004-01-15 01:00:49 +00002162004-01-15 Paul Jakma <paul@dishone.st>
217
218 * vtysh_config.c: Fix up strlen to use correct string.
219
hassoba6dffe2003-12-23 10:43:09 +00002202003-12-23 Hasso Tepper <hasso@estpak.ee>
221
222 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
223 isisd integration to vtysh.
224
paul445f1432003-05-16 19:00:31 +00002252003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
226
227 vtysh.c: Program shouldn't terminate on pager execution failure
228 vtysh_user.c: configure support for openpam (freebsd5.0)
229
2302003-04-19 Hasso Tepper <hasso@estpak.ee>
231
232 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
233 have same syntax
234
paul4fc01e62002-12-13 20:49:00 +00002352002-09-30 Paul Jakma <paulzebra@rs250.org>
236
237 * vtysh.c: add 'write-config (integrated|daemon)' option
238 to specifiy whether write config commands should write
239 integrated Zebra.conf file and/or per daemon files.
240 Defaults to per daemon, unless this is turned off.
241
paul718e3742002-12-13 20:15:29 +00002422002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
243
244 * zebra-0.93 released.
245
2462001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
247
248 * zebra-0.92a released.
249
2502001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
251
252 * zebra-0.92 released.
253
2542001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
255
256 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
257 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
258
2592001-02-15 Hideto Yamakawa <yamakawa@dml.com>
260
261 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
262
263 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
264
2652001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
266
267 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
268
2692001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
270
271 * vtysh.c: VTY shell pager name. When environment variable
272 VTYSH_PAGER is defined, use it as VTY shell pager.
273
2742001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
275
276 * vtysh.c (vtysh_execute_func): Add pager argument for test of
277 pager invocation.
278
2792001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
280
281 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
282
2832001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
284
285 * vtysh.c (vtysh_client_config): Use sysconf to determine output
286 buffer size.
287 (vtysh_write_memory): Set umask 0077.
288 (vtysh_connect): Check permission to the socket.
289
2902001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
291
292 * zebra-0.91 is released.
293
2942001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
295
296 * vtysh.c (new_completion): Fix problem of appending space when
297 completion is executed.
298
2992001-01-23 Akihiro Mizutani <mizutani@dml.com>
300
301 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
302
3032001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
304
305 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
306 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
307
3082001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
309
310 * zebra-0.90 is released.
311
3122001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
313
314 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
315 Ranney" <mjr@ranney.com>
316
3172000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
318
319 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
320
3212000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
322
323 * vtysh.c (execute_command): Add two arguemnt support for
324 executing child process.
325 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
326
3272000-10-23 Akihiro Mizutani <mizutani@dml.com>
328
329 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
330 saved without problem.
331
3322000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
333
334 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
335 flag problem is fixed.
336
3372000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
338
339 * vtysh_user.c: Change to use linklist.c.
340
3412000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
342
343 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
344
345 * zebra-0.89 is released.
346
3472000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
348
349 * vtysh_main.c: Declare thread master.
350
3512000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
352
353 * vtysh_main.c (main): Add missing --help procudure. Reported by
354 Patrick Rother <krd@roka.net>.
355
3562000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
357
358 * vtysh.c (DEFUNSH): "interface IFNAME" works.
359
3602000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * vtysh_user.c: Change name from vtysh_pam.c.
363
364 * vtysh.conf.sample: New file for vtysh configuration.
365
3662000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
367
368 * vtysh_pam.c (vtysh_pam): New file for PAM.
369
3702000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
371
372 * zebra-0.88 is released.
373
3742000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
375
376 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
377
378 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
379 backward compatibility.
380
3812000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
382
383 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
384 time.
385
3862000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
387
388 * vtysh.c (signal_init): Ignore SIGPIPE signal.
389
3902000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
391
392 * extract.pl: ALIAS command can be extracted by extract.pl.
393
3942000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
395
396 * extract.pl: Fix scalar and array semantics.
397
398 * vtysh.c (vtysh_telnet): Add "telnet" client command.
399
4002000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
401
402 * vtysh.c (main): Add -e flag for passing command from arugment.
403 (vtysh_ping): Add "ping" command for test of command execution.
404 (init_node): Add "traceroute" command.
405 (vtysh_start_shell): Add "start-shell", "start-shell bash",
406 "start-shell zsh".
407 (sigint): Add check for execute_flag for avoid duplicate prompt.
408
4092000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
410
411 * vtysh.c: New file for vty shell.
412 * vtysh.h: Likewise.
413 * extract.pl: Likewise.
414 * vtysh_cmd.c: Generate by extract.pl.