]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
19 years ago2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Sat, 20 Nov 2004 02:06:59 +0000 (02:06 +0000)]
2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* global: Replace strerror with safe_strerror.  And vtysh/vtysh.c
  needs to include "log.h" to pick up the declaration.

19 years agoFix previous change to use new function safe_strerror instead of strerror.
ajs [Fri, 19 Nov 2004 23:43:10 +0000 (23:43 +0000)]
Fix previous change to use new function safe_strerror instead of strerror.

19 years ago2004-11-19 David Young <dyoung@pobox.com>
ajs [Fri, 19 Nov 2004 23:40:16 +0000 (23:40 +0000)]
2004-11-19 David Young <dyoung@pobox.com>

* log.c: (safe_strerror) New function: safe wrapper for strerror.

19 years ago2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Fri, 19 Nov 2004 18:29:22 +0000 (18:29 +0000)]
2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* sockopt.c: (setsockopt_so_recvbuf) Stop error message from being
  printed every time.

19 years agoMake quagga.info in cvs actually useful for those who haven't latest
hasso [Fri, 19 Nov 2004 06:41:49 +0000 (06:41 +0000)]
Make quagga.info in cvs actually useful for those who haven't latest
makeinfo:
* Don't attempt to generate it after every ./configure.
* Don't remove it while cleaning up.

19 years agoadd note about alignment in LS updates due to opaque LSAs.
gdt [Wed, 17 Nov 2004 17:59:52 +0000 (17:59 +0000)]
add note about alignment in LS updates due to opaque LSAs.

19 years ago2004-11-17 Paul Jakma <paul@dishone.st>
paul [Wed, 17 Nov 2004 06:58:31 +0000 (06:58 +0000)]
2004-11-17 Paul Jakma <paul@dishone.st>

* INSTALL.quagga.txt: texinfo version corrected, so section on
          that 4.7-x being unknown is not needed.

19 years ago2004-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Tue, 16 Nov 2004 14:25:30 +0000 (14:25 +0000)]
2004-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* memory.h: Fix prototype for memory_init().
* memory.c: Declare many functions and data structures static instead
  of global.  Fix prototype for memory_init().

19 years ago2004-11-15 Paul Jakma <paul@dishone.st>
paul [Mon, 15 Nov 2004 21:56:53 +0000 (21:56 +0000)]
2004-11-15 Paul Jakma <paul@dishone.st>

* quagga.info: Add generated file to CVS, as it requires most recent
          texinfo to build, until such time as texinfo 4.7 is more
          prevalent.

19 years agoNote that autoreconf should be invoked as 'autoreconf -i'.
ajs [Mon, 15 Nov 2004 19:43:16 +0000 (19:43 +0000)]
Note that autoreconf should be invoked as 'autoreconf -i'.

19 years agoNote that <dollar>Id:$ should be included in all files.
gdt [Mon, 15 Nov 2004 19:23:47 +0000 (19:23 +0000)]
Note that <dollar>Id:$ should be included in all files.

19 years agoRationalize CMSG_SPACE usage:
gdt [Mon, 15 Nov 2004 18:51:15 +0000 (18:51 +0000)]
Rationalize CMSG_SPACE usage:

  in lib/zebra.h, ensure that RFC3542-required CMSG_SPACE and CMSG_LEN
  are defined.  Warn if alignment assumptions are made, since they are
  i386-centric.

  in lib/sockopt.h, declare that sockopt sizes are without
  CMSG_SPACE-required padding - just simple sizeof.

  in ospfd/ospf_packet.c, simply use CMSG_SPACE

This should remove all instances of CMSG_ALIGN from the source code.
This is a nonstandard, though rational, construct; quagga should use
only those defines in RFC3542.

19 years agoMake explicit that bumping required tool versions needs thought.
gdt [Mon, 15 Nov 2004 17:29:11 +0000 (17:29 +0000)]
Make explicit that bumping required tool versions needs thought.

19 years agoNote that either BSD make or GNU make works, and note versions.
gdt [Mon, 15 Nov 2004 17:26:47 +0000 (17:26 +0000)]
Note that either BSD make or GNU make works, and note versions.

Adjust required texinfo version to 4.7 from 4.7-4.
Clarify quagga.info build process.

19 years ago2004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Mon, 15 Nov 2004 16:12:32 +0000 (16:12 +0000)]
2004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* memory.c: (zerror) Use zlog_err instead of fprintf to stderr.
  Instead of exiting, log currenty memory usage and then abort.
  (log_memstats) New function to log memory statistics, called by
  zerror.
  (show_memory_all) Loop over new mlists array instead of calling
  show_memory_vty separately for each memory_list.

19 years agoAdd $Id:$.
gdt [Mon, 15 Nov 2004 15:34:50 +0000 (15:34 +0000)]
Add $Id:$.

Add 'philosophy' note about balance between modern and being ok for
those tracking stable.

question 4.7-4 as a texinfo version (no such nomenclature on texinfo
site - something specific to some Linux distribution?).

Note that NetBSD provides texinfo 4.6 in the base system.

19 years ago2004-11-15 Paul Jakma <paul@dishone.st>
paul [Mon, 15 Nov 2004 11:48:37 +0000 (11:48 +0000)]
2004-11-15 Paul Jakma <paul@dishone.st>

* ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.

19 years ago2004-11-15 Paul Jakma <paul@dishone.st>
paul [Mon, 15 Nov 2004 00:45:44 +0000 (00:45 +0000)]
2004-11-15 Paul Jakma <paul@dishone.st>

* routeserver.texi: Strip ctrl-M from line endings, note by
  sigma@smx.pair.com

19 years ago2004-11-12 Paul Jakma <paul@dishone.st>
paul [Fri, 12 Nov 2004 10:52:19 +0000 (10:52 +0000)]
2004-11-12 Paul Jakma <paul@dishone.st>

* ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
          ignore stub area summary default. Even so it seems a strange
          check, add a comment to that effect.

19 years ago2004-11-12 Paul Jakma <paul@dishone.st>
paul [Fri, 12 Nov 2004 10:30:21 +0000 (10:30 +0000)]
2004-11-12 Paul Jakma <paul@dishone.st>

* INSTALL.quagga.txt: Some quagga specific INSTALL notes.
* README: s/GNU Zebra/Quagga/ and refer to IS-IS support.

19 years ago2004-11-12 Paul Jakma <paul@dishone.st>
paul [Fri, 12 Nov 2004 09:44:03 +0000 (09:44 +0000)]
2004-11-12 Paul Jakma <paul@dishone.st>

* INSTALL: update-autotools, autoreconf -i will install this, remove
  the file so it always matches the autoconf which created
          configure (ie the quagga snapshot producing host).

19 years ago- urg, fix the missing close bracket from previous commit
paul [Fri, 12 Nov 2004 09:27:04 +0000 (09:27 +0000)]
- urg, fix the missing close bracket from previous commit

19 years ago2004-11-12 Paul Jakma <paul@dishone.st>
paul [Fri, 12 Nov 2004 09:05:00 +0000 (09:05 +0000)]
2004-11-12 Paul Jakma <paul@dishone.st>

* configure.ac: Fix AC_CONFIG_FILES, the chmod seems to run for
          every input file, should be only be for vtysh/extract.pl, so that
  should be a seperate AC_CONFIG_FILES.

19 years ago2004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 11 Nov 2004 14:03:39 +0000 (14:03 +0000)]
2004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing
  '\0' chars and command return code.

19 years ago2004-11-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 10 Nov 2004 22:02:05 +0000 (22:02 +0000)]
2004-11-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

        * redhat/quagga.spec.in: add comments showing how to get gcc verbosity

19 years agoRemove unused dont_more variable in vty_flush and add return 0 to vtysh_write.
ajs [Wed, 10 Nov 2004 15:40:09 +0000 (15:40 +0000)]
Remove unused dont_more variable in vty_flush and add return 0 to vtysh_write.

19 years ago2004-11-09 Paul Jakma <paul@dishone.st>
paul [Tue, 9 Nov 2004 01:54:03 +0000 (01:54 +0000)]
2004-11-09 Paul Jakma <paul@dishone.st>

* bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
  and cache{1,2}.. into arrays of tables and hence collapse
          bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though
          a long time ago (and this change was hand-merged).

19 years ago2004-11-08 Paul Jakma <paul@dishone.st>
paul [Mon, 8 Nov 2004 17:38:30 +0000 (17:38 +0000)]
2004-11-08 Paul Jakma <paul@dishone.st>

* configure.ac: bump version to 0.97.3, release imminent.

19 years ago- use makeinfo --html to generate quagga.html
paul [Mon, 8 Nov 2004 17:36:29 +0000 (17:36 +0000)]
- use makeinfo --html to generate quagga.html

19 years agoOops, wrong date on changelog entries..
paul [Mon, 8 Nov 2004 17:34:07 +0000 (17:34 +0000)]
Oops, wrong date on changelog entries..

19 years ago2004-11-07 Paul Jakma <paul@dishone.st>
paul [Mon, 8 Nov 2004 16:28:39 +0000 (16:28 +0000)]
2004-11-07 Paul Jakma <paul@dishone.st>

* Makefile.am: Add routeserver.texi to quagga_TEXINFOS.
  Add quagga.info to clean files list (would have thought automake
          would have done this, but it doesnt seem to)

19 years ago2004-11-07 Paul Jakma <paul@dishone.st>
paul [Mon, 8 Nov 2004 15:43:21 +0000 (15:43 +0000)]
2004-11-07 Paul Jakma <paul@dishone.st>

* buffer.c: Add missing include of log.h.
  (buffer_flush_available) written is compared against
  mostly against unsigned types, only for the writev do we need
          signed compare, so declare it as size_t and cast it to ssize_t
          just for the error compare when we've called writev.
* buffer.h: Add comment that buffer data sizes really should be
          size_t.

19 years ago2004-11-07 Paul Jakma <paul@dishone.st>
paul [Mon, 8 Nov 2004 12:08:35 +0000 (12:08 +0000)]
2004-11-07 Paul Jakma <paul@dishone.st>

* quagga.texi: include routeserver.texi. TODO: integrate the current
          multiple-instance orientated bgpd route-server section with the
          new route-server docs.

19 years ago- ignore missing, depcomp and install-sh, the recently removed files.
paul [Mon, 8 Nov 2004 11:53:09 +0000 (11:53 +0000)]
- ignore missing, depcomp and install-sh, the recently removed files.

19 years ago2004-11-06 Paul Jakma <paul@dishone.st>
paul [Sun, 7 Nov 2004 22:34:23 +0000 (22:34 +0000)]
2004-11-06 Paul Jakma <paul@dishone.st>

* configure.ac: Arguments to AC_OUTPUT is deprecated, use
          AC_CONFIG_FILES instead. Rearrange the order slightly to put the
          Makefiles first (silly aesthetic thing, dont know why I had to do
          this ;) ). Add doc/defines.texi to the list.
* NEWS: bgp route-server support added, refer to docs.
* update-autotools: call automake with --add-missing and --copy,
          former is important for obvious reasons, latter for dist files,
          and --gnu to enable whatever extra goodness checks.
* {depcomp, install-sh, missing}: removed, auto-generated files.

19 years ago2004-11-07 Paul Jakma <paul@dishone.st>
paul [Sun, 7 Nov 2004 22:27:27 +0000 (22:27 +0000)]
2004-11-07 Paul Jakma <paul@dishone.st>

* lib/version.h.in: add autoconf configure_input output var

19 years ago* Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
paul [Sun, 7 Nov 2004 22:12:23 +0000 (22:12 +0000)]
* Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
- Fix with_ipv6 set to 0 build

19 years ago2004-11-07 Paul Jakma <paul@dishone.st>
paul [Sun, 7 Nov 2004 19:39:13 +0000 (19:39 +0000)]
2004-11-07 Paul Jakma <paul@dishone.st>

* Makefile.am: Add automatic rule to build pdf's from eps figures.
  Clean *.pdf. Add rule for quagga.pdf (as the eps.pdf pattern
          probably otherwise will override automake's rule for quagga.pdf)
* overview.texi: URL was causing TeX overfull, put on newline.
* quagga.texi: Put the copyright notice into @copying section, as
  is proper. Strip trailling space from the main menu lines.
* rip(ng)?d.texi: Minor reformatting.
* Add the route server docs.
* bgpd.texi: remove unneeded page breaks. The 6Bone example
          overflows though.

19 years ago2004-11-07 Paul Jakma <paul@dishone.st>
paul [Sun, 7 Nov 2004 19:00:16 +0000 (19:00 +0000)]
2004-11-07 Paul Jakma <paul@dishone.st>

* Add the route server docs.
* routeserver.texi: new file, texinfo'fied and slightly modified
          version of the original TeX from James Luis Rubio.
* fig-*.eps: new files, diagrammes.

19 years ago2004-11-06 Paul Jakma <paul@dishone.st>
paul [Sat, 6 Nov 2004 17:13:09 +0000 (17:13 +0000)]
2004-11-06 Paul Jakma <paul@dishone.st>

* defines.texi.in: New file, texi variables should be set here,
          autoconf substitution is available. Define common AUTHORS,
          COPYRIGHT_YEAR and COPYRIGHT_STR vars.
* (global): Make use of makeinfo node pointer auto-creation
          to avoid having to fully specify links for nodes, so we only have
          to specify current node name - simplifies text slightly.
          Remove extraneous newlines which appear to cause extra blank pages
          to be added in output.
          Update copyright strings which appear in various places to
          use the new COPYRIGHT_STR texinfo variable.
  Change url to uref, the former need not output an actual
  hyperlink depending on version of texinfo, the latter should if
  supported by the format (eg PDF).
* texinfo.tex: Update to a more recent version. previous file
  was many many years old. This file should possibly be removed
          altogether, and allowed to be installed by automake.
        * quagga.texi: Make use of automake's version.texi feature to
          have VERSION and some other vars auto-defined. include
          defines.texi. Change copyright strings to use the COPYRIGHT_STR
          variable.
* install.texi: Make the privs section an actual section. Ditto for
  the Linux notes.
* overview.texi: Supply URL for Quagga, where format allows. Tidy up
          one or two paragraphs slightly.
  Update the section on supported platforms.
  Remove the ZNOG list stuff, direct reader to the website for
          further information on email lists.
* vtysh.texi: Update the integrated config file section. Make the
  commands sections so correct PDF indexes are built.

19 years ago2004-11-05 Paul Jakma <paul@dishone.st>
paul [Fri, 5 Nov 2004 23:38:20 +0000 (23:38 +0000)]
2004-11-05 Paul Jakma <paul@dishone.st>

* HACKING: Expand on ChangeLogs, eg current practice for certain
          directories and certain other meta-data is not to maintain a
          ChangeLog. Expand on the commit message, IMHO, commit message
          should always be ChangeLog for files where ChangeLog is kept.
  Solaris is supported on any platform (with, at moment, an
          additional patch).

19 years ago2004-11-05 Phil Spagnolo <phillip.a.spagnolo@boeing.com>
gdt [Fri, 5 Nov 2004 18:42:27 +0000 (18:42 +0000)]
2004-11-05 Phil Spagnolo <phillip.a.spagnolo@boeing.com>
       * ospf6_flood.c:  When adding a thread to retransmit an lsa after
    rxmt_interval, the ospf6d used thread_add_event().  However,
    thread_add_event() executes immediately and ignores the delay parameter.
    This was causing unnecesary unicast LSU sends.  Adding the thread has
    been changed to use thread_add_timer() which will expire after delay.
    After the fix results appear consistent with expectation.

19 years agospelling: s/supress/suppress/
ajs [Fri, 5 Nov 2004 13:24:12 +0000 (13:24 +0000)]
spelling: s/supress/suppress/

19 years agoAdjust per-directory vs global ChangeLog to match current practice.
gdt [Fri, 5 Nov 2004 13:17:20 +0000 (13:17 +0000)]
Adjust per-directory vs global ChangeLog to match current practice.

Spelling fixes.

Add Solaris on 64-bit to list of 'supported' platforms.

List NetBSD/sparc64 as a 'future' platform - there aren't enough users
to make it really supported, but it's good at exposing latent bugs
(e.g router advertisement formatting on BSD, and LSA alignment
issues).

Note explicitly that ospf6d and isisd are in 'testing' rather than
'stable'.  (Feel free to correct - just wanted to get more explicit.)

Add note questioning current relevance of isisd.sf.net - is our repo
the canonical place now?

19 years agospelling: s/supress/suppress/
gdt [Fri, 5 Nov 2004 12:59:21 +0000 (12:59 +0000)]
spelling: s/supress/suppress/

19 years ago2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Fri, 5 Nov 2004 01:25:55 +0000 (01:25 +0000)]
2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* vty.h: Remove fields in struct vty that were related to VTY_CONTINUE
  capabilities (that were used only in bgpd/bgp_route.c and are now
  removed).  Also remove some other fields that were not being
  used at all.
* vty.c: (vty_execute) Do not test for obsolete status values VTY_START
  and VTY_CONTINUE.
  (vty_read) Remove calls to vty->output_func since that was part
  of the VTY_CONTINUE infrastructure that has been removed.
  (vty_flush) Remove code to support VTY_START and VTY_CONTINUE.
  (vty_close) Remove code to cancel vty->t_output thread, since that
  thread was never actually used.
* bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
  is deprecated because the output did not represent a single point
  in time.  All output needs to be generated inline and buffered
  by the library code.
  (route_vty_out,route_vty_out_tag,damp_route_vty_out,
   flap_route_vty_out) Remove code to count number of lines of output,
   since this was only useful for VTY_CONTINUE behavior.
  (bgp_show_callback) Removed.
  (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
  As a result, there's a new output_arg argument to this function.
  Make function static.
  (bgp_show) Make function static and add a new output_arg argument.
  Change all functions that call bgp_show or bgp_show_table to
  pass the new output_arg argument (that used to be passed inside
  vty->output_arg).
* bgp_mplsvpn.c: Remove declarations of functions defined in
  bgp_route.c; these declarations belong in bgp_route.h.
* bgp_route.h: Declare 3 global functions used in both bgp_route.c
  and in bgp_mplsvpn.c.

19 years ago2004-11-04 Paul Jakma <paul@dishone.st>
paul [Thu, 4 Nov 2004 20:35:31 +0000 (20:35 +0000)]
2004-11-04 Paul Jakma <paul@dishone.st>

* ospfd.c: (ospf_network_match_iface) revert to previous network
          statement match behaviour.

19 years ago2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 4 Nov 2004 19:26:16 +0000 (19:26 +0000)]
2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* vty.c: Vtysh connections to daemons should use buffering.
  (vty_out) Remove exception for vty_shell_serv, just use buffer_write.
  (vty_new) Increase output buffer size to 4096 rounded up to a
  multiple of pagesize.
  (vtysh_read) After command has been executed and all output buffered,
  call buffer_flush_available and schedule further writes if the
  buffers are not yet empty.
  (vtysh_write) New function to flush output to vtysh when the socket
  is writeable.
  (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh
  clients.  Also, should save read thread in vty->t_read so the
  thread can be cancelled in vty_close.
* buffer.h: In struct buffer_data, remove unused "parent" field.
  Convert "unsigned char *data" to "unsigned char data[0]" to save
  a malloc.  Declare new function buffer_flush_available that works
  with non-blocking sockets.
* buffer.c: (buffer_data_new) Use a single malloc now that data is
  a variable-size array at end of structure.
  (buffer_data_free) Just a single free now that data is part of the
  structure.
  (buffer_write) Simplify the logic to make behavior more transparent.
  (buffer_flush) Decrease b->length as data is written out.
  (buffer_flush_vty_all) Decrease b->length as buffers are freed.
  (buffer_flush_vty) Decrease b->length as data is written out.
  (buffer_flush_available) New function to flush non-blocking sockets.

19 years ago2004-11-02 Paul Jakma <paul@dishone.st>
paul [Tue, 2 Nov 2004 20:26:45 +0000 (20:26 +0000)]
2004-11-02 Paul Jakma <paul@dishone.st>

* ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points
  to it. Add convenience pointer to msg->msg_iov[1], and use this,
  fixing the unfortunate borkenness introduced in moving of this code
  to a function.
  (ospf_write) remove iovp and fix up call to previous.
  (ospf_ls_upd_packet_new) cast size to long int - unfortunately
          glibc's size_t format modifier is not portable.

19 years ago- Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch
paul [Tue, 2 Nov 2004 18:59:49 +0000 (18:59 +0000)]
- Add .arch-ids and .arch-inventory to cvsignore, to allow one to use arch
  with CVS trees.

19 years ago2004-11-01 Paul Jakma <paul@dishone.st>
paul [Mon, 1 Nov 2004 08:59:21 +0000 (08:59 +0000)]
2004-11-01 Paul Jakma <paul@dishone.st>

* sockopt.c: (setsockopt_pktinfo) remove, its unused.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 18:58:09 +0000 (18:58 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* {bgpd,bgp_attr}.c: size_t printf format should be ld.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 18:01:13 +0000 (18:01 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* ospf_packet.c: (ospf_ls_upd_packet_new) Format for size_t should
          be ld.
* ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of
  THREAD_ARG to store an integer, but it should at least use same
          same type to retrieve the value. Assert value is sane.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 16:43:17 +0000 (16:43 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* thread.c: Use XCALLOC and sizeof the type, not the pointer.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 16:29:50 +0000 (16:29 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* smux.c: fix int to size_t compile warnings

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 16:19:24 +0000 (16:19 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS
* thread.c: Update stats and funcname alloc/free to use previous
  specific memory type defines

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 16:15:33 +0000 (16:15 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 11:24:51 +0000 (11:24 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* ospf_packet.c: (ospf_write_frags) Add debug output
  (ospf_write) set type early, so we can pass it to
  ospf_write_frags.
  (ospf_ls_upd_packet_new) print size in debug output when too large
  packet is encountered.

19 years ago- update cvs ignore, ignore quagga.dvi, quagga.ps, etc.
paul [Sun, 31 Oct 2004 11:21:16 +0000 (11:21 +0000)]
- update cvs ignore, ignore quagga.dvi, quagga.ps, etc.

19 years ago2004-10-31 Paul Jakma <paul@dishone.st>
paul [Sun, 31 Oct 2004 02:13:09 +0000 (02:13 +0000)]
2004-10-31 Paul Jakma <paul@dishone.st>

* vty.c: As per Andrew's suggestions..
  (vty_serv_un) remove flags.
  (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.

19 years ago2004-10-29 Paul Jakma <paul@dishone.st>
paul [Fri, 29 Oct 2004 08:29:36 +0000 (08:29 +0000)]
2004-10-29 Paul Jakma <paul@dishone.st>

* vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un
  to vtysh_accept, where sock is the actual fd we wanted to set to
          O_NONBLOCK, ie the /connected/ vtysh unix socket.

19 years ago- lib/ dir shouldnt be conditional, remove bad dir attribute from dev files
paul [Fri, 29 Oct 2004 05:35:43 +0000 (05:35 +0000)]
- lib/ dir shouldnt be conditional, remove bad dir attribute from dev files

19 years ago"show running-daemons" -> "show daemons".
hasso [Thu, 28 Oct 2004 17:43:11 +0000 (17:43 +0000)]
"show running-daemons" -> "show daemons".

19 years agoRemove dead "ip tunnel" command.
hasso [Thu, 28 Oct 2004 17:32:27 +0000 (17:32 +0000)]
Remove dead "ip tunnel" command.

19 years agoFix help of "show debugging ripng" command.
hasso [Tue, 26 Oct 2004 06:39:56 +0000 (06:39 +0000)]
Fix help of "show debugging ripng" command.

19 years ago2004-10-25 Paul Jakma <paul@dishone.st>
paul [Mon, 25 Oct 2004 14:19:15 +0000 (14:19 +0000)]
2004-10-25 Paul Jakma <paul@dishone.st>

* Update with fix in debian bug id 222930.
* bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces.
  bgp_network.c: (....) raise/lower privs around call to
          SO_BINDTODEVICE sockopt.

19 years agoYet another breakage introduced in May with zserv cleanup.
hasso [Sat, 23 Oct 2004 14:26:49 +0000 (14:26 +0000)]
Yet another breakage introduced in May with zserv cleanup.

19 years ago- andrew's service adding change to detect existing entries reliably
paul [Sat, 23 Oct 2004 00:48:51 +0000 (00:48 +0000)]
- andrew's service adding change to detect existing entries reliably

19 years ago- update with andrew's modifications
paul [Sat, 23 Oct 2004 00:05:41 +0000 (00:05 +0000)]
- update with andrew's modifications
- enable irdp by default again

19 years ago2004-10-23 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 23:53:19 +0000 (23:53 +0000)]
2004-10-23 Paul Jakma <paul@dishone.st>

* configure.ac: bump version to 0.97.2, release imminent.

19 years ago2004-10-23 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 23:24:43 +0000 (23:24 +0000)]
2004-10-23 Paul Jakma <paul@dishone.st>

* zebra.h: reserve ZEBRA_ROUTE_HSLS

19 years ago- credit rix for fixing openbsd
paul [Fri, 22 Oct 2004 22:52:33 +0000 (22:52 +0000)]
- credit rix for fixing openbsd

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 17:00:38 +0000 (17:00 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* ospfd/ospf_packet.c: setsockopt_pktinfo -> setsockopt_ifindex
* zebra/irdp_main.c: ditto

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 16:55:10 +0000 (16:55 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* sockopt.h: Fix elif that should be an else.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 12:27:44 +0000 (12:27 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* command.h: Cleanup the defines a bit, add helper defines and
  collapse all defines to use those. Add an attribute field to
  cmd_element to support, eg hidden or deprecated commands, add
          defun defines for such. All that's left to do is add logic
          to command.c to check these attributes... ;)

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 12:05:17 +0000 (12:05 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex()
          function.
        * ospf_packet.c: (ospf_read) manually look up ifindex
          if system could not have returned one, eg openbsd.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 11:51:57 +0000 (11:51 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

        * sockopt.c: (setsockopt_pktinfo) unexported
* sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
          define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
          neither IP_RECVIF nor IP_PKTINFO (eg openbsd).

19 years ago2004-10-13 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 10:54:39 +0000 (10:54 +0000)]
2004-10-13 Paul Jakma <paul@dishone.st>

* sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
          -1.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 10:27:28 +0000 (10:27 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* ripd.c: Collapse redundant passing of various address structs,
          struct interface and struct connected as arguments to functions
          down to two key arguments, namely struct connected and, possibly,
          address of source/destination. Testing for RIPv1 would be useful.
          (rip_read) lookup struct connected for the received packet, pass
          it on.
        * rip_interface.c: With previous changes, we no longer have to tread
          carefully with struct connected, as it will always be there and
          valid.

19 years ago2004-10-22 Paul Jakma <paul@dishone.st>
paul [Fri, 22 Oct 2004 04:55:05 +0000 (04:55 +0000)]
2004-10-22 Paul Jakma <paul@dishone.st>

* configure.ac: fix up enable help alignment slightly
          Add --enable-gcc-ultra-verbose to set various gcc warnings which
          should one day be fixed but are not serious problems or which
          could be false-positives.

19 years agoDon't popen pager if command is "exit". Fixes "vtysh screws up my terminal
hasso [Wed, 20 Oct 2004 19:07:48 +0000 (19:07 +0000)]
Don't popen pager if command is "exit". Fixes "vtysh screws up my terminal
if I exit" issue.

19 years agoSmall copyright string and hostname related cleanup.
hasso [Tue, 19 Oct 2004 20:40:08 +0000 (20:40 +0000)]
Small copyright string and hostname related cleanup.

19 years agoOK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,
hasso [Tue, 19 Oct 2004 19:44:43 +0000 (19:44 +0000)]
OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,
ripd might need some more testing though.

19 years ago- From Andrew Schorr, fixup logrotate to use correct path to killall
paul [Tue, 19 Oct 2004 14:41:56 +0000 (14:41 +0000)]
- From Andrew Schorr, fixup logrotate to use correct path to killall
  and use the pid file.

19 years agoFix regression. It seems to me that this code still works only by accident
hasso [Tue, 19 Oct 2004 06:26:01 +0000 (06:26 +0000)]
Fix regression. It seems to me that this code still works only by accident
though. Needs serious cleanup.

19 years agoMissing comma.
hasso [Thu, 14 Oct 2004 23:07:37 +0000 (23:07 +0000)]
Missing comma.

19 years agoMake dump configuration appear in vtysh.
hasso [Wed, 13 Oct 2004 21:32:46 +0000 (21:32 +0000)]
Make dump configuration appear in vtysh.

19 years agoLadies and Gentlemens. This file is dead for years, from 1999 to be exact.
hasso [Wed, 13 Oct 2004 20:59:04 +0000 (20:59 +0000)]
Ladies and Gentlemens. This file is dead for years, from 1999 to be exact.

19 years ago- fix date in changelog of my last commit..
paul [Wed, 13 Oct 2004 14:52:22 +0000 (14:52 +0000)]
- fix date in changelog of my last commit..

19 years ago* zserv.c: Remove useless warnings "forwarding is already on".
hasso [Wed, 13 Oct 2004 12:20:35 +0000 (12:20 +0000)]
* zserv.c: Remove useless warnings "forwarding is already on".

19 years agoMake initializing smux connection configurable - "smux peer OID" command
hasso [Wed, 13 Oct 2004 10:33:26 +0000 (10:33 +0000)]
Make initializing smux connection configurable - "smux peer OID" command
initializes connection, and "no smux peer" command terminates it. Fixes
bugzilla #47 and #112.

19 years agoUnbreak compilation with ospfapi disabled. We should seriously think about
hasso [Wed, 13 Oct 2004 09:32:48 +0000 (09:32 +0000)]
Unbreak compilation with ospfapi disabled. We should seriously think about
reducing various configure options.

19 years agoAll access lists (IPv4 and IPv6) are used by all daemons to limit access to
hasso [Wed, 13 Oct 2004 08:47:32 +0000 (08:47 +0000)]
All access lists (IPv4 and IPv6) are used by all daemons to limit access to
vty.

19 years agoInitialize access lists here as well.
hasso [Wed, 13 Oct 2004 08:36:47 +0000 (08:36 +0000)]
Initialize access lists here as well.

19 years agoFix critical bugzilla #113. Make CMD_ERR_NOTHING_TODO nonfatal.
hasso [Wed, 13 Oct 2004 08:18:07 +0000 (08:18 +0000)]
Fix critical bugzilla #113. Make CMD_ERR_NOTHING_TODO nonfatal.

19 years ago2004-10-13 Paul Jakma <paul@dishone.st>
paul [Wed, 13 Oct 2004 05:22:18 +0000 (05:22 +0000)]
2004-10-13 Paul Jakma <paul@dishone.st>

* (global) more const'ification.
* sockunion.c: (sockunion_su2str) buffer should be sized
          SU_ADDRSTRLEN.
          (sockunion_log) do not return stack variables, strdup buf before
          return.
        * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
          values against ULONG_MAX is daft, when caller probably has passed
          a type that can not hold ULONG_MAX. use a temporary long instead.
          Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
  VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.

19 years ago2004-10-13 Paul Jakma <paul@dishone.st>
paul [Wed, 13 Oct 2004 05:06:08 +0000 (05:06 +0000)]
2004-10-13 Paul Jakma <paul@dishone.st>

* (global) more const'ification and fixups of types to clean up code.
* bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect,
          should use something like the VTY_GET_INTEGER macro, but without
          the vty_out bits..
        * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE
          (no_set_aggregator_as) ditto.
        * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is
          returned, add comments about troublesome return value.

19 years agoSome compiler warnings fixes and fix for bugzilla #119.
hasso [Tue, 12 Oct 2004 20:50:58 +0000 (20:50 +0000)]
Some compiler warnings fixes and fix for bugzilla #119.

19 years agoUnbreak "show ip route" command.
hasso [Tue, 12 Oct 2004 15:55:19 +0000 (15:55 +0000)]
Unbreak "show ip route" command.

19 years agoUnbreak ospfclient compilation.
hasso [Tue, 12 Oct 2004 06:13:54 +0000 (06:13 +0000)]
Unbreak ospfclient compilation.