1 2004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
3 * sockopt.h: Avoid CMSG_ALIGN, and declare that sizes are without
4 alignment (users should use CMSG_SPACE).
6 * zebra.h: Rationalize CMSG_SPACE compatibility defines. Warn if
7 asumming 4-byte alignment, since this isn't safe.
9 2004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
11 * memory.c: (zerror) Use zlog_err instead of fprintf to stderr.
12 Instead of exiting, log currenty memory usage and then abort.
13 (log_memstats) New function to log memory statistics, called by
15 (show_memory_all) Loop over new mlists array instead of calling
16 show_memory_vty separately for each memory_list.
18 2004-11-08 Paul Jakma <paul@dishone.st>
20 * buffer.c: Add missing include of log.h.
21 (buffer_flush_available) written is compared against
22 mostly against unsigned types, only for the writev do we need
23 signed compare, so declare it as size_t and cast it to ssize_t
24 just for the error compare when we've called writev.
25 * buffer.h: Add comment that buffer data sizes really should be
28 2004-11-07 Paul Jakma <paul@dishone.st>
30 * version.h.in: add autoconf configure_input output var
32 2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
34 * vty.h: Remove fields in struct vty that were related to VTY_CONTINUE
35 capabilities (that were used only in bgpd/bgp_route.c and are now
36 removed). Also remove some other fields that were not being
38 * vty.c: (vty_execute) Do not test for obsolete status values VTY_START
40 (vty_read) Remove calls to vty->output_func since that was part
41 of the VTY_CONTINUE infrastructure that has been removed.
42 (vty_flush) Remove code to support VTY_START and VTY_CONTINUE.
43 (vty_close) Remove code to cancel vty->t_output thread, since that
44 thread was never actually used.
46 2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
48 * vty.c: Vtysh connections to daemons should use buffering.
49 (vty_out) Remove exception for vty_shell_serv, just use buffer_write.
50 (vty_new) Increase output buffer size to 4096 rounded up to a
52 (vtysh_read) After command has been executed and all output buffered,
53 call buffer_flush_available and schedule further writes if the
54 buffers are not yet empty.
55 (vtysh_write) New function to flush output to vtysh when the socket
57 (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh
58 clients. Also, should save read thread in vty->t_read so the
59 thread can be cancelled in vty_close.
60 * buffer.h: In struct buffer_data, remove unused "parent" field.
61 Convert "unsigned char *data" to "unsigned char data[0]" to save
62 a malloc. Declare new function buffer_flush_available that works
63 with non-blocking sockets.
64 * buffer.c: (buffer_data_new) Use a single malloc now that data is
65 a variable-size array at end of structure.
66 (buffer_data_free) Just a single free now that data is part of the
68 (buffer_write) Simplify the logic to make behavior more transparent.
69 (buffer_flush) Decrease b->length as data is written out.
70 (buffer_flush_vty_all) Decrease b->length as buffers are freed.
71 (buffer_flush_vty) Decrease b->length as data is written out.
72 (buffer_flush_available) New function to flush non-blocking sockets.
74 2004-11-01 Paul Jakma <paul@dishone.st>
76 * sockopt.c: (setsockopt_pktinfo) remove, its unused.
78 2004-10-31 Paul Jakma <paul@dishone.st>
80 * vty.c: As per Andrew's suggestions..
81 (vty_serv_un) remove flags.
82 (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.
83 * keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.
84 * memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS
85 * thread.c: Update stats and funcname alloc/free to use previous
86 specific memory type defines. Use XCALLOC and sizeof the type,
88 * smux.c: fix int to size_t compile warnings
90 2004-10-29 Paul Jakma <paul@dishone.st>
92 * vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un
93 to vtysh_accept, where sock is the actual fd we wanted to set to
94 O_NONBLOCK, ie the /connected/ vtysh unix socket.
96 2004-10-23 Hasso Tepper <hasso at quagga.net>
98 * zclient.c: Unbreak reading interface update message. Might fix
99 blocker bugzilla #109.
101 2004-10-22 Paul Jakma <paul@dishone.st>
103 * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
105 (setsockopt_pktinfo) unexported
106 * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
107 define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
108 neither IP_RECVIF nor IP_PKTINFO (eg openbsd), thanks to Rivo
109 Nurges for highlighting problem and fix.
110 Fix elif that should be an else.
111 * command.h: Cleanup the defines a bit, add helper defines and
112 collapse all defines to use those. Add an attribute field to
113 cmd_element to support, eg hidden or deprecated commands, add
114 defun defines for such. All that's left to do is add logic
115 to command.c to check these attributes... ;)
116 * zebra.h: reserve ZEBRA_ROUTE_HSLS
118 2004-10-19 Hasso Tepper <hasso at quagga.net>
120 * version.h.in: Define copyright string QUAGGA_COPYRIGHT.
121 * print_version.c: Remove. print_version () function moved to
123 * command.c: Use QUAGGA_COPYRIGHT.
124 * Makefile.am: Remove useless version.c and print_version.c files.
126 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
128 * zclient.c: (zebra_interface_address_read) If the destination address
129 is encoded as all zeroes, load it as a NULL pointer.
130 * if.h: Add comment describing struct connected destination field
131 and indicating that it may be NULL. Define macros
132 CONNECTED_DEST_HOST and CONNECTED_POINTOPOINT_HOST to help
133 with PtP logic (distinguish between host and subnet addressing).
134 * if.c: (if_lookup_address) Fix PtP logic to handle subnet addressing
136 (connected_lookup_address) ditto.
137 (connected_add_by_prefix) Handle case where destination is NULL,
138 * prefix.[c|h]: New functions ipv4_network_addr and
141 2004-10-13 Hasso Tepper <hasso at quagga.net>
143 * command.c: Make CMD_ERR_NOTHING_TODO nonfatal if reading
144 configuration from file. Fixes critical bugzilla #113.
145 * smux.c, smux.h: Remove all defaults to initialize smux connection to
146 snmpd by default even if not configured to do so. "smux peer OID
147 <password>" initializes now connection and "no smux peer" terminates
150 2004-10-13 Paul Jakma <paul@dishone.st>
152 * (global) more const'ification.
153 * sockunion.c: (sockunion_su2str) buffer should be sized
155 (sockunion_log) do not return stack variables, strdup buf before
157 * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
158 values against ULONG_MAX is daft, when caller probably has passed
159 a type that can not hold ULONG_MAX. use a temporary long instead.
160 Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
161 VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
163 2004-10-11 Hasso Tepper <hasso at quagga.net>
165 * command.h: Sync DEFUNSH with other macros.
166 * sockunion.c, sockunion.h: More const strings.
168 2004-10-11 Paul Jakma <paul@dishone.st>
170 * thread.c: (funcname_thread_add_timer)
171 (funcname_thread_add_timer_msec) Fix mistakes from last change.
172 Pointed out by Liu Xin in [quagga-dev 1609].
173 * if.h: mtu's should be unsigned.
174 * routemap.{c,h}: const char updates
177 2004-10-10 Paul Jakma <paul@dishone.st>
179 * version.h.in: (pid_output*) add const qualifier.
180 * command.h: Change DEFUN func to take const char *[] rather
181 than char **, to begin process of fixing compile warnings in lib/.
182 Nearly all other changes in this commit follow from this change.
183 * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
184 const void * and cast an automatic const char *p to it.
185 (buffer_putstr) add const
186 * command.c: (zencrypt) const qualifier
187 (cmd_execute_command_real) ditto
188 (cmd_execute_command_strict) ditto
189 (config_log_file) ditto.
190 Fix leak of getcwd() returned string.
191 * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
192 * distribute.{c,h}: Update with const qualifier.
193 (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
194 (distribute_lookup) Cast to char *, note that it's ok.
195 (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
196 (distribute_get) Cast to char *, note that it's ok.
197 * filter.c: Update with const qualifier.
199 * if_rmap.{c,h}: ditto.
200 (if_rmap_lookup) Cast to char *, note that it's ok.
202 * log.{c,h}: Update with const qualifier.
203 * plist.{c,h}: ditto.
204 * routemap.{c,h}: ditto.
205 * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
206 * sockopt.c: (getsockopt_cmsg_data) add return for error case.
207 * vty.c: Update with const qualifier.
209 2004-10-08 Hasso Tepper <hasso at quagga.net>
211 * routemap.c, routemap.h: Make some string arguments const.
213 2004-10-05 Paul Jakma <paul@dishone.st>
215 * version.h.in: print_version declaration is here, not in automake
218 2004-10-08 Hasso Tepper <hasso at quagga.net>
220 * command.c, command.h: Make argument of cmd_make_strvec function
222 * command.c: Make hostname commands usable in vtysh again.
224 2004-10-07 Hasso Tepper <hasso at quagga.net>
226 * command.c, pid_output.c, print_version.c, vty.c, vty.h: Make more
229 2004-10-05 Hasso Tepper <hasso at quagga.net>
231 * *.[c|h]: Make many strings cons and a lot of int -> unsigned int
232 changes to fix warnings.
234 2004-10-05 Paul Jakma <paul@dishone.st>
236 * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
237 functions to change byte order between system IP_HDRINCL order
239 * thread.c: (funcname_thread_add_timer_timeval) new function, add
240 timer at specified timeval.
241 (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
242 (funcname_thread_add_timer_msec) ditto
244 2004-10-04 Hasso Tepper <hasso at quagga.net>
246 * memory.c, memory.h: Make char * argument of strdup functions const.
247 * prefix.c, prefix.h: Make many arguments const. Reorder stuff in
249 * log.h: Make log message const in struct message.
250 * log.c: Fix some indenting.
251 * network.c, network.h: Make second argument of writen() const.
253 2004-10-03 Hasso Tepper <hasso at quagga.net>
255 * command.h: Introduce SERVICE_NODE for "service <...>" commands.
256 * command.c: Don't initialize commands that don't make sense if vtysh
258 * vty.c: Make VTY_NODE appear in vtysh.
260 2004-10-03 James R. Leu <jleu at mindspring.com>
262 * zclient.c, zclient.h: zclient functions for router id handling.
263 * zebra.h: New message types for router id handling.
265 2004-09-27 Paul Jakma <paul@dishone.st>
267 * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd
268 to try to fragment oversized packets. Enabled only for Linux.
269 Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order,
270 to consolidate various ad-hoc platform defines for same thing.
272 2004-09-26 Hasso Tepper <hasso at quagga.net>
274 * vty.c, sockopt.c: Fix compiler warnings.
276 2004-09-23 Hasso Tepper <hasso at quagga.net>
278 * linklist.h: Remove list and listnode typedefs.
279 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
281 2004-09-17 Paul Jakma <paul@dishone.st>
283 * sockopt.c: Add missing bracket
285 2004-09-17 Paul Jakma <paul@dishone.st>
287 * sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
289 2004-09-13 Paul Jakma <paul@dishone.st>
291 * command.c: Update the copyright string in the default motd.
293 2004-08-31 David Wiggins <dwiggins@bbn.com>
295 * hash.c (hash_iterate): Save next pointer before calling
296 procedure, so that iteration works even if the called procedure
297 deletes the hash backet.
299 * linklist.h (listtail): new macro, not yet used.
301 2004-08-27 Hasso Tepper <hasso at quagga.net>
303 * command.c: Install "terminal length" commands only if vty is used.
304 Vtysh will handle it itself.
306 2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
308 * sockopt.h: Define method-independent macro for callers of
309 get_ifindex to use for cmsg length.
311 2004-08-19 Paul Jakma <paul@dishone.st>
313 * zebra.h: add MAX and MIN defines (eg for ospf6d)
315 2004-08-19 Paul Jakma <paul@dishone.st>
317 * sockopt.c: include sockopt.h
318 rename some of the _pktinfo_ functions to _ifindex, where that is
320 (getsockopt_ipv6_pktinfo_ifindex) renamed to
321 getsockopt_ipv6_ifindex.
322 (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
323 (setsockopt_pktinfo) update with previous and add comment re
325 (setsockopt_ifindex) generic ifindex function ala
327 (getsockopt_ipv4_pktinfo_ifindex) renamed to
328 getsockopt_ipv4_ifindex.
329 (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
330 ifdef/elses. pktinfo case forgot to set ifindex.
331 (getsockopt_pktinfo_ifindex) renamed to
332 getsockopt_ifindex. update some calls to renamed functions.
333 * sockopt.h: Update renamed exported functions
334 Rename the CMSG_SIZE macros to IFINDEX.
335 Guard IPv4 PKTINFO in a conditional define.
337 2004-08-18 Paul Jakma <paul@dishone.st>
339 * vty.c: (vty_serv_un) set unix vty socket to nonblocking
340 to prevent inadvertent blocking of daemons by use of
341 vtysh. TODO: disentangle manual paging from the buffer_write
342 path so that unix vty can use this path too and be reliable.
344 2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
346 * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
347 on NetBSD, and add comments to make it less confusing. Change the
348 sense of the SUNOS_5 test to make parallel structure between the
349 variables and the code.
351 2004-07-23 Paul Jakma <paul@dishone.st>
353 * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
354 sizeof pktinfo as appropriate, to be used when allocating msg
355 buffers. export setsockopt_pktinfo() and
356 getsockopt_pktinfo_ifindex()
357 * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
358 set received ifindex sock option.
359 (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
360 (getsockopt_cmsg_data) retrieve indicated control info from
362 (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
363 (setsockopt_ipv4_pktinfo) v4 version
364 (setsockopt_pktinfo) the exported version
365 (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
366 (getsockopt_pktinfo_ifindex) the exported version
368 2004-07-14 Paul Jakma <paul@dishone.st>
370 * sigevent.c: (quagga_signal_handler) add a global caught flag, set
371 the flags to a constant rather increment to be kinder.
372 (quagga_sigevent_process) new function, to do core of what
373 quagga_signal_timer did. dont block signals at all as sig->caught
374 is volatile sig_atomic_t and should be safe to access from signal
375 and normal contexts. The signal blocking is unneeded paranoia, but
376 is left intact under an ifdef, should some platform require it.
377 Check global caught flag before iterating through array.
378 (quagga_signal_timer) nearly everything moved to
379 quagga_sigevent_process. Left in under ifdef, in case some
380 platform could use a regular timer check for signals.
381 * sigevent.h: quagga_sigevent_process declaration.
382 * thread.c: (thread_fetch) check for signals at beginning of
383 scheduler loop, check for signals if select returns EINTR.
385 2004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
387 * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP
388 confuses gdb, at least on NetBSD 2.0_BETA, where the block
391 2004-07-09 Paul Jakma <paul@dishone.st>
393 * Merge Kunihiro's 'show route-map' change and add
394 compatibility aliases for route-map continue
395 * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
396 function, as implemented in linux kernel by David Miller.
398 2004-07-09 Juris Kalnins <juris@mt.lv>
400 * if.c: (if_cmp_func) fix for interface names where name is same,
401 but one has no number, eg "devtyp" and "devtyp0".
403 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
405 * Makefile.am: Make libzebra shared.
407 2004-06-21 Paul Jakma <paul@dishone.st>
409 * ChangeLog: fix my last update config.h -> zebra.h ;)
410 * zebra.h: Fix gcc check.
412 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
414 * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast
415 to u_char. (ipv6_access_list_remark_cmd) ditto.
417 * network.c: (readn/writen) pointer arg should be type u_char.
418 * plist.c: needs to include stream.h, not declare stream functions
420 (various) Add static qualifier to internal functions.
421 (prefix_list_type_str) extraneous breaks in switch statement.
422 (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast
423 * stream.h: depends on plist.h and export stream_put_prefix
424 * vty.c: (vty_<telnet option build functions>) should use
425 unsigned char, telnet options are 0 -> 255.
426 * zclient.c: various u_char<->char type cleanups.
427 * zebra.h: Having to define CMSG_* can apply to more than just
430 2004-06-09 Paul Jakma <paul@dishone.st>
432 * zebra.h: __attribute__ is a gcc'ism
434 2004-06-04 Paul Jakma <paul@dishone.st>
436 * type mismatch fixes
438 2004-05-18 Hasso Tepper <hasso@estpak.ee>
440 * pqueue.[c|h]: Added as part of ospf6d merge from Zebra repository.
442 2004-05-08 Paul Jakma <paul@dishone.st>
444 * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe
447 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
449 * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route
450 (zapi_ipv4_delete) ditto.
451 (zapi_ipv4_route) add/delete a route by way of cmd arg.
452 (zapi_ipv6_add) collapsed into zapi_ipv6_route.
453 (zapi_ipv6_delete) ditto.
454 (zapi_ipv6_route) add/delete a route by way of cmd arg.
455 (zebra_interface_address_delete_read) collapsed into
456 zebra_interface_address_read.
457 (zebra_interface_address_delete_read) ditto.
458 (zebra_interface_address_read) read address add/delete messages
459 by way of type argument. Describe command message format.
460 (zebra_interface_add_read) Unconditionally read new ifmtu6 field.
461 Describe command message format.
462 (zebra_interface_state_read) Unconditionally read new ifmtu6 field.
463 (zclient_redistribute_set) Collapsed into zclient_redistribute
464 (zclient_redistribute_unset) ditto
465 (zclient_redistribute) set/unset redistribution.
466 (zclient_redistribute_default_set) Collapsed into
467 zclient_redistribute_default.
468 (zclient_redistribute_default_unset) ditto.
469 (zclient_redistribute_default) Redistribute default set/unset.
470 * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add
471 zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add
472 zclient_redistribute. Ditto for
473 zclient_redistribute_default_{set/unset}.
475 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
477 * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ
478 from IPv4, and Solaris treats the MTU's differently.
479 Add connected_add_by_prefix, for use by later patch.
480 * if.c: (connected_add_by_prefix) Add prefix to connected list.
481 (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag
482 (if_dump) Dump mtu6 flag, for HAVE_IPV6.
483 * command.c: (sockunion_getsockname) use socklen_t for len.
484 (sockunion_getpeername) ditto.
486 2004-04-21 Boris Kovalenko <boris@tagnet.ru>
488 * daemon.c: (daemon) fix check for error return from setsid
490 2004-01-19 Paul Jakma <paul@dishone.st>
492 * sigevent.{c,h}: New files, implement event handled signals.
493 see signal_init() in sigevent.h.
495 2003-12-23 Vincent Jardin <jardin@6wind.com>
497 * {command.c, memory.c, vty.c, zebra.h}: Add isisd support
499 2003-12-22 Greg Troxel <gdt@fnord.ir.bbn.com>
501 * vty.c (vty_use_backup_config): Don't free filenames before using
504 2003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
506 * command.c: Fix <cr> display problem for command line
509 2003-05-24 Anil Madhavapeddy
511 * (sockunion.c): Incorrect bounds specified in sockunion_log()
513 2003-05-08 Sergiy Vyshnevetskiy <serg @ vostok.net>
517 2003-04-19 Hasso Tepper <hasso@estpak.ee>
519 * rip_routemap.c: sync daemon's route-map commands to have same
522 2002-09-28 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
524 * vty.c (vty_flush): One line more on vty.
526 2002-09-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
528 * vector.c (vector_lookup): Add new function.
530 2002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
532 * thread.c (timeval_adjust): Fix unconditional crush due to
533 FreeBSD's select() system call timeval value check.
535 2002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
537 * zebra-0.93 released.
539 2002-06-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
541 * if.c (ifc_pointopoint): Add ifc_pointopoint() accoding to Frank
542 van Maarseveen's suggestion.
544 2002-06-18 Kunihiro Ishiguro <kunihiro@zebra.org>
546 * command.c: Change bcopy() to memcpy().
548 2001-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
550 * command.c (config_password): Fix host.password clear bug.
551 Reported by Wang Jian <lark@linux.net.cn>.
553 2001-08-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
555 * thread.c (thread_should_yield): New function to check thread
556 should yeild it's execution to other thread. Suggested by: Rick
557 Payne <rickp@ayrnetworks.com>
559 2001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
561 * thread.c (thread_timer_cmp): Rewrite function.
563 * hash.c: Add hash_get(). Change hash_pull() to hash_release().
565 2001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
567 * zebra-0.92a released.
569 2001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
571 * zebra-0.92 released.
573 2001-08-12 Akihiro Mizutani <mizutani@dml.com>
575 * prefix.c (netmask_str2prefix_str): Convert "1.1.0.0 255.255.0.0"
576 string to "1.1.0.0/16".
578 2001-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
580 * filter.c (access_list_lookup): access_list_lookup's first
581 argument is changed from address family to AFI.
583 * plist.c: (prefix_list_lookup): Likewise.
585 2001-07-27 Akihiro Mizutani <mizutani@dml.com>
587 * plist.c: ge and le display order is changed. Old compatible
588 rule (len <= ge-value <= le-value) is removed.
590 2001-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
592 * prefix.h: Temporary fix for alignment of prefix problem.
594 2001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
596 * prefix.h (struct prefix): Remove safi and padding field.
597 (struct prefix_ipv4): Likewise.
598 (struct prefix_ipv6): Likewise.
599 (struct prefix_ls): Likewise.
600 (struct prefix_rd): Likewise.
602 * command.h (enum node_type): Preparation for BGP new config.
604 * vty.c (vty_end_config): Likewise.
606 2001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
608 * routemap.c (route_map_rule_delete): Call func_free when
609 route-map rule is deleted.
611 2001-06-14 "Akihiro Mizutani" <mizutani@dml.com>
613 * routemap.c (route_map_index_lookup): Prevent to use deny and
614 permit for same route-map sequence.
616 2001-04-12 Kunihiro Ishiguro <kunihiro@zebra.org>
618 * vty.c (vty_read_config): Fix warning.
620 2001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
622 * command.c (IPV6_PREFIX_STR): Add '.' and '%' for IPv6 address
625 2001-03-07 Kunihiro Ishiguro <kunihiro@zebra.org>
627 * zebra.h (_XPG4_2): Define _XPG4_2 and __EXTENSIONS__ for
630 2001-03-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
632 * zebra.h (struct in_pktinfo): structure in_pktinfo declaration.
634 2001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
636 * memory.c (memory_list_lib): Add MTYPE_NEXTHOP for "show memory
639 2001-02-13 Matthew Grant <grantma@anathoth.gen.nz>
641 * vty.c (vty_read_config): Revert check of integrate_default when
644 2001-02-13 Kunihiro Ishiguro <kunihiro@zebra.org>
646 * vty.c (vty_read_config): Do not check integrate_default. That
647 should be used only by vtysh.
649 2001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
651 * vty.c (vty_serv_un): Set umask 0077.
652 (vty_read_config): Stat for vtysh Zebra.conf, if found startup and
653 wait for boot configuration.
655 * if.c (if_lookup_address): Make it smart implementation.
657 * sockopt.c (setsockopt_multicast_ipv4): Set up a multicast socket
658 options for IPv4 This is here so that people only have to do their
659 OS multicast mess in one place rather than all through zebra,
662 2001-02-04 Akihiro Mizutani <mizutani@dml.com>
664 * plist.c (vty_prefix_list_install): Even when argument is
665 invalid, new memory is allocated. Now memory allocation is done
666 after argument check.
668 2001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
670 * zebra-0.91 is released.
672 2001-01-31 Akihiro Mizutani <mizutani@dml.com>
674 * vty.c (vty_login): Add vty login command.
676 2001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
678 * vty.c (vty_reset): Close accept socket.
680 2001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
682 * memory.h (enum): MTYPE_ATTR_TRANSIT is added for unknown transit
685 2001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
687 * zclient.c (zebra_interface_address_add_read): Fetch interface
689 (zebra_interface_address_delete_read): Likewise.
691 2001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
693 * table.c (route_node_match_ipv4): Utility function for IPv4
695 (route_node_match_ipv6): Utility function for IPv4 address lookup.
697 2001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
699 * if.c: Delete RIP_API part until new implementation comes out.
701 2001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
703 * hash.h (struct Hash): Rename alloc to count. Change type to
706 * stream.c (stream_getc_from): New function.
707 (stream_getw_from): Likewise.
709 * zebra.h (ZEBRA_FLAG_STATIC): Add new flag for persistent route.
711 2001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
713 * flap.c: File is removed.
719 * buffer.c (buffer_new): Remove type option to buffer_new().
721 2001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
723 * zclient.c (zapi_ipv4_delete): Remove OLD_RIB part.
725 2001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
727 * zebra-0.90 is released.
729 * command.c: Update Copyright year.
731 2001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
733 * if.c (if_create): Register connected_free() function for
735 (if_delete): Free connected information when the interface is
737 (if_lookup_by_index): Fix argument type from int to unsigned int.
738 (connected_add): Keep list in order if old info found, essential
739 for repeatable operation in some daemons.
741 2001-01-09 endo@suri.co.jp (Masahiko Endo)
743 * vty.c (vty_flush): When vty->statis is VTY_CLOSE do not add vty
746 2001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
748 * filter.c (access_list_delete): Access-list name is not freed.
750 * plist.c (prefix_list_delete): Prefix-list name is not freed.
752 2000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
754 * zclient.c (zclient_start): Change to use UNIX domain
755 socket for zebra communication.
757 * vector.c (vector_init): vector_alloc and vector_data_alloc is
758 removed. All memory allocation count should be maintained by
759 XMALLOC and XFREE macros.
761 2000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
763 * zebra.h (ZEBRA_NEXTHOP_IFINDEX): Define ZEBRA_NEXTHOP_* values.
765 2000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
767 * zebra.h (ZEBRA_ERR_RTEXIST): Make zebra error code to negative
770 2000-12-25 "Wataru Uno" <wataru@po.ntts.co.jp>
772 * vty.c (vtysh_read): Don't allocate new buffer because buffer is
773 allocated in vty_new ().
775 2000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
777 * memory.h (enum): Add MTYPE_AS_FILTER_STR.
779 * command.c (config_write_terminal): Display "end" at the end of
782 * plist.c (vty_prefix_list_install): Use AF_INET to determine
785 2000-12-13 "Wataru Uno" <wataru@po.ntts.co.jp>
787 * buffer.c (buffer_flush_vty): If IOV_MAX defined in the System,
788 then all lines write by IOV_MAX.
790 2000-12-12 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
792 * command.c (config_write_file): Robust method for writing
793 configuration file and recover from backing up config file.
795 2000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
797 * smux.c (smux_connect): More fail check.
798 (smux_trap): When SMUX connection is not established, do nothing.
800 2000-11-28 Gleb Natapov <gleb@nbase.co.il>
802 * thread.c (thread_fetch): Execut event list first. Old event
803 list is renamed to ready list. With this change, event thread is
804 executed before any other thread.
806 * thread.h (struct thread_master): Add ready list.
808 2000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
810 * linklist.c (listnode_add_after): Add node right after the
813 2000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
815 * smux.h: Pass struct variable to WriteMethod.
817 2000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
819 * if.c (if_lookup_address): When looking up interface with IP
820 address, Sometimes multiple interfaces will match. Now PtP
821 interfaces prevail in such a case which seem the right thing to
822 do: There will probably also be host routes which usually prevail
825 2000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
827 * smux.c (smux_trap): SMUX trap implementation.
829 2000-11-19 Akihiro Mizutani <mizutani@dml.com>
831 * plist.c: Add automatic conversion function of an old rule.
832 ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8 le 32
834 2000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
836 * zclient.c (zebra_interface_add_read): Read hardware address when
837 hw_addr_len is greater than 0.
839 2000-11-15 Akihiro Mizutani <mizutani@dml.com>
841 * plist.c: The rule of "len <= ge-value <= le-value"
842 was changed to "len < ge-value <= le-value".
844 2000-11-09 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
846 * memory.[ch]: Added #define and functions for ospf6d.
848 * log.[ch]: some platform says that the data of used va_list
849 is undefined. Changed to hold list of va_list for each
852 2000-11-07 Rick Payne <rickp@rossfell.co.uk>
854 * memory.h (enum): Add MTYPE_COMMUNITY_REGEXP.
856 2000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
858 * command.c (config_exit): Fix bug of missing break after case
861 2000-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
863 * vector.c (vector_unset): Check i is not nevative.
865 2000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
867 * smux.c (smux_sock): Set terminating '\0'. Check address family.
869 * vty.c (vty_serv_sock_addrinfo): Set terminating '\0'. Use
870 gai_strerror. Check address family.
872 2000-10-23 Jochen Friedrich <jochen@scram.de>
874 * smux.c: Use linklist rather than vector.
875 (smux_getnext): A SMUX subagent has to behave as if it manages the
876 whole SNMP MIB tree itself. It's the duty of the master agent to
877 collect the best answer and return it to the manager. See RFC 1227
878 chapter 3.1.6 for the glory details :-). ucd-snmp really behaves
879 bad here as it actually might ask multiple times for the same
880 GETNEXT request as it throws away the answer when it expects it in
881 a different subtree and might come back later with the very same
884 2000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
886 * command.c (cmd_init): Log related command are only installed for
889 2000-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
891 * Makefile.am (libzebra_a_SOURCES): Remove duplicated buffer.c.
893 * zebra.h: Remove #warn directive.
895 2000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
897 * keychain.c (keychain_init): Register "key chain" command to
898 KEYCHAIN_NODE and KEYCHAIN_KEY_NODE.
900 * vty.c (vty_end_config): Fix missing vty_cinfig_unlock for other
903 * command.c (config_end): Likewise.
905 * keychain.c (keychain_get): Key is sorted by it's identifier
908 2000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
910 * linklist.c (list_delete_all_node): Call delete function if it is
913 * command.c (cmd_execute_command_strict): Add modification for
915 (cmd_execute_command_strict): Remove first argument cmdvec because
916 it is global varibale in command.c.
918 2000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
920 * command.c (cmd_init): Install
921 copy_runningconfig_startupconfig_cmd only in terminal mode.
923 * linklist.c (list_delete_node): Simplify the function.
924 (listnode_lookup): Renamed from list_lookup_node.
926 2000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
928 * stream.h: Undef stream_read and stream_write without
931 * newlist.c: File removed.
933 * newlist.h: Likewise.
935 * linklist.c (list_new): Remove list_init(). To allocate new
936 linked list, please use list_new().
937 (listnode_add): Remove list_add_node(). To add new node to linked
938 list, please use listnode_add().
939 (list_delete_by_val): Revemove fucntion.
941 2000-10-16 Nobuaki Tanaka <nobby@po.ntts.co.jp>
943 * table.c (route_table_free): Reimplement route_table_free().
945 2000-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
947 * keychain.c (keychain_get): Register key_delete_func to key
948 list's delete function. Use linklist.c instead of newlist.c.
950 2000-10-04 Akihiro Mizutani <mizutani@dml.com>
952 * filter.c (access_list_remark): Add access-list's remark command.
953 (no_access_list): "no access-list 100 permit any" error message
956 2000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
958 * memory.h (enum): Add MTYPE_SOCKUNION.
960 2000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
962 * zebra-0.89 is released.
964 2000-10-01 Kunihiro Ishiguro <kunihiro@zebra.org>
966 * linklist.c (list_add_node_head): Delete unused function.
967 (list_add_node_tail): Likewise.
969 2000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
971 * stream.c (stream_read_unblock): Add new function for unblocking
974 2000-09-26 Jochen Friedrich <jochen@nwe.de>
976 * smux.c (smux_register): Fix bug of can't register more than one
979 2000-09-26 Makoto Otsuka <otsuka@inl.ntts.co.jp>
981 * vty.c (vty_close): Fix memory leak of sb_buffer.
984 2000-09-21 steve@Watt.COM (Steve Watt)
986 * log.h: Do not declare zlog_priority[0] variable.
988 2000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
990 * linklist.h (struct _list ): Add member cmp for compare function.
991 (struct _list ): Member up is deleted
993 2000-09-12 David Lipovkov <dlipovkov@OpticalAccess.com>
995 * if.c: Include RIP_API header when RIP API is enabled.
997 2000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
999 * prefix.c (prefix_free): Siplify prefix_free().
1001 * keychain.c (key_match_for_accept): strncmp check bug is fixed.
1003 2000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1005 * zebra.h: Merge roken.h into zebra.h.
1007 2000-09-05 Akihiro Mizutani <mizutani@dml.com>
1009 * routemap.c (route_map_init_vty): Install route-map command to
1012 2000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1014 * thread.c (thread_get_id): Remove pthread related garbage.
1016 * command.h (struct host): Likewise.
1018 * zebra.h: Likewise.
1020 2000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1022 * command.h (node_type ): Add AAA node for authentication.
1024 * vty.c (vty_close): Do not close stdout.
1026 2000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1028 * vty.c (vty_init_vtysh): Added for vtysh.
1030 * distribute.c (districute_list_prefix_all): Interface independent
1032 (distribute_list_all): Likewise.
1033 (config_show_distribute): Display current distribute-list status
1034 for "show ip protocols".
1036 2000-08-18 Akihiro Mizutani <mizutani@dml.com>
1038 * command.c (config_terminal_no_length): no terminal monitor ->
1040 (cmd_init): Do not install service_terminal_length_cmd into
1043 * vty.c (terminal_no_monitor): no terminal length -> terminal no
1046 2000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1048 * zebra-0.88 is released.
1050 2000-08-17 Magnus Ahltorp <ahltorp@nada.kth.se>
1052 * vty.h (struct vty ): Add iac_sb_in_progress and sb_buffer for
1053 better IAC handling.
1055 * vty.c (vty_telnet_option): Change telnet option handling.
1057 2000-08-15 Gleb Natapov <gleb@nbase.co.il>
1059 * zclient.c (zclient_redistribute_unset): New function added.
1061 2000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1063 * zclient.c (zebra_interface_add_read): Change ifindex restore
1064 size from two octet to four.
1065 (zebra_interface_state_read): Likewise.
1066 (zebra_interface_address_add_read): Likewise.
1068 2000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1070 * vty.c (vty_event): Use vector_set_index() instead of
1073 2000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1075 * zebra.h (ZEBRA_XXX_DISTANCE_DEFAULT): Define Default
1076 Administrative Distance of each protocol.
1078 2000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1080 * if.h (struct interface ): Add new member bandwidth to struct
1083 * zclient.c (zebra_interface_add_read): Fetch bandwidth value.
1084 (zebra_interface_state_read): Likewise.
1086 2000-08-07 Gleb Natapov <gleb@nbase.co.il>
1088 * routemap.c (route_map_event_hook): New hook route_map_event_hook
1089 is added. This hook is called when route-map is changed. The
1090 parameters passed to the hook are 'event' and 'route-map name'
1092 * routemap.h: Add prototype for route_map_event_hook().
1094 2000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1096 * zclient.c (zebra_ipv4_route): zebra_ipv4_route(),
1097 zebra_ipv4_add(), zebra_ipv4_delete() are removed.
1099 * routemap.c (route_map_empty): Add new function.
1100 (route_map_delete): Use route_map_index_delete() instead of
1101 route_map_index_free().
1102 (route_map_index_free): Function removed.
1104 2000-08-06 Gleb Natapov <gleb@nbase.co.il>
1106 * routemap.c (route_map_index_delete): Add check for route-map is
1109 2000-08-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1111 * zclient.c (zebra_ipv4_add): Change socket arguemnt with struct
1114 2000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1116 * zclient.h (struct zebra): Add obuf for output buffer.
1118 * if.c: Remove #ifdef NRL enclosing if_nametoindex() and
1121 2000-08-02 David Lipovkov <davidl@nbase.co.il>
1123 * if.h (IF_PSEUDO_UNSET): IF_PSEUDO related macro added.
1124 (IF_UNKNOWN_SET): IF_UNKNOWN related macro deleted.
1126 * if.c (interface_pseudo): Add "pseudo" command to interface node.
1127 (no_interface_pseudo): Add "no pseudo" command to interface node.
1129 * zclient.c (zebra_interface_add_read): Set pseudo flag when it is
1132 2000-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1134 * zebra.h (ZEBRA_IPV4_NEXTHOP_LOOKUP): Add new message.
1135 (ZEBRA_IPV6_NEXTHOP_LOOKUP): Likewise.
1137 * vty.c (vty_serv_un): Use AF_UNIX for backward compatibility.
1139 2000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1141 * vty.c: Use vector for VTY server thread listing instead of
1144 2000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1146 * keychain.c (no_key_chain): "no key chain WORD" command is added.
1148 2000-07-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1150 * command.c (config_from_file): If command fail in
1151 KEYCHAIN_KEY_NODE, down to KEYCHAIN_NODE.
1153 * vty.h (struct vty ): Add index_sub member.
1155 2000-07-27 Akihiro Mizutani <mizutani@dml.com>
1157 * if.c: Help strings updates.
1159 2000-07-11 Akihiro Mizutani <mizutani@dml.com>
1161 * command.c (no_config_enable_password): Add "no enable password"
1163 (config_write_host): Display password string.
1165 * routemap.c (route_map_delete_match): Add support for delete
1166 match without argument.
1167 (route_map_delete_set): Likewise.
1169 2000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1171 * command.h (node_type ): Change KEYCHAIN_NODE and
1172 KEYCHAIN_KEY_NODE place just before INTERFACE_NODE.
1174 2000-07-09 Jochen Friedrich <jochen@scram.de>
1176 * smux.c (config_write_smux): Fixes the option to override OID and
1179 2000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1181 * command.h (node_type ): Add SMUX_NODE for SMUX configuration.
1183 2000-07-09 Toshiaki Takada <takada@zebra.org>
1185 * command.c: Sort descvec command's help.
1187 * vty.c (vty_describe_command): Display '<cr>' at the end of
1190 2000-07-05 Toshiaki Takada <takada@zebra.org>
1192 * command.c (cmd_ipv6_match), (cmd_ipv6_prefix_match): Fix bug
1193 treatment of double colon.
1195 2000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1197 * zclient.h: Add zclient_redistribute_default_{set,unset}().
1199 * keychain.c: New file for authentication key management.
1200 * keychain.h: Likewise.
1202 * tcpfilter.c: New file for TCP/UDP base filtering using ipfw or
1204 * tcpfilter.h: Likewise.
1206 * flap.h: New file for route flap dampening.
1209 2000-07-04 Toshiaki Takada <takada@zebra.org>
1211 * filter.c (struct filter): Add exact flag.
1212 (access_list): Add exact-match command.
1213 (ipv6_access_list): Add exact-match command.
1215 2000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1217 * zebra.h (ZEBRA_REDISTRIBUTE_DEFAULT_ADD): New message for
1218 request default route.
1220 2000-07-01 Hideaki YOSHIFUJI (
\e$B5HF#1QL@
\e(B) <yoshfuji@ecei.tohoku.ac.jp>
1222 * smux.c: Add IPv6 smux connection code.
1224 2000-06-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1226 * vty.c (vty_complete_command): To cooperate readline library,
1227 returned string is newly allocated. So some match function case
1228 need, free of memory.
1230 2000-06-12 Akihiro Mizutani <mizutani@dml.com>
1232 * distribute.c: Fix help strings.
1234 2000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1236 * command.c (cmd_complete_command): Add check for vector_slot
1237 (vline, index) is not NULL when calculating lcd.
1238 (cmd_entry_function): First check variable arguemnt to prevent it
1241 2000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1243 * vty.h (struct vty ): Add output_count member for displaying
1244 output route count. Remove arugment arg from output_func because
1245 the value is passed by vty argument. Change output to output_rn.
1246 Add output_clean function pointer member. Add output_type member.
1248 2000-06-10 Toshiaki Takada <takada@zebra.org>
1250 * command.c (show_startup_config): Add "show startup-config"
1253 2000-06-06 Akihiro Mizutani <mizutani@dml.com>
1255 * filter.c: Fix help strings.
1257 2000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1259 * prefix.h (struct prefix_rd): New prefix structure for routing
1261 (struct prefix): Add padding to every prefix structure.
1264 * routemap.c (route_map_add_match): When completely same match
1265 statement exists, don't duplicate it.
1267 2000-06-05 Akihiro Mizutani <mizutani@dml.com>
1269 * routemap.c: Change NAME to WORD.
1271 * plist.c: Fix help strings.
1273 2000-06-02 Akihiro Mizutani <mizutani@dml.com>
1275 * routemap.c: Fix route-map help strings.
1277 2000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1279 * command.c (cmd_filter_by_completion): Fix CMD_VARARG treatment
1280 to filter other non vararg commands.
1282 * routemap.c (route_map_init_vty): Use install_default() for
1283 install common commands into route-map node..
1285 2000-06-01 Akihiro Mizutani <mizutani@dml.com>
1287 * command.h (OSPF_STR): Macro added.
1289 2000-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1291 * command.c (cmd_complete_command): LCD completion must not modify
1292 installed command string.
1294 * plist.c (ipv6_prefix_list): Fix wrong syntax definition. Change
1295 X:X::X:X to X:X::X:X/M.
1297 2000-05-31 Toshiaki Takada <takada@zebra.org>
1299 * vty.c (show_history): New defun added.
1301 2000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1303 * command.h (CMD_COMPLETE_LIST_MATCH): New define for completion
1304 list. CMD_COMPLETE_MATCH is used for LCD completion.
1306 * vty.c (vty_complete_command): Matched string's LCD is completed.
1308 * command.c (cmd_lcd): New function for calculate LCD of matched
1311 2000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1313 * command.c (install_default): config_write_terminal_cmd,
1314 config_write_file_cmd, config_write_memory_cmd are added to
1317 * memory.c (memory_init): Divide show memory command into each
1320 * command.c (cmd_init): config_write_terminal_cmd,
1321 config_write_file_cmd, config_write_memory_cmd are added to
1324 * routemap.c (route_map_index_free): New function.
1325 (no_route_map_all): New DEFUN for "no route-map NAME".
1327 * filter.c (no_access_list_all): New DEFUN for delete access-list
1329 (no_ipv6_access_list_all): Likewise.
1331 2000-05-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1333 * plist.c: Change IPV6_PREFIX to X:X::X:X. When "any" is
1334 specified, user can not use "ge" and "le" statement.
1336 2000-05-22 Thomas Molkenbur <tmo@datus.datus.com>
1338 * routemap.c (route_map_add_set): Fix bug of next pointer missing.
1340 * table.c (route_table_free): Like wise.
1342 2000-05-22 Toshiaki Takada <takada@zebra.org>
1344 * vty.c (vty_stop_input): Set history pointer to the latest one.
1346 * vty.c (vty_hist_add): Do not add command line history when input
1347 is as same as previous one.
1349 2000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1351 * memory.h (enum): Add MTYPE_ECOMMUNITY and MTYPE_ECOMMUNITY_VAL.
1353 2000-05-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1355 * command.h (node_type ): Add BGP_VPNV4_NODE.
1357 2000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1359 * vty.c (vtysh_accept): Add cast of struct sockaddr * to bind
1360 argument. Reported by: Vesselin Mladenov <mladenov@netbg.com>.
1362 * filter.c (ipv6_access_list): Add IPv6 prefix example instead of
1363 IPv4 example. Reported by: Love <lha@s3.kth.se>.
1365 * command.c (cmd_complete_command): Make it sure last element of
1366 matchvec is NULL. This fix problem which cause crush in
1367 vty_complete_command(). Reported by: JINMEI Tatuya
1368 <jinmei@isl.rdc.toshiba.co.jp>.
1370 2000-04-28 Love <lha@s3.kth.se>
1372 * prefix.h (struct prefix): Add padding.
1374 2000-04-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1376 * command.c (show_version): Update copyright year.
1378 2000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1380 * routemap.c (route_map_apply): When map is NULL, return deny.
1382 2000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1384 * filter.c (access_list_apply): When access is NULL, return deny.
1386 * plist.c (prefix_list_apply): When plist is NULL, return deny.
1388 2000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1390 * command.h (node_type ): Change RDISC_NODE to IRDP_NODE.
1392 2000-04-18 Toshiaki Takada <takada@zebra.org>
1394 * filter.[ch] (access_list_add_hook), (access_list_delete_hook):
1395 Add argument for hook function to give struct access_list *.
1397 2000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1399 * plist.c (prefix_list_entry_match): In case of le nor ge is
1400 specified, exact match is performed.
1401 (prefix_list_entry_match): Add any entry matching check.
1403 2000-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1405 * vty.c (exec_timeout): Separate timeout setting to minutes and
1407 (no_exec_timeout): Add "no exec-timeout" command.
1409 * vty.h (VTY_TIMEOUT_DEFAULT): Change default value from 300 to
1412 2000-03-31 Jochen Friedrich <jochen@scram.de>
1414 * smux.h (SMUX_CLOSE): The SMUX_CLOSE PDU is implicit integer, so
1415 it is a primitive encoding and not constructed.
1417 2000-03-28 Toshiaki Takada <takada@zebra.org>
1419 * memory.[ch] (enum): Add MTYPE_OSPF_EXTERNAL_INFO.
1421 2000-03-26 Love <lha@s3.kth.se>
1423 * zclient.c (zclient_read): Add nbytes size check for
1424 ZEBRA_HEADER_SIZE. Check return value of steam_read ().
1426 2000-03-26 Rick Payne <rickp@rossfell.co.uk>
1428 * routemap.c: Add flexible route-map commands such as on-match
1429 next, on-match goto N.
1431 * routemap.h: Likewise
1433 2000-03-23 Adrian Bool <aid@u.net.uk>
1435 * command.c (config_log_trap): Add new command "log trap
1438 2000-03-14 Toshiaki Takada <takada@zebra.org>
1440 * memory.c (struct memory_list): Add Link List and Link Node
1443 * memory.h (enum): Remove MTYPE_OSPF_EXTERNAL_ROUTE.
1445 2000-01-20 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1447 * str.c (snprintf): Fix bug of calling sprintf instead of
1450 2000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1452 * memory.h (enum): Add MTYPE_RIP_PEER.
1454 2000-01-15 Toshiaki Takada <takada@zebra.org>
1456 * memory.h (enum): Add MTYPE_OSPF_CRYPT_KEY.
1458 2000-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1460 * command.h (node_type ): Add MASC_NODE for masc.
1462 2000-01-09 Wang Jianliang <wangjl@soim.net>
1464 * routemap.c (route_map_index_add): When route_map_index is not
1465 empty and insert new item at the head, it can cause core dump.
1466 Fix "if (index == map->head)" to "if (point == map->head).
1467 (route_map_add_set): If there is an old set command, override old
1468 set command with new one.
1469 (route_map_index_delete): Use while() instead of for for() for
1470 logical correctness.
1472 1999-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1474 * memory.h (enum): Add MTYPE_BGP_STATIC.
1476 1999-12-23 Alex Zinin <zinin@amt.ru>
1477 * zebra.h, zclient.*: dynamic int up/down message
1480 1999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1482 * thread.c (thread_cancel_event): Add a function for clean up
1485 1999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1487 * dropline.c: Delete file.
1488 dropline.h: Linewise.
1490 1999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1492 * filter.c (access_list_filter_delete): Wrong pointer
1493 access->master was pointed out after access is freed. I store
1494 master value at the beginning of the function.
1496 1999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1498 * vty.c (exec_timeout): Change of VTY timeout affect to current
1500 (vty_accept): Instead of immediate exit() return -1.
1502 1999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1504 * vty.c (vty_configure_lock): Configuration lock function added.
1505 Only one VTY can use CONFI_NODE at the same time.
1507 * log.c: Delete zvlog_* functions. Now zlog_* does the same
1510 * log.c (log_init): Function removed.
1511 (log_close): Likewise.
1512 (log_flush): Likewise.
1513 (log_open): Likewise.
1515 * vty.c (terminal_monitor): Add new command.
1516 (no_terminal_monitor): Likewise.
1518 * log.c (old_log): Function removed.
1519 (old_log2): Likewise.
1520 (old_log_warn): Likewise.
1522 1999-12-04 Toshiaki Takada <takada@zebra.org>
1524 * command.c (cmd_ipv6_match): New function added.
1525 (cmd_ipv6_prefix_match): Likewise.
1527 1999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1529 * command.c (cmd_ipv6_match):
1531 * table.c: Delete #ifdef HAVE_MBGPV4.
1533 * prefix.h (struct prefix): Add safi member.
1534 (struct prefix_ipv4): Likewise.
1535 (struct prefix_ipv6): Likewise.
1537 1999-12-04 Rumen Svobodnikov <rumen@linux.tu-varna.acad.bg>
1539 * memory.c (struct mstat): Revert to support MEMORY_LOG.
1541 1999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1543 * version.h: Bump up to 0.81c for testing new kernel codes.
1545 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1547 * thread.h (struct thread): Pthread support is disabled all
1550 1999-11-21 Michael Handler <handler@sub-rosa.com>
1552 * Include <limits.h> and <strings.h> under SUNOS_5.
1554 1999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1556 * sockunion.c (in6addr_cmp): Enclosed by #define HAVE_IPV6
1557 1999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1559 * command.h (node_type ): Add BGP_IPV4_NODE and BGP_IPV6_NODE.
1561 1999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1563 * command.c (disable): Add `disable' command.
1565 1999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1567 * plist.c (vty_prefix_list_install): Add any check.
1569 1999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1571 * command.h (node_type ): Add DUMP_NODE.
1573 1999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1575 * smux.c: Change default SMUX oid to compatible with gated.
1577 1999-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1579 * if_rmap.c: New file added.
1581 * if_rmap.h: New file added.
1583 1999-10-29 Alex Zinin <zinin@amt.ru>
1585 * hash.c: add hash_free() function
1587 1999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1589 * hash.c (hash_clean): Add clean function.
1591 * plist.c (prefix_list_reset): Add reset function.
1593 * filter.c (access_list_reset): Add reset function.
1595 1999-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1597 * client.c: Merged with zclient.c.
1598 * client.h: Merged with zclient.h.
1600 1999-10-15 Jordan Mendelson <jordy@wserv.com>
1602 * md5.c: Imported from GNU C Library.
1603 * md5-gnu.h: Likewise.
1605 1999-10-15 Jochen Friedrich <jochen@scram.de>
1607 * smux.c (smux_getresp_send): SMUX_GETRSP codes improvement.
1609 1999-10-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1611 * smux.h: New file added.
1613 * snmp.c: Rename to smux.c.
1615 1999-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1617 * command.c (cmd_execute_command_strict): Filter ambious commands.
1618 (cmd_filter_by_string): Change to return enum match_type.
1620 1999-10-01 Toshiaki Takada <takada@zebra.org>
1622 * vty.c (vty_describe_fold): New function which does VTY
1623 description line fold.
1624 * vty.c (vty_describe_command): Set description column.
1626 1999-09-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1628 * plist.c (prefix_list_init_ipv4): VTY user interface is improved.
1630 1999-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1632 * command.c (cmd_filter_by_string): Fix bug of CMD_IPV4 and
1633 CMD_IPV4_PREFIX check. Both return type must be exact_match.
1635 1999-09-24 Toshiaki Takada <takada@zebra.org>
1637 * command.c (cmd_filter_by_completion),
1638 (is_cmd_ambiguous): Check IPv4 address, IPv4 prefix and range
1639 parameter matches range.
1641 1999-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1643 * routemap.c (route_map_apply): Returm RM_DENYMATCH when no match
1646 1999-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1648 * vty.c (vty_read): Control-C stop VTY_MORE mode.
1650 1999-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1652 * command.h (node_type ): Add ACCESS_IPV6_NODE and
1655 * distribute.h: New file added.
1657 * command.h (node_type ): Delete DISTRIBUTE_NODE.
1659 1999-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1661 * vty.c (vty_terminate_all): New function added for reload
1664 1999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1666 * memory.h (enum): Add new type MTYPE_OSPF_EXTERNAL_ROUTE.
1668 1999-08-31 Janos Farkas <chexum@shadow.banki.hu>
1670 * vty.c (vty_read): Handle also 0x7f (alt-backspace), just like
1671 esc-ctrl-h (delete word backwards).
1673 1999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1675 * if.h: Add if_nametoindex for NRL.
1677 1999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1679 * if.c (if_create): New function.
1681 1999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1685 1999-08-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1687 * stream.c (stream_put): stream_memcpy () is changed to stream_put
1688 (). stream_get () is added.
1690 1999-08-18 Toshiaki Takada <takada@zebra.org>
1692 * memory.h (enum): Add MTYPE_OSPF_LSA_DATA.
1694 1999-08-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1696 * table.c (route_table_finish): add function frees table.
1698 1999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1700 * memory.h (enum): Add MTYPE_RTADV_PREFIX.
1702 1999-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1704 * if.h (struct interface ): hw_address, hw_address_len added.
1706 1999-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1708 * if.h (struct interface ): Change structure member if_data to
1709 info, index to ifindex.
1711 1999-08-08 Rick Payne <rickp@rossfell.co.uk>
1713 * routemap.c: Multi protocol route-map modification.
1715 * routemap.c (route_map_apply): Route match process bug is fixed.
1717 1999-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1719 * thread.c (thread_fetch): When signal comes, goto retry point.
1721 1999-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1723 * Makefile.am: Add sockopt.c and sockopt.h
1724 * sockopt.c: New file.
1725 * sockopt.h: New file.
1727 1999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1729 * version.h (ZEBRA_VERSION): Release zebra-0.75
1731 1999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1733 * memory.h (enum): Add MTYPE_RIPNG_AGGREGATE.
1735 1999-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1737 * sockunion.h: Add sockunion_getpeername ().
1739 1999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1741 * version.h: Release zebra-0.74
1743 1999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1745 * command.h (struct host): Delete lines from struct host. Add
1746 lines to struct vty.
1748 * command.c: Delete `lines LINES'. Terminal display line settings
1749 should be done by `terminal length' command.
1751 1999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1753 * memory.h (enum): MTYPE_OSPF_PATH are added.
1755 1999-07-22 Toshiaki Takada <takada@zebra.org>
1757 * memory.h (enum): MTYPE_OSPF_NEXTHOP is added.
1759 1999-07-21 Toshiaki Takada <takada@zebra.org>
1761 * linklist.c (list_add_node_prev), (list_add_node_next),
1762 (list_add_list): New function added.
1764 * table.c (route_table_free): New function added.
1766 1999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1768 * plist.c (config_write_prefix): Set write flag when configuration
1771 1999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1773 * prefix.c : prefix_cmp() added. change apply_mask() to
1774 apply_mask_ipv4(), and new apply_mask() added.
1776 1999-07-14 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1778 * prefix.c (prefix2str): append prefixlen.
1780 1999-07-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1782 * command.c (config_terminal): Change "config terminal" to
1783 "configure terminal". Reported by Georg Hitsch
1785 (config_terminal_length): `terminal length <0-512>' is added. At
1786 this moment this command is only usef for vty interface.
1787 Suggested by Georg Hitsch <georg@atnet.at>.
1789 1999-07-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1791 * routemap.c (rulecmp): Add wrapper function of strcmp.
1793 1999-07-08 Rick Payne <rickp@rossfell.co.uk>
1795 * sockunion.c (inet_aton): Fix bug of inet_aton.
1797 1999-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1799 * version.h (ZEBRA_VERSION): Start zebra-0.73
1801 1999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1803 * version.h: Bump up to 0.72.
1805 1999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1807 * command.c (install_default): New function for install default
1808 commands to the node.
1810 * memory.h (enum): MTYPE_NEXTHOP is added.
1812 1999-07-01 <kunihiro@zebra.org>
1814 * command.c (no_banner_motd): `no banner motd' command added.
1816 1999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1818 * regex.c: Update to glibc-2.1.1's posix/regex.c
1820 * regex-gnu.h: Update to glibc-2.1.1's posix/regex.h
1822 * prefix.h (IPV4_ADDR_SAME): Macro added.
1823 (IPV6_ADDR_SAME): Likewise.
1825 1999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1827 * memory.h (enum): Add MTYPE_OSPF_VERTEX
1829 * version.h: Bump up to 0.71.
1831 * vty.c (vty_serv_sock_addrinfo): Use addrinfo function to bind
1832 VTY socket when IPv6 is enabled.
1834 1999-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1836 * vty.c (vty_serv_sock): Change vty_serv_sock determine which
1837 address family to bind.
1839 * command.c: Add quit command.
1841 1999-06-26 NOGUCHI kay <kay@dti.ad.jp>
1843 * vty.c (vty_read_config): Fix bug of configuration file path
1846 1999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1848 * version.h: Bump up to 0.70.
1850 1999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1852 * buffer.h (GETL): Remove GETL macro.
1854 * version.h: Bump up to 0.69.
1856 1999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1858 * if.c (connected_add): Commented out connected_log.
1860 1999-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1862 * command.h (struct cmd_element ): strvec and descvec is combined
1865 * command.c (desc_make): Function removed.
1866 (desc_next): Function removed.
1868 * command.h (struct cmd_element ): docvec is removed from struct
1871 1999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1873 * command.c (cmd_execute_command): Remove command NULL check.
1875 * command.h (struct cmd_element ): Add newstrvec entry to struct
1877 (DEFUN2): DEFUN2 macro is removed. DEFUN is extended to support
1879 (DESC): DESC macro is removed.
1881 * vty.c (vty_complete_command): When return value is
1882 CMD_ERR_NO_MATCH, don't display error message.
1884 1999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1886 * table.c (route_next_until): New function.
1888 * version.h: Bump up to 0.68.
1890 1999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1892 * vty.c (vty_close): Free vty->buf when vty is closed.
1894 * memory.h (enum): Add MTYPE_COMMUNITY_ENTRY and
1895 MTYPE_COMMUNITY_LIST.
1897 * vty.h (struct vty ): Change buf from static length buffer to
1898 variable length buffer.
1900 * vty.c (vty_ensure): New function added.
1902 1999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1904 * command.h (node_type ): Add COMMUNITY_LIST_NODE.
1906 * command.c (config_enable_password): Freeing host.enable bug is
1908 (config_enable_password): Add argc count check.
1910 1999-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1912 * version.h: Bump up to 0.67.
1914 1999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1916 * command.c (zencrypt): New function for encrypt password.
1918 * command.h (struct host): Add password_encrypt and
1921 1999-05-30 Jochen Friedrich <jochen@scram.de>
1923 * command.h (struct host): New member encrypt is added for
1926 1999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1928 * vty.c: Remove all_digit_check function. Instead use all_digit.
1930 * prefix.c (all_digit): New function for checking string is made
1931 from digit character.
1933 1999-05-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1935 * Makefile.am (libzebra_a_SOURCES): Add zclient.c.
1936 (noinst_HEADERS): Add zclient.h
1938 * zclient.[ch]: New file for zebra client routine.
1940 * memory.h (enum): Add MTYPE_ZEBRA.
1942 1999-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1944 * version.h (ZEBRA_VERSION): Update to 0.66.
1946 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1948 * buffer.h (GETC,GETW): Macro deleted.
1950 1999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1952 * prefix.h (IPV4_NET0, IPV4_NET127): Macro added.
1954 1999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1956 * vty.c (service_advanced_vty): New command added.
1957 (no_service_advanced_vty): Likewise.
1959 1999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1961 * vty.c (vty_auth): If advanced flag is set and enable password is
1962 not set, directly login to the ENABLE_NODE. This feature is
1963 originally designed and implemented by Stephen R. van den Berg
1966 * command.h (host): Add advanced flag to struct host for advanced
1967 vty terminal interface.
1969 * version.h (ZEBRA_VERSION): Update to 0.65 for next beta release.
1971 1999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1973 * command.h (node_type ): Add TABLE_NODE.
1975 * vty.c (vty_telnet_option): Check host.lines value.
1977 * command.c (config_lines): DEFUN for 'lines LINES' command.
1979 * zebra.h: Include <sys/utsname.h> for uname().
1980 (RT_TABLE_MAIN): Defined as 0 if OS does not support multiple
1983 * vty.c (vty_auth): Directly login to the ENABLE_NODE when enable
1984 password is not set.
1985 (vty_prompt): Get machine's hostname when hostname is not set.
1987 1999-05-11 James Willard <james@whispering.org>
1989 * command.c (config_exit): Close connection when `exit' command is
1990 executed at ENABLE_NODE.
1992 1999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1994 * vty.c (vty_stop_input): `C-c' key change node to ENABLE_NODE.
1996 * command.c (cmd_execute_command_strict): Matched command size
1998 (cmd_make_desc_line): New function for DEFUN2.
2000 * command.h (struct cmd_element ): Add descsize.
2002 1999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2004 * command.h (struct cmd_element ): Remame descvec to docvec.
2005 (struct cmd_element ): Add descvec for new description system.
2007 * command.c (desc_make): Check cmd->descvec.
2009 1999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2011 * memory.h (enum): Add MTYPE_CLUSTER, MTYPE_CLUSTER_VAL.
2013 1999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2015 * version.h (ZEBRA_VERSION): Bump up to 0.64 for next beta
2018 1999-05-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2020 * linklist.c (list_delete_all_node): bug fix.
2021 previous code loses current position when node
2024 1999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2026 * command.h (DESC): Macro added.
2027 (struct cmd_element2): Delete struct cmd_element2.
2029 * plist.c (prefix_list): Sequential number option check is added.
2031 1999-05-02 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2033 * log.c (zvlog_{debug,info,notice,warn,err}): have been
2034 added. now we can log both console and file, but still
2035 need some fix about config write.
2037 1999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2039 * log.c (zvlog_debug): Fix yasu's change.
2041 1999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2043 * plist.c (prefix_list): Fix typo.
2045 1999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2047 * Set version to 0.63 for first beta package.
2049 1999-04-27 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2051 * prefix.c (str2prefix_ipv4): Fix prefix length check.
2052 (str2prefix_ipv6): Likewise.
2054 1999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2056 * memory.h (enum): Add MTPYE_PREFIX_LIST and
2057 MTYPE_PREFIX_LIST_ENTRY.
2059 * command.h (node_type ): Add PREFIX_NODE.
2061 1999-04-25 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2063 * command.c: ALIAS (config_write_memory_cmd) and ALIAS
2064 (copy_runningconfig_startupconfig_cmd) is added.
2066 * table.c (route_node_lookup): Unused match variable deletion.
2068 1999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2070 * Makefile.am (libzebra_a_SOURCES): plist.c added.
2071 (noinst_HEADERS): plist.h added.
2073 * plist.c, plist.h: New file added.
2075 * memory.h (enum): Rename MTYPE_AS_PASN to MTYPE_AS_STR.
2076 * memory.c: Likewise.
2078 1999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2080 * command.c (show_version): `show version' command added.
2082 1999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2084 * prefix.c (str2prefix_ipv6): Prefix length overflow check.
2086 1999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2088 * prefix.c (str2prefix_ipv4): Prefix length overflow check.
2090 1999-04-19 Alex Bligh <amb@gxn.net>
2092 * prefix.c (sockunion2hostprefix): Function added.
2093 (sockunion2prefix): Address family was not set. Now it is set.
2095 * vty.c: VTY access-class command is added.
2097 1999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2099 * memory.c: Change xmalloc to zmalloc. xcalloc, xrealloc, xfree,
2100 xstrdup are likewise.
2102 1999-04-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2104 * thread.c: Add thread_execute for other routing daemon.
2105 OSPF tasks need to be generated by "sheduled" and "executed".
2107 1999-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2109 * buffer.c: Rewrite buffer_write and buffer_flush related
2110 functions for fixing bugs. Reason of the problem and fix is
2111 suggested by Alex Bligh <amb@gxn.net>.
2113 1999-04-12 Alex Bligh <amb@gxn.net>
2115 * command.c (cmd_entry_function_descr): Added for variable
2116 argument help display.
2118 1999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2120 * regex.c, regex-gnu.h: Imported from GNU sed-3.02 distribution.
2122 1999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2124 * stream.c: stream_fifo_free bug is fixed.
2126 1999-03-19 Toshiaki Takada <takada@zebra.org>
2128 * stream.c (stream_strncpy): Added for getting any length bytes
2131 1999-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2133 * version.h (ZEBRA_BUG_ADDRESS): New macro added.
2135 1999-03-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2137 * buffer.c (buffer_flush_window): If ep is same as buffer's size
2138 length and lp is overrun one octet.
2140 1999-03-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2142 * vty.h: add VTY's timeout function.
2144 1999-03-05 <kunihiro@zebra.org>
2146 * command.h (node_type ): Add OSPF6_node.
2148 1999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2150 * zebra.h: Check HAVE_SYS_SELECT_H when include <sys/select.h>
2152 1999-03-03 Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
2154 * zebra.h: Include <net/if_var.h> if it exists.
2156 1999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2158 * getopt.[ch],getopt1.c: Sync with glibc-2.1.
2160 * log.c (zlog): Tempolary ZLOG_STDOUT feature added.
2162 * command.h: Include vector.h and vty.h
2164 1999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2166 * routemap.h (struct route_map_rule_cmd): Add prefix arguemnt.
2168 * routemap.c (route_map_apply_index): Add prefix argument.
2169 (route_map_apply): Likewise.
2171 * memory.h (enum): Add MTYPE_ROUTE_MAP_COMPILED.
2173 * stream.c: Add stream_fifo related functions.
2175 1999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2177 * daemon.c: Return integer value. File descriptor close is added.
2179 * memory.h (enum): add MTYPE_OSPF_LSA.
2181 1999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2183 * rsh.c: Remove empty file.
2185 1999-02-22 <kunihiro@zebra.org>
2187 * routemap.c: Add add/delete hook to route_map_master.
2189 1999-02-19 Peter Galbavy <Peter.Galbavy@knowledge.com>
2191 * str.[ch] added to supply wrappers for snprintf(), strlcat() and
2192 strlcpy on system without these.
2194 1999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2196 * syslog support added
2198 1999-02-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2200 * filter.c (access_list_add_hook): added for hook function management.
2201 * filter.c (access_list_delete_hook): Likewise.
2203 1999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2205 * stream.c: New file.
2206 * stream.h: New file.
2207 * Divide stream related fucntions from buffer.[ch] into stream.[ch].
2209 1999-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2211 * memory.h (enum): add MTYPE_STREAM, MTYPE_STREAM_DATA
2213 * buffer.c (stream_new): Set MTYPE_STREAM to XMALLOC argument.
2215 1998-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2217 * routemap.c: route_map_index_delete() added.
2219 1998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2221 * buffer.c (buffer_empty): check cp instead of sp.
2223 1998-12-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2225 * radix.[ch]: Deleted.
2227 1998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2229 * buffer.c: Prototype fixes.
2230 * prefix.c: Likewise.
2231 * sockunion.c: Likewise.
2232 * sockunion.h: Likewise.
2234 1998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2236 * vty.c (vty_read): DELETE key works as vty_delete_char.
2238 1998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2240 * log.c (time_print): chane %y to %Y.
2242 1998-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2244 * distribute.c: new file.
2246 1998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2248 * filter.c: Remove all of struct prefix_{ipv4,ipv6} and add
2249 complete support of IPv6 access list.
2251 * command.c (config_write_element): function delete.
2252 (config_write_host): function add. password and enable password
2253 isn't printed to vty interface.
2255 1998-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2257 * filter.c: Change prefix_ipv4 to prefix and add support of
2258 prefix_ipv6 filtering.
2260 1998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2262 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6 inet6-apps
2265 1998-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2267 * log.c (log_flush): fix function name typo.
2269 1998-12-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2271 * memory.h: OSPF memory type is added.
2273 1998-11-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2275 * command.c (sort_node): add sort_node() for pretty printing of
2276 command on vty interface.
2277 (config_password): delete the restriction of charaster of password
2280 1998-09-05 Kunihiro Ishiguro <kunihiro@debian.zebra.org>
2282 * prefix.c (prefix_ipv4_any): add prefix_ipv4_any().
2284 1998-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2286 * network.h: New file.
2288 1998-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2290 * vty.c (vty_will_echo): function name change from vty_off_echo.
2292 1998-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2294 * buffer.h: add PUTC,PUTW,PUTL macros.
2296 1998-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2298 * route.[ch]: renamed to prefix.[ch]
2300 1998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2302 * prefix_in, prefix_in6 is replaced by prefix_ipv4, prefix_ipv6.
2304 * Makefile.am: @INCLUDES@ is deleted from INCLUDES.
2306 1998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2308 * host.[ch]: merged with command.[ch]
2310 1998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2312 * Makefile.am (libzebra_a_SOURCES): add route.c to libzebra_a_SOURCES.
2314 1998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2316 * route.c (str2prefix): str2prefix () is gone.
2318 1998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2320 * vty.c (vty_read_config): change CONDIR to SYSCONFDIR.
2322 * .cvsignore: add file.
2324 * memory.c (xerror): add arguent `type' and `size'.
2326 * socket.c: deleted.
2328 1998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2330 * vector.c: malloc,free,realloc -> XMALLOC,XFREE,XREALLOC.
2331 * linklist.c: same as above.
2333 1998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2335 * filter.[ch]: added.
2337 1998-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2339 * vty.c (config_who): return CMD_SUCCESS
2341 1998-04-01 Jochen Friedrich <jochen@scram.de>
2343 * table.c (route_dump_node): route_dump_node is IPv6 specific
2344 function so move #ifdef to the end of route_dump_node ().
2346 1998-03-05 "Hannes R. Boehm" <hannes@boehm.org>
2348 * if.c: DEFUN(interface_desc) added.
2350 1998-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2352 * if.c: separated from ripd/rip_interface.c
2354 1998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2356 * thread.[ch] : added.
2358 1998-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2360 * vty.c (vty_delete_char): fix size bug.
2361 (vty_backward_pure_word): function added.
2362 (vty_read): ESC + 'f' perform vty_forward_word.
2363 (vty_read): ESC + 'b' perform vty_backward_word.
2365 1998-02-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2367 * radix.c (radix_lookup_rt): add mask check.
2368 (radix_delete_duproute): add mask check.
2370 1998-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2372 * command.c (config_write_file): fix vty -> file_vty.
2374 1998-02-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2376 * command.c (cmd_filter_ambiguous): add complex type treatment.
2378 1998-02-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2380 * vty.c (vty_time_print): function added.
2381 (vty_complete_command): now [...] element isn't shown by completion.
2383 1998-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2385 * command.c : change from cmd_install_node() to install_node().
2387 1998-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2389 * route.[ch]: struct rt{} is replaced by struct prefix{}.
2391 1998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2393 * command.c (cmd_execute_command): check command length.
2395 * timer.c (zebra_timer_set): add zebra_timer_set.
2397 1998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2399 * command.h (node_type ): add ZEBRA_NODE.
2401 * command.c (config_exit): add RIP_NODE.
2402 (config_write_file): add RIP_NODE.
2404 1998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2406 * print_version.c (print_version): Now Copyright is 1996-1998.
2408 * sockunion.c (sockunion_log): moved from ../zebra/route.c
2410 1997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2412 * host.c (config_logfile): change 'log PATH' to 'logfile PATH'.
2414 * sockunion.c (sockunion_sameprefix): add same prefix for
2417 1997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2419 * radix.[ch] : are moved from ../zebra directroy.
2421 * command.c (config_from_file): if command execution failed down
2422 level to CONFIG_NODE.
2424 * host.c: config_log function which enable 'log FILENAME' command.
2426 1997-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2428 * vty.c: add vty_transpose_chars (). Now you can use '^T' to
2429 transpose character.
2431 * command.c: cmd_cmdsize add, this is useful to check incomplete
2434 1997-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2436 * fd.h: add family for address family
2438 1997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2442 * host.o is moved from ../zebra
2444 1997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2446 * make library directory.