blob: ea611179f5868efdeb0834b521fbd78990a7a5fb [file] [log] [blame]
ajs85fb1e62004-11-11 14:03:39 +000012004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
4 '\0' chars and command return code.
5
hassof2799e62004-10-28 17:43:11 +000062004-10-28 Hasso Tepper <hasso at quagga.net>
7
8 * vtysh.c: "show running-daemons" broke users habits who are using
9 "sho run" to view running configuration. Changed it to "show
10 daemons".
11
hasso97b7db22004-10-20 19:07:48 +0000122004-10-20 Hasso Tepper <hasso at quagga.net>
13
14 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
15 up my terminal if I exit" issue.
16
hasso43fb1352004-10-13 08:47:32 +0000172004-10-13 Hasso Tepper <hasso at quagga.net>
18
19 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
20 to limit access to vty.
21
paulf4ad4db2004-10-13 14:52:22 +0000222004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +000023
24 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
25 final sync byte is not ASCII NULL, it's actually a status integer,
26 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
27 Fix pointed out by Hasso.
28
hasso5862ff52004-10-11 13:20:40 +0000292004-10-11 Hasso Tepper <hasso at quagga.net>
30
31 * vtysh.c, vtysh_user.c: Make more strings const.
32
hassodda09522004-10-07 21:40:25 +0000332004-10-07 Hasso Tepper <hasso at quagga.net>
34
35 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
36 warnings: make strings const, signed -> unsigned, remove unused
37 variables.
38 * vtysh_config.c: Fix crash introduced with previous patch.
39
hassoe7168df2004-10-03 20:11:32 +0000402004-10-03 Hasso Tepper <hasso at quagga.net>
41
42 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
43 make sense if we don't have any authentication for enable.
44 * vtysh.c: Implement "show running-daemons" command.
45 * vtysh.c: Use either integrated conf or daemon conf not both. Move
46 configuration command into "service" level.
47 * vtysh.c: Remove "write ..." commands from other nodes than enable.
48 We have "do ..." extension for that.
49 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
50 integrated one.
51 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
52 * vtysh_config.c: Make "service" lines unique in integrated config.
53 * vtysh.c: Make "service password-encryption" command work in vtysh.
54 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
55 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
56 commands that don't make sense in vtysh. Closes Bugzilla #104.
57 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
58 is similar to "log" commands - vtysh just passes commands to all
59 daemons.
60 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
61 configuration files specified from command line. We read/write files
62 from/to system location only (ie. remove -f again).
63 * Makefile.am: Parse zebra/router-id.c.
64
hasso42895462004-09-26 16:25:07 +0000652004-09-26 Hasso Tepper <hasso at quagga.net>
66
67 * vtysh.c: Fix compiler warning.
68
paul2852de12004-09-17 06:52:16 +0000692004-09-17 Paul Jakma <paul@dishone.st>
70
71 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
72 split across reads, dont get confused by this and block forever.
73
paul0e82d0e2004-09-13 05:00:18 +0000742004-09-13 Paul Jakma <paul@dishone.st>
75
76 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +000077 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +000078 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +000079 various preamble due to out of tree builds. Substitute in the
80 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +000081
hassoe42f5a32004-08-28 17:04:33 +0000822004-08-28 Hasso Tepper <hasso at quagga.net>
83
84 * vtysh_main.c: Rename signal handling functions not to conflict
85 with functions from lib/sigevent.c.
86
hasso67e29ab2004-08-26 22:21:31 +0000872004-08-27 Hasso Tepper <hasso at quagga.net>
88
hasso34553cc2004-08-27 13:56:39 +000089 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
90
912004-08-27 Hasso Tepper <hasso at quagga.net>
92
hasso67e29ab2004-08-26 22:21:31 +000093 * vtysh.c: Enable using ssh from ENABLE_NODE.
94 * vtysh_config.c: Make enable password uniq lines appear only once in
95 configuration.
96 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
97 searched configuration files from current directory. Add -f to
98 specify conf from command line.
99
1002004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +0000101
102 * *.c: Cosmetical changes - strip long lines, fix multiline comments
103 style, indentation fixes, remove useless comments.
104 * vtysh.h: define VTYSH_INTERFACE.
105 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
106 items.
107 * vtysh.c: Move things around a little to reduce spaghetti mess.
108 * Makefile.am: Parse only needed files from zebra daemon while
109 building vtysh_cmd.c file to supress warnings.
110
gdtfc9d0742004-06-30 14:25:12 +00001112004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
112
113 * extract.pl.in: Rename from extract.pl, with @PERL@.
114
115 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
116
hasso6c0f9a72004-06-20 09:30:57 +00001172004-06-20 Hasso Tepper <hasso@estpak.ee>
118
119 * extract.pl: Zebra daemon has access lists as well.
120
hasso2a56df92004-05-09 23:16:40 +00001212004-05-10 Hasso Tepper <hasso@estpak.ee>
122
123 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
124
hasso4991f6c2004-04-06 11:36:17 +00001252004-04-06 Hasso Tepper <hasso@estpak.ee>
126
127 * vtysh_main.c: Don't save command to history if last command already
128 there is same.
129 * vtysh_main.c: Replace -e with -c.
130 * vtysh_main.c: Fix help.
131
hassofa2b17e2004-03-04 17:45:00 +00001322004-03-04 Hasso Tepper <hasso@estpak.ee>
133
134 * vtysh.c: Remove using PAGER.
135
paul13b8baa2004-01-15 01:00:49 +00001362004-01-15 Paul Jakma <paul@dishone.st>
137
138 * vtysh_config.c: Fix up strlen to use correct string.
139
hassoba6dffe2003-12-23 10:43:09 +00001402003-12-23 Hasso Tepper <hasso@estpak.ee>
141
142 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
143 isisd integration to vtysh.
144
paul445f1432003-05-16 19:00:31 +00001452003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
146
147 vtysh.c: Program shouldn't terminate on pager execution failure
148 vtysh_user.c: configure support for openpam (freebsd5.0)
149
1502003-04-19 Hasso Tepper <hasso@estpak.ee>
151
152 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
153 have same syntax
154
paul4fc01e62002-12-13 20:49:00 +00001552002-09-30 Paul Jakma <paulzebra@rs250.org>
156
157 * vtysh.c: add 'write-config (integrated|daemon)' option
158 to specifiy whether write config commands should write
159 integrated Zebra.conf file and/or per daemon files.
160 Defaults to per daemon, unless this is turned off.
161
paul718e3742002-12-13 20:15:29 +00001622002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
163
164 * zebra-0.93 released.
165
1662001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
167
168 * zebra-0.92a released.
169
1702001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
171
172 * zebra-0.92 released.
173
1742001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
175
176 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
177 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
178
1792001-02-15 Hideto Yamakawa <yamakawa@dml.com>
180
181 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
182
183 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
184
1852001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
186
187 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
188
1892001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
190
191 * vtysh.c: VTY shell pager name. When environment variable
192 VTYSH_PAGER is defined, use it as VTY shell pager.
193
1942001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
195
196 * vtysh.c (vtysh_execute_func): Add pager argument for test of
197 pager invocation.
198
1992001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
200
201 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
202
2032001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
204
205 * vtysh.c (vtysh_client_config): Use sysconf to determine output
206 buffer size.
207 (vtysh_write_memory): Set umask 0077.
208 (vtysh_connect): Check permission to the socket.
209
2102001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
211
212 * zebra-0.91 is released.
213
2142001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
215
216 * vtysh.c (new_completion): Fix problem of appending space when
217 completion is executed.
218
2192001-01-23 Akihiro Mizutani <mizutani@dml.com>
220
221 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
222
2232001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
224
225 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
226 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
227
2282001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
229
230 * zebra-0.90 is released.
231
2322001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
233
234 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
235 Ranney" <mjr@ranney.com>
236
2372000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
238
239 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
240
2412000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
242
243 * vtysh.c (execute_command): Add two arguemnt support for
244 executing child process.
245 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
246
2472000-10-23 Akihiro Mizutani <mizutani@dml.com>
248
249 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
250 saved without problem.
251
2522000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
253
254 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
255 flag problem is fixed.
256
2572000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
258
259 * vtysh_user.c: Change to use linklist.c.
260
2612000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
262
263 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
264
265 * zebra-0.89 is released.
266
2672000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
268
269 * vtysh_main.c: Declare thread master.
270
2712000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
272
273 * vtysh_main.c (main): Add missing --help procudure. Reported by
274 Patrick Rother <krd@roka.net>.
275
2762000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
277
278 * vtysh.c (DEFUNSH): "interface IFNAME" works.
279
2802000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
281
282 * vtysh_user.c: Change name from vtysh_pam.c.
283
284 * vtysh.conf.sample: New file for vtysh configuration.
285
2862000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
287
288 * vtysh_pam.c (vtysh_pam): New file for PAM.
289
2902000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
291
292 * zebra-0.88 is released.
293
2942000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
295
296 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
297
298 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
299 backward compatibility.
300
3012000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
302
303 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
304 time.
305
3062000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
307
308 * vtysh.c (signal_init): Ignore SIGPIPE signal.
309
3102000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
311
312 * extract.pl: ALIAS command can be extracted by extract.pl.
313
3142000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
315
316 * extract.pl: Fix scalar and array semantics.
317
318 * vtysh.c (vtysh_telnet): Add "telnet" client command.
319
3202000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
321
322 * vtysh.c (main): Add -e flag for passing command from arugment.
323 (vtysh_ping): Add "ping" command for test of command execution.
324 (init_node): Add "traceroute" command.
325 (vtysh_start_shell): Add "start-shell", "start-shell bash",
326 "start-shell zsh".
327 (sigint): Add check for execute_flag for avoid duplicate prompt.
328
3292000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
330
331 * vtysh.c: New file for vty shell.
332 * vtysh.h: Likewise.
333 * extract.pl: Likewise.
334 * vtysh_cmd.c: Generate by extract.pl.