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