blob: f3a4da9a59d253596c2d38cbebdfaf18d557fd02 [file] [log] [blame]
paul0921d482004-10-11 18:21:55 +000012004-09-17 Paul Jakma <paul@dishone.st>
2
3 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
4 final sync byte is not ASCII NULL, it's actually a status integer,
5 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
6 Fix pointed out by Hasso.
7
hasso5862ff52004-10-11 13:20:40 +000082004-10-11 Hasso Tepper <hasso at quagga.net>
9
10 * vtysh.c, vtysh_user.c: Make more strings const.
11
hassodda09522004-10-07 21:40:25 +0000122004-10-07 Hasso Tepper <hasso at quagga.net>
13
14 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
15 warnings: make strings const, signed -> unsigned, remove unused
16 variables.
17 * vtysh_config.c: Fix crash introduced with previous patch.
18
hassoe7168df2004-10-03 20:11:32 +0000192004-10-03 Hasso Tepper <hasso at quagga.net>
20
21 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
22 make sense if we don't have any authentication for enable.
23 * vtysh.c: Implement "show running-daemons" command.
24 * vtysh.c: Use either integrated conf or daemon conf not both. Move
25 configuration command into "service" level.
26 * vtysh.c: Remove "write ..." commands from other nodes than enable.
27 We have "do ..." extension for that.
28 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
29 integrated one.
30 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
31 * vtysh_config.c: Make "service" lines unique in integrated config.
32 * vtysh.c: Make "service password-encryption" command work in vtysh.
33 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
34 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
35 commands that don't make sense in vtysh. Closes Bugzilla #104.
36 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
37 is similar to "log" commands - vtysh just passes commands to all
38 daemons.
39 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
40 configuration files specified from command line. We read/write files
41 from/to system location only (ie. remove -f again).
42 * Makefile.am: Parse zebra/router-id.c.
43
hasso42895462004-09-26 16:25:07 +0000442004-09-26 Hasso Tepper <hasso at quagga.net>
45
46 * vtysh.c: Fix compiler warning.
47
paul2852de12004-09-17 06:52:16 +0000482004-09-17 Paul Jakma <paul@dishone.st>
49
50 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
51 split across reads, dont get confused by this and block forever.
52
paul0e82d0e2004-09-13 05:00:18 +0000532004-09-13 Paul Jakma <paul@dishone.st>
54
55 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +000056 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +000057 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +000058 various preamble due to out of tree builds. Substitute in the
59 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +000060
hassoe42f5a32004-08-28 17:04:33 +0000612004-08-28 Hasso Tepper <hasso at quagga.net>
62
63 * vtysh_main.c: Rename signal handling functions not to conflict
64 with functions from lib/sigevent.c.
65
hasso67e29ab2004-08-26 22:21:31 +0000662004-08-27 Hasso Tepper <hasso at quagga.net>
67
hasso34553cc2004-08-27 13:56:39 +000068 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
69
702004-08-27 Hasso Tepper <hasso at quagga.net>
71
hasso67e29ab2004-08-26 22:21:31 +000072 * vtysh.c: Enable using ssh from ENABLE_NODE.
73 * vtysh_config.c: Make enable password uniq lines appear only once in
74 configuration.
75 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
76 searched configuration files from current directory. Add -f to
77 specify conf from command line.
78
792004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +000080
81 * *.c: Cosmetical changes - strip long lines, fix multiline comments
82 style, indentation fixes, remove useless comments.
83 * vtysh.h: define VTYSH_INTERFACE.
84 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
85 items.
86 * vtysh.c: Move things around a little to reduce spaghetti mess.
87 * Makefile.am: Parse only needed files from zebra daemon while
88 building vtysh_cmd.c file to supress warnings.
89
gdtfc9d0742004-06-30 14:25:12 +0000902004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
91
92 * extract.pl.in: Rename from extract.pl, with @PERL@.
93
94 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
95
hasso6c0f9a72004-06-20 09:30:57 +0000962004-06-20 Hasso Tepper <hasso@estpak.ee>
97
98 * extract.pl: Zebra daemon has access lists as well.
99
hasso2a56df92004-05-09 23:16:40 +00001002004-05-10 Hasso Tepper <hasso@estpak.ee>
101
102 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
103
hasso4991f6c2004-04-06 11:36:17 +00001042004-04-06 Hasso Tepper <hasso@estpak.ee>
105
106 * vtysh_main.c: Don't save command to history if last command already
107 there is same.
108 * vtysh_main.c: Replace -e with -c.
109 * vtysh_main.c: Fix help.
110
hassofa2b17e2004-03-04 17:45:00 +00001112004-03-04 Hasso Tepper <hasso@estpak.ee>
112
113 * vtysh.c: Remove using PAGER.
114
paul13b8baa2004-01-15 01:00:49 +00001152004-01-15 Paul Jakma <paul@dishone.st>
116
117 * vtysh_config.c: Fix up strlen to use correct string.
118
hassoba6dffe2003-12-23 10:43:09 +00001192003-12-23 Hasso Tepper <hasso@estpak.ee>
120
121 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
122 isisd integration to vtysh.
123
paul445f1432003-05-16 19:00:31 +00001242003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
125
126 vtysh.c: Program shouldn't terminate on pager execution failure
127 vtysh_user.c: configure support for openpam (freebsd5.0)
128
1292003-04-19 Hasso Tepper <hasso@estpak.ee>
130
131 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
132 have same syntax
133
paul4fc01e62002-12-13 20:49:00 +00001342002-09-30 Paul Jakma <paulzebra@rs250.org>
135
136 * vtysh.c: add 'write-config (integrated|daemon)' option
137 to specifiy whether write config commands should write
138 integrated Zebra.conf file and/or per daemon files.
139 Defaults to per daemon, unless this is turned off.
140
paul718e3742002-12-13 20:15:29 +00001412002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
142
143 * zebra-0.93 released.
144
1452001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
146
147 * zebra-0.92a released.
148
1492001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
150
151 * zebra-0.92 released.
152
1532001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
154
155 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
156 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
157
1582001-02-15 Hideto Yamakawa <yamakawa@dml.com>
159
160 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
161
162 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
163
1642001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
165
166 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
167
1682001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
169
170 * vtysh.c: VTY shell pager name. When environment variable
171 VTYSH_PAGER is defined, use it as VTY shell pager.
172
1732001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
174
175 * vtysh.c (vtysh_execute_func): Add pager argument for test of
176 pager invocation.
177
1782001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
179
180 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
181
1822001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
183
184 * vtysh.c (vtysh_client_config): Use sysconf to determine output
185 buffer size.
186 (vtysh_write_memory): Set umask 0077.
187 (vtysh_connect): Check permission to the socket.
188
1892001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
190
191 * zebra-0.91 is released.
192
1932001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
194
195 * vtysh.c (new_completion): Fix problem of appending space when
196 completion is executed.
197
1982001-01-23 Akihiro Mizutani <mizutani@dml.com>
199
200 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
201
2022001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
203
204 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
205 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
206
2072001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
208
209 * zebra-0.90 is released.
210
2112001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
212
213 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
214 Ranney" <mjr@ranney.com>
215
2162000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
217
218 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
219
2202000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
221
222 * vtysh.c (execute_command): Add two arguemnt support for
223 executing child process.
224 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
225
2262000-10-23 Akihiro Mizutani <mizutani@dml.com>
227
228 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
229 saved without problem.
230
2312000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
232
233 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
234 flag problem is fixed.
235
2362000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
237
238 * vtysh_user.c: Change to use linklist.c.
239
2402000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
241
242 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
243
244 * zebra-0.89 is released.
245
2462000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
247
248 * vtysh_main.c: Declare thread master.
249
2502000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
251
252 * vtysh_main.c (main): Add missing --help procudure. Reported by
253 Patrick Rother <krd@roka.net>.
254
2552000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
256
257 * vtysh.c (DEFUNSH): "interface IFNAME" works.
258
2592000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
260
261 * vtysh_user.c: Change name from vtysh_pam.c.
262
263 * vtysh.conf.sample: New file for vtysh configuration.
264
2652000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
266
267 * vtysh_pam.c (vtysh_pam): New file for PAM.
268
2692000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
270
271 * zebra-0.88 is released.
272
2732000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
274
275 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
276
277 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
278 backward compatibility.
279
2802000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
281
282 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
283 time.
284
2852000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
286
287 * vtysh.c (signal_init): Ignore SIGPIPE signal.
288
2892000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
290
291 * extract.pl: ALIAS command can be extracted by extract.pl.
292
2932000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
294
295 * extract.pl: Fix scalar and array semantics.
296
297 * vtysh.c (vtysh_telnet): Add "telnet" client command.
298
2992000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
300
301 * vtysh.c (main): Add -e flag for passing command from arugment.
302 (vtysh_ping): Add "ping" command for test of command execution.
303 (init_node): Add "traceroute" command.
304 (vtysh_start_shell): Add "start-shell", "start-shell bash",
305 "start-shell zsh".
306 (sigint): Add check for execute_flag for avoid duplicate prompt.
307
3082000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
309
310 * vtysh.c: New file for vty shell.
311 * vtysh.h: Likewise.
312 * extract.pl: Likewise.
313 * vtysh_cmd.c: Generate by extract.pl.