]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
20 years ago2004-09-11 Paul Jakma <paul@dishone.st>
paul [Mon, 13 Sep 2004 13:15:25 +0000 (13:15 +0000)]
2004-09-11 Paul Jakma <paul@dishone.st>

        * doc/quagga.texi: Update copyright. Contents should be at beginning
          of docs...
* redhat/quagga.spec.in: wee keep_build define, to keep build dir.

20 years ago2004-09-13 Paul Jakma <paul@dishone.st>
paul [Mon, 13 Sep 2004 12:59:08 +0000 (12:59 +0000)]
2004-09-13 Paul Jakma <paul@dishone.st>

* Makefile.am: remove zebra/irdp.c from list - dead.
* extract.pl.in:  Substitute in the autoconf srcdir/builddir paths
  for includes to cpp.

20 years ago2004-09-13 Paul Jakma <paul@dishone.st>
paul [Mon, 13 Sep 2004 11:27:57 +0000 (11:27 +0000)]
2004-09-13 Paul Jakma <paul@dishone.st>

        * configure.ac: capitalise the package name. autoconf lowercases
          it for PACKAGE_TARNAME.
        * lib/command.c: Update the copyright string in the default motd.

20 years ago2004-09-13 Jose Luis Rubio <jrubio@dit.upm.es>
paul [Mon, 13 Sep 2004 05:12:46 +0000 (05:12 +0000)]
2004-09-13 Jose Luis Rubio <jrubio@dit.upm.es>
           (at Technical University of Madrid as part of Euro6ix Project)

        Enhanced Route Server functionality and Route-Maps:

        * bgpd/bgpd.h: Modified 'struct peer' and 'struct bgp_filter' to
        support rs-clients. A 'struct bgp_table *rib' has been added to the
        first (to mantain a separated RIB for each rs-client) and two new
        route-maps have been added to the last (for import/export policies).
        Added the following #defines: RMAP_{IN|OUT|IMPORT|EXPORT|MAX},
        PEER_RMAP_TYPE_{IMPORT|EXPORT} and BGP_CLEAR_SOFT_RSCLIENT.

        * bgpd/bgpd.c: Modified the functions that create/delete/etc peers in
        order to consider the new fields included in 'struct peer' for
        supporting rs-clients, i.e. the import/export route-maps and the
        'struct bgp_table'.

        * bgpd/bgp_route.{ch}: Modified several functions related with
        receiving/sending announces in order to support the new Route Server
        capabilities.
        Function 'bgp_process' has been reorganized, creating an auxiliar
        function for best path selection ('bgp_best_selection').
        Modified 'bgp_show' and 'bgp_show_route' for displaying information
        about any RIB (and not only the main bgp RIB).
        Added commands for displaying information about RS-clients RIBs:
        'show bgp rsclient (A.B.C.D|X:X::X:X)', 'show bgp rsclient
        (A.B.C.D|X:X::X:X) X:X::X:X/M', etc

        * bgpd/bgp_table.{ch}: The structure 'struct bgp_table' now has two
        new fields: type (which can take the values BGP_TABLE_{MAIN|RSCLIENT})
        and 'void *owner' which points to 'struct bgp' or 'struct peer' which
        owns the table.
        When creating a new bgp_table by default 'type=BGP_TABLE_MAIN' is set.

        * bgpd/bgp_vty.c: The commands 'neighbor ... route-server-client' and
        'no neighbor ... route-server-client' now not only set/unset the flag
        PEER_FLAG_RSERVER_CLIENT, but they create/destroy the 'struct
        bgp_table' of the peer. Special actions are taken for peer_groups.
        Command 'neighbor ... route-map WORD (in|out)' now also supports two
        new kinds of route-map: 'import' and 'export'.
        Added commands 'clear bgp * rsclient', etc. These commands allow a new
        kind of soft_reconfig which affects only the RIB of the specified
        RS-client.
        Added commands 'show bgp rsclient summary', etc which display a
        summary of the rs-clients configured for the corresponding address
        family.

        * bgpd/bgp_routemap.c: A new match statement is available,
        'match peer (A.B.C.D|X:X::X:X)'. This statement can only be used in
        import/export route-maps, and it matches when the peer who announces
        (when used in an import route-map) or is going to receive (when used
        in an export route-map) the route is the same than the one specified
        in the statement.
        For peer-groups the statement matches if the specified peer is member
        of the peer-group.
        A special version of the command, 'match peer local', matches with
        routes originated by the Route Server (defined with 'network ...',
        redistributed routes and default-originate).

        * lib/routemap.{ch}: Added a new clause 'call NAME' for use in
        route-maps. It jumps into the specified route-map and when it returns
        the first route-map ends if the called RM returns DENY_MATCH, or
        continues in other case.

20 years ago2004-09-13 Paul Jakma <paul@dishone.st>
paul [Mon, 13 Sep 2004 05:00:18 +0000 (05:00 +0000)]
2004-09-13 Paul Jakma <paul@dishone.st>

        * Makefile.am: extract.pl isnt in srcdir, it's always in the
          builddir.
        * extract.pl.in: match on end of filenames, filename could contain
          various preamble due to out of tree builds.

20 years agoautoreconf doesnt like top_srcdir var. update-autotools needs to -I m4 too
paul [Mon, 13 Sep 2004 04:57:03 +0000 (04:57 +0000)]
autoreconf doesnt like top_srcdir var. update-autotools needs to -I m4 too
to ensure it's pulled in. (snapshot host depends on that script).

20 years ago2004-09-12 Paul Jakma <paul@dishone.st>
paul [Sun, 12 Sep 2004 14:21:37 +0000 (14:21 +0000)]
2004-09-12 Paul Jakma <paul@dishone.st>

        * ospf_packet.c: Fix bugzilla #107
          (ospf_packet_max) get rid of the magic 88 constant
          (ospf_swab_iph_ton) new function. set ip header to network order,
          taking BSDisms into account.
          (ospf_swab_iph_toh) the inverse.
          (ospf_write) Add support for IP fragmentation, will only work on
          linux though, other kernels make it impossible. get rid of the
          magic 4 constant.
          (ospf_make_ls_upd) Bound check to end of stream, not to
          interface mtu.
          (ospf_ls_upd_packet_new) New function, allocate upd packet
          taking oversized LSAs into account.
          (ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
          rather than statically allocating mtu sized packet buffer, which
          actually was wrong - it didnt take ip header into account, which
          should not be included in packet buffer.
          (ospf_ls_upd_send_queue_event) minor tweaks and remove
          TODO comment.

20 years ago2004-09-11 Paul Jakma <paul@dishone.st>
paul [Sun, 12 Sep 2004 05:48:35 +0000 (05:48 +0000)]
2004-09-11 Paul Jakma <paul@dishone.st>

* ospfd.texi: OSPF MD5 auth requires stable time.

20 years agoCosmetical fixes in vty help.
hasso [Sat, 11 Sep 2004 16:33:28 +0000 (16:33 +0000)]
Cosmetical fixes in vty help.

20 years agoFixes from LIU Xin.
hasso [Fri, 10 Sep 2004 21:19:13 +0000 (21:19 +0000)]
Fixes from LIU Xin.

20 years agoIndentation only. No any functional changes.
hasso [Fri, 10 Sep 2004 20:48:21 +0000 (20:48 +0000)]
Indentation only. No any functional changes.

20 years agoAdd IS-IS info into array.
hasso [Fri, 10 Sep 2004 18:07:57 +0000 (18:07 +0000)]
Add IS-IS info into array.

20 years agoFix aclocal m4/ include for out-of-tree builds - all src relative paths
paul [Sun, 5 Sep 2004 02:26:24 +0000 (02:26 +0000)]
Fix aclocal m4/ include for out-of-tree builds - all src relative paths
need to be prefixed with $(top_srcdir)

20 years agoMerge svn revision 981 from Zebra cvs.
hasso [Fri, 3 Sep 2004 06:04:00 +0000 (06:04 +0000)]
Merge svn revision 981 from Zebra cvs.

20 years agoMerge svn revisions 978-979 from Zebra CVS.
hasso [Thu, 2 Sep 2004 13:01:01 +0000 (13:01 +0000)]
Merge svn revisions 978-979 from Zebra CVS.

20 years agoMerge svn revision 975 from Zebra repository.
hasso [Wed, 1 Sep 2004 21:36:14 +0000 (21:36 +0000)]
Merge svn revision 975 from Zebra repository.

20 years agoIndentation consensus.
hasso [Wed, 1 Sep 2004 20:13:23 +0000 (20:13 +0000)]
Indentation consensus.

20 years agoIgnore generated files.
hasso [Wed, 1 Sep 2004 19:51:15 +0000 (19:51 +0000)]
Ignore generated files.

20 years agoIgnore *.sh.
hasso [Wed, 1 Sep 2004 19:35:12 +0000 (19:35 +0000)]
Ignore *.sh.

20 years ago2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Tue, 31 Aug 2004 18:44:42 +0000 (18:44 +0000)]
2004-08-31  Greg Troxel  <gdt@poblano.ir.bbn.com>

        * Makefile.am (EXTRA_DIST): New - just has EXTRA_DIST.  (Using a
        directory in EXTRA_DIST in the parent was causing 'make dist' to fail.)

(Now m4/Makefile* is first-class and included from top level.)

20 years ago2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Tue, 31 Aug 2004 18:16:36 +0000 (18:16 +0000)]
2004-08-31  Greg Troxel  <gdt@poblano.ir.bbn.com>

* Rename scripts to *.sh.in, and use autoconf-style substitution
  for prefix and localstatedir.

20 years agoAssorted changes from work at BBN. Most are minor, and several are in
gdt [Tue, 31 Aug 2004 17:28:41 +0000 (17:28 +0000)]
Assorted changes from work at BBN.  Most are minor, and several are in
support of more significant changes not in this commit.  The last item
in the ChangeLog below may be needed for p2mp to work correctly.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* hash.c (hash_iterate): Save next pointer before calling
procedure, so that iteration works even if the called procedure
deletes the hash backet.

* linklist.h (listtail): new macro, not yet used.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_spf.c (ospf_spf_calculate): Many more comments and debug
  print statements.  New function ospf_vertex_dump used in debugging.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_spf.h (struct vertex): Comments for flags and structure members.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_route.c: When finding an alternate route, log cost as well.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_interface.c (ospf_lookup_if_params): Initialize af in
struct prefix allocated on stack.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
acks to AllSPFRouters, rather than All-DR.

20 years agoremove zebra/irdp.c because it is no longer in the source tree.
gdt [Tue, 31 Aug 2004 15:35:32 +0000 (15:35 +0000)]
remove zebra/irdp.c because it is no longer in the source tree.

20 years agoCommit my hack (yes, I still call it hack) - command line switch for zebra
hasso [Tue, 31 Aug 2004 13:41:49 +0000 (13:41 +0000)]
Commit my hack (yes, I still call it hack) - command line switch for zebra
daemon to change netlink receive buffer size.

20 years agoFix for Bugzilla #108.
hasso [Tue, 31 Aug 2004 13:37:42 +0000 (13:37 +0000)]
Fix for Bugzilla #108.

20 years agoPlease, tell me truth about what debugging status you are displaying.
hasso [Tue, 31 Aug 2004 12:04:33 +0000 (12:04 +0000)]
Please, tell me truth about what debugging status you are displaying.

20 years agoRemove dead file.
hasso [Tue, 31 Aug 2004 11:50:53 +0000 (11:50 +0000)]
Remove dead file.

20 years agocvsignore for pkgsrc
paul [Tue, 31 Aug 2004 11:17:39 +0000 (11:17 +0000)]
cvsignore for pkgsrc

20 years agoPort ospf6d to sigevent and rename signal handling functions in vtysh not to
hasso [Sat, 28 Aug 2004 17:04:33 +0000 (17:04 +0000)]
Port ospf6d to sigevent and rename signal handling functions in vtysh not to
conflict the ones in lib/sigevent.c. Fixes compiling with --disable-shared.

20 years agoAdd start/stop scripts for the rc.d framework used by
gdt [Fri, 27 Aug 2004 15:57:35 +0000 (15:57 +0000)]
Add start/stop scripts for the rc.d framework used by
pkgsrc (NetBSD and others).  Contributed by Miles Nordin.

20 years agoBrown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.
hasso [Fri, 27 Aug 2004 14:23:28 +0000 (14:23 +0000)]
Brown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.

20 years agoMake "terminal length <0-512>" command work in vtysh.
hasso [Fri, 27 Aug 2004 13:56:39 +0000 (13:56 +0000)]
Make "terminal length <0-512>" command work in vtysh.

20 years ago2004-08-27 David Wiggins <dwiggins@bbn.com>
gdt [Fri, 27 Aug 2004 12:03:42 +0000 (12:03 +0000)]
2004-08-27  David Wiggins  <dwiggins@bbn.com>

        * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
          in on-stack struct prefix_ipv4.  Fixes point-to-multipoint SPF
          calculation.

20 years agoAdded NSSA related items.
hasso [Fri, 27 Aug 2004 06:39:05 +0000 (06:39 +0000)]
Added NSSA related items.

20 years agoMore vtysh fixes. Specifying configuration from command line works now.
hasso [Thu, 26 Aug 2004 22:21:31 +0000 (22:21 +0000)]
More vtysh fixes. Specifying configuration from command line works now.

20 years agoMerge changelog entry from zebra cvs for my vtysh fix.
hasso [Thu, 26 Aug 2004 18:56:19 +0000 (18:56 +0000)]
Merge changelog entry from zebra cvs for my vtysh fix.

20 years agoMerge svn revision 954 from Zebra cvs.
hasso [Thu, 26 Aug 2004 18:19:59 +0000 (18:19 +0000)]
Merge svn revision 954 from Zebra cvs.

20 years agoMake ospf6d configuration appear in vtysh as well. Report sent to Yasuhiro
hasso [Thu, 26 Aug 2004 18:10:36 +0000 (18:10 +0000)]
Make ospf6d configuration appear in vtysh as well. Report sent to Yasuhiro
Ohara.

20 years agoadd () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.
gdt [Thu, 26 Aug 2004 14:14:43 +0000 (14:14 +0000)]
add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.
Thanks to Hasso for code review.

20 years ago2004-08-26 Miles Nordin <carton@Ivy.NET>
gdt [Thu, 26 Aug 2004 13:24:00 +0000 (13:24 +0000)]
2004-08-26  Miles Nordin  <carton@Ivy.NET>

* ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
  sysctl(3), rather than int.  (Needed on NetBSD/alpha to display
  forwarding status correctly.)

20 years agofix typo in previous commit
gdt [Thu, 26 Aug 2004 13:19:40 +0000 (13:19 +0000)]
fix typo in previous commit

20 years ago2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Thu, 26 Aug 2004 13:14:07 +0000 (13:14 +0000)]
2004-08-26  Greg Troxel  <gdt@fnord.ir.bbn.com>

* ospf_packet.c (ospf_recv_packet): adjust size declaration of
buffer used to get interface index so that it compiles on other
than Linux and includes the required alignment space.  Probably
this was only working on sparc/sparc64 because most of sockaddr_dl
was not being written.

20 years ago2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Thu, 26 Aug 2004 13:12:41 +0000 (13:12 +0000)]
2004-08-26  Greg Troxel  <gdt@fnord.ir.bbn.com>

* sockopt.h: Define method-independent macro for callers of
get_ifindex to use for cmsg length.

20 years agoVtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.
hasso [Thu, 26 Aug 2004 13:08:30 +0000 (13:08 +0000)]
Vtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.

20 years agoIt hurts my eye every time configure finishes job :).
hasso [Thu, 26 Aug 2004 12:21:28 +0000 (12:21 +0000)]
It hurts my eye every time configure finishes job :).

20 years agoOne warning less while building vtysh_cmd.c. This seems to be dead file.
hasso [Thu, 26 Aug 2004 11:22:19 +0000 (11:22 +0000)]
One warning less while building vtysh_cmd.c. This seems to be dead file.
Maybe remove it at all?

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Wed, 25 Aug 2004 13:47:16 +0000 (13:47 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * zebra.h: add MAX and MIN defines (eg for ospf6d)

20 years agoCleaning up whitespace mess mostly caused by my patches. Bigger
hasso [Wed, 25 Aug 2004 12:22:00 +0000 (12:22 +0000)]
Cleaning up whitespace mess mostly caused by my patches. Bigger
reorganization of this spagetti will follow soon.

20 years agoSVN revisions 935-940 merge from Zebra CVS.
hasso [Wed, 25 Aug 2004 09:10:37 +0000 (09:10 +0000)]
SVN revisions 935-940 merge from Zebra CVS.

20 years ago2004-08-23 Paul Jakma <paul@dishone.st>
paul [Mon, 23 Aug 2004 18:58:32 +0000 (18:58 +0000)]
2004-08-23 Paul Jakma <paul@dishone.st>

        * zebra/zserv.c: (zebra_init) remove implicit ip forward enabling
        * NEWS: warn about forwarding change

20 years agoIgnore documentation build files (indexes, etc..)
paul [Mon, 23 Aug 2004 18:03:28 +0000 (18:03 +0000)]
Ignore documentation build files (indexes, etc..)

20 years agoMerge svn revisions 924 and 925 from Zebra CVS. Also remove useless
hasso [Thu, 19 Aug 2004 06:56:53 +0000 (06:56 +0000)]
Merge svn revisions 924 and 925 from Zebra CVS. Also remove useless
ospf6_lsdb prototype declaration from ospf6_lsa.h. Report sent to Yasuhiro
Ohara as well.

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:45:33 +0000 (04:45 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * irdp_main.c: update to match sockopt renames.
        * irdp_packet.c: include sockopt.h and update to match sockopt
  renames.

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:43:43 +0000 (04:43 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * ospf_packet.c: update to match sockopt renames.

20 years agocommit ChangeLog too...
paul [Thu, 19 Aug 2004 04:42:03 +0000 (04:42 +0000)]
commit ChangeLog too...

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:41:21 +0000 (04:41 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * Makefile.am: add m4 directory to EXTRA_DIST, and define
          ACLOCAL_AMFLAGS to have aclocal pull in m4/
        * configure.ac: AM_PROG_LIBTOOL should be AC_PROG_LIBTOOL
        * update-autotools: print a warning that this script is deprecated

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:34:29 +0000 (04:34 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

* *.m4: import of libtool CVS m4 autoconf files. These only
  configure libtool support for languages where configure has
  already called AC_PROG_<lang>, less fragile.
* README.txt: doc file for contents of this directory.

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:13:29 +0000 (04:13 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>
2004-08-19 Paul Jakma <paul@dishone.st>

        * sockopt.c: include sockopt.h
          rename some of the _pktinfo_ functions to _ifindex, where that is
          their purpose.
          (getsockopt_ipv6_pktinfo_ifindex) renamed to
          getsockopt_ipv6_ifindex.
          (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
          (setsockopt_pktinfo) update with previous and add comment re
          AF_INET portability.
          (setsockopt_ifindex) generic ifindex function ala
          setsockopt_pktinfo.
          (getsockopt_ipv4_pktinfo_ifindex) renamed to
          getsockopt_ipv4_ifindex.
          (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
          ifdef/elses. pktinfo case forgot to set ifindex.
          (getsockopt_pktinfo_ifindex) renamed to
          getsockopt_ifindex. update some calls to renamed functions.
        * sockopt.h: Update renamed exported functions
          Rename the CMSG_SIZE macros to IFINDEX.
          Guard IPv4 PKTINFO in a conditional define.

20 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:03:08 +0000 (04:03 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * rip_interface.c: (rip_interface_multicast_set) get rid
          of extraneous if_pointopoint arg. ifp is accessible via connected.
          pass connected->ifp->ifindex to setsockopt_multicast_ipv4.
        * ripd.c: (rip_send_packet) update call to
          rip_interface_multicast_set
        * ripd.h: update rip_interface_multicast_set prototype

20 years agoquagga.logrotate: remove generic weekly and nocompress options
paul [Thu, 19 Aug 2004 03:36:13 +0000 (03:36 +0000)]
quagga.logrotate: remove generic weekly and nocompress options
quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp

20 years ago2004-08-18 Paul Jakma <paul@dishone.st>
paul [Wed, 18 Aug 2004 21:52:58 +0000 (21:52 +0000)]
2004-08-18 Paul Jakma <paul@dishone.st>

        * vty.c: (vty_serv_un) set unix vty socket to nonblocking
          to prevent inadvertent blocking of daemons by use of
          vtysh. TODO: disentangle manual paging from the buffer_write
          path so that unix vty can use this path too and be reliable.

20 years ago2004-08-17 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Tue, 17 Aug 2004 12:27:32 +0000 (12:27 +0000)]
2004-08-17  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * update-autotools: print tools versions to aid people in sending
        bug reports.

20 years agoSVN revisions 916-920 from Zebra. ABR support is almost done.
hasso [Sun, 15 Aug 2004 05:52:07 +0000 (05:52 +0000)]
SVN revisions 916-920 from Zebra. ABR support is almost done.

20 years agoInclude padding in control message length.
gdt [Wed, 11 Aug 2004 19:20:01 +0000 (19:20 +0000)]
Include padding in control message length.
Inspired by netbsd:src/usr.sbin/rtadvd/rtadvd.c (from KAME).

20 years ago2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Wed, 11 Aug 2004 18:06:38 +0000 (18:06 +0000)]
2004-08-11  Greg Troxel  <gdt@fnord.ir.bbn.com>

* rtadv.c (rtadv_send_packet): Allocate space for control messages
more carefully; it was wrong on NetBSD/sparc where CMSG alignment
is to 8 bytes instead of 4, and overwriting the address.  Use the
provided macros for determining lengths.

20 years agoAdd extra padding in cmsgdata buffer; there wasn't enough on
gdt [Wed, 11 Aug 2004 15:58:00 +0000 (15:58 +0000)]
Add extra padding in cmsgdata buffer; there wasn't enough on
NetBSD/sparc, resulting in overwriting the address.

Add code to check if overwriting is happening, at least for now.

Set msg_flags to MSG_DONTROUTE; they had been stack garbage.

20 years agoI am bored. But I hate questions why there are man pages from version 0.88.
hasso [Tue, 10 Aug 2004 12:00:34 +0000 (12:00 +0000)]
I am bored. But I hate questions why there are man pages from version 0.88.
Vtysh man page looks already how it should look IMHO, the rest need more
work.

20 years agoRemove pointless privilege lower call. Thanks to Cougar for noticing.
hasso [Fri, 6 Aug 2004 08:41:56 +0000 (08:41 +0000)]
Remove pointless privilege lower call. Thanks to Cougar for noticing.

20 years ago2004-08-04 Paul Jakma <paul@dishone.st>
paul [Thu, 5 Aug 2004 09:10:31 +0000 (09:10 +0000)]
2004-08-04 Paul Jakma <paul@dishone.st>

        * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
          Compare only against list head - all nexthops must be same cost
          anyway, fixes a reference-listnode-after-delete bug noted by
          Kir Kostuchenko.
          (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all
          candidates attached to root.

20 years agoSVN revision 907 from Zebra cvs repository.
hasso [Wed, 4 Aug 2004 20:02:13 +0000 (20:02 +0000)]
SVN revision 907 from Zebra cvs repository.

20 years agooops, forgot to update changelog.
paul [Sat, 31 Jul 2004 15:16:47 +0000 (15:16 +0000)]
oops, forgot to update changelog.

20 years ago2004-07-31 Christian Hammers <ch@lathspell.de>
paul [Sat, 31 Jul 2004 15:15:39 +0000 (15:15 +0000)]
2004-07-31 Christian Hammers <ch@lathspell.de>

* snmp.texi: updated (rewritten almost)

20 years agoenable irdp
paul [Wed, 28 Jul 2004 14:11:55 +0000 (14:11 +0000)]
enable irdp

20 years ago2004-07-27 Paul Jakma <paul@dishone.st>
paul [Tue, 27 Jul 2004 17:40:44 +0000 (17:40 +0000)]
2004-07-27 Paul Jakma <paul@dishone.st>

        * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
          last fix for ospfd wedging due to oversize LSAs: dont list loop on
          ospf_ls_upd_queue_send() - guaranteed segfault.

20 years agoPaul Jakma: forgot an obvious TODO
paul [Tue, 27 Jul 2004 16:57:53 +0000 (16:57 +0000)]
Paul Jakma: forgot an obvious TODO

20 years agoPaul Jakma: update TODO.. there's plenty.
paul [Tue, 27 Jul 2004 16:57:09 +0000 (16:57 +0000)]
Paul Jakma: update TODO.. there's plenty.

20 years ago2004-07-27 Paul Jakma <paul@dishone.st>
paul [Tue, 27 Jul 2004 15:53:34 +0000 (15:53 +0000)]
2004-07-27 Paul Jakma <paul@dishone.st>

* Makefile.am: tests/ must be in dist or building from dist breaks

20 years ago2004-07-27 Paul Jakma <paul@dishone.st>
paul [Tue, 27 Jul 2004 11:19:11 +0000 (11:19 +0000)]
2004-07-27 Paul Jakma <paul@dishone.st>

        * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
          the LSA as then free_opaque_info_per_id() can never unlock (and
          free) the LSA. Reported by Gunnar Stigen.

20 years ago2004-07-26 Paul Jakma <paul@dishone.st>
paul [Mon, 26 Jul 2004 19:27:51 +0000 (19:27 +0000)]
2004-07-26 Paul Jakma <paul@dishone.st>

* configure.ac: reenable tests/Makefile
* tests/Makefile.am: automake file for tests dir
* tests/.cvsignore: update

20 years agoUse ifp->mtu6 in ospf6d and ripngd.
hasso [Fri, 23 Jul 2004 21:34:27 +0000 (21:34 +0000)]
Use ifp->mtu6 in ospf6d and ripngd.

20 years agoadd .libs
gdt [Fri, 23 Jul 2004 16:24:38 +0000 (16:24 +0000)]
add .libs

20 years ago(somewhat unrelated cleanups, but all are very minor)
gdt [Fri, 23 Jul 2004 16:23:56 +0000 (16:23 +0000)]
(somewhat unrelated cleanups, but all are very minor)

2004-07-23  Greg Troxel  <gdt@poblano.ir.bbn.com>

* */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir
-lfoo", to avoid linking against installed libraries from a
previous version.

* {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared
library version number to be 0.0

* configure.ac: remove spurious , so extract.pl is chmod'd +x.

* HACKING: explain shared library versioning rules

20 years ago2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Fri, 23 Jul 2004 16:14:32 +0000 (16:14 +0000)]
2004-07-23  Greg Troxel  <gdt@poblano.ir.bbn.com>

* sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
on NetBSD, and add comments to make it less confusing.  Change the
sense of the SUNOS_5 test to make parallel structure between the
variables and the code.

20 years ago2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
paul [Fri, 23 Jul 2004 15:26:14 +0000 (15:26 +0000)]
2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>

        * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups
        * zserv.c: ditto
        * ioctl_solaris.c: ditto.
        * interface.c: cast for LLADDR
        * interface.h: Add guards, include redistribute.h and remove
          extraneous definitions of zebra_interface_{up,down}_update
        * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6
        * redistribute.h: include dependent header, zserv.h
        * zserv.h: include dependent header, rib.h

20 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:25:01 +0000 (15:25 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * irdp_main.c: use setsockopt_pktinfo_ipv4
        * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
          getsockopt_pktinfo_ifindex()

20 years agoUpdate cvsignore, add .libs
paul [Fri, 23 Jul 2004 15:18:41 +0000 (15:18 +0000)]
Update cvsignore, add .libs

20 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:17:45 +0000 (15:17 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * ospf6_main.c: Delete LOG_PERROR, not portable.
        * ospf6_network.c: (ospf6_set_pktinfo) use setsockopt_ipv6_pktinfo

20 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:13:48 +0000 (15:13 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * ospf_network.c: Replace PKTINFO/RECVIF with call to
          setsockopt_pktinfo
        * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
          SOPT_SIZE_CMSG_PKTINFO_IPV4.

20 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:11:07 +0000 (15:11 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
          sizeof pktinfo as appropriate, to be used when allocating msg
          buffers. export setsockopt_pktinfo() and
          getsockopt_pktinfo_ifindex()
        * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
          set received ifindex sock option.
          (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
          (getsockopt_cmsg_data) retrieve indicated control info from
          message header.
          (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
          (setsockopt_ipv4_pktinfo) v4 version
          (setsockopt_pktinfo) the exported version
          (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
          (getsockopt_pktinfo_ifindex) the exported version

20 years ago2004-07-14 Paul Jakma <paul@dishone.st>
paul [Thu, 22 Jul 2004 19:14:27 +0000 (19:14 +0000)]
2004-07-14 Paul Jakma <paul@dishone.st>

        * sigevent.c: (quagga_signal_handler) add a global caught flag, set
          the flags to a constant rather increment to be kinder.
          (quagga_sigevent_process) new function, to do core of what
          quagga_signal_timer did. dont block signals at all as sig->caught
          is volatile sig_atomic_t and should be safe to access from signal
          and normal contexts. The signal blocking is unneeded paranoia, but
          is left intact under an ifdef, should some platform require it.
          Check global caught flag before iterating through array.
          (quagga_signal_timer) nearly everything moved to
          quagga_sigevent_process. Left in under ifdef, in case some
          platform could use a regular timer check for signals.
        * sigevent.h: quagga_sigevent_process declaration.
        * thread.c: (thread_fetch) check for signals at beginning of
          scheduler loop, check for signals if select returns EINTR.

20 years ago2004-07-22 Paul Jakma <paul@dishone.st>
paul [Thu, 22 Jul 2004 18:16:59 +0000 (18:16 +0000)]
2004-07-22 Paul Jakma <paul@dishone.st>

        * configure.ac: modify default CFLAGS to be compiler agnostic
          build Makefile for tests/ subdir.

20 years ago2004-07-20 Paul Jakma <paul@dishone.st>
paul [Tue, 20 Jul 2004 11:19:47 +0000 (11:19 +0000)]
2004-07-20 Paul Jakma <paul@dishone.st>

* redhat/quagga.spec.in: update for shared lib install, *.la
  should be in -devel

20 years ago2004-07-17 Paul Jakma <paul@dishone.st>
paul [Sat, 17 Jul 2004 11:51:29 +0000 (11:51 +0000)]
2004-07-17 Paul Jakma <paul@dishone.st>

* if.c: (if_cmp_func) Add comment suggested by Greg Troxel.

20 years ago2004-07-14 Paul Jakma <paul@dishone.st>
paul [Wed, 14 Jul 2004 20:50:36 +0000 (20:50 +0000)]
2004-07-14 Paul Jakma <paul@dishone.st>

        * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for
          problem reported by Peter Frost amongst others, where function
          will spin indefinitely if update list contains LSAs greater than
          MTU-headers or other condition leading to update list never being
          cleared. Problem of what to do with these LSAs remains.
          (ospf_make_ls_upd) add comment about large LSA problem,
          indentation cleanup.

20 years ago2004-07-14 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Wed, 14 Jul 2004 13:55:28 +0000 (13:55 +0000)]
2004-07-14  Greg Troxel  <gdt@poblano.ir.bbn.com>

        * Makefile.am (EXTRA_DIST): Add missing \, so tools stuff is
        really in distfile.

20 years ago004-07-13 David Wiggins <dwiggins@bbn.com
gdt [Tue, 13 Jul 2004 16:45:54 +0000 (16:45 +0000)]
004-07-13  David Wiggins <dwiggins@bbn.com

* kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'.

This is arguably not a security problem, since strlcat is used to copy
to the buffer -gdt.

20 years ago2004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Tue, 13 Jul 2004 13:47:25 +0000 (13:47 +0000)]
2004-07-13  Greg Troxel  <gdt@poblano.ir.bbn.com>

* sigevent.c: Don't block SIGTRAP and SIGKILL.  Blocking SIGTRAP
confuses gdb, at least on NetBSD 2.0_BETA, where the block
succeeds.

20 years agoCreating irdp socket requires more privileges.
hasso [Tue, 13 Jul 2004 03:06:51 +0000 (03:06 +0000)]
Creating irdp socket requires more privileges.

20 years ago1) extract.pl is braindead, but I will not touch it willingly.
hasso [Mon, 12 Jul 2004 16:32:56 +0000 (16:32 +0000)]
1) extract.pl is braindead, but I will not touch it willingly.
2) Following common style is always better anyway.

20 years agoMerge svn revision 855 from Zebra repository.
hasso [Fri, 9 Jul 2004 18:33:43 +0000 (18:33 +0000)]
Merge svn revision 855 from Zebra repository.