]> git.proxmox.com Git - mirror_frr.git/blame - vtysh/ChangeLog
[zebra] Routemap support on received routes, with 'set src' command (linux)
[mirror_frr.git] / vtysh / ChangeLog
CommitLineData
7514fb77
PJ
12007-05-01 David L Stevens <dlstevens@us.ibm.com>
2
3 * vtysh/extract.pl.in: added VTYSH_ZEBRA flag for route-map and
4 plist
5 * vtysh/Makefile.am: added zebra_routemap.c
6 * vtysh/vtysh.h: added VTYSH_ZEBRA flag to VTYSH_RMAP
7
c749b722
AS
82007-04-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
9
10 * vtysh.c: (vtysh_log_timestamp_precision,
11 no_vtysh_log_timestamp_precision) Implement new log timestamp
12 precision commands: send to all daemons.
13 (vtysh_init_vty) Install new log timestamp precision commands.
14
f366ad31
AS
152006-07-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
16
17 * vtysh_main.c: (usage) Add new -d and -E options. And note that
18 -c can be used multiple times, possibly with embedded linefeeds.
19 (longopts) Add new -d and -E options.
20 (main) Add new -d and -E options, and create a linked list to
21 support multiple -c options. Do not call vtysh_connect_all until
22 after vtysh_read_config(config_default) and vtysh_auth have
23 succeeded. This prevents the vtysh.conf file from configuring
24 any daemons, and it ensures that authentication has been passed
25 before we send any commands to any daemons. Call vtysh_connect_all
26 with any daemon name supplied with -d. If it is unable to connect
27 to any daemons, issue an error message and exit immediately.
28 When used in -c mode, call vtysh_execute("enable") before
29 executing the commands in order to match interactive behavior.
30 And detect embedded linefeed chars in -c commands and break them up
31 appropriately.
32 * vtysh.h: (vtysh_connect_all) Fix proto to reflect new
33 daemon_name argument, and that it now returns an integer -- the
34 number of daemons to which we were able to connect.
35 * vtysh.c: (vtysh_connect_all) Add a new daemon_name argument.
36 If supplied, connect only to that daemon. And return
37 the number of daemons to which we were able to connect.
38 (vtysh_prompt): Performance enhancement -- make struct utsname
39 static so we call uname to get the hostname only once.
40
362b4031
PJ
412006-05-24 Paul Jakma <paul.jakma@sun.com>
42
43 * vtysh.c: (general) Add 'show memory' command.
44
4150f33e
PJ
452006-05-21 Paul Jakma <paul.jakma@sun.com>
46
47 * vtysh.c: (vtysh_show_logging_cmd) Suppress output for daemons
48 which are not running (Andrew Schorr).
49
dbf7d13d
PJ
502006-05-17 Paul Jakma <paul.jakma@sun.com>
51
52 * vtysh.c: (general) Add 'show logging' command.
53
44316fef 542006-01-11 Erik Smit <zoiah@zoiah.net>
55
56 * vtysh.c: (vtysh_config_from_file) fix regression from
57 a previous cleanup, vtysh_client.flags and cmd->daemon are
58 bitwise flags, bitwise & was meant to be used. Fixes breakage
59 of integrated config file reading.
60
53a6f932 612005-09-15 Hasso Tepper <hasso at quagga.net>
62
63 * vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly.
64 * extract.pl.in: Fix warning - add isisd/topology to the includes.
65
57b5b7ed 662005-08-22 Hugo Santos <hsantos@av.it.pt>
67
68 * vtysh.c: Add support for BGP_IPV6M_NODE
69
b8994085 702005-07-12 Christian Hammers <ch@debian.org>
71
72 * vtysh_user.c: rename struct user to struct vtysh_user to avoid
e3782106 73 clashes with sys/user.h on Linux/ARM.
b8994085 74
b5d518fb 752005-04-07 Hasso Tepper <hasso at quagga.net>
76
77 * Makefile.am: Remove rebuild4 target, it's not used any more by build
78 procedure. Define vtysh_cmd_FILES. Use EXTRA_DIST.
528bed4a 79 * extract.pl.in: Ignore "router zebra".
b5d518fb 80
7f22396b 812005-03-28 Hasso Tepper <hasso at quagga.net>
82
83 * extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
84 snmp support.
85
060d438c 862005-03-09 Hasso Tepper <hasso at quagga.net>
87
88 * vtysh_config.c: Move password commands to the AAA_NODE. It
89 quarantees that they will appear after SERVICE_NODE to make sure
90 that encrypted passwords will work ("service password-encryption"
91 command).
92
b1aa147d 932005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
94
95 * vtysh.h: Remove obsolete VTYSH_INDEX_* defines. Fix many prototypes
96 for functions with no arguments (must specify argument list as void).
97 * vtysh.c: Enhance vtysh_client array to include the daemon's name
98 and bitmask and socket path (in addition to the fd). This allows
99 us to use loop constructs for various operations that need to be
100 applied to all client daemons, and it facilitates better error
101 messages. Also fix some prototypes with void argument lists.
102 (vclient_close) Issue a warning message indicating which daemon's
103 socket is being closed.
104 (vtysh_execute_func,vtysh_config_from_file) Use a for loop to
105 call vtysh_client_execute.
106 (vtysh_write_terminal,write_config_integrated) Use a for loop to
107 call vtysh_client_config.
108 (vtysh_write_memory) Use a for loop to call vtysh_client_execute.
109 (vtysh_show_daemons) Use a for loop.
110 (vtysh_connect) The struct vtysh_client is now statically initialized,
111 so do not initialize it here.
112 (vtysh_connect_all) Use a for loop to call vtysh_connect. Set
113 ripd_client pointer for use in vtysh_exit_ripd_only.
114
90b42147 1152005-01-23 Hasso Tepper <hasso at quagga.net>
116
117 * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
118 "integrated-vtysh-config".
13bfca7a 119 * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it
120 already works in vty.
90b42147 121
87d683b0 1222005-01-10 Hasso Tepper <hasso at quagga.net>
123
124 * vtysh.c: Reflect changes in lib. cmd_execute_command() should know
125 now that it's called from vtysh and must not attempt to walk up in
126 the node tree.
127
9a30ee56 1282004-12-22 Hasso Tepper <hasso at quagga.net>
129
130 * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6
dfbb9124 131 forwarding". Show common router-id before router nodes. Fix router
132 bgp node parsing. Move debug commands into debug node and no
133 delimiter between lines there.
9a30ee56 134
09c3adb9 1352004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
136
137 * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
138 the results were never used.
139
274a4a44 1402004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
141
142 * vtysh.c: Make several functions static instead of global.
143 Added several commands to support destination-specific logging levels.
144 (vtysh_completion) This function is unused, so comment it out.
145
85fb1e6d 1462004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
147
148 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
149 '\0' chars and command return code.
150
f2799e69 1512004-10-28 Hasso Tepper <hasso at quagga.net>
152
153 * vtysh.c: "show running-daemons" broke users habits who are using
154 "sho run" to view running configuration. Changed it to "show
155 daemons".
156
97b7db2d 1572004-10-20 Hasso Tepper <hasso at quagga.net>
158
159 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
160 up my terminal if I exit" issue.
161
43fb1352 1622004-10-13 Hasso Tepper <hasso at quagga.net>
163
164 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
165 to limit access to vty.
166
f4ad4dbe 1672004-10-11 Paul Jakma <paul@dishone.st>
0921d48e 168
169 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
170 final sync byte is not ASCII NULL, it's actually a status integer,
171 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
172 Fix pointed out by Hasso.
173
5862ff52 1742004-10-11 Hasso Tepper <hasso at quagga.net>
175
176 * vtysh.c, vtysh_user.c: Make more strings const.
177
dda09522 1782004-10-07 Hasso Tepper <hasso at quagga.net>
179
180 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
181 warnings: make strings const, signed -> unsigned, remove unused
182 variables.
183 * vtysh_config.c: Fix crash introduced with previous patch.
184
e7168df4 1852004-10-03 Hasso Tepper <hasso at quagga.net>
186
187 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
188 make sense if we don't have any authentication for enable.
189 * vtysh.c: Implement "show running-daemons" command.
190 * vtysh.c: Use either integrated conf or daemon conf not both. Move
191 configuration command into "service" level.
192 * vtysh.c: Remove "write ..." commands from other nodes than enable.
193 We have "do ..." extension for that.
194 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
195 integrated one.
196 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
197 * vtysh_config.c: Make "service" lines unique in integrated config.
198 * vtysh.c: Make "service password-encryption" command work in vtysh.
199 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
200 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
201 commands that don't make sense in vtysh. Closes Bugzilla #104.
202 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
203 is similar to "log" commands - vtysh just passes commands to all
204 daemons.
205 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
206 configuration files specified from command line. We read/write files
207 from/to system location only (ie. remove -f again).
208 * Makefile.am: Parse zebra/router-id.c.
209
4289546d 2102004-09-26 Hasso Tepper <hasso at quagga.net>
211
212 * vtysh.c: Fix compiler warning.
213
2852de1c 2142004-09-17 Paul Jakma <paul@dishone.st>
215
216 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
217 split across reads, dont get confused by this and block forever.
218
0e82d0e1 2192004-09-13 Paul Jakma <paul@dishone.st>
220
221 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
b63dc1f3 222 remove zebra/irdp.c from list - dead.
0e82d0e1 223 * extract.pl.in: match on end of filenames, filename could contain
b63dc1f3 224 various preamble due to out of tree builds. Substitute in the
225 autoconf srcdir/builddir paths for includes to cpp.
0e82d0e1 226
e42f5a37 2272004-08-28 Hasso Tepper <hasso at quagga.net>
228
229 * vtysh_main.c: Rename signal handling functions not to conflict
230 with functions from lib/sigevent.c.
231
34553cc3 2322004-08-27 Hasso Tepper <hasso at quagga.net>
233
234 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
235
67e29abc 2362004-08-27 Hasso Tepper <hasso at quagga.net>
237
238 * vtysh.c: Enable using ssh from ENABLE_NODE.
239 * vtysh_config.c: Make enable password uniq lines appear only once in
240 configuration.
241 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
242 searched configuration files from current directory. Add -f to
243 specify conf from command line.
244
2452004-08-26 Hasso Tepper <hasso at quagga.net>
95e735b5 246
247 * *.c: Cosmetical changes - strip long lines, fix multiline comments
248 style, indentation fixes, remove useless comments.
249 * vtysh.h: define VTYSH_INTERFACE.
250 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
251 items.
252 * vtysh.c: Move things around a little to reduce spaghetti mess.
253 * Makefile.am: Parse only needed files from zebra daemon while
254 building vtysh_cmd.c file to supress warnings.
255
fc9d0745 2562004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
257
258 * extract.pl.in: Rename from extract.pl, with @PERL@.
259
260 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
261
6c0f9a78 2622004-06-20 Hasso Tepper <hasso@estpak.ee>
263
264 * extract.pl: Zebra daemon has access lists as well.
265
2a56df97 2662004-05-10 Hasso Tepper <hasso@estpak.ee>
267
268 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
269
4991f6ca 2702004-04-06 Hasso Tepper <hasso@estpak.ee>
271
272 * vtysh_main.c: Don't save command to history if last command already
273 there is same.
274 * vtysh_main.c: Replace -e with -c.
275 * vtysh_main.c: Fix help.
276
fa2b17e3 2772004-03-04 Hasso Tepper <hasso@estpak.ee>
278
279 * vtysh.c: Remove using PAGER.
280
13b8baad 2812004-01-15 Paul Jakma <paul@dishone.st>
282
283 * vtysh_config.c: Fix up strlen to use correct string.
284
ba6dffec 2852003-12-23 Hasso Tepper <hasso@estpak.ee>
286
287 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
288 isisd integration to vtysh.
289
445f1435 2902003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
291
292 vtysh.c: Program shouldn't terminate on pager execution failure
293 vtysh_user.c: configure support for openpam (freebsd5.0)
294
2952003-04-19 Hasso Tepper <hasso@estpak.ee>
296
297 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
298 have same syntax
299
4fc01e67 3002002-09-30 Paul Jakma <paulzebra@rs250.org>
301
302 * vtysh.c: add 'write-config (integrated|daemon)' option
303 to specifiy whether write config commands should write
304 integrated Zebra.conf file and/or per daemon files.
305 Defaults to per daemon, unless this is turned off.
306
718e3744 3072002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
308
309 * zebra-0.93 released.
310
3112001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
312
313 * zebra-0.92a released.
314
3152001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
316
317 * zebra-0.92 released.
318
3192001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
320
321 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
322 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
323
3242001-02-15 Hideto Yamakawa <yamakawa@dml.com>
325
326 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
327
328 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
329
3302001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
331
332 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
333
3342001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
335
336 * vtysh.c: VTY shell pager name. When environment variable
337 VTYSH_PAGER is defined, use it as VTY shell pager.
338
3392001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
340
341 * vtysh.c (vtysh_execute_func): Add pager argument for test of
342 pager invocation.
343
3442001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
345
346 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
347
3482001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
349
350 * vtysh.c (vtysh_client_config): Use sysconf to determine output
351 buffer size.
352 (vtysh_write_memory): Set umask 0077.
353 (vtysh_connect): Check permission to the socket.
354
3552001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
356
357 * zebra-0.91 is released.
358
3592001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
360
361 * vtysh.c (new_completion): Fix problem of appending space when
362 completion is executed.
363
3642001-01-23 Akihiro Mizutani <mizutani@dml.com>
365
366 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
367
3682001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
369
370 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
371 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
372
3732001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
374
375 * zebra-0.90 is released.
376
3772001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
378
379 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
380 Ranney" <mjr@ranney.com>
381
3822000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
383
384 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
385
3862000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
387
388 * vtysh.c (execute_command): Add two arguemnt support for
389 executing child process.
390 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
391
3922000-10-23 Akihiro Mizutani <mizutani@dml.com>
393
394 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
395 saved without problem.
396
3972000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
398
399 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
400 flag problem is fixed.
401
4022000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
403
404 * vtysh_user.c: Change to use linklist.c.
405
4062000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
407
408 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
409
410 * zebra-0.89 is released.
411
4122000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
413
414 * vtysh_main.c: Declare thread master.
415
4162000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
417
418 * vtysh_main.c (main): Add missing --help procudure. Reported by
419 Patrick Rother <krd@roka.net>.
420
4212000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
422
423 * vtysh.c (DEFUNSH): "interface IFNAME" works.
424
4252000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
426
427 * vtysh_user.c: Change name from vtysh_pam.c.
428
429 * vtysh.conf.sample: New file for vtysh configuration.
430
4312000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
432
433 * vtysh_pam.c (vtysh_pam): New file for PAM.
434
4352000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
436
437 * zebra-0.88 is released.
438
4392000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
440
441 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
442
443 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
444 backward compatibility.
445
4462000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
447
448 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
449 time.
450
4512000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
452
453 * vtysh.c (signal_init): Ignore SIGPIPE signal.
454
4552000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
456
457 * extract.pl: ALIAS command can be extracted by extract.pl.
458
4592000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
460
461 * extract.pl: Fix scalar and array semantics.
462
463 * vtysh.c (vtysh_telnet): Add "telnet" client command.
464
4652000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
466
467 * vtysh.c (main): Add -e flag for passing command from arugment.
468 (vtysh_ping): Add "ping" command for test of command execution.
469 (init_node): Add "traceroute" command.
470 (vtysh_start_shell): Add "start-shell", "start-shell bash",
471 "start-shell zsh".
472 (sigint): Add check for execute_flag for avoid duplicate prompt.
473
4742000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
475
476 * vtysh.c: New file for vty shell.
477 * vtysh.h: Likewise.
478 * extract.pl: Likewise.
479 * vtysh_cmd.c: Generate by extract.pl.