blob: e142f150a14ac2fa8e898866e4fcca759face2a0 [file] [log] [blame]
hasso90b42142005-01-23 19:24:46 +000012005-01-23 Hasso Tepper <hasso at quagga.net>
2
3 * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
4 "integrated-vtysh-config".
hasso13bfca72005-01-23 21:42:25 +00005 * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it
6 already works in vty.
hasso90b42142005-01-23 19:24:46 +00007
hasso87d683b2005-01-16 23:31:54 +000082005-01-10 Hasso Tepper <hasso at quagga.net>
9
10 * vtysh.c: Reflect changes in lib. cmd_execute_command() should know
11 now that it's called from vtysh and must not attempt to walk up in
12 the node tree.
13
hasso9a30ee52004-12-22 09:27:42 +0000142004-12-22 Hasso Tepper <hasso at quagga.net>
15
16 * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6
hassodfbb9122004-12-22 11:53:09 +000017 forwarding". Show common router-id before router nodes. Fix router
18 bgp node parsing. Move debug commands into debug node and no
19 delimiter between lines there.
hasso9a30ee52004-12-22 09:27:42 +000020
ajs09c3adb2004-12-09 15:15:03 +0000212004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
22
23 * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
24 the results were never used.
25
ajs274a4a42004-12-07 15:39:31 +0000262004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
27
28 * vtysh.c: Make several functions static instead of global.
29 Added several commands to support destination-specific logging levels.
30 (vtysh_completion) This function is unused, so comment it out.
31
ajs85fb1e62004-11-11 14:03:39 +0000322004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
33
34 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
35 '\0' chars and command return code.
36
hassof2799e62004-10-28 17:43:11 +0000372004-10-28 Hasso Tepper <hasso at quagga.net>
38
39 * vtysh.c: "show running-daemons" broke users habits who are using
40 "sho run" to view running configuration. Changed it to "show
41 daemons".
42
hasso97b7db22004-10-20 19:07:48 +0000432004-10-20 Hasso Tepper <hasso at quagga.net>
44
45 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
46 up my terminal if I exit" issue.
47
hasso43fb1352004-10-13 08:47:32 +0000482004-10-13 Hasso Tepper <hasso at quagga.net>
49
50 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
51 to limit access to vty.
52
paulf4ad4db2004-10-13 14:52:22 +0000532004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +000054
55 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
56 final sync byte is not ASCII NULL, it's actually a status integer,
57 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
58 Fix pointed out by Hasso.
59
hasso5862ff52004-10-11 13:20:40 +0000602004-10-11 Hasso Tepper <hasso at quagga.net>
61
62 * vtysh.c, vtysh_user.c: Make more strings const.
63
hassodda09522004-10-07 21:40:25 +0000642004-10-07 Hasso Tepper <hasso at quagga.net>
65
66 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
67 warnings: make strings const, signed -> unsigned, remove unused
68 variables.
69 * vtysh_config.c: Fix crash introduced with previous patch.
70
hassoe7168df2004-10-03 20:11:32 +0000712004-10-03 Hasso Tepper <hasso at quagga.net>
72
73 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
74 make sense if we don't have any authentication for enable.
75 * vtysh.c: Implement "show running-daemons" command.
76 * vtysh.c: Use either integrated conf or daemon conf not both. Move
77 configuration command into "service" level.
78 * vtysh.c: Remove "write ..." commands from other nodes than enable.
79 We have "do ..." extension for that.
80 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
81 integrated one.
82 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
83 * vtysh_config.c: Make "service" lines unique in integrated config.
84 * vtysh.c: Make "service password-encryption" command work in vtysh.
85 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
86 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
87 commands that don't make sense in vtysh. Closes Bugzilla #104.
88 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
89 is similar to "log" commands - vtysh just passes commands to all
90 daemons.
91 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
92 configuration files specified from command line. We read/write files
93 from/to system location only (ie. remove -f again).
94 * Makefile.am: Parse zebra/router-id.c.
95
hasso42895462004-09-26 16:25:07 +0000962004-09-26 Hasso Tepper <hasso at quagga.net>
97
98 * vtysh.c: Fix compiler warning.
99
paul2852de12004-09-17 06:52:16 +00001002004-09-17 Paul Jakma <paul@dishone.st>
101
102 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
103 split across reads, dont get confused by this and block forever.
104
paul0e82d0e2004-09-13 05:00:18 +00001052004-09-13 Paul Jakma <paul@dishone.st>
106
107 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +0000108 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +0000109 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +0000110 various preamble due to out of tree builds. Substitute in the
111 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +0000112
hassoe42f5a32004-08-28 17:04:33 +00001132004-08-28 Hasso Tepper <hasso at quagga.net>
114
115 * vtysh_main.c: Rename signal handling functions not to conflict
116 with functions from lib/sigevent.c.
117
hasso67e29ab2004-08-26 22:21:31 +00001182004-08-27 Hasso Tepper <hasso at quagga.net>
119
hasso34553cc2004-08-27 13:56:39 +0000120 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
121
1222004-08-27 Hasso Tepper <hasso at quagga.net>
123
hasso67e29ab2004-08-26 22:21:31 +0000124 * vtysh.c: Enable using ssh from ENABLE_NODE.
125 * vtysh_config.c: Make enable password uniq lines appear only once in
126 configuration.
127 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
128 searched configuration files from current directory. Add -f to
129 specify conf from command line.
130
1312004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +0000132
133 * *.c: Cosmetical changes - strip long lines, fix multiline comments
134 style, indentation fixes, remove useless comments.
135 * vtysh.h: define VTYSH_INTERFACE.
136 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
137 items.
138 * vtysh.c: Move things around a little to reduce spaghetti mess.
139 * Makefile.am: Parse only needed files from zebra daemon while
140 building vtysh_cmd.c file to supress warnings.
141
gdtfc9d0742004-06-30 14:25:12 +00001422004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
143
144 * extract.pl.in: Rename from extract.pl, with @PERL@.
145
146 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
147
hasso6c0f9a72004-06-20 09:30:57 +00001482004-06-20 Hasso Tepper <hasso@estpak.ee>
149
150 * extract.pl: Zebra daemon has access lists as well.
151
hasso2a56df92004-05-09 23:16:40 +00001522004-05-10 Hasso Tepper <hasso@estpak.ee>
153
154 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
155
hasso4991f6c2004-04-06 11:36:17 +00001562004-04-06 Hasso Tepper <hasso@estpak.ee>
157
158 * vtysh_main.c: Don't save command to history if last command already
159 there is same.
160 * vtysh_main.c: Replace -e with -c.
161 * vtysh_main.c: Fix help.
162
hassofa2b17e2004-03-04 17:45:00 +00001632004-03-04 Hasso Tepper <hasso@estpak.ee>
164
165 * vtysh.c: Remove using PAGER.
166
paul13b8baa2004-01-15 01:00:49 +00001672004-01-15 Paul Jakma <paul@dishone.st>
168
169 * vtysh_config.c: Fix up strlen to use correct string.
170
hassoba6dffe2003-12-23 10:43:09 +00001712003-12-23 Hasso Tepper <hasso@estpak.ee>
172
173 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
174 isisd integration to vtysh.
175
paul445f1432003-05-16 19:00:31 +00001762003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
177
178 vtysh.c: Program shouldn't terminate on pager execution failure
179 vtysh_user.c: configure support for openpam (freebsd5.0)
180
1812003-04-19 Hasso Tepper <hasso@estpak.ee>
182
183 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
184 have same syntax
185
paul4fc01e62002-12-13 20:49:00 +00001862002-09-30 Paul Jakma <paulzebra@rs250.org>
187
188 * vtysh.c: add 'write-config (integrated|daemon)' option
189 to specifiy whether write config commands should write
190 integrated Zebra.conf file and/or per daemon files.
191 Defaults to per daemon, unless this is turned off.
192
paul718e3742002-12-13 20:15:29 +00001932002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
194
195 * zebra-0.93 released.
196
1972001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
198
199 * zebra-0.92a released.
200
2012001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
202
203 * zebra-0.92 released.
204
2052001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
206
207 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
208 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
209
2102001-02-15 Hideto Yamakawa <yamakawa@dml.com>
211
212 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
213
214 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
215
2162001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
217
218 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
219
2202001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
221
222 * vtysh.c: VTY shell pager name. When environment variable
223 VTYSH_PAGER is defined, use it as VTY shell pager.
224
2252001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
226
227 * vtysh.c (vtysh_execute_func): Add pager argument for test of
228 pager invocation.
229
2302001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
231
232 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
233
2342001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
235
236 * vtysh.c (vtysh_client_config): Use sysconf to determine output
237 buffer size.
238 (vtysh_write_memory): Set umask 0077.
239 (vtysh_connect): Check permission to the socket.
240
2412001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
242
243 * zebra-0.91 is released.
244
2452001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
246
247 * vtysh.c (new_completion): Fix problem of appending space when
248 completion is executed.
249
2502001-01-23 Akihiro Mizutani <mizutani@dml.com>
251
252 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
253
2542001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
255
256 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
257 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
258
2592001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
260
261 * zebra-0.90 is released.
262
2632001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
264
265 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
266 Ranney" <mjr@ranney.com>
267
2682000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
269
270 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
271
2722000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
273
274 * vtysh.c (execute_command): Add two arguemnt support for
275 executing child process.
276 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
277
2782000-10-23 Akihiro Mizutani <mizutani@dml.com>
279
280 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
281 saved without problem.
282
2832000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
284
285 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
286 flag problem is fixed.
287
2882000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
289
290 * vtysh_user.c: Change to use linklist.c.
291
2922000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
293
294 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
295
296 * zebra-0.89 is released.
297
2982000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
299
300 * vtysh_main.c: Declare thread master.
301
3022000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
303
304 * vtysh_main.c (main): Add missing --help procudure. Reported by
305 Patrick Rother <krd@roka.net>.
306
3072000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
308
309 * vtysh.c (DEFUNSH): "interface IFNAME" works.
310
3112000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
312
313 * vtysh_user.c: Change name from vtysh_pam.c.
314
315 * vtysh.conf.sample: New file for vtysh configuration.
316
3172000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
318
319 * vtysh_pam.c (vtysh_pam): New file for PAM.
320
3212000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
322
323 * zebra-0.88 is released.
324
3252000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
326
327 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
328
329 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
330 backward compatibility.
331
3322000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
333
334 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
335 time.
336
3372000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
338
339 * vtysh.c (signal_init): Ignore SIGPIPE signal.
340
3412000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
342
343 * extract.pl: ALIAS command can be extracted by extract.pl.
344
3452000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
346
347 * extract.pl: Fix scalar and array semantics.
348
349 * vtysh.c (vtysh_telnet): Add "telnet" client command.
350
3512000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
352
353 * vtysh.c (main): Add -e flag for passing command from arugment.
354 (vtysh_ping): Add "ping" command for test of command execution.
355 (init_node): Add "traceroute" command.
356 (vtysh_start_shell): Add "start-shell", "start-shell bash",
357 "start-shell zsh".
358 (sigint): Add check for execute_flag for avoid duplicate prompt.
359
3602000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
361
362 * vtysh.c: New file for vty shell.
363 * vtysh.h: Likewise.
364 * extract.pl: Likewise.
365 * vtysh_cmd.c: Generate by extract.pl.