]> git.proxmox.com Git - mirror_frr.git/blame - lib/ChangeLog
2005-02-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
[mirror_frr.git] / lib / ChangeLog
CommitLineData
1e221354 12005-02-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
3 * log.c: (syslog_sigsafe) Reduce scope of syslog_fd: it is accessed
4 inside this function only.
5 (open_crashlog) New function to open /var/tmp/quagga.<daemon>.crashlog
6 with flags O_WRONLY|O_CREAT|O_EXCL to save some crash info.
7 (zlog_signal,_zlog_assert_failed) Increase logging priority from
8 LOG_ERR to LOG_CRIT. If no file logging is configured, try to use
9 open_crashlog to create a crash logfile.
10 (zlog_backtrace_sigsafe) If a crashlog file descriptor is open,
11 dump a backtrace to that file.
12
847947f2 132005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
14
15 * if.h: Declare if_flag_dump.
16
6a52d0d1 172005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
18
19 * daemon.c: (daemon) Replace perror with zlog_err.
20 * vty.c: (vty_serv_un) Replace perror with zlog_err.
21
3b8b1855 222005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
23
24 * buffer.h: Fix comment on buffer_getstr to reflect that it now
25 uses XMALLOC.
26 * buffer.c: (buffer_getstr) Use XMALLOC(MTYPE_TMP) instead of malloc.
27 * filter.c: (access_list_remark,ipv6_access_list_remark) Use
28 argv_concat instead of buffer_getstr.
29 * if.c: (interface_desc) Use argv_concat instead of buffer_getstr.
30 * plist.c: (ip_prefix_list_description,ipv6_prefix_list_description)
31 Use argv_concat instead of buffer_getstr.
32
afb8b605 332005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
34
35 * lib/buffer.h: Document behavior of buffer_getstr function.
36 * lib/buffer.c: (buffer_getstr) Fix bug: must handle case where
37 the string extends beyond the head struct buffer_data.
38
f6834d4c 392005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
40
41 * lib/command.h: Document behavior of argv_concat function.
42 * lib/command.c: (argv_concat) Calculate total string length first so
43 we can call malloc just once (instead of realloc'ing to add each
44 string element).
45 (do_echo,config_logmsg) Allow for possible NULL return value from
46 argv_concat.
47
13bfca7a 482005-01-23 Hasso Tepper <hasso at quagga.net>
49
50 * lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will
51 use it as well.
52
31364274 532005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
54
55 * log.h: Test for SA_SIGINFO to see whether zlog_signal takes final
56 two args (siginfo and program_counter).
57 * log.c: (hex_append) Include this function only if SA_SIGINFO or
58 HAVE_GLIBC_BACKTRACE is defined.
59 (zlog_signal) Final two args (siginfo and program_counter) now
60 depend on whether SA_SIGINFO is defined on this platform.
61 * sigevent.c: (program_counter) Do not include this function if
62 SA_SIGINFO is not defined on this platform.
63 (exit_handler,core_handler) Test for SA_SIGINFO to decide whether
64 2nd & 3rd arguments are present and to decide how to invoke
65 zlog_signal.
66 (trap_default_signals) Test for SA_SIGINFO and invoke sigaction
67 appropriately.
68
239c26fd 692005-01-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
70
71 * log.h: Change prototype for zlog_backtrace_sigsafe to take additional
72 program_counter argument.
73 * log.c: (zlog_backtrace_sigsafe) Add additional program_counter
74 argument. If it is non-NULL, use backtrace_symbols_fd to resolve
75 the address.
76 (zlog_signal) Call zlog_backtrace_sigsafe with additional
77 program_counter argument.
78
87d683b0 792005-01-17 Hasso Tepper <hasso at quagga.net>
80
81 * command.[ch], vty.c: cmd_execute_command() function must not attempt
82 to walk up in the node tree if called from vtysh. Different daemons
83 might have commands with same syntax in different nodes (for example
84 "router-id x.x.x.x" commands in zebra/ospfd/ospf6d daemons).
85
cb585b65 862005-01-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
87
88 * command.c (print_version): Do not bother even to examine host.name,
89 since it is always NULL when this function is called from main.
90
f867d32c 912005-01-14 Greg Troxel <gdt@fnord.ir.bbn.com>
92
93 * command.c (print_version): Don't print host.name if it is NULL.
94 Fixes segfault on Solaris reported by Goetz von Escher <goetz@open.ch>
95
40abf239 962005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
97
98 * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to
99 pass additional siginfo_t and ucontext_t arguments to core_handler
100 and exit_handler.
101 (core_handler,exit_handler) Now invoked with 3 arguments (using
102 SA_SIGINFO). Pass additional info to zlog_signal.
103 (program_counter) New function to find program counter in ucontext_t,
104 needs to be enhanced to support more platforms (currently works only
105 on Linux/x86).
106 * log.h: Change the zlog_signal prototype to add new arguments
107 siginfo_t * and program_counter.
108 * log.c: (zlog_signal) Add new arguments siginfo and program_counter.
109 Include si_addr and program counter (if non-NULL) in message.
110 And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since
111 that is now used to render the si_addr and PC pointers.
112
e22f5516 1132005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
114
115 * zebra.h: If not C99 and no va_copy macro available, fall back to
116 memcpy (solves a build problem on FreeBSD 4.x).
117
b99760ab 1182005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
119
120 * zebra.h: Define ZCMSG_FIRSTHDR appropriately based on whether
121 config.h indicates HAVE_BROKEN_CMSG_FIRSTHDR (as determined
122 by the configure test program).
123 * sockopt.c: (getsockopt_cmsg_data) Use ZCMSG_FIRSTHDR instead
124 of CMSG_FIRSTHDR.
125
cba8a606 1262005-01-02 Hasso Tepper <hasso at quagga.net>
127
128 * command.c: Revert int -> unsigned int fixes in
129 cmd_describe_command_real() and cmd_complete_command_real(). index can
130 be actually negative and it caused crash with "do<TAB>" in vty.
131
1d69fdf6 1322004-12-29 Greg Troxel <gdt@poblano.ir.bbn.com>
133
d44debed 134 * sockopt.c (getsockopt_ipv4_ifindex): Document calling
135 convention. Beef up comments. Handle the case where the cmsghdr
136 has a zero controllen, or more specifically when the wanted option
137 is not present. This is needed for Solaris 8, and in general for
138 any platform for which configure finds a method and it can fail.
139 Mark some changes with XXX to be cleaned up post 0.98.
140
1d75c8c3 1412004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
142
143 * sockopt.c: (setsockopt_ipv4_ifindex) Improve error message.
144 When neither IP_PKTINFO nor IP_RECVIF is defined, make return value
145 deterministic (-1).
146
af04bd7c 1472004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
148
149 * thread.c: (funcname_thread_add_timer_msec) Reduce overflow risk.
150
4ba9b924 1512004-12-21 Paul Jakma <paul.jakma@sun.com>
152
153 * if.h: Add more 'non-generic' IFF_ flags.
154 * if.c: IFF_NOXMIT/IFF_VIRTUAL interfaces are 'loopback like'
0e43a2bc 155 * stream.c: Dont allocate streams with 0 sized data buffers
4ba9b924 156
2885f72d 1572004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
158
159 * command.c: (do_echo) Added new "echo" command, useful for
160 watchdog pinging to make sure the daemon is responsive.
161
202d08ca 1622004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
163
164 * pid_output.c: (pid_output_lock) Eliminate static function, and just
165 use the #ifdef to decide which version of the function to include.
166 This eliminates a compilation problem with gcc4. And fix the
167 non-fcntl version so that it actually compiles. Exit with
168 status 1 instead of -1 on error.
169
81fc57ca 1702004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
171
172 * sigevent.c: (trap_default_signals) Ignore SIGPIPE instead of exiting.
173
3378d209 1742004-12-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
175
176 * log.c: (zlog_signal,_zlog_assert_failed) Change logging level back to
177 LOG_ERR instead of LOG_EMERG.
178
c3324c63 1792004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
180
181 * log.c: (hex_append) No need to include this function if
182 HAVE_GLIBC_BACKTRACE is not defined.
183
b9e7028f 1842004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
185
186 * prefix.c: (prefix_copy) Error message before abort should
187 have severity LOG_ERR, not LOG_INFO.
188 * memory.c: (mtype_log) Log level should be LOG_DEBUG, not LOG_INFO.
189
8ddca704 1902004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
191
192 * {smux.c,zclient.c}: Change level of debug messages to LOG_DEBUG.
193
82146b88 1942004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
195
196 * command.c: (config_write_host) Note that "log trap" is deprecated
197 when writing out the config.
198
274a4a44 1992004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
200
201 * log.h: Replace struct zlog flags and maskpri fields with maxlvl
202 array to support individual logging levels for each destination.
203 Remove the 2nd argument to openzlog since the default logging config
204 should be standardized inside the library. Replaced the
205 zlog_set_flag and zlog_reset_flag functions with zlog_set_level.
206 And zlog_set_file now requires an additional log_level argument.
207 Declare zlog_proto_names for use inside command.c in the
208 "show logging" command. Added defines useful for command
209 construction.
210 * log.c: (vzlog) Decide where to send the message based on the
211 individual logging levels configured for each destination.
212 Remove support for ZLOG_STDERR since it was never actually used.
213 Support record-priority for terminal monitors.
214 (zlog_signal,zlog_backtrace_sigsafe) Support destination-specific
215 logging levels. Remove stderr support (was never used). Added
216 support for terminal monitor logging.
217 (_zlog_assert_failed) Increase message severity to LOG_EMERG.
218 (openzlog) Remove 2nd argument since default config should be
219 standardized in library. By default, terminal monitoring
220 is set to debug, and all other logging is disabled.
221 (zlog_set_flag,zlog_reset_flag) Removed.
222 (zlog_set_level) New function to replace zlog_set_flag and
223 zlog_reset_flag. Supports destination-specific logging levels.
224 (zlog_set_file,zlog_reset_file) Support file-specific logging level.
225 (zlog_rotate) Log an error message if fopen fails, and support
226 new file-specific logging level.
227 * command.h: Change DEFUN_CMD_FUNC_DECL and DEFUN_CMD_FUNC_TEXT so that
228 command functions will be static instead of global. Remove
229 declarations for config_exit and config_help. Define new macros
230 DEFUNSH_ATTR, DEFUNSH_HIDDEN, and DEFUNSH_DEPRECATED so we can
231 have deprecated commands in vtysh. Similarly, for completeness,
232 define macros ALIAS_SH, ALIAS_SH_HIDDEN, and ALIAS_SH_DEPRECATED.
233 Also, fix bug in ALIAS_ATTR macro (didn't matter because it
234 was never used).
235 * command.c: Make many functions static instead of global.
236 (facility_name,facility_match,level_match) New functions
237 to support enhanced destination-specific logging levels.
238 (config_write_host) Support new destination-specific logging levels.
239 (config_logmsg) Added new "logmsg" command to help test logging
240 system.
241 (show_logging) Added "show logging" command to show the current
242 configuration of the logging system.
243 (config_log_stdout_level) Support explicit stdout logging level.
244 (no_config_log_stdout) Now takes optional LEVEL arg.
245 (config_log_monitor,config_log_monitor_level,no_config_log_monitor)
246 New commands creating new "log monitor" commands to set terminal
247 monitoring log level.
248 (config_log_file_level) Support explicit file logging level.
249 (config_log_syslog_level) Support explicit syslog logging level.
250 (config_log_facility,no_config_log_facility) Implement new
251 "log facility" command.
252 (cmd_init) Add hooks for new commands: "show logging", "logmsg",
253 "log stdout <level>", "log monitor", "log monitor <level>",
254 "no log monitor", "log file <filename> <level>",
255 "no log file <filename> <level>", "log syslog <level>",
256 "log facility", and "no log facility".
257 * vty.h: Added a "level" argument to vty_log so it can support
258 "log record-priority". Declare new function vty_log_fixed for
259 use in signal handlers.
260 * vty.c: (vty_log,vty_log_out) Added a "level" argument to support
261 "log record-priority" for vty terminal monitors.
262 (vty_down_level) Use config_exit_cmd.func instead of calling
263 config_exit directly (since command functions will now be static
264 instead of global).
265 (vty_log_fixed) New function to send terminal monitor messages
266 from inside a signal handler.
267
5e764774 2682004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
269
270 * log.h: Document appropriate use of syslog logging priorities
271 inside quagga.
272
56f2069a 2732004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
274
275 * command.h: Remove fields log_stdout and log_syslog from struct host,
276 since they are just trying to duplicate information in the
277 zlog_default structure. Note that this fixes a bug since those
278 fields were not registering any logging that was established
279 in the initial call to openzlog (this affects only the zebra and
280 ospf6d daemons). It is probably a bug to turn on any logging by
281 default in the call to openzlog.
282 * command.c: (config_write_host) Get logging info from zlog_default
283 instead of now-removed fields host.log_stdout and host.log_syslog.
284 (config_log_stdout,no_config_log_stdout) Do not set now-removed field
285 host.log_stdout, since this info is recorded in zlog_default.
286 (config_log_file) Use XSTRDUP (instead of strdup) to set host.logfile.
287 (config_log_syslog,config_log_syslog_facility,no_config_log_syslog)
288 Do not set now-removed field host.log_syslog, since this info is
289 recorded in zlog_default.
290
887c44a4 2912004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
292
293 * version.h.in: Remove declaration for pid_output_lock, this function
294 is now static, not global.
295 * pid_output.c: (pid_output_lock) This function should be static, not
296 global. And remove "old umask" error message, since it was really
297 an unimportant debug message, not an error.
298 (pid_output) Need to declare static function pid_output_lock.
299
7d149b8e 3002004-11-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
301
302 * log.h: Remove several unused fields from struct zlog. Add comments
303 for other fields, and add one new field syslog_options that is
304 used in the new syslog_sigsafe implementation.
305 * log.c: (syslog_sigsafe) New function to send syslog messages in
306 an async-signal safe way that can be used inside a signal handler.
307 (syslog_connect) New function to connect to syslog daemon inside a
308 signal handler. This function supports only systems where /dev/log
309 is a unix datagram socket (e.g. not Solaris).
310 (zlog_signal) Call syslog_sigsafe if syslog logging is enabled.
311 (zlog_backtrace_sigsafe) Call syslog_sigsafe if syslog logging is
312 enabled.
313 (openzlog) Save syslog_options for use in syslog_sigsafe.
314 (num_append) Fix bug: handle 0 properly.
315 (hex_append) New function to print a u_long in hex format.
316
2557aed1 3172004-11-28 Hasso Tepper <hasso at quagga.net>
318
319 * command.h: DEFUN_DEPRECATED passes attribute to DEFUN as well.
320
48d6c69b 3212004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
322
323 * log.c, log.h, memory.c: Change function name from zlog_backtrace_safe
324 to the more self-explanatory zlog_backtrace_sigsafe.
325
5b85facc 3262004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
327
328 * debug.[ch]: Remove unused files.
329 * Makefile.am: Remove references to debug.c and debug.h
330
063ee52a 3312004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
332
333 * log.c: (zlog_backtrace) New function to log a backtrace.
334 (zlog_backtrace_safe) Log a backtrace in an async-signal-safe way.
335 Unfortunately, this function does not support syslog logging yet.
336 (zlog_signal) Move backtrace code into separate function
337 zlog_backtrace_safe.
338 (_zlog_assert_failed) Call zlog_backtrace before aborting.
339 * log.h: Declare new functions zlog_backtrace and zlog_backtrace_safe.
340 * memory.c: (zerror) Call zlog_backtrace before aborting.
341
d1c51d7c 3422004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
343
344 * Makefile.am: Need to add zassert.h to pkginclude_HEADERS.
345
4cf0d0df 3462004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
347
348 * zebra.h: If not C99 and there's no va_copy macro and there is
349 a __va_copy macro, define va_copy as __va_copy.
350
e5879ca1 3512004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
352
353 * pid_output.c: (pid_output_lock) Fix 2 bugs: when locking, should
354 set l_whence to SEEK_SET, not SEEK_END. And after writing new
355 pid to file, must ftruncate to eliminate any extraneous bytes left
356 over from the last time a pid was written.
357
cee3df1e 3582004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
359
360 * zassert.h: New header file to declare a quagga-specific assert macro.
361 * log.c: (_zlog_assert_failed) New function called when assert fails
362 to log the error and abort.
363 * zebra.h: Include "zassert.h" instead of <assert.h>.
364 * regex.c: Include "zassert.h" instead of <assert.h>.
365
59a06a91 3662004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
367
368 * sigevent.c: (signal_init) Set up some default signal handlers
369 so that processes will issue an error message before terminating
370 or dumping core.
371 (trap_default_signals) New function to set up signal handlers
372 for various signals that may kill the process.
373 (exit_handler) Call zlog_signal, then _exit.
374 (core_handler) Call zlog_signal, then abort.
375 * log.h: Declare new function zlog_signal.
376 * log.c: (zlog_signal) New function to log information about
377 a received signal before the process dies. Try to log a
378 backtrace also.
379 (quagga_signal_handler,signal_set) Should be static.
380
d246bd96 3812004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
382
383 * log.c: (vzlog) Take a single va_list argument and use va_copy
384 as necessary for multiple traversals.
385 (zlog) Pass only one va_list to vzlog.
386 (zlog_*,plog_*) Use a macro for boilerplate code; pass only one
387 va_list to vzlog.
388 (zlog_set_file) Remove unused 2nd argument (flags).
389 (zlog_save_cwd,zlog_get_cwd,zlog_free_cwd) Remove unused functions.
390 * log.h: Remove ZLOG_*_INDEX defines (no longer used).
391 Remove unused 2nd argument from zlog_set_file prototype.
392 Fix prototype for zlog_rotate.
393 * command.c: (config_log_file) Remove unused 2nd arg to zlog_set_file.
394 * vty.c: (vty_out) Fix stdarg usage to perform multiple traversals
395 properly.
396 (vty_log) Must use va_copy for multiple traversals of va_list arg.
397
ca359769 3982004-11-19 David Young <dyoung@pobox.com>
399
400 * log.c: (safe_strerror) New function: safe wrapper for strerror.
401
ff29bb31 4022004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
403
404 * sockopt.c: (setsockopt_so_recvbuf) Stop error message from being
405 printed every time.
406
f858e49b 4072004-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
408
409 * memory.h: Fix prototype for memory_init().
410 * memory.c: Declare many functions and data structures static instead
411 of global. Fix prototype for memory_init().
412
69e1325f 4132004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
414
415 * sockopt.h: Avoid CMSG_ALIGN, and declare that sizes are without
416 alignment (users should use CMSG_SPACE).
417
418 * zebra.h: Rationalize CMSG_SPACE compatibility defines. Warn if
419 asumming 4-byte alignment, since this isn't safe.
420
7fa25ff6 4212004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
422
423 * memory.c: (zerror) Use zlog_err instead of fprintf to stderr.
424 Instead of exiting, log currenty memory usage and then abort.
425 (log_memstats) New function to log memory statistics, called by
426 zerror.
427 (show_memory_all) Loop over new mlists array instead of calling
428 show_memory_vty separately for each memory_list.
429
b86718ea 4302004-11-08 Paul Jakma <paul@dishone.st>
b35e5b4e 431
2265d20c 432 * buffer.c: Add missing include of log.h.
433 (buffer_flush_available) written is compared against
434 mostly against unsigned types, only for the writev do we need
435 signed compare, so declare it as size_t and cast it to ssize_t
436 just for the error compare when we've called writev.
437 * buffer.h: Add comment that buffer data sizes really should be
438 size_t.
439
4402004-11-07 Paul Jakma <paul@dishone.st>
441
442 * version.h.in: add autoconf configure_input output var
b35e5b4e 443
5a646650 4442004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
445
446 * vty.h: Remove fields in struct vty that were related to VTY_CONTINUE
447 capabilities (that were used only in bgpd/bgp_route.c and are now
448 removed). Also remove some other fields that were not being
449 used at all.
450 * vty.c: (vty_execute) Do not test for obsolete status values VTY_START
451 and VTY_CONTINUE.
452 (vty_read) Remove calls to vty->output_func since that was part
453 of the VTY_CONTINUE infrastructure that has been removed.
454 (vty_flush) Remove code to support VTY_START and VTY_CONTINUE.
455 (vty_close) Remove code to cancel vty->t_output thread, since that
456 thread was never actually used.
457
49ff6d9d 4582004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
459
460 * vty.c: Vtysh connections to daemons should use buffering.
461 (vty_out) Remove exception for vty_shell_serv, just use buffer_write.
462 (vty_new) Increase output buffer size to 4096 rounded up to a
463 multiple of pagesize.
464 (vtysh_read) After command has been executed and all output buffered,
465 call buffer_flush_available and schedule further writes if the
466 buffers are not yet empty.
467 (vtysh_write) New function to flush output to vtysh when the socket
468 is writeable.
469 (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh
470 clients. Also, should save read thread in vty->t_read so the
471 thread can be cancelled in vty_close.
472 * buffer.h: In struct buffer_data, remove unused "parent" field.
473 Convert "unsigned char *data" to "unsigned char data[0]" to save
474 a malloc. Declare new function buffer_flush_available that works
475 with non-blocking sockets.
476 * buffer.c: (buffer_data_new) Use a single malloc now that data is
477 a variable-size array at end of structure.
478 (buffer_data_free) Just a single free now that data is part of the
479 structure.
480 (buffer_write) Simplify the logic to make behavior more transparent.
481 (buffer_flush) Decrease b->length as data is written out.
482 (buffer_flush_vty_all) Decrease b->length as buffers are freed.
483 (buffer_flush_vty) Decrease b->length as data is written out.
484 (buffer_flush_available) New function to flush non-blocking sockets.
485
e064d6d9 4862004-11-01 Paul Jakma <paul@dishone.st>
487
488 * sockopt.c: (setsockopt_pktinfo) remove, its unused.
489
75e15fe4 4902004-10-31 Paul Jakma <paul@dishone.st>
491
492 * vty.c: As per Andrew's suggestions..
493 (vty_serv_un) remove flags.
494 (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.
66cbbceb 495 * keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.
9d11a19e 496 * memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS
497 * thread.c: Update stats and funcname alloc/free to use previous
039b9577 498 specific memory type defines. Use XCALLOC and sizeof the type,
499 not the pointer.
70e149e0 500 * smux.c: fix int to size_t compile warnings
75e15fe4 501
dccfb190 5022004-10-29 Paul Jakma <paul@dishone.st>
503
504 * vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un
505 to vtysh_accept, where sock is the actual fd we wanted to set to
506 O_NONBLOCK, ie the /connected/ vtysh unix socket.
507
508ec910 5082004-10-23 Hasso Tepper <hasso at quagga.net>
509
510 * zclient.c: Unbreak reading interface update message. Might fix
511 blocker bugzilla #109.
512
23b9c61e 5132004-10-22 Paul Jakma <paul@dishone.st>
7d9c6e51 514
515 * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
23b9c61e 516 -1.
517 (setsockopt_pktinfo) unexported
518 * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
519 define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
4ccb2c46 520 neither IP_RECVIF nor IP_PKTINFO (eg openbsd), thanks to Rivo
521 Nurges for highlighting problem and fix.
4927cf0b 522 Fix elif that should be an else.
406d6716 523 * command.h: Cleanup the defines a bit, add helper defines and
524 collapse all defines to use those. Add an attribute field to
525 cmd_element to support, eg hidden or deprecated commands, add
526 defun defines for such. All that's left to do is add logic
527 to command.c to check these attributes... ;)
af0d97eb 528 * zebra.h: reserve ZEBRA_ROUTE_HSLS
7d9c6e51 529
6590f2c3 5302004-10-19 Hasso Tepper <hasso at quagga.net>
531
532 * version.h.in: Define copyright string QUAGGA_COPYRIGHT.
533 * print_version.c: Remove. print_version () function moved to
534 command.[c|h].
535 * command.c: Use QUAGGA_COPYRIGHT.
536 * Makefile.am: Remove useless version.c and print_version.c files.
537
3fb9cd6e 5382004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
539
540 * zclient.c: (zebra_interface_address_read) If the destination address
541 is encoded as all zeroes, load it as a NULL pointer.
542 * if.h: Add comment describing struct connected destination field
543 and indicating that it may be NULL. Define macros
544 CONNECTED_DEST_HOST and CONNECTED_POINTOPOINT_HOST to help
545 with PtP logic (distinguish between host and subnet addressing).
546 * if.c: (if_lookup_address) Fix PtP logic to handle subnet addressing
547 properly,
548 (connected_lookup_address) ditto.
549 (connected_add_by_prefix) Handle case where destination is NULL,
550 * prefix.[c|h]: New functions ipv4_network_addr and
551 ipv4_broadcast_addr.
552
ddd85ed1 5532004-10-13 Hasso Tepper <hasso at quagga.net>
554
555 * command.c: Make CMD_ERR_NOTHING_TODO nonfatal if reading
556 configuration from file. Fixes critical bugzilla #113.
c75105ab 557 * smux.c, smux.h: Remove all defaults to initialize smux connection to
558 snmpd by default even if not configured to do so. "smux peer OID
559 <password>" initializes now connection and "no smux peer" terminates
560 it.
ddd85ed1 561
42d49865 5622004-10-13 Paul Jakma <paul@dishone.st>
563
564 * (global) more const'ification.
565 * sockunion.c: (sockunion_su2str) buffer should be sized
566 SU_ADDRSTRLEN.
567 (sockunion_log) do not return stack variables, strdup buf before
568 return.
569 * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
570 values against ULONG_MAX is daft, when caller probably has passed
571 a type that can not hold ULONG_MAX. use a temporary long instead.
572 Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
573 VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
574
a149411b 5752004-10-11 Hasso Tepper <hasso at quagga.net>
576
577 * command.h: Sync DEFUNSH with other macros.
578 * sockunion.c, sockunion.h: More const strings.
579
9076fbd3 5802004-10-11 Paul Jakma <paul@dishone.st>
581
582 * thread.c: (funcname_thread_add_timer)
583 (funcname_thread_add_timer_msec) Fix mistakes from last change.
584 Pointed out by Liu Xin in [quagga-dev 1609].
c9eca01b 585 * if.h: mtu's should be unsigned.
586 * routemap.{c,h}: const char updates
587 * smux.{c,h}: ditto
9076fbd3 588
9035efaa 5892004-10-10 Paul Jakma <paul@dishone.st>
47ca2953 590
591 * version.h.in: (pid_output*) add const qualifier.
9035efaa 592 * command.h: Change DEFUN func to take const char *[] rather
593 than char **, to begin process of fixing compile warnings in lib/.
594 Nearly all other changes in this commit follow from this change.
595 * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
596 const void * and cast an automatic const char *p to it.
597 (buffer_putstr) add const
598 * command.c: (zencrypt) const qualifier
599 (cmd_execute_command_real) ditto
600 (cmd_execute_command_strict) ditto
601 (config_log_file) ditto.
602 Fix leak of getcwd() returned string.
603 * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
604 * distribute.{c,h}: Update with const qualifier.
605 (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
606 (distribute_lookup) Cast to char *, note that it's ok.
607 (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
608 (distribute_get) Cast to char *, note that it's ok.
609 * filter.c: Update with const qualifier.
610 * if.{c,h}: ditto.
611 * if_rmap.{c,h}: ditto.
612 (if_rmap_lookup) Cast to char *, note that it's ok.
613 (if_rmap_get) ditto.
614 * log.{c,h}: Update with const qualifier.
615 * plist.{c,h}: ditto.
616 * routemap.{c,h}: ditto.
617 * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
618 * sockopt.c: (getsockopt_cmsg_data) add return for error case.
619 * vty.c: Update with const qualifier.
620
27a43a81 6212004-10-08 Hasso Tepper <hasso at quagga.net>
622
623 * routemap.c, routemap.h: Make some string arguments const.
624
5973ee73 6252004-10-05 Paul Jakma <paul@dishone.st>
626
627 * version.h.in: print_version declaration is here, not in automake
628 generated version.h.
629
ea8e9d97 6302004-10-08 Hasso Tepper <hasso at quagga.net>
631
632 * command.c, command.h: Make argument of cmd_make_strvec function
633 const.
634 * command.c: Make hostname commands usable in vtysh again.
635
6ad96ea1 6362004-10-07 Hasso Tepper <hasso at quagga.net>
637
638 * command.c, pid_output.c, print_version.c, vty.c, vty.h: Make more
639 strings const.
640
8c328f11 6412004-10-05 Hasso Tepper <hasso at quagga.net>
642
643 * *.[c|h]: Make many strings cons and a lot of int -> unsigned int
644 changes to fix warnings.
645
96e27c99 6462004-10-05 Paul Jakma <paul@dishone.st>
647
648 * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
649 functions to change byte order between system IP_HDRINCL order
650 and host order.
98c91ac6 651 * thread.c: (funcname_thread_add_timer_timeval) new function, add
652 timer at specified timeval.
653 (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
654 (funcname_thread_add_timer_msec) ditto
96e27c99 655
b04c699e 6562004-10-04 Hasso Tepper <hasso at quagga.net>
657
658 * memory.c, memory.h: Make char * argument of strdup functions const.
659 * prefix.c, prefix.h: Make many arguments const. Reorder stuff in
660 header.
661 * log.h: Make log message const in struct message.
662 * log.c: Fix some indenting.
663 * network.c, network.h: Make second argument of writen() const.
664
e7168df4 6652004-10-03 Hasso Tepper <hasso at quagga.net>
666
667 * command.h: Introduce SERVICE_NODE for "service <...>" commands.
668 * command.c: Don't initialize commands that don't make sense if vtysh
669 is used.
670 * vty.c: Make VTY_NODE appear in vtysh.
671
18a6dce6 6722004-10-03 James R. Leu <jleu at mindspring.com>
673
674 * zclient.c, zclient.h: zclient functions for router id handling.
675 * zebra.h: New message types for router id handling.
676
9172ee0e 6772004-09-27 Paul Jakma <paul@dishone.st>
678
679 * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd
680 to try to fragment oversized packets. Enabled only for Linux.
681 Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order,
682 to consolidate various ad-hoc platform defines for same thing.
683
e473b032 6842004-09-26 Hasso Tepper <hasso at quagga.net>
685
686 * vty.c, sockopt.c: Fix compiler warnings.
687
52dc7ee6 6882004-09-23 Hasso Tepper <hasso at quagga.net>
689
690 * linklist.h: Remove list and listnode typedefs.
691 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
692
b89e60c7 6932004-09-17 Paul Jakma <paul@dishone.st>
694
695 * sockopt.c: Add missing bracket
696
0b3acf4f 6972004-09-17 Paul Jakma <paul@dishone.st>
698
699 * sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
700
33394766 7012004-09-13 Paul Jakma <paul@dishone.st>
702
703 * command.c: Update the copyright string in the default motd.
704
630e4807 7052004-08-31 David Wiggins <dwiggins@bbn.com>
706
707 * hash.c (hash_iterate): Save next pointer before calling
708 procedure, so that iteration works even if the called procedure
709 deletes the hash backet.
710
711 * linklist.h (listtail): new macro, not yet used.
712
34553cc3 7132004-08-27 Hasso Tepper <hasso at quagga.net>
714
715 * command.c: Install "terminal length" commands only if vty is used.
716 Vtysh will handle it itself.
717
afa43b23 7182004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
719
720 * sockopt.h: Define method-independent macro for callers of
721 get_ifindex to use for cmsg length.
722
efba6ce9 7232004-08-19 Paul Jakma <paul@dishone.st>
724
725 * zebra.h: add MAX and MIN defines (eg for ospf6d)
726
e6822768 7272004-08-19 Paul Jakma <paul@dishone.st>
728
729 * sockopt.c: include sockopt.h
730 rename some of the _pktinfo_ functions to _ifindex, where that is
731 their purpose.
732 (getsockopt_ipv6_pktinfo_ifindex) renamed to
733 getsockopt_ipv6_ifindex.
734 (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
735 (setsockopt_pktinfo) update with previous and add comment re
736 AF_INET portability.
737 (setsockopt_ifindex) generic ifindex function ala
738 setsockopt_pktinfo.
739 (getsockopt_ipv4_pktinfo_ifindex) renamed to
740 getsockopt_ipv4_ifindex.
741 (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
742 ifdef/elses. pktinfo case forgot to set ifindex.
743 (getsockopt_pktinfo_ifindex) renamed to
744 getsockopt_ifindex. update some calls to renamed functions.
745 * sockopt.h: Update renamed exported functions
746 Rename the CMSG_SIZE macros to IFINDEX.
747 Guard IPv4 PKTINFO in a conditional define.
748
c0618de6 7492004-08-18 Paul Jakma <paul@dishone.st>
750
751 * vty.c: (vty_serv_un) set unix vty socket to nonblocking
752 to prevent inadvertent blocking of daemons by use of
753 vtysh. TODO: disentangle manual paging from the buffer_write
754 path so that unix vty can use this path too and be reliable.
755
33f92320 7562004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
757
758 * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
759 on NetBSD, and add comments to make it less confusing. Change the
760 sense of the SUNOS_5 test to make parallel structure between the
761 variables and the code.
762
4f7baa0e 7632004-07-23 Paul Jakma <paul@dishone.st>
764
765 * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
766 sizeof pktinfo as appropriate, to be used when allocating msg
767 buffers. export setsockopt_pktinfo() and
768 getsockopt_pktinfo_ifindex()
769 * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
770 set received ifindex sock option.
771 (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
772 (getsockopt_cmsg_data) retrieve indicated control info from
773 message header.
774 (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
775 (setsockopt_ipv4_pktinfo) v4 version
776 (setsockopt_pktinfo) the exported version
777 (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
778 (getsockopt_pktinfo_ifindex) the exported version
779
05c447dd 7802004-07-14 Paul Jakma <paul@dishone.st>
781
782 * sigevent.c: (quagga_signal_handler) add a global caught flag, set
783 the flags to a constant rather increment to be kinder.
784 (quagga_sigevent_process) new function, to do core of what
785 quagga_signal_timer did. dont block signals at all as sig->caught
786 is volatile sig_atomic_t and should be safe to access from signal
787 and normal contexts. The signal blocking is unneeded paranoia, but
788 is left intact under an ifdef, should some platform require it.
789 Check global caught flag before iterating through array.
790 (quagga_signal_timer) nearly everything moved to
791 quagga_sigevent_process. Left in under ifdef, in case some
792 platform could use a regular timer check for signals.
793 * sigevent.h: quagga_sigevent_process declaration.
794 * thread.c: (thread_fetch) check for signals at beginning of
795 scheduler loop, check for signals if select returns EINTR.
796
b7797131 7972004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
798
799 * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP
800 confuses gdb, at least on NetBSD 2.0_BETA, where the block
801 succeeds.
802
5510e83b 8032004-07-09 Paul Jakma <paul@dishone.st>
804
805 * Merge Kunihiro's 'show route-map' change and add
806 compatibility aliases for route-map continue
b9790b34 807 * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
808 function, as implemented in linux kernel by David Miller.
5510e83b 809
b06c14f2 8102004-07-09 Juris Kalnins <juris@mt.lv>
811
812 * if.c: (if_cmp_func) fix for interface names where name is same,
813 but one has no number, eg "devtyp" and "devtyp0".
814
87efd646 8152004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
816
817 * Makefile.am: Make libzebra shared.
818
138ce75f 8192004-06-21 Paul Jakma <paul@dishone.st>
820
821 * ChangeLog: fix my last update config.h -> zebra.h ;)
822 * zebra.h: Fix gcc check.
823
02ff83c5 8242004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
825
826 * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast
827 to u_char. (ipv6_access_list_remark_cmd) ditto.
828 if.c: ditto
829 * network.c: (readn/writen) pointer arg should be type u_char.
830 * plist.c: needs to include stream.h, not declare stream functions
831 internally.
832 (various) Add static qualifier to internal functions.
833 (prefix_list_type_str) extraneous breaks in switch statement.
834 (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast
835 * stream.h: depends on plist.h and export stream_put_prefix
836 * vty.c: (vty_<telnet option build functions>) should use
837 unsigned char, telnet options are 0 -> 255.
838 * zclient.c: various u_char<->char type cleanups.
839 * zebra.h: Having to define CMSG_* can apply to more than just
840 BSDI_NRL.
841
51a8798e 8422004-06-09 Paul Jakma <paul@dishone.st>
843
138ce75f 844 * zebra.h: __attribute__ is a gcc'ism
51a8798e 845
5228ad27 8462004-06-04 Paul Jakma <paul@dishone.st>
847
848 * type mismatch fixes
849
6708fa3c 8502004-05-18 Hasso Tepper <hasso@estpak.ee>
851
852 * pqueue.[c|h]: Added as part of ospf6d merge from Zebra repository.
853
0a589359 8542004-05-08 Paul Jakma <paul@dishone.st>
855
856 * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe
857 message format.
858
8592004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
860
861 * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route
862 (zapi_ipv4_delete) ditto.
863 (zapi_ipv4_route) add/delete a route by way of cmd arg.
864 (zapi_ipv6_add) collapsed into zapi_ipv6_route.
865 (zapi_ipv6_delete) ditto.
866 (zapi_ipv6_route) add/delete a route by way of cmd arg.
867 (zebra_interface_address_delete_read) collapsed into
868 zebra_interface_address_read.
869 (zebra_interface_address_delete_read) ditto.
870 (zebra_interface_address_read) read address add/delete messages
871 by way of type argument. Describe command message format.
872 (zebra_interface_add_read) Unconditionally read new ifmtu6 field.
873 Describe command message format.
874 (zebra_interface_state_read) Unconditionally read new ifmtu6 field.
875 (zclient_redistribute_set) Collapsed into zclient_redistribute
876 (zclient_redistribute_unset) ditto
877 (zclient_redistribute) set/unset redistribution.
878 (zclient_redistribute_default_set) Collapsed into
879 zclient_redistribute_default.
880 (zclient_redistribute_default_unset) ditto.
881 (zclient_redistribute_default) Redistribute default set/unset.
882 * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add
883 zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add
884 zclient_redistribute. Ditto for
885 zclient_redistribute_default_{set/unset}.
886
4a7aac1b 8872004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
888
889 * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ
890 from IPv4, and Solaris treats the MTU's differently.
891 Add connected_add_by_prefix, for use by later patch.
892 * if.c: (connected_add_by_prefix) Add prefix to connected list.
893 (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag
894 (if_dump) Dump mtu6 flag, for HAVE_IPV6.
22528299 895 * command.c: (sockunion_getsockname) use socklen_t for len.
896 (sockunion_getpeername) ditto.
0a589359 897
31fcdd3f 8982004-04-21 Boris Kovalenko <boris@tagnet.ru>
899
900 * daemon.c: (daemon) fix check for error return from setsid
901
c49b3069 9022004-01-19 Paul Jakma <paul@dishone.st>
903
904 * sigevent.{c,h}: New files, implement event handled signals.
905 see signal_init() in sigevent.h.
906
c32e1b57 9072003-12-23 Vincent Jardin <jardin@6wind.com>
908
909 * {command.c, memory.c, vty.c, zebra.h}: Add isisd support
910
3dbf9969 9112003-12-22 Greg Troxel <gdt@fnord.ir.bbn.com>
912
913 * vty.c (vty_use_backup_config): Don't free filenames before using
914 them for unlink.
915
54aba54c 9162003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
917
918 * command.c: Fix <cr> display problem for command line
919 description
920
e9af5c78 9212003-05-24 Anil Madhavapeddy
922
923 * (sockunion.c): Incorrect bounds specified in sockunion_log()
924
445f1435 9252003-05-08 Sergiy Vyshnevetskiy <serg @ vostok.net>
926
927 * vty.c: -A option
928
9292003-04-19 Hasso Tepper <hasso@estpak.ee>
930
931 * rip_routemap.c: sync daemon's route-map commands to have same
932 syntax
933
718e3744 9342002-09-28 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
935
936 * vty.c (vty_flush): One line more on vty.
937
9382002-09-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
939
940 * vector.c (vector_lookup): Add new function.
941
9422002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
943
944 * thread.c (timeval_adjust): Fix unconditional crush due to
945 FreeBSD's select() system call timeval value check.
946
9472002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
948
949 * zebra-0.93 released.
950
9512002-06-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
952
953 * if.c (ifc_pointopoint): Add ifc_pointopoint() accoding to Frank
954 van Maarseveen's suggestion.
955
9562002-06-18 Kunihiro Ishiguro <kunihiro@zebra.org>
957
958 * command.c: Change bcopy() to memcpy().
959
9602001-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * command.c (config_password): Fix host.password clear bug.
963 Reported by Wang Jian <lark@linux.net.cn>.
964
9652001-08-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
966
967 * thread.c (thread_should_yield): New function to check thread
968 should yeild it's execution to other thread. Suggested by: Rick
969 Payne <rickp@ayrnetworks.com>
970
9712001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
972
973 * thread.c (thread_timer_cmp): Rewrite function.
974
975 * hash.c: Add hash_get(). Change hash_pull() to hash_release().
976
9772001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
978
979 * zebra-0.92a released.
980
9812001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
982
983 * zebra-0.92 released.
984
9852001-08-12 Akihiro Mizutani <mizutani@dml.com>
986
987 * prefix.c (netmask_str2prefix_str): Convert "1.1.0.0 255.255.0.0"
988 string to "1.1.0.0/16".
989
9902001-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
991
992 * filter.c (access_list_lookup): access_list_lookup's first
993 argument is changed from address family to AFI.
994
995 * plist.c: (prefix_list_lookup): Likewise.
996
9972001-07-27 Akihiro Mizutani <mizutani@dml.com>
998
999 * plist.c: ge and le display order is changed. Old compatible
1000 rule (len <= ge-value <= le-value) is removed.
1001
10022001-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1003
1004 * prefix.h: Temporary fix for alignment of prefix problem.
1005
10062001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * prefix.h (struct prefix): Remove safi and padding field.
1009 (struct prefix_ipv4): Likewise.
1010 (struct prefix_ipv6): Likewise.
1011 (struct prefix_ls): Likewise.
1012 (struct prefix_rd): Likewise.
1013
1014 * command.h (enum node_type): Preparation for BGP new config.
1015
1016 * vty.c (vty_end_config): Likewise.
1017
10182001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1019
1020 * routemap.c (route_map_rule_delete): Call func_free when
1021 route-map rule is deleted.
1022
10232001-06-14 "Akihiro Mizutani" <mizutani@dml.com>
1024
1025 * routemap.c (route_map_index_lookup): Prevent to use deny and
1026 permit for same route-map sequence.
1027
10282001-04-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1029
1030 * vty.c (vty_read_config): Fix warning.
1031
10322001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1033
1034 * command.c (IPV6_PREFIX_STR): Add '.' and '%' for IPv6 address
1035 strings.
1036
10372001-03-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1038
1039 * zebra.h (_XPG4_2): Define _XPG4_2 and __EXTENSIONS__ for
1040 CMSG_FIRSTHDR.
1041
10422001-03-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1043
1044 * zebra.h (struct in_pktinfo): structure in_pktinfo declaration.
1045
10462001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * memory.c (memory_list_lib): Add MTYPE_NEXTHOP for "show memory
1049 lib" member.
1050
10512001-02-13 Matthew Grant <grantma@anathoth.gen.nz>
1052
1053 * vty.c (vty_read_config): Revert check of integrate_default when
1054 VTYSH is defined.
1055
10562001-02-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1057
1058 * vty.c (vty_read_config): Do not check integrate_default. That
1059 should be used only by vtysh.
1060
10612001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1062
1063 * vty.c (vty_serv_un): Set umask 0077.
1064 (vty_read_config): Stat for vtysh Zebra.conf, if found startup and
1065 wait for boot configuration.
1066
1067 * if.c (if_lookup_address): Make it smart implementation.
1068
1069 * sockopt.c (setsockopt_multicast_ipv4): Set up a multicast socket
1070 options for IPv4 This is here so that people only have to do their
1071 OS multicast mess in one place rather than all through zebra,
1072 ospfd, and ripd .
1073
10742001-02-04 Akihiro Mizutani <mizutani@dml.com>
1075
1076 * plist.c (vty_prefix_list_install): Even when argument is
1077 invalid, new memory is allocated. Now memory allocation is done
1078 after argument check.
1079
10802001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * zebra-0.91 is released.
1083
10842001-01-31 Akihiro Mizutani <mizutani@dml.com>
1085
1086 * vty.c (vty_login): Add vty login command.
1087
10882001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1089
1090 * vty.c (vty_reset): Close accept socket.
1091
10922001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * memory.h (enum): MTYPE_ATTR_TRANSIT is added for unknown transit
1095 attribute.
1096
10972001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1098
1099 * zclient.c (zebra_interface_address_add_read): Fetch interface
1100 address flag.
1101 (zebra_interface_address_delete_read): Likewise.
1102
11032001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1104
1105 * table.c (route_node_match_ipv4): Utility function for IPv4
1106 address lookup.
1107 (route_node_match_ipv6): Utility function for IPv4 address lookup.
1108
11092001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1110
1111 * if.c: Delete RIP_API part until new implementation comes out.
1112
11132001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1114
1115 * hash.h (struct Hash): Rename alloc to count. Change type to
1116 unsigned long.
1117
1118 * stream.c (stream_getc_from): New function.
1119 (stream_getw_from): Likewise.
1120
1121 * zebra.h (ZEBRA_FLAG_STATIC): Add new flag for persistent route.
1122
11232001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1124
1125 * flap.c: File is removed.
1126
1127 * flap.c: Likewise.
1128
1129 * roken.h: Likewise.
1130
1131 * buffer.c (buffer_new): Remove type option to buffer_new().
1132
11332001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1134
1135 * zclient.c (zapi_ipv4_delete): Remove OLD_RIB part.
1136
11372001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1138
1139 * zebra-0.90 is released.
1140
1141 * command.c: Update Copyright year.
1142
11432001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1144
1145 * if.c (if_create): Register connected_free() function for
1146 deletion.
1147 (if_delete): Free connected information when the interface is
1148 deleted.
1149 (if_lookup_by_index): Fix argument type from int to unsigned int.
1150 (connected_add): Keep list in order if old info found, essential
1151 for repeatable operation in some daemons.
1152
11532001-01-09 endo@suri.co.jp (Masahiko Endo)
1154
1155 * vty.c (vty_flush): When vty->statis is VTY_CLOSE do not add vty
1156 read thread.
1157
11582001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1159
1160 * filter.c (access_list_delete): Access-list name is not freed.
1161
1162 * plist.c (prefix_list_delete): Prefix-list name is not freed.
1163
11642000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1165
1166 * zclient.c (zclient_start): Change to use UNIX domain
1167 socket for zebra communication.
1168
1169 * vector.c (vector_init): vector_alloc and vector_data_alloc is
1170 removed. All memory allocation count should be maintained by
1171 XMALLOC and XFREE macros.
1172
11732000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1174
1175 * zebra.h (ZEBRA_NEXTHOP_IFINDEX): Define ZEBRA_NEXTHOP_* values.
1176
11772000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1178
1179 * zebra.h (ZEBRA_ERR_RTEXIST): Make zebra error code to negative
1180 value.
1181
11822000-12-25 "Wataru Uno" <wataru@po.ntts.co.jp>
1183
1184 * vty.c (vtysh_read): Don't allocate new buffer because buffer is
1185 allocated in vty_new ().
1186
11872000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1188
1189 * memory.h (enum): Add MTYPE_AS_FILTER_STR.
1190
1191 * command.c (config_write_terminal): Display "end" at the end of
1192 configuration.
1193
1194 * plist.c (vty_prefix_list_install): Use AF_INET to determine
1195 lenum length.
1196
11972000-12-13 "Wataru Uno" <wataru@po.ntts.co.jp>
1198
1199 * buffer.c (buffer_flush_vty): If IOV_MAX defined in the System,
1200 then all lines write by IOV_MAX.
1201
12022000-12-12 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1203
1204 * command.c (config_write_file): Robust method for writing
1205 configuration file and recover from backing up config file.
1206
12072000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1208
1209 * smux.c (smux_connect): More fail check.
1210 (smux_trap): When SMUX connection is not established, do nothing.
1211
12122000-11-28 Gleb Natapov <gleb@nbase.co.il>
1213
1214 * thread.c (thread_fetch): Execut event list first. Old event
1215 list is renamed to ready list. With this change, event thread is
1216 executed before any other thread.
1217
1218 * thread.h (struct thread_master): Add ready list.
1219
12202000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1221
1222 * linklist.c (listnode_add_after): Add node right after the
1223 listnode pointer.
1224
12252000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1226
1227 * smux.h: Pass struct variable to WriteMethod.
1228
12292000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1230
1231 * if.c (if_lookup_address): When looking up interface with IP
1232 address, Sometimes multiple interfaces will match. Now PtP
1233 interfaces prevail in such a case which seem the right thing to
1234 do: There will probably also be host routes which usually prevail
1235 over network routes.
1236
12372000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1238
1239 * smux.c (smux_trap): SMUX trap implementation.
1240
12412000-11-19 Akihiro Mizutani <mizutani@dml.com>
1242
1243 * plist.c: Add automatic conversion function of an old rule.
1244 ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8 le 32
1245
12462000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1247
1248 * zclient.c (zebra_interface_add_read): Read hardware address when
1249 hw_addr_len is greater than 0.
1250
12512000-11-15 Akihiro Mizutani <mizutani@dml.com>
1252
1253 * plist.c: The rule of "len <= ge-value <= le-value"
1254 was changed to "len < ge-value <= le-value".
1255
12562000-11-09 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1257
1258 * memory.[ch]: Added #define and functions for ospf6d.
1259
1260 * log.[ch]: some platform says that the data of used va_list
1261 is undefined. Changed to hold list of va_list for each
1262 vsnprintf.
1263
12642000-11-07 Rick Payne <rickp@rossfell.co.uk>
1265
1266 * memory.h (enum): Add MTYPE_COMMUNITY_REGEXP.
1267
12682000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1269
1270 * command.c (config_exit): Fix bug of missing break after case
1271 BGP_VPNV4_NODE.
1272
12732000-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1274
1275 * vector.c (vector_unset): Check i is not nevative.
1276
12772000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1278
1279 * smux.c (smux_sock): Set terminating '\0'. Check address family.
1280
1281 * vty.c (vty_serv_sock_addrinfo): Set terminating '\0'. Use
1282 gai_strerror. Check address family.
1283
12842000-10-23 Jochen Friedrich <jochen@scram.de>
1285
1286 * smux.c: Use linklist rather than vector.
1287 (smux_getnext): A SMUX subagent has to behave as if it manages the
1288 whole SNMP MIB tree itself. It's the duty of the master agent to
1289 collect the best answer and return it to the manager. See RFC 1227
1290 chapter 3.1.6 for the glory details :-). ucd-snmp really behaves
1291 bad here as it actually might ask multiple times for the same
1292 GETNEXT request as it throws away the answer when it expects it in
1293 a different subtree and might come back later with the very same
1294 request.
1295
12962000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1297
1298 * command.c (cmd_init): Log related command are only installed for
1299 terminal mode.
1300
13012000-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1302
1303 * Makefile.am (libzebra_a_SOURCES): Remove duplicated buffer.c.
1304
1305 * zebra.h: Remove #warn directive.
1306
13072000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1308
1309 * keychain.c (keychain_init): Register "key chain" command to
1310 KEYCHAIN_NODE and KEYCHAIN_KEY_NODE.
1311
1312 * vty.c (vty_end_config): Fix missing vty_cinfig_unlock for other
1313 CONFIG_NODE.
1314
1315 * command.c (config_end): Likewise.
1316
1317 * keychain.c (keychain_get): Key is sorted by it's identifier
1318 value.
1319
13202000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1321
1322 * linklist.c (list_delete_all_node): Call delete function if it is
1323 defined.
1324
1325 * command.c (cmd_execute_command_strict): Add modification for
1326 vtysh.
1327 (cmd_execute_command_strict): Remove first argument cmdvec because
1328 it is global varibale in command.c.
1329
13302000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1331
1332 * command.c (cmd_init): Install
1333 copy_runningconfig_startupconfig_cmd only in terminal mode.
1334
1335 * linklist.c (list_delete_node): Simplify the function.
1336 (listnode_lookup): Renamed from list_lookup_node.
1337
13382000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1339
1340 * stream.h: Undef stream_read and stream_write without
1341 parenthesis.
1342
1343 * newlist.c: File removed.
1344
1345 * newlist.h: Likewise.
1346
1347 * linklist.c (list_new): Remove list_init(). To allocate new
1348 linked list, please use list_new().
1349 (listnode_add): Remove list_add_node(). To add new node to linked
1350 list, please use listnode_add().
1351 (list_delete_by_val): Revemove fucntion.
1352
13532000-10-16 Nobuaki Tanaka <nobby@po.ntts.co.jp>
1354
1355 * table.c (route_table_free): Reimplement route_table_free().
1356
13572000-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1358
1359 * keychain.c (keychain_get): Register key_delete_func to key
1360 list's delete function. Use linklist.c instead of newlist.c.
1361
13622000-10-04 Akihiro Mizutani <mizutani@dml.com>
1363
1364 * filter.c (access_list_remark): Add access-list's remark command.
1365 (no_access_list): "no access-list 100 permit any" error message
1366 bug is fixed.
1367
13682000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1369
1370 * memory.h (enum): Add MTYPE_SOCKUNION.
1371
13722000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1373
1374 * zebra-0.89 is released.
1375
13762000-10-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1377
1378 * linklist.c (list_add_node_head): Delete unused function.
1379 (list_add_node_tail): Likewise.
1380
13812000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1382
1383 * stream.c (stream_read_unblock): Add new function for unblocking
1384 read.
1385
13862000-09-26 Jochen Friedrich <jochen@nwe.de>
1387
1388 * smux.c (smux_register): Fix bug of can't register more than one
1389 MIB with SMUX.
1390
13912000-09-26 Makoto Otsuka <otsuka@inl.ntts.co.jp>
1392
1393 * vty.c (vty_close): Fix memory leak of sb_buffer.
1394 (vty_new): Likewise.
1395
13962000-09-21 steve@Watt.COM (Steve Watt)
1397
1398 * log.h: Do not declare zlog_priority[0] variable.
1399
14002000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1401
1402 * linklist.h (struct _list ): Add member cmp for compare function.
1403 (struct _list ): Member up is deleted
1404
14052000-09-12 David Lipovkov <dlipovkov@OpticalAccess.com>
1406
1407 * if.c: Include RIP_API header when RIP API is enabled.
1408
14092000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1410
1411 * prefix.c (prefix_free): Siplify prefix_free().
1412
1413 * keychain.c (key_match_for_accept): strncmp check bug is fixed.
1414
14152000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1416
1417 * zebra.h: Merge roken.h into zebra.h.
1418
14192000-09-05 Akihiro Mizutani <mizutani@dml.com>
1420
1421 * routemap.c (route_map_init_vty): Install route-map command to
1422 RMAP_NODE.
1423
14242000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1425
1426 * thread.c (thread_get_id): Remove pthread related garbage.
1427
1428 * command.h (struct host): Likewise.
1429
1430 * zebra.h: Likewise.
1431
14322000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1433
1434 * command.h (node_type ): Add AAA node for authentication.
1435
1436 * vty.c (vty_close): Do not close stdout.
1437
14382000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * vty.c (vty_init_vtysh): Added for vtysh.
1441
1442 * distribute.c (districute_list_prefix_all): Interface independent
1443 filter can be set.
1444 (distribute_list_all): Likewise.
1445 (config_show_distribute): Display current distribute-list status
1446 for "show ip protocols".
1447
14482000-08-18 Akihiro Mizutani <mizutani@dml.com>
1449
1450 * command.c (config_terminal_no_length): no terminal monitor ->
1451 terminal no monitor
1452 (cmd_init): Do not install service_terminal_length_cmd into
1453 ENABLE_NODE.
1454
1455 * vty.c (terminal_no_monitor): no terminal length -> terminal no
1456 length.
1457
14582000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1459
1460 * zebra-0.88 is released.
1461
14622000-08-17 Magnus Ahltorp <ahltorp@nada.kth.se>
1463
1464 * vty.h (struct vty ): Add iac_sb_in_progress and sb_buffer for
1465 better IAC handling.
1466
1467 * vty.c (vty_telnet_option): Change telnet option handling.
1468
14692000-08-15 Gleb Natapov <gleb@nbase.co.il>
1470
1471 * zclient.c (zclient_redistribute_unset): New function added.
1472
14732000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1474
1475 * zclient.c (zebra_interface_add_read): Change ifindex restore
1476 size from two octet to four.
1477 (zebra_interface_state_read): Likewise.
1478 (zebra_interface_address_add_read): Likewise.
1479
14802000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * vty.c (vty_event): Use vector_set_index() instead of
1483 vector_set().
1484
14852000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1486
1487 * zebra.h (ZEBRA_XXX_DISTANCE_DEFAULT): Define Default
1488 Administrative Distance of each protocol.
1489
14902000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1491
1492 * if.h (struct interface ): Add new member bandwidth to struct
1493 interface.
1494
1495 * zclient.c (zebra_interface_add_read): Fetch bandwidth value.
1496 (zebra_interface_state_read): Likewise.
1497
14982000-08-07 Gleb Natapov <gleb@nbase.co.il>
1499
1500 * routemap.c (route_map_event_hook): New hook route_map_event_hook
1501 is added. This hook is called when route-map is changed. The
1502 parameters passed to the hook are 'event' and 'route-map name'
1503
1504 * routemap.h: Add prototype for route_map_event_hook().
1505
15062000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * zclient.c (zebra_ipv4_route): zebra_ipv4_route(),
1509 zebra_ipv4_add(), zebra_ipv4_delete() are removed.
1510
1511 * routemap.c (route_map_empty): Add new function.
1512 (route_map_delete): Use route_map_index_delete() instead of
1513 route_map_index_free().
1514 (route_map_index_free): Function removed.
1515
15162000-08-06 Gleb Natapov <gleb@nbase.co.il>
1517
1518 * routemap.c (route_map_index_delete): Add check for route-map is
1519 empty or not.
1520
15212000-08-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1522
1523 * zclient.c (zebra_ipv4_add): Change socket arguemnt with struct
1524 zclient.
1525
15262000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1527
1528 * zclient.h (struct zebra): Add obuf for output buffer.
1529
1530 * if.c: Remove #ifdef NRL enclosing if_nametoindex() and
1531 if_indextoname().
1532
15332000-08-02 David Lipovkov <davidl@nbase.co.il>
1534
1535 * if.h (IF_PSEUDO_UNSET): IF_PSEUDO related macro added.
1536 (IF_UNKNOWN_SET): IF_UNKNOWN related macro deleted.
1537
1538 * if.c (interface_pseudo): Add "pseudo" command to interface node.
1539 (no_interface_pseudo): Add "no pseudo" command to interface node.
1540
1541 * zclient.c (zebra_interface_add_read): Set pseudo flag when it is
1542 send from zebra.
1543
15442000-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1545
1546 * zebra.h (ZEBRA_IPV4_NEXTHOP_LOOKUP): Add new message.
1547 (ZEBRA_IPV6_NEXTHOP_LOOKUP): Likewise.
1548
1549 * vty.c (vty_serv_un): Use AF_UNIX for backward compatibility.
1550
15512000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1552
1553 * vty.c: Use vector for VTY server thread listing instead of
1554 single value.
1555
15562000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1557
1558 * keychain.c (no_key_chain): "no key chain WORD" command is added.
1559
15602000-07-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1561
1562 * command.c (config_from_file): If command fail in
1563 KEYCHAIN_KEY_NODE, down to KEYCHAIN_NODE.
1564
1565 * vty.h (struct vty ): Add index_sub member.
1566
15672000-07-27 Akihiro Mizutani <mizutani@dml.com>
1568
1569 * if.c: Help strings updates.
1570
15712000-07-11 Akihiro Mizutani <mizutani@dml.com>
1572
1573 * command.c (no_config_enable_password): Add "no enable password"
1574 command.
1575 (config_write_host): Display password string.
1576
1577 * routemap.c (route_map_delete_match): Add support for delete
1578 match without argument.
1579 (route_map_delete_set): Likewise.
1580
15812000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1582
1583 * command.h (node_type ): Change KEYCHAIN_NODE and
1584 KEYCHAIN_KEY_NODE place just before INTERFACE_NODE.
1585
15862000-07-09 Jochen Friedrich <jochen@scram.de>
1587
1588 * smux.c (config_write_smux): Fixes the option to override OID and
1589 password for SMUX.
1590
15912000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1592
1593 * command.h (node_type ): Add SMUX_NODE for SMUX configuration.
1594
15952000-07-09 Toshiaki Takada <takada@zebra.org>
1596
1597 * command.c: Sort descvec command's help.
1598
1599 * vty.c (vty_describe_command): Display '<cr>' at the end of
1600 descriptions.
1601
16022000-07-05 Toshiaki Takada <takada@zebra.org>
1603
1604 * command.c (cmd_ipv6_match), (cmd_ipv6_prefix_match): Fix bug
1605 treatment of double colon.
1606
16072000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * zclient.h: Add zclient_redistribute_default_{set,unset}().
1610
1611 * keychain.c: New file for authentication key management.
1612 * keychain.h: Likewise.
1613
1614 * tcpfilter.c: New file for TCP/UDP base filtering using ipfw or
1615 ipchains.
1616 * tcpfilter.h: Likewise.
1617
1618 * flap.h: New file for route flap dampening.
1619 * flap.c: Likewise.
1620
16212000-07-04 Toshiaki Takada <takada@zebra.org>
1622
1623 * filter.c (struct filter): Add exact flag.
1624 (access_list): Add exact-match command.
1625 (ipv6_access_list): Add exact-match command.
1626
16272000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1628
1629 * zebra.h (ZEBRA_REDISTRIBUTE_DEFAULT_ADD): New message for
1630 request default route.
1631
16322000-07-01 Hideaki YOSHIFUJI (\e$B5HF#1QL@\e(B) <yoshfuji@ecei.tohoku.ac.jp>
1633
1634 * smux.c: Add IPv6 smux connection code.
1635
16362000-06-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1637
1638 * vty.c (vty_complete_command): To cooperate readline library,
1639 returned string is newly allocated. So some match function case
1640 need, free of memory.
1641
16422000-06-12 Akihiro Mizutani <mizutani@dml.com>
1643
1644 * distribute.c: Fix help strings.
1645
16462000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1647
1648 * command.c (cmd_complete_command): Add check for vector_slot
1649 (vline, index) is not NULL when calculating lcd.
1650 (cmd_entry_function): First check variable arguemnt to prevent it
1651 from completion.
1652
16532000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1654
1655 * vty.h (struct vty ): Add output_count member for displaying
1656 output route count. Remove arugment arg from output_func because
1657 the value is passed by vty argument. Change output to output_rn.
1658 Add output_clean function pointer member. Add output_type member.
1659
16602000-06-10 Toshiaki Takada <takada@zebra.org>
1661
1662 * command.c (show_startup_config): Add "show startup-config"
1663 command.
1664
16652000-06-06 Akihiro Mizutani <mizutani@dml.com>
1666
1667 * filter.c: Fix help strings.
1668
16692000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * prefix.h (struct prefix_rd): New prefix structure for routing
1672 distinguisher.
1673 (struct prefix): Add padding to every prefix structure.
1674
1675
1676 * routemap.c (route_map_add_match): When completely same match
1677 statement exists, don't duplicate it.
1678
16792000-06-05 Akihiro Mizutani <mizutani@dml.com>
1680
1681 * routemap.c: Change NAME to WORD.
1682
1683 * plist.c: Fix help strings.
1684
16852000-06-02 Akihiro Mizutani <mizutani@dml.com>
1686
1687 * routemap.c: Fix route-map help strings.
1688
16892000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1690
1691 * command.c (cmd_filter_by_completion): Fix CMD_VARARG treatment
1692 to filter other non vararg commands.
1693
1694 * routemap.c (route_map_init_vty): Use install_default() for
1695 install common commands into route-map node..
1696
16972000-06-01 Akihiro Mizutani <mizutani@dml.com>
1698
1699 * command.h (OSPF_STR): Macro added.
1700
17012000-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1702
1703 * command.c (cmd_complete_command): LCD completion must not modify
1704 installed command string.
1705
1706 * plist.c (ipv6_prefix_list): Fix wrong syntax definition. Change
1707 X:X::X:X to X:X::X:X/M.
1708
17092000-05-31 Toshiaki Takada <takada@zebra.org>
1710
1711 * vty.c (show_history): New defun added.
1712
17132000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1714
1715 * command.h (CMD_COMPLETE_LIST_MATCH): New define for completion
1716 list. CMD_COMPLETE_MATCH is used for LCD completion.
1717
1718 * vty.c (vty_complete_command): Matched string's LCD is completed.
1719
1720 * command.c (cmd_lcd): New function for calculate LCD of matched
1721 strings.
1722
17232000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1724
1725 * command.c (install_default): config_write_terminal_cmd,
1726 config_write_file_cmd, config_write_memory_cmd are added to
1727 default node.
1728
1729 * memory.c (memory_init): Divide show memory command into each
1730 sort.
1731
1732 * command.c (cmd_init): config_write_terminal_cmd,
1733 config_write_file_cmd, config_write_memory_cmd are added to
1734 CONFIG_NODE.
1735
1736 * routemap.c (route_map_index_free): New function.
1737 (no_route_map_all): New DEFUN for "no route-map NAME".
1738
1739 * filter.c (no_access_list_all): New DEFUN for delete access-list
1740 with NAME.
1741 (no_ipv6_access_list_all): Likewise.
1742
17432000-05-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1744
1745 * plist.c: Change IPV6_PREFIX to X:X::X:X. When "any" is
1746 specified, user can not use "ge" and "le" statement.
1747
17482000-05-22 Thomas Molkenbur <tmo@datus.datus.com>
1749
1750 * routemap.c (route_map_add_set): Fix bug of next pointer missing.
1751
1752 * table.c (route_table_free): Like wise.
1753
17542000-05-22 Toshiaki Takada <takada@zebra.org>
1755
1756 * vty.c (vty_stop_input): Set history pointer to the latest one.
1757
1758 * vty.c (vty_hist_add): Do not add command line history when input
1759 is as same as previous one.
1760
17612000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1762
1763 * memory.h (enum): Add MTYPE_ECOMMUNITY and MTYPE_ECOMMUNITY_VAL.
1764
17652000-05-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * command.h (node_type ): Add BGP_VPNV4_NODE.
1768
17692000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * vty.c (vtysh_accept): Add cast of struct sockaddr * to bind
1772 argument. Reported by: Vesselin Mladenov <mladenov@netbg.com>.
1773
1774 * filter.c (ipv6_access_list): Add IPv6 prefix example instead of
1775 IPv4 example. Reported by: Love <lha@s3.kth.se>.
1776
1777 * command.c (cmd_complete_command): Make it sure last element of
1778 matchvec is NULL. This fix problem which cause crush in
1779 vty_complete_command(). Reported by: JINMEI Tatuya
1780 <jinmei@isl.rdc.toshiba.co.jp>.
1781
17822000-04-28 Love <lha@s3.kth.se>
1783
1784 * prefix.h (struct prefix): Add padding.
1785
17862000-04-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1787
1788 * command.c (show_version): Update copyright year.
1789
17902000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1791
1792 * routemap.c (route_map_apply): When map is NULL, return deny.
1793
17942000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * filter.c (access_list_apply): When access is NULL, return deny.
1797
1798 * plist.c (prefix_list_apply): When plist is NULL, return deny.
1799
18002000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1801
1802 * command.h (node_type ): Change RDISC_NODE to IRDP_NODE.
1803
18042000-04-18 Toshiaki Takada <takada@zebra.org>
1805
1806 * filter.[ch] (access_list_add_hook), (access_list_delete_hook):
1807 Add argument for hook function to give struct access_list *.
1808
18092000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1810
1811 * plist.c (prefix_list_entry_match): In case of le nor ge is
1812 specified, exact match is performed.
1813 (prefix_list_entry_match): Add any entry matching check.
1814
18152000-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1816
1817 * vty.c (exec_timeout): Separate timeout setting to minutes and
1818 seconds.
1819 (no_exec_timeout): Add "no exec-timeout" command.
1820
1821 * vty.h (VTY_TIMEOUT_DEFAULT): Change default value from 300 to
1822 600.
1823
18242000-03-31 Jochen Friedrich <jochen@scram.de>
1825
1826 * smux.h (SMUX_CLOSE): The SMUX_CLOSE PDU is implicit integer, so
1827 it is a primitive encoding and not constructed.
1828
18292000-03-28 Toshiaki Takada <takada@zebra.org>
1830
1831 * memory.[ch] (enum): Add MTYPE_OSPF_EXTERNAL_INFO.
1832
18332000-03-26 Love <lha@s3.kth.se>
1834
1835 * zclient.c (zclient_read): Add nbytes size check for
1836 ZEBRA_HEADER_SIZE. Check return value of steam_read ().
1837
18382000-03-26 Rick Payne <rickp@rossfell.co.uk>
1839
1840 * routemap.c: Add flexible route-map commands such as on-match
1841 next, on-match goto N.
1842
1843 * routemap.h: Likewise
1844
18452000-03-23 Adrian Bool <aid@u.net.uk>
1846
1847 * command.c (config_log_trap): Add new command "log trap
1848 PRIORITY".
1849
18502000-03-14 Toshiaki Takada <takada@zebra.org>
1851
1852 * memory.c (struct memory_list): Add Link List and Link Node
1853 to view.
1854
1855 * memory.h (enum): Remove MTYPE_OSPF_EXTERNAL_ROUTE.
1856
18572000-01-20 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1858
1859 * str.c (snprintf): Fix bug of calling sprintf instead of
1860 vsprintf.
1861
18622000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1863
1864 * memory.h (enum): Add MTYPE_RIP_PEER.
1865
18662000-01-15 Toshiaki Takada <takada@zebra.org>
1867
1868 * memory.h (enum): Add MTYPE_OSPF_CRYPT_KEY.
1869
18702000-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1871
1872 * command.h (node_type ): Add MASC_NODE for masc.
1873
18742000-01-09 Wang Jianliang <wangjl@soim.net>
1875
1876 * routemap.c (route_map_index_add): When route_map_index is not
1877 empty and insert new item at the head, it can cause core dump.
1878 Fix "if (index == map->head)" to "if (point == map->head).
1879 (route_map_add_set): If there is an old set command, override old
1880 set command with new one.
1881 (route_map_index_delete): Use while() instead of for for() for
1882 logical correctness.
1883
18841999-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1885
1886 * memory.h (enum): Add MTYPE_BGP_STATIC.
1887
18881999-12-23 Alex Zinin <zinin@amt.ru>
1889 * zebra.h, zclient.*: dynamic int up/down message
1890 support
1891
18921999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * thread.c (thread_cancel_event): Add a function for clean up
1895 events.
1896
18971999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1898
1899 * dropline.c: Delete file.
1900 dropline.h: Linewise.
1901
19021999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1903
1904 * filter.c (access_list_filter_delete): Wrong pointer
1905 access->master was pointed out after access is freed. I store
1906 master value at the beginning of the function.
1907
19081999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1909
1910 * vty.c (exec_timeout): Change of VTY timeout affect to current
1911 VTY connection.
1912 (vty_accept): Instead of immediate exit() return -1.
1913
19141999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1915
1916 * vty.c (vty_configure_lock): Configuration lock function added.
1917 Only one VTY can use CONFI_NODE at the same time.
1918
1919 * log.c: Delete zvlog_* functions. Now zlog_* does the same
1920 thing.
1921
1922 * log.c (log_init): Function removed.
1923 (log_close): Likewise.
1924 (log_flush): Likewise.
1925 (log_open): Likewise.
1926
1927 * vty.c (terminal_monitor): Add new command.
1928 (no_terminal_monitor): Likewise.
1929
1930 * log.c (old_log): Function removed.
1931 (old_log2): Likewise.
1932 (old_log_warn): Likewise.
1933
19341999-12-04 Toshiaki Takada <takada@zebra.org>
1935
1936 * command.c (cmd_ipv6_match): New function added.
1937 (cmd_ipv6_prefix_match): Likewise.
1938
19391999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1940
1941 * command.c (cmd_ipv6_match):
1942
1943 * table.c: Delete #ifdef HAVE_MBGPV4.
1944
1945 * prefix.h (struct prefix): Add safi member.
1946 (struct prefix_ipv4): Likewise.
1947 (struct prefix_ipv6): Likewise.
1948
19491999-12-04 Rumen Svobodnikov <rumen@linux.tu-varna.acad.bg>
1950
1951 * memory.c (struct mstat): Revert to support MEMORY_LOG.
1952
19531999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1954
1955 * version.h: Bump up to 0.81c for testing new kernel codes.
1956
19571999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1958
1959 * thread.h (struct thread): Pthread support is disabled all
1960 platform.
1961
19621999-11-21 Michael Handler <handler@sub-rosa.com>
1963
1964 * Include <limits.h> and <strings.h> under SUNOS_5.
1965
19661999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1967
1968 * sockunion.c (in6addr_cmp): Enclosed by #define HAVE_IPV6
19691999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * command.h (node_type ): Add BGP_IPV4_NODE and BGP_IPV6_NODE.
1972
19731999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1974
1975 * command.c (disable): Add `disable' command.
1976
19771999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1978
1979 * plist.c (vty_prefix_list_install): Add any check.
1980
19811999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1982
1983 * command.h (node_type ): Add DUMP_NODE.
1984
19851999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1986
1987 * smux.c: Change default SMUX oid to compatible with gated.
1988
19891999-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1990
1991 * if_rmap.c: New file added.
1992
1993 * if_rmap.h: New file added.
1994
19951999-10-29 Alex Zinin <zinin@amt.ru>
1996
1997 * hash.c: add hash_free() function
1998
19991999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2000
2001 * hash.c (hash_clean): Add clean function.
2002
2003 * plist.c (prefix_list_reset): Add reset function.
2004
2005 * filter.c (access_list_reset): Add reset function.
2006
20071999-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2008
2009 * client.c: Merged with zclient.c.
2010 * client.h: Merged with zclient.h.
2011
20121999-10-15 Jordan Mendelson <jordy@wserv.com>
2013
2014 * md5.c: Imported from GNU C Library.
2015 * md5-gnu.h: Likewise.
2016
20171999-10-15 Jochen Friedrich <jochen@scram.de>
2018
2019 * smux.c (smux_getresp_send): SMUX_GETRSP codes improvement.
2020
20211999-10-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2022
2023 * smux.h: New file added.
2024
2025 * snmp.c: Rename to smux.c.
2026
20271999-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2028
2029 * command.c (cmd_execute_command_strict): Filter ambious commands.
2030 (cmd_filter_by_string): Change to return enum match_type.
2031
20321999-10-01 Toshiaki Takada <takada@zebra.org>
2033
2034 * vty.c (vty_describe_fold): New function which does VTY
2035 description line fold.
2036 * vty.c (vty_describe_command): Set description column.
2037
20381999-09-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2039
2040 * plist.c (prefix_list_init_ipv4): VTY user interface is improved.
2041
20421999-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2043
2044 * command.c (cmd_filter_by_string): Fix bug of CMD_IPV4 and
2045 CMD_IPV4_PREFIX check. Both return type must be exact_match.
2046
20471999-09-24 Toshiaki Takada <takada@zebra.org>
2048
2049 * command.c (cmd_filter_by_completion),
2050 (is_cmd_ambiguous): Check IPv4 address, IPv4 prefix and range
2051 parameter matches range.
2052
20531999-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2054
2055 * routemap.c (route_map_apply): Returm RM_DENYMATCH when no match
2056 is performed.
2057
20581999-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2059
2060 * vty.c (vty_read): Control-C stop VTY_MORE mode.
2061
20621999-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2063
2064 * command.h (node_type ): Add ACCESS_IPV6_NODE and
2065 PREFIX_IPV6_NODE.
2066
2067 * distribute.h: New file added.
2068
2069 * command.h (node_type ): Delete DISTRIBUTE_NODE.
2070
20711999-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2072
2073 * vty.c (vty_terminate_all): New function added for reload
2074 support.
2075
20761999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2077
2078 * memory.h (enum): Add new type MTYPE_OSPF_EXTERNAL_ROUTE.
2079
20801999-08-31 Janos Farkas <chexum@shadow.banki.hu>
2081
2082 * vty.c (vty_read): Handle also 0x7f (alt-backspace), just like
2083 esc-ctrl-h (delete word backwards).
2084
20851999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * if.h: Add if_nametoindex for NRL.
2088
20891999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * if.c (if_create): New function.
2092
20931999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2094
2095 * snmp.c: New file.
2096
20971999-08-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2098
2099 * stream.c (stream_put): stream_memcpy () is changed to stream_put
2100 (). stream_get () is added.
2101
21021999-08-18 Toshiaki Takada <takada@zebra.org>
2103
2104 * memory.h (enum): Add MTYPE_OSPF_LSA_DATA.
2105
21061999-08-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2107
2108 * table.c (route_table_finish): add function frees table.
2109
21101999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2111
2112 * memory.h (enum): Add MTYPE_RTADV_PREFIX.
2113
21141999-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2115
2116 * if.h (struct interface ): hw_address, hw_address_len added.
2117
21181999-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2119
2120 * if.h (struct interface ): Change structure member if_data to
2121 info, index to ifindex.
2122
21231999-08-08 Rick Payne <rickp@rossfell.co.uk>
2124
2125 * routemap.c: Multi protocol route-map modification.
2126
2127 * routemap.c (route_map_apply): Route match process bug is fixed.
2128
21291999-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2130
2131 * thread.c (thread_fetch): When signal comes, goto retry point.
2132
21331999-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2134
2135 * Makefile.am: Add sockopt.c and sockopt.h
2136 * sockopt.c: New file.
2137 * sockopt.h: New file.
2138
21391999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2140
2141 * version.h (ZEBRA_VERSION): Release zebra-0.75
2142
21431999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * memory.h (enum): Add MTYPE_RIPNG_AGGREGATE.
2146
21471999-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2148
2149 * sockunion.h: Add sockunion_getpeername ().
2150
21511999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2152
2153 * version.h: Release zebra-0.74
2154
21551999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2156
2157 * command.h (struct host): Delete lines from struct host. Add
2158 lines to struct vty.
2159
2160 * command.c: Delete `lines LINES'. Terminal display line settings
2161 should be done by `terminal length' command.
2162
21631999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2164
2165 * memory.h (enum): MTYPE_OSPF_PATH are added.
2166
21671999-07-22 Toshiaki Takada <takada@zebra.org>
2168
2169 * memory.h (enum): MTYPE_OSPF_NEXTHOP is added.
2170
21711999-07-21 Toshiaki Takada <takada@zebra.org>
2172
2173 * linklist.c (list_add_node_prev), (list_add_node_next),
2174 (list_add_list): New function added.
2175
2176 * table.c (route_table_free): New function added.
2177
21781999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2179
2180 * plist.c (config_write_prefix): Set write flag when configuration
2181 is written.
2182
21831999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2184
2185 * prefix.c : prefix_cmp() added. change apply_mask() to
2186 apply_mask_ipv4(), and new apply_mask() added.
2187
21881999-07-14 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2189
2190 * prefix.c (prefix2str): append prefixlen.
2191
21921999-07-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2193
2194 * command.c (config_terminal): Change "config terminal" to
2195 "configure terminal". Reported by Georg Hitsch
2196 <georg@atnet.at>.
2197 (config_terminal_length): `terminal length <0-512>' is added. At
2198 this moment this command is only usef for vty interface.
2199 Suggested by Georg Hitsch <georg@atnet.at>.
2200
22011999-07-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2202
2203 * routemap.c (rulecmp): Add wrapper function of strcmp.
2204
22051999-07-08 Rick Payne <rickp@rossfell.co.uk>
2206
2207 * sockunion.c (inet_aton): Fix bug of inet_aton.
2208
22091999-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * version.h (ZEBRA_VERSION): Start zebra-0.73
2212
22131999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2214
2215 * version.h: Bump up to 0.72.
2216
22171999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2218
2219 * command.c (install_default): New function for install default
2220 commands to the node.
2221
2222 * memory.h (enum): MTYPE_NEXTHOP is added.
2223
22241999-07-01 <kunihiro@zebra.org>
2225
2226 * command.c (no_banner_motd): `no banner motd' command added.
2227
22281999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2229
2230 * regex.c: Update to glibc-2.1.1's posix/regex.c
2231
2232 * regex-gnu.h: Update to glibc-2.1.1's posix/regex.h
2233
2234 * prefix.h (IPV4_ADDR_SAME): Macro added.
2235 (IPV6_ADDR_SAME): Likewise.
2236
22371999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2238
2239 * memory.h (enum): Add MTYPE_OSPF_VERTEX
2240
2241 * version.h: Bump up to 0.71.
2242
2243 * vty.c (vty_serv_sock_addrinfo): Use addrinfo function to bind
2244 VTY socket when IPv6 is enabled.
2245
22461999-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2247
2248 * vty.c (vty_serv_sock): Change vty_serv_sock determine which
2249 address family to bind.
2250
2251 * command.c: Add quit command.
2252
22531999-06-26 NOGUCHI kay <kay@dti.ad.jp>
2254
2255 * vty.c (vty_read_config): Fix bug of configuration file path
2256 detection.
2257
22581999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2259
2260 * version.h: Bump up to 0.70.
2261
22621999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2263
2264 * buffer.h (GETL): Remove GETL macro.
2265
2266 * version.h: Bump up to 0.69.
2267
22681999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2269
2270 * if.c (connected_add): Commented out connected_log.
2271
22721999-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2273
2274 * command.h (struct cmd_element ): strvec and descvec is combined
2275 into newstrvec.
2276
2277 * command.c (desc_make): Function removed.
2278 (desc_next): Function removed.
2279
2280 * command.h (struct cmd_element ): docvec is removed from struct
2281 cmd_element.
2282
22831999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2284
2285 * command.c (cmd_execute_command): Remove command NULL check.
2286
2287 * command.h (struct cmd_element ): Add newstrvec entry to struct
2288 cmd_element.
2289 (DEFUN2): DEFUN2 macro is removed. DEFUN is extended to support
2290 (a|b|c) statement.
2291 (DESC): DESC macro is removed.
2292
2293 * vty.c (vty_complete_command): When return value is
2294 CMD_ERR_NO_MATCH, don't display error message.
2295
22961999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2297
2298 * table.c (route_next_until): New function.
2299
2300 * version.h: Bump up to 0.68.
2301
23021999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2303
2304 * vty.c (vty_close): Free vty->buf when vty is closed.
2305
2306 * memory.h (enum): Add MTYPE_COMMUNITY_ENTRY and
2307 MTYPE_COMMUNITY_LIST.
2308
2309 * vty.h (struct vty ): Change buf from static length buffer to
2310 variable length buffer.
2311
2312 * vty.c (vty_ensure): New function added.
2313
23141999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2315
2316 * command.h (node_type ): Add COMMUNITY_LIST_NODE.
2317
2318 * command.c (config_enable_password): Freeing host.enable bug is
2319 fixed.
2320 (config_enable_password): Add argc count check.
2321
23221999-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2323
2324 * version.h: Bump up to 0.67.
2325
23261999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2327
2328 * command.c (zencrypt): New function for encrypt password.
2329
2330 * command.h (struct host): Add password_encrypt and
2331 enable_encrypt.
2332
23331999-05-30 Jochen Friedrich <jochen@scram.de>
2334
2335 * command.h (struct host): New member encrypt is added for
2336 encrypted password.
2337
23381999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2339
2340 * vty.c: Remove all_digit_check function. Instead use all_digit.
2341
2342 * prefix.c (all_digit): New function for checking string is made
2343 from digit character.
2344
23451999-05-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2346
2347 * Makefile.am (libzebra_a_SOURCES): Add zclient.c.
2348 (noinst_HEADERS): Add zclient.h
2349
2350 * zclient.[ch]: New file for zebra client routine.
2351
2352 * memory.h (enum): Add MTYPE_ZEBRA.
2353
23541999-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2355
2356 * version.h (ZEBRA_VERSION): Update to 0.66.
2357
23581999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2359
2360 * buffer.h (GETC,GETW): Macro deleted.
2361
23621999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2363
2364 * prefix.h (IPV4_NET0, IPV4_NET127): Macro added.
2365
23661999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2367
2368 * vty.c (service_advanced_vty): New command added.
2369 (no_service_advanced_vty): Likewise.
2370
23711999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2372
2373 * vty.c (vty_auth): If advanced flag is set and enable password is
2374 not set, directly login to the ENABLE_NODE. This feature is
2375 originally designed and implemented by Stephen R. van den Berg
2376 <srb@cuci.nl>.
2377
2378 * command.h (host): Add advanced flag to struct host for advanced
2379 vty terminal interface.
2380
2381 * version.h (ZEBRA_VERSION): Update to 0.65 for next beta release.
2382
23831999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2384
2385 * command.h (node_type ): Add TABLE_NODE.
2386
2387 * vty.c (vty_telnet_option): Check host.lines value.
2388
2389 * command.c (config_lines): DEFUN for 'lines LINES' command.
2390
2391 * zebra.h: Include <sys/utsname.h> for uname().
2392 (RT_TABLE_MAIN): Defined as 0 if OS does not support multiple
2393 routing table.
2394
2395 * vty.c (vty_auth): Directly login to the ENABLE_NODE when enable
2396 password is not set.
2397 (vty_prompt): Get machine's hostname when hostname is not set.
2398
23991999-05-11 James Willard <james@whispering.org>
2400
2401 * command.c (config_exit): Close connection when `exit' command is
2402 executed at ENABLE_NODE.
2403
24041999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2405
2406 * vty.c (vty_stop_input): `C-c' key change node to ENABLE_NODE.
2407
2408 * command.c (cmd_execute_command_strict): Matched command size
2409 check added.
2410 (cmd_make_desc_line): New function for DEFUN2.
2411
2412 * command.h (struct cmd_element ): Add descsize.
2413
24141999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2415
2416 * command.h (struct cmd_element ): Remame descvec to docvec.
2417 (struct cmd_element ): Add descvec for new description system.
2418
2419 * command.c (desc_make): Check cmd->descvec.
2420
24211999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2422
2423 * memory.h (enum): Add MTYPE_CLUSTER, MTYPE_CLUSTER_VAL.
2424
24251999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2426
2427 * version.h (ZEBRA_VERSION): Bump up to 0.64 for next beta
2428 release.
2429
24301999-05-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2431
2432 * linklist.c (list_delete_all_node): bug fix.
2433 previous code loses current position when node
2434 is deleted.
2435
24361999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2437
2438 * command.h (DESC): Macro added.
2439 (struct cmd_element2): Delete struct cmd_element2.
2440
2441 * plist.c (prefix_list): Sequential number option check is added.
2442
24431999-05-02 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2444
2445 * log.c (zvlog_{debug,info,notice,warn,err}): have been
2446 added. now we can log both console and file, but still
2447 need some fix about config write.
2448
24491999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2450
2451 * log.c (zvlog_debug): Fix yasu's change.
2452
24531999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2454
2455 * plist.c (prefix_list): Fix typo.
2456
24571999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2458
2459 * Set version to 0.63 for first beta package.
2460
24611999-04-27 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2462
2463 * prefix.c (str2prefix_ipv4): Fix prefix length check.
2464 (str2prefix_ipv6): Likewise.
2465
24661999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2467
2468 * memory.h (enum): Add MTPYE_PREFIX_LIST and
2469 MTYPE_PREFIX_LIST_ENTRY.
2470
2471 * command.h (node_type ): Add PREFIX_NODE.
2472
24731999-04-25 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2474
2475 * command.c: ALIAS (config_write_memory_cmd) and ALIAS
2476 (copy_runningconfig_startupconfig_cmd) is added.
2477
2478 * table.c (route_node_lookup): Unused match variable deletion.
2479
24801999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2481
2482 * Makefile.am (libzebra_a_SOURCES): plist.c added.
2483 (noinst_HEADERS): plist.h added.
2484
2485 * plist.c, plist.h: New file added.
2486
2487 * memory.h (enum): Rename MTYPE_AS_PASN to MTYPE_AS_STR.
2488 * memory.c: Likewise.
2489
24901999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2491
2492 * command.c (show_version): `show version' command added.
2493
24941999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2495
2496 * prefix.c (str2prefix_ipv6): Prefix length overflow check.
2497
24981999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2499
2500 * prefix.c (str2prefix_ipv4): Prefix length overflow check.
2501
25021999-04-19 Alex Bligh <amb@gxn.net>
2503
2504 * prefix.c (sockunion2hostprefix): Function added.
2505 (sockunion2prefix): Address family was not set. Now it is set.
2506
2507 * vty.c: VTY access-class command is added.
2508
25091999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2510
2511 * memory.c: Change xmalloc to zmalloc. xcalloc, xrealloc, xfree,
2512 xstrdup are likewise.
2513
25141999-04-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2515
2516 * thread.c: Add thread_execute for other routing daemon.
2517 OSPF tasks need to be generated by "sheduled" and "executed".
2518
25191999-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2520
2521 * buffer.c: Rewrite buffer_write and buffer_flush related
2522 functions for fixing bugs. Reason of the problem and fix is
2523 suggested by Alex Bligh <amb@gxn.net>.
2524
25251999-04-12 Alex Bligh <amb@gxn.net>
2526
2527 * command.c (cmd_entry_function_descr): Added for variable
2528 argument help display.
2529
25301999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2531
2532 * regex.c, regex-gnu.h: Imported from GNU sed-3.02 distribution.
2533
25341999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2535
2536 * stream.c: stream_fifo_free bug is fixed.
2537
25381999-03-19 Toshiaki Takada <takada@zebra.org>
2539
2540 * stream.c (stream_strncpy): Added for getting any length bytes
2541 from stream.
2542
25431999-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2544
2545 * version.h (ZEBRA_BUG_ADDRESS): New macro added.
2546
25471999-03-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2548
2549 * buffer.c (buffer_flush_window): If ep is same as buffer's size
2550 length and lp is overrun one octet.
2551
25521999-03-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2553
2554 * vty.h: add VTY's timeout function.
2555
25561999-03-05 <kunihiro@zebra.org>
2557
2558 * command.h (node_type ): Add OSPF6_node.
2559
25601999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2561
2562 * zebra.h: Check HAVE_SYS_SELECT_H when include <sys/select.h>
2563
25641999-03-03 Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
2565
2566 * zebra.h: Include <net/if_var.h> if it exists.
2567
25681999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2569
2570 * getopt.[ch],getopt1.c: Sync with glibc-2.1.
2571
2572 * log.c (zlog): Tempolary ZLOG_STDOUT feature added.
2573
2574 * command.h: Include vector.h and vty.h
2575
25761999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2577
2578 * routemap.h (struct route_map_rule_cmd): Add prefix arguemnt.
2579
2580 * routemap.c (route_map_apply_index): Add prefix argument.
2581 (route_map_apply): Likewise.
2582
2583 * memory.h (enum): Add MTYPE_ROUTE_MAP_COMPILED.
2584
2585 * stream.c: Add stream_fifo related functions.
2586
25871999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2588
2589 * daemon.c: Return integer value. File descriptor close is added.
2590
2591 * memory.h (enum): add MTYPE_OSPF_LSA.
2592
25931999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2594
2595 * rsh.c: Remove empty file.
2596
25971999-02-22 <kunihiro@zebra.org>
2598
2599 * routemap.c: Add add/delete hook to route_map_master.
2600
26011999-02-19 Peter Galbavy <Peter.Galbavy@knowledge.com>
2602
2603 * str.[ch] added to supply wrappers for snprintf(), strlcat() and
2604 strlcpy on system without these.
2605
26061999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2607
2608 * syslog support added
2609
26101999-02-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2611
2612 * filter.c (access_list_add_hook): added for hook function management.
2613 * filter.c (access_list_delete_hook): Likewise.
2614
26151999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2616
2617 * stream.c: New file.
2618 * stream.h: New file.
2619 * Divide stream related fucntions from buffer.[ch] into stream.[ch].
2620
26211999-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2622
2623 * memory.h (enum): add MTYPE_STREAM, MTYPE_STREAM_DATA
2624
2625 * buffer.c (stream_new): Set MTYPE_STREAM to XMALLOC argument.
2626
26271998-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2628
2629 * routemap.c: route_map_index_delete() added.
2630
26311998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2632
2633 * buffer.c (buffer_empty): check cp instead of sp.
2634
26351998-12-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2636
2637 * radix.[ch]: Deleted.
2638
26391998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2640
2641 * buffer.c: Prototype fixes.
2642 * prefix.c: Likewise.
2643 * sockunion.c: Likewise.
2644 * sockunion.h: Likewise.
2645
26461998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2647
2648 * vty.c (vty_read): DELETE key works as vty_delete_char.
2649
26501998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2651
2652 * log.c (time_print): chane %y to %Y.
2653
26541998-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2655
2656 * distribute.c: new file.
2657
26581998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2659
2660 * filter.c: Remove all of struct prefix_{ipv4,ipv6} and add
2661 complete support of IPv6 access list.
2662
2663 * command.c (config_write_element): function delete.
2664 (config_write_host): function add. password and enable password
2665 isn't printed to vty interface.
2666
26671998-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2668
2669 * filter.c: Change prefix_ipv4 to prefix and add support of
2670 prefix_ipv6 filtering.
2671
26721998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2673
2674 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6 inet6-apps
2675 header includes.
2676
26771998-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2678
2679 * log.c (log_flush): fix function name typo.
2680
26811998-12-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2682
2683 * memory.h: OSPF memory type is added.
2684
26851998-11-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2686
2687 * command.c (sort_node): add sort_node() for pretty printing of
2688 command on vty interface.
2689 (config_password): delete the restriction of charaster of password
2690 string.
2691
26921998-09-05 Kunihiro Ishiguro <kunihiro@debian.zebra.org>
2693
2694 * prefix.c (prefix_ipv4_any): add prefix_ipv4_any().
2695
26961998-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2697
2698 * network.h: New file.
2699
27001998-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2701
2702 * vty.c (vty_will_echo): function name change from vty_off_echo.
2703
27041998-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2705
2706 * buffer.h: add PUTC,PUTW,PUTL macros.
2707
27081998-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2709
2710 * route.[ch]: renamed to prefix.[ch]
2711
27121998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2713
2714 * prefix_in, prefix_in6 is replaced by prefix_ipv4, prefix_ipv6.
2715
2716 * Makefile.am: @INCLUDES@ is deleted from INCLUDES.
2717
27181998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2719
2720 * host.[ch]: merged with command.[ch]
2721
27221998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2723
2724 * Makefile.am (libzebra_a_SOURCES): add route.c to libzebra_a_SOURCES.
2725
27261998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2727
2728 * route.c (str2prefix): str2prefix () is gone.
2729
27301998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2731
2732 * vty.c (vty_read_config): change CONDIR to SYSCONFDIR.
2733
2734 * .cvsignore: add file.
2735
2736 * memory.c (xerror): add arguent `type' and `size'.
2737
2738 * socket.c: deleted.
2739
27401998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2741
2742 * vector.c: malloc,free,realloc -> XMALLOC,XFREE,XREALLOC.
2743 * linklist.c: same as above.
2744
27451998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2746
2747 * filter.[ch]: added.
2748
27491998-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2750
2751 * vty.c (config_who): return CMD_SUCCESS
2752
27531998-04-01 Jochen Friedrich <jochen@scram.de>
2754
2755 * table.c (route_dump_node): route_dump_node is IPv6 specific
2756 function so move #ifdef to the end of route_dump_node ().
2757
27581998-03-05 "Hannes R. Boehm" <hannes@boehm.org>
2759
2760 * if.c: DEFUN(interface_desc) added.
2761
27621998-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2763
2764 * if.c: separated from ripd/rip_interface.c
2765
27661998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2767
2768 * thread.[ch] : added.
2769
27701998-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2771
2772 * vty.c (vty_delete_char): fix size bug.
2773 (vty_backward_pure_word): function added.
2774 (vty_read): ESC + 'f' perform vty_forward_word.
2775 (vty_read): ESC + 'b' perform vty_backward_word.
2776
27771998-02-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2778
2779 * radix.c (radix_lookup_rt): add mask check.
2780 (radix_delete_duproute): add mask check.
2781
27821998-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2783
2784 * command.c (config_write_file): fix vty -> file_vty.
2785
27861998-02-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2787
2788 * command.c (cmd_filter_ambiguous): add complex type treatment.
2789
27901998-02-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2791
2792 * vty.c (vty_time_print): function added.
2793 (vty_complete_command): now [...] element isn't shown by completion.
2794
27951998-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2796
2797 * command.c : change from cmd_install_node() to install_node().
2798
27991998-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2800
2801 * route.[ch]: struct rt{} is replaced by struct prefix{}.
2802
28031998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2804
2805 * command.c (cmd_execute_command): check command length.
2806
2807 * timer.c (zebra_timer_set): add zebra_timer_set.
2808
28091998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2810
2811 * command.h (node_type ): add ZEBRA_NODE.
2812
2813 * command.c (config_exit): add RIP_NODE.
2814 (config_write_file): add RIP_NODE.
2815
28161998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2817
2818 * print_version.c (print_version): Now Copyright is 1996-1998.
2819
2820 * sockunion.c (sockunion_log): moved from ../zebra/route.c
2821
28221997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2823
2824 * host.c (config_logfile): change 'log PATH' to 'logfile PATH'.
2825
2826 * sockunion.c (sockunion_sameprefix): add same prefix for
2827 sockunion.
2828
28291997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2830
2831 * radix.[ch] : are moved from ../zebra directroy.
2832
2833 * command.c (config_from_file): if command execution failed down
2834 level to CONFIG_NODE.
2835
2836 * host.c: config_log function which enable 'log FILENAME' command.
2837
28381997-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2839
2840 * vty.c: add vty_transpose_chars (). Now you can use '^T' to
2841 transpose character.
2842
2843 * command.c: cmd_cmdsize add, this is useful to check incomplete
2844 command.
2845
28461997-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2847
2848 * fd.h: add family for address family
2849
28501997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2851
2852 * command.o
2853 * vty.o
2854 * host.o is moved from ../zebra
2855
28561997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2857
2858 * make library directory.
2859