blob: 45c5246a4174438dcf3c0f236be264afebd05246 [file] [log] [blame]
hasso9a30ee52004-12-22 09:27:42 +000012004-12-22 Hasso Tepper <hasso at quagga.net>
2
3 * vtysh_config.c: No delimiter between "ip forwarding" and "ipv6
4 forwarding".
5
ajs09c3adb2004-12-09 15:15:03 +000062004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7
8 * vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
9 the results were never used.
10
ajs274a4a42004-12-07 15:39:31 +0000112004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
12
13 * vtysh.c: Make several functions static instead of global.
14 Added several commands to support destination-specific logging levels.
15 (vtysh_completion) This function is unused, so comment it out.
16
ajs85fb1e62004-11-11 14:03:39 +0000172004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
18
19 * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
20 '\0' chars and command return code.
21
hassof2799e62004-10-28 17:43:11 +0000222004-10-28 Hasso Tepper <hasso at quagga.net>
23
24 * vtysh.c: "show running-daemons" broke users habits who are using
25 "sho run" to view running configuration. Changed it to "show
26 daemons".
27
hasso97b7db22004-10-20 19:07:48 +0000282004-10-20 Hasso Tepper <hasso at quagga.net>
29
30 * vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
31 up my terminal if I exit" issue.
32
hasso43fb1352004-10-13 08:47:32 +0000332004-10-13 Hasso Tepper <hasso at quagga.net>
34
35 * extract.pl.in: All daemons can use both IPv6 and IPv4 access lists
36 to limit access to vty.
37
paulf4ad4db2004-10-13 14:52:22 +0000382004-10-11 Paul Jakma <paul@dishone.st>
paul0921d482004-10-11 18:21:55 +000039
40 * vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and
41 final sync byte is not ASCII NULL, it's actually a status integer,
42 and only ASCII NULL if CMD_SUCCESS is returned by daemon.
43 Fix pointed out by Hasso.
44
hasso5862ff52004-10-11 13:20:40 +0000452004-10-11 Hasso Tepper <hasso at quagga.net>
46
47 * vtysh.c, vtysh_user.c: Make more strings const.
48
hassodda09522004-10-07 21:40:25 +0000492004-10-07 Hasso Tepper <hasso at quagga.net>
50
51 * vtysh.c, vtysh.h, vtysh_config.c, vtysh_main.c: Fix compiler
52 warnings: make strings const, signed -> unsigned, remove unused
53 variables.
54 * vtysh_config.c: Fix crash introduced with previous patch.
55
hassoe7168df2004-10-03 20:11:32 +0000562004-10-03 Hasso Tepper <hasso at quagga.net>
57
58 * vtsyh_main.c: Enter into enable node by default. Disable node doesn't
59 make sense if we don't have any authentication for enable.
60 * vtysh.c: Implement "show running-daemons" command.
61 * vtysh.c: Use either integrated conf or daemon conf not both. Move
62 configuration command into "service" level.
63 * vtysh.c: Remove "write ..." commands from other nodes than enable.
64 We have "do ..." extension for that.
65 * vtysh_config.c, vtysh.c: Integrate vtysh configuration into
66 integrated one.
67 * vtysh_config.c: Use FORWARD_NODE and SERVICE_NODE vty nodes.
68 * vtysh_config.c: Make "service" lines unique in integrated config.
69 * vtysh.c: Make "service password-encryption" command work in vtysh.
70 * vtysh_config.c, vtysh.c, Makefile.am, extract.pl.in: Introduce line
71 vty commands in vtysh. Parse lib/vty.c for commands, but ignore
72 commands that don't make sense in vtysh. Closes Bugzilla #104.
73 * vtysh.c: Make "[enable] password" commands work in vtysh. Behavior
74 is similar to "log" commands - vtysh just passes commands to all
75 daemons.
76 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove any code dealing with
77 configuration files specified from command line. We read/write files
78 from/to system location only (ie. remove -f again).
79 * Makefile.am: Parse zebra/router-id.c.
80
hasso42895462004-09-26 16:25:07 +0000812004-09-26 Hasso Tepper <hasso at quagga.net>
82
83 * vtysh.c: Fix compiler warning.
84
paul2852de12004-09-17 06:52:16 +0000852004-09-17 Paul Jakma <paul@dishone.st>
86
87 * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
88 split across reads, dont get confused by this and block forever.
89
paul0e82d0e2004-09-13 05:00:18 +0000902004-09-13 Paul Jakma <paul@dishone.st>
91
92 * Makefile.am: extract.pl isnt in srcdir, it's always in the builddir.
paulb63dc1f2004-09-13 12:59:08 +000093 remove zebra/irdp.c from list - dead.
paul0e82d0e2004-09-13 05:00:18 +000094 * extract.pl.in: match on end of filenames, filename could contain
paulb63dc1f2004-09-13 12:59:08 +000095 various preamble due to out of tree builds. Substitute in the
96 autoconf srcdir/builddir paths for includes to cpp.
paul0e82d0e2004-09-13 05:00:18 +000097
hassoe42f5a32004-08-28 17:04:33 +0000982004-08-28 Hasso Tepper <hasso at quagga.net>
99
100 * vtysh_main.c: Rename signal handling functions not to conflict
101 with functions from lib/sigevent.c.
102
hasso67e29ab2004-08-26 22:21:31 +00001032004-08-27 Hasso Tepper <hasso at quagga.net>
104
hasso34553cc2004-08-27 13:56:39 +0000105 * vtysh.c: Make "terminal length <0-512>" command work in vtysh.
106
1072004-08-27 Hasso Tepper <hasso at quagga.net>
108
hasso67e29ab2004-08-26 22:21:31 +0000109 * vtysh.c: Enable using ssh from ENABLE_NODE.
110 * vtysh_config.c: Make enable password uniq lines appear only once in
111 configuration.
112 * vtysh_main.c, vtysh_config.c, vtysh.h: Remove useless code which
113 searched configuration files from current directory. Add -f to
114 specify conf from command line.
115
1162004-08-26 Hasso Tepper <hasso at quagga.net>
hasso95e735b2004-08-26 13:08:30 +0000117
118 * *.c: Cosmetical changes - strip long lines, fix multiline comments
119 style, indentation fixes, remove useless comments.
120 * vtysh.h: define VTYSH_INTERFACE.
121 * vtysh.c: Use VTYSH_INTERFACE where possible. Added some related TODO
122 items.
123 * vtysh.c: Move things around a little to reduce spaghetti mess.
124 * Makefile.am: Parse only needed files from zebra daemon while
125 building vtysh_cmd.c file to supress warnings.
126
gdtfc9d0742004-06-30 14:25:12 +00001272004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
128
129 * extract.pl.in: Rename from extract.pl, with @PERL@.
130
131 * Makefile.am: Add vtysh_cmds.c to CLEANFILES.
132
hasso6c0f9a72004-06-20 09:30:57 +00001332004-06-20 Hasso Tepper <hasso@estpak.ee>
134
135 * extract.pl: Zebra daemon has access lists as well.
136
hasso2a56df92004-05-09 23:16:40 +00001372004-05-10 Hasso Tepper <hasso@estpak.ee>
138
139 * vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
140
hasso4991f6c2004-04-06 11:36:17 +00001412004-04-06 Hasso Tepper <hasso@estpak.ee>
142
143 * vtysh_main.c: Don't save command to history if last command already
144 there is same.
145 * vtysh_main.c: Replace -e with -c.
146 * vtysh_main.c: Fix help.
147
hassofa2b17e2004-03-04 17:45:00 +00001482004-03-04 Hasso Tepper <hasso@estpak.ee>
149
150 * vtysh.c: Remove using PAGER.
151
paul13b8baa2004-01-15 01:00:49 +00001522004-01-15 Paul Jakma <paul@dishone.st>
153
154 * vtysh_config.c: Fix up strlen to use correct string.
155
hassoba6dffe2003-12-23 10:43:09 +00001562003-12-23 Hasso Tepper <hasso@estpak.ee>
157
158 * Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:
159 isisd integration to vtysh.
160
paul445f1432003-05-16 19:00:31 +00001612003-05-01 Sergiy Vyshnevetskiy <serg@vostok.net>
162
163 vtysh.c: Program shouldn't terminate on pager execution failure
164 vtysh_user.c: configure support for openpam (freebsd5.0)
165
1662003-04-19 Hasso Tepper <hasso@estpak.ee>
167
168 * extract.pl vtysh.c vtysh.h: sync daemon's route-map commands to
169 have same syntax
170
paul4fc01e62002-12-13 20:49:00 +00001712002-09-30 Paul Jakma <paulzebra@rs250.org>
172
173 * vtysh.c: add 'write-config (integrated|daemon)' option
174 to specifiy whether write config commands should write
175 integrated Zebra.conf file and/or per daemon files.
176 Defaults to per daemon, unless this is turned off.
177
paul718e3742002-12-13 20:15:29 +00001782002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
179
180 * zebra-0.93 released.
181
1822001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
183
184 * zebra-0.92a released.
185
1862001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
187
188 * zebra-0.92 released.
189
1902001-02-20 Kunihiro Ishiguro <kunihiro@zebra.org>
191
192 * vtysh.c (vtysh_client_config): Do not set bufsz to 120.
193 Suggested by: Matthew Grant <grantma@anathoth.gen.nz>.
194
1952001-02-15 Hideto Yamakawa <yamakawa@dml.com>
196
197 * vtysh.c (vtysh_client_execute): Call fflush after fprintf.
198
199 * vtysh_config.c (vtysh_config_dump): Use VTYSH_PAGER if defined.
200
2012001-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
202
203 * vtysh.c (vtysh_execute_func): Add fflush before pclose.
204
2052001-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
206
207 * vtysh.c: VTY shell pager name. When environment variable
208 VTYSH_PAGER is defined, use it as VTY shell pager.
209
2102001-02-09 Kunihiro Ishiguro <kunihiro@zebra.org>
211
212 * vtysh.c (vtysh_execute_func): Add pager argument for test of
213 pager invocation.
214
2152001-02-08 Kunihiro Ishiguro <kunihiro@zebra.org>
216
217 * extract.pl: Add -DHAVE_CONFIG_H option to cpp.
218
2192001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
220
221 * vtysh.c (vtysh_client_config): Use sysconf to determine output
222 buffer size.
223 (vtysh_write_memory): Set umask 0077.
224 (vtysh_connect): Check permission to the socket.
225
2262001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
227
228 * zebra-0.91 is released.
229
2302001-01-31 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
231
232 * vtysh.c (new_completion): Fix problem of appending space when
233 completion is executed.
234
2352001-01-23 Akihiro Mizutani <mizutani@dml.com>
236
237 * vtysh.c (vtysh_write_terminal): "write terminal" to all node.
238
2392001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
240
241 * vtysh.c (vtysh_execute): Fix unconditional lock by other VTY.
242 Suggested by Hideto Yamakawa <yamakawa@dml.com>.
243
2442001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
245
246 * zebra-0.90 is released.
247
2482001-01-07 Kunihiro Ishiguro <kunihiro@zebra.org>
249
250 * vtysh.h (ZEBRA_PATH): Fix new vtysh path. Reported by "Matt
251 Ranney" <mjr@ranney.com>
252
2532000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
254
255 * vtysh.c (DEFUNSH): Add "address-family vpnv4" DEFUNSH.
256
2572000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
258
259 * vtysh.c (execute_command): Add two arguemnt support for
260 executing child process.
261 (vtysh_telnet_port): New command "telnet WORD PORT" is added.
262
2632000-10-23 Akihiro Mizutani <mizutani@dml.com>
264
265 * vtysh.c (vtysh_write_memory): Display [OK] when configuration is
266 saved without problem.
267
2682000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
269
270 * vtysh.c (vtysh_config_from_file): "key chain" command with -b
271 flag problem is fixed.
272
2732000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
274
275 * vtysh_user.c: Change to use linklist.c.
276
2772000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
278
279 * Makefile.am (noinst_HEADERS): Add vtysh_user.h.
280
281 * zebra-0.89 is released.
282
2832000-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
284
285 * vtysh_main.c: Declare thread master.
286
2872000-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
288
289 * vtysh_main.c (main): Add missing --help procudure. Reported by
290 Patrick Rother <krd@roka.net>.
291
2922000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
293
294 * vtysh.c (DEFUNSH): "interface IFNAME" works.
295
2962000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
297
298 * vtysh_user.c: Change name from vtysh_pam.c.
299
300 * vtysh.conf.sample: New file for vtysh configuration.
301
3022000-08-19 Kunihiro Ishiguro <kunihiro@zebra.org>
303
304 * vtysh_pam.c (vtysh_pam): New file for PAM.
305
3062000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
307
308 * zebra-0.88 is released.
309
3102000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
311
312 * Makefile.am (vtysh_LDADD): Remove -lreadline and -lncurses.
313
314 * vtysh.c (vtysh_connect): Use AF_UNIX instead of AF_LOCAL for
315 backward compatibility.
316
3172000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
318
319 * extract.pl: Change regexp to match DEFUN and ALIAS at the same
320 time.
321
3222000-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
323
324 * vtysh.c (signal_init): Ignore SIGPIPE signal.
325
3262000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
327
328 * extract.pl: ALIAS command can be extracted by extract.pl.
329
3302000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
331
332 * extract.pl: Fix scalar and array semantics.
333
334 * vtysh.c (vtysh_telnet): Add "telnet" client command.
335
3362000-07-02 Kunihiro Ishiguro <kunihiro@zebra.org>
337
338 * vtysh.c (main): Add -e flag for passing command from arugment.
339 (vtysh_ping): Add "ping" command for test of command execution.
340 (init_node): Add "traceroute" command.
341 (vtysh_start_shell): Add "start-shell", "start-shell bash",
342 "start-shell zsh".
343 (sigint): Add check for execute_flag for avoid duplicate prompt.
344
3452000-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
346
347 * vtysh.c: New file for vty shell.
348 * vtysh.h: Likewise.
349 * extract.pl: Likewise.
350 * vtysh_cmd.c: Generate by extract.pl.