blob: b6a2eeaa62ad4d2e1f24c4d9412b753a0ea5386d [file] [log] [blame]
hasso97b7db22004-10-20 19:07:48 +000012004-10-20 Hasso Tepper <hasso at quagga.net>
2
3 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
4 up my terminal if I exit" issue.
5
hasso43fb1352004-10-13 08:47:32 +000062004-10-13 Hasso Tepper <hasso at quagga.net>
7
8 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
9 to limit access to vty.
10
paulf4ad4db2004-10-13 14:52:22 +0000112004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +000012
13 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
14 final sync byte is not ASCII NULL, it's actually a status integer,
15 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
16 Fix pointed out by Hasso.
17
hasso5862ff52004-10-11 13:20:40 +0000182004-10-11 Hasso Tepper <hasso at quagga.net>
19
20 * vtysh.c, vtysh_user.c: Make more strings const.
21
hassodda09522004-10-07 21:40:25 +0000222004-10-07 Hasso Tepper <hasso at quagga.net>
23
24 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
25 warnings: make strings const, signed -> unsigned, remove unused
26 variables.
27 * vtysh_config.c: Fix crash introduced with previous patch.
28
hassoe7168df2004-10-03 20:11:32 +0000292004-10-03 Hasso Tepper <hasso at quagga.net>
30
31 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
32 make sense if we don't have any authentication for enable.
33 * vtysh.c: Implement "show running-daemons" command.
34 * vtysh.c: Use either integrated conf or daemon conf not both. Move
35 configuration command into "service" level.
36 * vtysh.c: Remove "write ..." commands from other nodes than enable.
37 We have "do ..." extension for that.
38 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
39 integrated one.
40 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
41 * vtysh_config.c: Make "service" lines unique in integrated config.
42 * vtysh.c: Make "service password-encryption" command work in vtysh.
43 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
44 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
45 commands that don't make sense in vtysh. Closes Bugzilla #104.
46 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
47 is similar to "log" commands - vtysh just passes commands to all
48 daemons.
49 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
50 configuration files specified from command line. We read/write files
51 from/to system location only (ie. remove -f again).
52 * Makefile.am: Parse zebra/router-id.c.
53
hasso42895462004-09-26 16:25:07 +0000542004-09-26 Hasso Tepper <hasso at quagga.net>
55
56 * vtysh.c: Fix compiler warning.
57
paul2852de12004-09-17 06:52:16 +0000582004-09-17 Paul Jakma <paul@dishone.st>
59
60 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
61 split across reads, dont get confused by this and block forever.
62
paul0e82d0e2004-09-13 05:00:18 +0000632004-09-13 Paul Jakma <paul@dishone.st>
64
65 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +000066 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +000067 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +000068 various preamble due to out of tree builds. Substitute in the
69 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +000070
hassoe42f5a32004-08-28 17:04:33 +0000712004-08-28 Hasso Tepper <hasso at quagga.net>
72
73 * vtysh_main.c: Rename signal handling functions not to conflict
74 with functions from lib/sigevent.c.
75
hasso67e29ab2004-08-26 22:21:31 +0000762004-08-27 Hasso Tepper <hasso at quagga.net>
77
hasso34553cc2004-08-27 13:56:39 +000078 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
79
802004-08-27 Hasso Tepper <hasso at quagga.net>
81
hasso67e29ab2004-08-26 22:21:31 +000082 * vtysh.c: Enable using ssh from ENABLE_NODE.
83 * vtysh_config.c: Make enable password uniq lines appear only once in
84 configuration.
85 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
86 searched configuration files from current directory. Add -f to
87 specify conf from command line.
88
892004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +000090
91 * *.c: Cosmetical changes - strip long lines, fix multiline comments
92 style, indentation fixes, remove useless comments.
93 * vtysh.h: define VTYSH_INTERFACE.
94 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
95 items.
96 * vtysh.c: Move things around a little to reduce spaghetti mess.
97 * Makefile.am: Parse only needed files from zebra daemon while
98 building vtysh_cmd.c file to supress warnings.
99
gdtfc9d0742004-06-30 14:25:12 +00001002004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
101
102 * extract.pl.in: Rename from extract.pl, with @PERL@.
103
104 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
105
hasso6c0f9a72004-06-20 09:30:57 +00001062004-06-20 Hasso Tepper <hasso@estpak.ee>
107
108 * extract.pl: Zebra daemon has access lists as well.
109
hasso2a56df92004-05-09 23:16:40 +00001102004-05-10 Hasso Tepper <hasso@estpak.ee>
111
112 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
113
hasso4991f6c2004-04-06 11:36:17 +00001142004-04-06 Hasso Tepper <hasso@estpak.ee>
115
116 * vtysh_main.c: Don't save command to history if last command already
117 there is same.
118 * vtysh_main.c: Replace -e with -c.
119 * vtysh_main.c: Fix help.
120
hassofa2b17e2004-03-04 17:45:00 +00001212004-03-04 Hasso Tepper <hasso@estpak.ee>
122
123 * vtysh.c: Remove using PAGER.
124
paul13b8baa2004-01-15 01:00:49 +00001252004-01-15 Paul Jakma <paul@dishone.st>
126
127 * vtysh_config.c: Fix up strlen to use correct string.
128
hassoba6dffe2003-12-23 10:43:09 +00001292003-12-23 Hasso Tepper <hasso@estpak.ee>
130
131 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
132 isisd integration to vtysh.
133
paul445f1432003-05-16 19:00:31 +00001342003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
135
136 vtysh.c: Program shouldn't terminate on pager execution failure
137 vtysh_user.c: configure support for openpam (freebsd5.0)
138
1392003-04-19 Hasso Tepper <hasso@estpak.ee>
140
141 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
142 have same syntax
143
paul4fc01e62002-12-13 20:49:00 +00001442002-09-30 Paul Jakma <paulzebra@rs250.org>
145
146 * vtysh.c: add 'write-config (integrated|daemon)' option
147 to specifiy whether write config commands should write
148 integrated Zebra.conf file and/or per daemon files.
149 Defaults to per daemon, unless this is turned off.
150
paul718e3742002-12-13 20:15:29 +00001512002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
152
153 * zebra-0.93 released.
154
1552001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
156
157 * zebra-0.92a released.
158
1592001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
160
161 * zebra-0.92 released.
162
1632001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
164
165 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
166 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
167
1682001-02-15 Hideto Yamakawa <yamakawa@dml.com>
169
170 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
171
172 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
173
1742001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
175
176 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
177
1782001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
179
180 * vtysh.c: VTY shell pager name. When environment variable
181 VTYSH_PAGER is defined, use it as VTY shell pager.
182
1832001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
184
185 * vtysh.c (vtysh_execute_func): Add pager argument for test of
186 pager invocation.
187
1882001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
189
190 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
191
1922001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
193
194 * vtysh.c (vtysh_client_config): Use sysconf to determine output
195 buffer size.
196 (vtysh_write_memory): Set umask 0077.
197 (vtysh_connect): Check permission to the socket.
198
1992001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
200
201 * zebra-0.91 is released.
202
2032001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
204
205 * vtysh.c (new_completion): Fix problem of appending space when
206 completion is executed.
207
2082001-01-23 Akihiro Mizutani <mizutani@dml.com>
209
210 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
211
2122001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
213
214 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
215 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
216
2172001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
218
219 * zebra-0.90 is released.
220
2212001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
222
223 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
224 Ranney" <mjr@ranney.com>
225
2262000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
227
228 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
229
2302000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
231
232 * vtysh.c (execute_command): Add two arguemnt support for
233 executing child process.
234 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
235
2362000-10-23 Akihiro Mizutani <mizutani@dml.com>
237
238 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
239 saved without problem.
240
2412000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
242
243 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
244 flag problem is fixed.
245
2462000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
247
248 * vtysh_user.c: Change to use linklist.c.
249
2502000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
251
252 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
253
254 * zebra-0.89 is released.
255
2562000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
257
258 * vtysh_main.c: Declare thread master.
259
2602000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
261
262 * vtysh_main.c (main): Add missing --help procudure. Reported by
263 Patrick Rother <krd@roka.net>.
264
2652000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
266
267 * vtysh.c (DEFUNSH): "interface IFNAME" works.
268
2692000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
270
271 * vtysh_user.c: Change name from vtysh_pam.c.
272
273 * vtysh.conf.sample: New file for vtysh configuration.
274
2752000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
276
277 * vtysh_pam.c (vtysh_pam): New file for PAM.
278
2792000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
280
281 * zebra-0.88 is released.
282
2832000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
284
285 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
286
287 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
288 backward compatibility.
289
2902000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
291
292 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
293 time.
294
2952000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
296
297 * vtysh.c (signal_init): Ignore SIGPIPE signal.
298
2992000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
300
301 * extract.pl: ALIAS command can be extracted by extract.pl.
302
3032000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
304
305 * extract.pl: Fix scalar and array semantics.
306
307 * vtysh.c (vtysh_telnet): Add "telnet" client command.
308
3092000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
310
311 * vtysh.c (main): Add -e flag for passing command from arugment.
312 (vtysh_ping): Add "ping" command for test of command execution.
313 (init_node): Add "traceroute" command.
314 (vtysh_start_shell): Add "start-shell", "start-shell bash",
315 "start-shell zsh".
316 (sigint): Add check for execute_flag for avoid duplicate prompt.
317
3182000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
319
320 * vtysh.c: New file for vty shell.
321 * vtysh.h: Likewise.
322 * extract.pl: Likewise.
323 * vtysh_cmd.c: Generate by extract.pl.