]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
20 years ago2004-01-23 sowmini.varadhan@sun.com
paul [Fri, 23 Jan 2004 15:31:42 +0000 (15:31 +0000)]
2004-01-23 sowmini.varadhan@sun.com

        * rip_interface.c: obsolete unbind code in
        rip_interface_multicast_set, and instead do the more portable
        (though slower) method of creating a socket for each outgoing packet
        and binding the source address on the new socket.
        * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that
        source address is determined by the caller of rip_request_send for
        ripv1 packets and non-multicast interfaces (rip_request_send loops
        over all connected address in all other cases).
        * rip_send_packet: don't send packets with source set to
        ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;

20 years agoadd appropriate cvsignore
paul [Mon, 19 Jan 2004 21:33:17 +0000 (21:33 +0000)]
add appropriate cvsignore

20 years ago2004-01-19 Paul Jakma <paul@dishone.st>
paul [Mon, 19 Jan 2004 21:31:15 +0000 (21:31 +0000)]
2004-01-19 Paul Jakma <paul@dishone.st>

        * tests/test-sig.c: New file, regression test for sigevents.
        * lib/Makefile.am: add sigevent.{c,h}
        * (isis|rip|ripng|ospf|ospf6|bgp)d/\1_main.c: modify for sigevents.
        * zebra/main.c: ditto.

20 years ago2004-01-19 Paul Jakma <paul@dishone.st>
paul [Mon, 19 Jan 2004 21:25:17 +0000 (21:25 +0000)]
2004-01-19 Paul Jakma <paul@dishone.st>

        * tests/test-sig.c: New file, regression test for sigevents.

20 years ago2004-01-19 Paul Jakma <paul@dishone.st>
paul [Mon, 19 Jan 2004 21:23:37 +0000 (21:23 +0000)]
2004-01-19 Paul Jakma <paul@dishone.st>

        * sigevent.{c,h}: New files, implement event handled signals.
          see signal_init() in sigevent.h.

20 years ago2004-01-15 Paul Jakma <paul@dishone.st>
paul [Thu, 15 Jan 2004 01:00:49 +0000 (01:00 +0000)]
2004-01-15 Paul Jakma <paul@dishone.st>

        * vtysh_config.c: Fix up strlen to use correct string.

20 years agoExplain the dual use of struct prefix for CIDR prefixes and
gdt [Tue, 13 Jan 2004 14:55:40 +0000 (14:55 +0000)]
Explain the dual use of struct prefix for CIDR prefixes and
address/netmask pairs, and clarify the two comparison functions.

20 years ago2004-01-10 Paul Jakma <paul@dishone.st>
paul [Sat, 10 Jan 2004 22:03:07 +0000 (22:03 +0000)]
2004-01-10 Paul Jakma <paul@dishone.st>

        * Makefile.am: redhat/ is a dist subdir too.

20 years agoExclude Makefile and Makefile.in
jardin [Sat, 10 Jan 2004 20:44:18 +0000 (20:44 +0000)]
Exclude Makefile and Makefile.in

20 years agoFix build on FreeBSD 4.7 and FreeBSD 5.1:
jardin [Sat, 10 Jan 2004 20:42:35 +0000 (20:42 +0000)]
Fix build on FreeBSD 4.7 and FreeBSD 5.1:
[...]
source='isis_main.c' object='isis_main.o' libtool=no  depfile='.deps/isis_main.Po' tmpdepfile='.deps/isis_main.TPo'  depmode=gcc /usr/local/bin/bash ../depcomp  gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/jardin/bin/etc/\" -I. -I. -I.. -I.. -I.. -I../lib     -g -O2 -Wall -c `test -f isis_main.c || echo './'`isis_main.c
gcc  -g -O2 -Wall   -o isisd  isis_main.o isis_adjacency.o  isis_lsp.o dict.o isis_circuit.o  isis_pdu.o isis_tlv.o isisd.o  isis_misc.o isis_network.o isis_zebra.o  isis_dr.o isis_flags.o isis_dynhn.o  iso_checksum.o isis_csm.o isis_events.o  isis_spf.o isis_route.o isis_routemap.o ../lib/libzebra.a -lm -lcrypt
Making all in redhat
make: don't know how to make all. Stop
*** Error code 1

Stop in /usr/home/jardin/no_save/quagga.
*** Error code 1

Stop in /usr/home/jardin/no_save/quagga.
quagga$

20 years ago2004-01-09 Paul Jakma <paul@dishone.st>
paul [Fri, 9 Jan 2004 16:34:54 +0000 (16:34 +0000)]
2004-01-09 Paul Jakma <paul@dishone.st>

* HACKING: slight changes to make consistent with devel.php on web
  site. remove 'not yet consensus' as lack of any disagreement can
  be interpreted that file does reflect such.

20 years ago2004-01-08 Paul Jakma <paul@dishone.st>
paul [Fri, 9 Jan 2004 16:30:52 +0000 (16:30 +0000)]
2004-01-08 Paul Jakma <paul@dishone.st>

        * Makefile.am: as per gdt, specify the redhat dir as a DIST_SUBDIR,
          remove the redhat/... dist targets - instead these now go in..
          redhat/Makefile.am: (new) proper place to describe redhat/ dist
          files, as well as allow quagga.spec to be regenerated properly.
          redhat/quagga.sysconfig: specify conf file location.
          redhat/quagga.spec.in: Add 2 patches to RPM build.

20 years ago2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Thu, 8 Jan 2004 15:44:29 +0000 (15:44 +0000)]
2004-01-08  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer
        for reading kernel messages to ensure enough space (necessary on
        Solaris due to sockaddr_dl being large).  Thanks to Sowmini
        Varadhan for help with this change.

20 years agochange perror to zlog_err
gdt [Tue, 6 Jan 2004 18:23:02 +0000 (18:23 +0000)]
change perror to zlog_err

20 years ago2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Tue, 6 Jan 2004 01:13:05 +0000 (01:13 +0000)]
2004-01-05  Greg Troxel  <gdt@fnord.ir.bbn.com>
        * kernel_socket.c (ifm_read): Major cleanup.  Use Sowmini's code
        to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
        to just the accomodation of broken kernels.  Check sockaddr_dl
        carefully up front, and later assume any non-NULL sdl pointer is
        valid.  Clean up types and variable declarations, and rename
        WRAPUP to SAROUNDUP to make the name fit the behavior.

20 years agoincrease buffer size for kernel reads
gdt [Tue, 6 Jan 2004 00:36:51 +0000 (00:36 +0000)]
increase buffer size for kernel reads

20 years agomove changelog section up higher.
gdt [Mon, 5 Jan 2004 20:09:00 +0000 (20:09 +0000)]
move changelog section up higher.

Add notion of commenting for reviewers and taking care to not break
platforms one cannot test on.

20 years agoFix incorrect test in previous commit; thanks to Sowmini Varadhan for
gdt [Mon, 5 Jan 2004 17:55:46 +0000 (17:55 +0000)]
Fix incorrect test in previous commit; thanks to Sowmini Varadhan for
catching this.

20 years ago2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>
gdt [Mon, 5 Jan 2004 17:20:59 +0000 (17:20 +0000)]
2004-01-05  Greg Troxel  <gdt@ahi.ir.bbn.com>

        * kernel_socket.c (kernel_read): Look up interfaces by index
        first, so that state changes which do not include a sockaddr_dl
        now work.  Add many sanity checks.  In
        particular, do not assume that a sockaddr_dl follows a message
        without checking the ifm_addrs flags, and do not trust the length
        in a sockaddr_dl.  Add/clarify many comments.

20 years agoReally ripngd should either leave groups on down interfaces, or keep
gdt [Sun, 4 Jan 2004 01:02:55 +0000 (01:02 +0000)]
Really ripngd should either leave groups on down interfaces, or keep
track of on which interfaces joins have occurred.  This is complicated
by the possible lack of a clear behavior spec on whether interfaces
keep their joined group lists across a down/up/down transition.  (On
NetBSD, they do.)

2004-01-03  Greg Troxel  <gdt@ahi.ir.bbn.com>

        * ripng_interface.c (ripng_multicast_join): If IPV6_JOIN_GROUP
        returns EADDRINUSE, consider the join successful.  This happens
        when an interface goes down and comes back because
        ripng_multicast_leave does not invoke the LEAVE_GROUP operation if
        the interface is down.  Solves problem of ripng stopping working
        on an interface which goes down and then comes back up (on NetBSD).

20 years agoFix some threads related problems [quagga-dev 591].
hasso [Wed, 31 Dec 2003 20:33:23 +0000 (20:33 +0000)]
Fix some threads related problems [quagga-dev 591].

20 years ago2003-12-30 Paul Jakma <paul@dishone.st>
paul [Tue, 30 Dec 2003 11:16:21 +0000 (11:16 +0000)]
2003-12-30 Paul Jakma <paul@dishone.st>

        * redhat/isisd.init: new file, init script for isisd.
          redhat/quagga.sysconfig: new file, sysconfig file for quagga
          initscripts.
          redhat/quagga.spec.in: various cleanups, including sysconfig patch
          from RH, fixed UID/GID as per RH EL, shell changed to
          /sbin/nologin, daemon vty's listen to 127.1 only per default and
          isisd packaged.
          redhat/*.init: sysconfig support and runlevels specified.

20 years ago2003-12-30 Paul Jakma <paul@dishone.st>
paul [Tue, 30 Dec 2003 11:09:00 +0000 (11:09 +0000)]
2003-12-30 Paul Jakma <paul@dishone.st>

        * Makefile.am: put the redhat/ stuff into EXTRA_DIST rather than
          copying via dist-hook. Remove ~ files backup cruft from dists.
          isisd/Makefile.am: sysconf example should go via
          dist_examples_DATA. The include-netbsd/ headers werent mentioned
          as sources and werent being copied into dists.

20 years ago2003-12-23 Krzysztof Oledzki <oleq@ans.pl>
gdt [Tue, 23 Dec 2003 17:34:39 +0000 (17:34 +0000)]
2003-12-23 Krzysztof Oledzki <oleq@ans.pl>

        * bgp_network.c: drop privs on error cases

(from [quagga-dev 438])

20 years agoRemove generated file.
hasso [Tue, 23 Dec 2003 14:55:12 +0000 (14:55 +0000)]
Remove generated file.

20 years agoSome fixes to isisd done by me and Cougar in the spring of 2003. See
hasso [Tue, 23 Dec 2003 11:51:08 +0000 (11:51 +0000)]
Some fixes to isisd done by me and Cougar in the spring of 2003. See
changelog for details.

20 years agoLet's use 2608/tcp for isisd.
jardin [Tue, 23 Dec 2003 10:50:21 +0000 (10:50 +0000)]
Let's use 2608/tcp for isisd.

20 years agoAdd .cvsignore
hasso [Tue, 23 Dec 2003 10:45:49 +0000 (10:45 +0000)]
Add .cvsignore

20 years agoChangelog entry about isisd integration. Sorry about previous commit
hasso [Tue, 23 Dec 2003 10:43:09 +0000 (10:43 +0000)]
Changelog entry about isisd integration. Sorry about previous commit
without message. Fingers worked faster than brain ;(.

20 years ago2607/tcp is already used by ospfapi.
jardin [Tue, 23 Dec 2003 10:42:45 +0000 (10:42 +0000)]
2607/tcp is already used by ospfapi.
Let's use 2608/tcp for isisd.

20 years ago*** empty log message ***
hasso [Tue, 23 Dec 2003 10:39:08 +0000 (10:39 +0000)]
*** empty log message ***

20 years agoAdd comments about isisd integration.
jardin [Tue, 23 Dec 2003 09:06:51 +0000 (09:06 +0000)]
Add comments about isisd integration.

20 years agoMerge isisd into the Quagga's framework:
jardin [Tue, 23 Dec 2003 08:56:18 +0000 (08:56 +0000)]
Merge isisd into the Quagga's framework:
  - add privs support
  - use misc quagga's definitions
  - make it compile"able"
  - fix segfault cases related to hostname()
  - add debug isis xxx command

This patch has been approved by Paul Jakma.

20 years agoInitial revision
jardin [Tue, 23 Dec 2003 08:09:43 +0000 (08:09 +0000)]
Initial revision

20 years agoReorder free(f); unlink(f); to unlink before freeing.
gdt [Mon, 22 Dec 2003 20:18:18 +0000 (20:18 +0000)]
Reorder free(f); unlink(f); to unlink before freeing.

20 years ago2003-12-22 Christian Hammers <ch@lathspell.de>
gdt [Mon, 22 Dec 2003 20:15:53 +0000 (20:15 +0000)]
2003-12-22 Christian Hammers <ch@lathspell.de>

        * configure.ac (and everywhere a regular file is opened for
          writing): use file permissions from configure rather than
          compiled-in umask.

20 years agoRevert my "microfix". It was caused by misreading code. Gilad is right as
hasso [Mon, 22 Dec 2003 16:49:15 +0000 (16:49 +0000)]
Revert my "microfix". It was caused by misreading code. Gilad is right as
always.

20 years agonote that order of = items is undefined, probably
gdt [Mon, 22 Dec 2003 16:32:15 +0000 (16:32 +0000)]
note that order of = items is undefined, probably

20 years agocomments about struct list
gdt [Mon, 22 Dec 2003 16:07:52 +0000 (16:07 +0000)]
comments about struct list

20 years agoadd comments clarifying the operation of listnode_add_sort
gdt [Mon, 22 Dec 2003 15:56:00 +0000 (15:56 +0000)]
add comments clarifying the operation of listnode_add_sort

20 years agoadd question about changelog usage
gdt [Mon, 22 Dec 2003 15:45:01 +0000 (15:45 +0000)]
add question about changelog usage

20 years agolib/if.c part from [quagga-dev 552] and lib/inklist.c part from [quagga-dev
hasso [Sun, 21 Dec 2003 09:51:42 +0000 (09:51 +0000)]
lib/if.c part from [quagga-dev 552] and lib/inklist.c part from [quagga-dev
555]. Okayed by Paul.

20 years agorough cut at committing guidelines
gdt [Fri, 19 Dec 2003 19:20:25 +0000 (19:20 +0000)]
rough cut at committing guidelines

20 years ago{lib,ospfd,ospfapi}/Makefile.am:
gdt [Mon, 8 Dec 2003 18:12:34 +0000 (18:12 +0000)]
{lib,ospfd,ospfapi}/Makefile.am:

Use pkginclude_HEADERS rather than include_HEADERS to place includes
in ${prefix}/include/quaggainstead of polluting ${prefix}/include.

20 years ago2003-12-08 Mattias Amnefelt <mattiasa@kth.se?
paul [Mon, 8 Dec 2003 10:34:54 +0000 (10:34 +0000)]
2003-12-08 Mattias Amnefelt <mattiasa@kth.se?

        * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len
          network byte order. (bugzilla #67).

20 years ago2003-12-06 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
paul [Sat, 6 Dec 2003 17:10:11 +0000 (17:10 +0000)]
2003-12-06 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>

* ospfd/ospf_flood.c: (ospf_flood_through_interface) fix compile
  warning.

20 years ago * ospfd.c (ospf_network_match_iface): Rewrite code for clarity
gdt [Fri, 5 Dec 2003 14:01:43 +0000 (14:01 +0000)]
* ospfd.c (ospf_network_match_iface): Rewrite code for clarity
while trying not to change semantics.  Add ifdefed-out code to
avoid matching ppp interfaces whose destination address does not
also match the prefix under consideration, to help out people with
problems due to as-yet-unfixed bugs with p2p interfaces coming and
going.

20 years agofix exampledir processing bug; it failed when neither exampledir nor
gdt [Thu, 4 Dec 2003 15:39:25 +0000 (15:39 +0000)]
fix exampledir processing bug; it failed when neither exampledir nor
sysconfdir were specified, due to incorrect extra quoting of
sysconfdir.  Thanks to Vincent Jardin for the bug report.

20 years agoEnable rtadv by default.
gdt [Wed, 3 Dec 2003 18:13:48 +0000 (18:13 +0000)]
Enable rtadv by default.

Resolves bug #66.

20 years agoreorder includes to avoid warning.
gdt [Wed, 3 Dec 2003 17:54:34 +0000 (17:54 +0000)]
reorder includes to avoid warning.
fixes rest of bug #62

20 years agocheck for v6 header files after we figure out whether we are doing v6
gdt [Wed, 3 Dec 2003 17:52:30 +0000 (17:52 +0000)]
check for v6 header files after we figure out whether we are doing v6
and if so which flavor.

Fixes 99% of bugzilla bug #62.

20 years agoAdd support for --enable-exampledir to specify where to place example
gdt [Wed, 3 Dec 2003 17:24:27 +0000 (17:24 +0000)]
Add support for --enable-exampledir to specify where to place example
files, defaulting to sysconfdir (matching previous behavior).

This is needed to support (cleanly) NetBSD pkgsrc, which requires that
example config files go in $(prefix)/share/examples/pkgname, rather
than in $(prefix)/etc/pkgname.

20 years agoAdded info about -A and -u command line switches to man pages.
hasso [Thu, 27 Nov 2003 13:02:03 +0000 (13:02 +0000)]
Added info about -A and -u command line switches to man pages.

20 years ago2003-11-17 Jay Fenlason <fenlason@redhat.com>
paul [Mon, 17 Nov 2003 10:31:01 +0000 (10:31 +0000)]
2003-11-17 Jay Fenlason <fenlason@redhat.com>

* zebra/rt_netlink.c: netlink_parse_info() ignore messages which are
  not from kernel. Reported to RH by Herbert Xu. See
  http://rhn.redhat.com/errata/RHSA-2003-307.html and CAN-2003-0858.

20 years ago2003-11-17 sowmini.varadhan@sun.com
paul [Mon, 17 Nov 2003 09:15:18 +0000 (09:15 +0000)]
2003-11-17 sowmini.varadhan@sun.com

        * ripd/ripd.c: rip_output_process() fixup aspects of split-horizon
          route suppression. See [quagga-dev 429].

20 years ago2003-11-17 Hasso Tepper <hasso@estpak.ee>
paul [Mon, 17 Nov 2003 09:08:45 +0000 (09:08 +0000)]
2003-11-17 Hasso Tepper <hasso@estpak.ee>

        * ripd/ripd.c: rip_create_socket() privs were not dropped if bind
          failed.

20 years ago2003-11-17 Hasso Tepper <hasso@estpak.ee>
paul [Mon, 17 Nov 2003 09:04:53 +0000 (09:04 +0000)]
2003-11-17 Hasso Tepper <hasso@estpak.ee>

        * ripngd/ripngd.c: ripng_make_socket() add calls to raise/lower
          privs.

20 years ago2003-11-10 Claus Endres <claus@endresconsulting.com>
paul [Mon, 10 Nov 2003 23:56:29 +0000 (23:56 +0000)]
2003-11-10 Claus Endres <claus@endresconsulting.com>

        * ospfd/ospf_interface.c: (ospf_if_table_lookup) grab reference to
          rn->info /before/ calling route_unlock_node() as some systems
          may deliberately poison freed memory, eg FreeBSD 5.1.
          see [quagga-dev 417].

20 years ago2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>
paul [Mon, 10 Nov 2003 23:50:54 +0000 (23:50 +0000)]
2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>

        * bgpd/bgp_dump.c: (bgp_dump_routes_entry) call
          dump_bgp_routes_attr() with a prefix.

20 years ago2003-11-03 Paul Jakma <paul@dishone.st>
paul [Mon, 3 Nov 2003 12:37:43 +0000 (12:37 +0000)]
2003-11-03 Paul Jakma <paul@dishone.st>

* bgpd/bgp_route.c: Delete some extraneous whitespace. Credit to
  a person on #quagga whose name I unfortunately can not recall.

20 years ago2003-11-02 Paul Jakma <paul@dishone.st>
paul [Sun, 2 Nov 2003 09:21:17 +0000 (09:21 +0000)]
2003-11-02 Paul Jakma <paul@dishone.st>

* redhat/quagga.spec.in: dont specify --with-cflags. rpmbuild sets
  CFLAGS.

20 years ago2003-11-02 Paul Jakma <paul@dishone.st>
paul [Sun, 2 Nov 2003 07:45:39 +0000 (07:45 +0000)]
2003-11-02 Paul Jakma <paul@dishone.st>

* NEWS: Update for 0.96.4 release

20 years ago2003-11-02 Paul Jakma <paul@dishone.st>
paul [Sun, 2 Nov 2003 07:31:47 +0000 (07:31 +0000)]
2003-11-02 Paul Jakma <paul@dishone.st>

* ChangeLog: Update with logs from last 2 releases.

20 years ago2003-11-02 Paul Jakma <paul@dishone.st>
paul [Sun, 2 Nov 2003 07:30:52 +0000 (07:30 +0000)]
2003-11-02 Paul Jakma <paul@dishone.st>

        * redhat/quagga.spec.in: Install libzebra headers with -devel
          package.

20 years ago2003-11-02 Paul Jakma <paul@dishone.st>
paul [Sun, 2 Nov 2003 07:29:11 +0000 (07:29 +0000)]
2003-11-02 Paul Jakma <paul@dishone.st>

        * configure.ac: FreeBSD has net-snmp in /usr/local.

20 years ago2003-11-02 Krzysztof Oledzki <oleq@ans.pl>
paul [Sun, 2 Nov 2003 07:28:05 +0000 (07:28 +0000)]
2003-11-02 Krzysztof Oledzki <oleq@ans.pl>

        * zebra/zebra_rib.c: Revert patch (dating from zebra.org) which
          caused zebra to read all routes in all tables, rather than just
          the main table. See [quagga-dev 280].

20 years ago2003-11-02 Paul Jakma <paul@dishone.st>
paul [Sun, 2 Nov 2003 07:24:40 +0000 (07:24 +0000)]
2003-11-02 Paul Jakma <paul@dishone.st>

        * bgpd/bgp_routemap.c: Fix up 'set ip next-hop A.B.C.D|peer-address'
          route map command so that vtysh can use it. Modified version of
          Hasso Tepper's patch. Fixes bug #52.

20 years ago2003-10-31 Paul Jakma <paul@dishone.st>
paul [Fri, 31 Oct 2003 13:10:42 +0000 (13:10 +0000)]
2003-10-31 Paul Jakma <paul@dishone.st>

* configure.ac: newline not escaped in CHECK_HEADERS

20 years ago2003-10-30 Paul Jakma <paul@dishone.st>
paul [Thu, 30 Oct 2003 21:59:57 +0000 (21:59 +0000)]
2003-10-30 Paul Jakma <paul@dishone.st>

* configure.ac: netinet/in_systm.h is yet another well-known
  header file we really should be checking for.

20 years ago2003-10-30 sowmini.varadhan@sun.com
paul [Thu, 30 Oct 2003 21:58:06 +0000 (21:58 +0000)]
2003-10-30 sowmini.varadhan@sun.com

        * lib/pid_output.c: (pid_output_lock) undo paulj's mindless edit.

20 years ago2003-10-29 Paul Jakma <paul@dishone.st>
paul [Wed, 29 Oct 2003 06:30:19 +0000 (06:30 +0000)]
2003-10-29 Paul Jakma <paul@dishone.st>

        * lib/routemap.c: (route_map_apply_index) renamed to
          route_map_apply_match.
          (route_map_apply_match) Take rule list as argument rather than
          index. concentrate solely on match logic.
          (route_map_apply) Properly implement the route map statement
          logic, according to the table, especially the on-match exit
          policy.

20 years ago2003-10-27 Gilad Arnold <gilad.arnold@terayon.com>
paul [Tue, 28 Oct 2003 03:47:15 +0000 (03:47 +0000)]
2003-10-27 Gilad Arnold <gilad.arnold@terayon.com>

        * zebra/zebra_rib.c: (nexthop_active_update) Check for multipath
          limit when setting changed flag to avoid spurious changes.
          (static_install_ipv{4,6}) dont uninstall by default, might not be
          required - avoid spurious uninstalls.
          (static_uninstall_ipv{4,6}) only uninstall the route if its
  actually FIB route.

20 years ago2003-10-27 Paul Jakma <paul@dishone.st>
paul [Mon, 27 Oct 2003 22:12:02 +0000 (22:12 +0000)]
2003-10-27 Paul Jakma <paul@dishone.st>

* lib/if.{ch}: remove ifc_pointtopoint() - left over from the
  reverted RFC3021 patch.

20 years ago2003-10-27 Simon <lists@routemeister.net>
paul [Mon, 27 Oct 2003 22:02:00 +0000 (22:02 +0000)]
2003-10-27 Simon <lists@routemeister.net>

        * ospfd/ospfd.c: if_is_pointopoint() takes (struct interface *), was
          being called with struct connected. Change to co->ifp.

20 years ago2003-10-27 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
paul [Mon, 27 Oct 2003 21:53:38 +0000 (21:53 +0000)]
2003-10-27 kamatchi soundaram <kamatchi@tdd.sj.nec.com>

        * ospfd/ospfd.c: Do not increment act_int for an area, as it is done
          by ospf_ism.c::ism_change_state() - results in incorrect figure
          for active interfaces in an area.

21 years ago2003-10-26 Paul Jakma <paul@dishone.st>
paul [Sun, 26 Oct 2003 21:36:07 +0000 (21:36 +0000)]
2003-10-26 Paul Jakma <paul@dishone.st>

* lib/vty.c: (vty_read) additional change i had applied to Jay's
  telnet sub-option processing crash fix was incorrect, revert.

21 years ago2003-10-24 Jose Luis Rubio Guivernau <jrubio@dit.upm.es>
paul [Fri, 24 Oct 2003 19:02:03 +0000 (19:02 +0000)]
2003-10-24 Jose Luis Rubio Guivernau <jrubio@dit.upm.es>

        * Better 'show bgp' support for views (eg ipv6), see [quagga-dev 238]
        * bgpd/bgp_route.c: (bgp_show) Take a struct bgp argument instead of
          view string.
          (bgp_show_neighbor_route) Take a struct peer argument instead of
          ip string.
          (peer_adj_routes) ditto
          (show_adj_routes) ditto
          (peer_lookup_in_view) new function to return appropriate struct
          peer for a given view string.
          (misc) Fixup all calls to above to reflect new calling arguments,
          and use peer_lookup_in_view as needed. Additional commands
          installed to use expanded functionality above, existing commands
          modified to suit as well.
        * bgpd/bgp_vty.c: 2 new aliases.

21 years ago2003-10-24 waldi@debian.org
paul [Fri, 24 Oct 2003 04:39:18 +0000 (04:39 +0000)]
2003-10-24 waldi@debian.org

* vtysh/Makefile.am: vtysh_cmd.c rebuild was broken because it
  depended against source files without specification, i.e. it
  used ../zebra instead of $(top_srcdir)/zebra.

21 years ago2003-10-24 Paul Jakma <paul@dishone.st>
paul [Fri, 24 Oct 2003 04:24:39 +0000 (04:24 +0000)]
2003-10-24 Paul Jakma <paul@dishone.st>

        * configure.ac: Check for fcntl()
        * {bgpd,ospf,ospf6d,ripd,ripngd}/Makefile.am: Install conf file via
          regular automake means, not magic install incantations, see
          bug #38.
        * lib/Makefile.am: install the headers, needed to link libzebra.a
          (and hence libospf.a, OSPF-API, etc.)

21 years ago2003-10-24 sowmini.varadhan@sun.com
paul [Fri, 24 Oct 2003 04:10:16 +0000 (04:10 +0000)]
2003-10-24 sowmini.varadhan@sun.com

        * lib/pid_output.c: (pid_output) call pid_output_lock if we have
          fcntl().
          (pid_output_lock) grab exclusive write lock on pid file, rather
  than rely on (fragile) exclusive create.

21 years ago2003-10-24 sowmini.varadhan@sun.com
paul [Fri, 24 Oct 2003 00:49:17 +0000 (00:49 +0000)]
2003-10-24 sowmini.varadhan@sun.com

        * ospfd/ospf_network.c: (ospf_sock_init) Exit if socket can not be
          created.

21 years ago2003-10-23 Paul Jakma <paul@dishone.st>
paul [Thu, 23 Oct 2003 20:39:50 +0000 (20:39 +0000)]
2003-10-23 Paul Jakma <paul@dishone.st>

* configure.ac: IRIX configure.ac support. Sort of works.
  sysctl() crashes though (ipforward), there's some kind of odd
  padding in the PF_ROUTE socket messages and setsockopt() on
  SOCK_RAW does not work (so ospfd doesnt work).

21 years ago2003-10-22 Paul Jakma <paul@dishone.st>
paul [Wed, 22 Oct 2003 02:51:38 +0000 (02:51 +0000)]
2003-10-22 Paul Jakma <paul@dishone.st>

        * zebra/kernel_socket.c: HAVE_IPV6 conditional for WRAPUP when
          HAVE_SA_LEN is not defined. bcopy -> memcpy, bcopy is not
          portable.

21 years ago2003-10-22 Paul Jakma <paul@dishone.st>
paul [Wed, 22 Oct 2003 02:51:04 +0000 (02:51 +0000)]
2003-10-22 Paul Jakma <paul@dishone.st>

        * vtysh/Makefile.am: do not include vtysh_cmd.c in dists, its
          configure dependent. (still need to find a way to make building of
          it dependent on configure options or include all commands.)

21 years ago2003-10-22 Paul Jakma <paul@dishone.st>
paul [Wed, 22 Oct 2003 02:50:45 +0000 (02:50 +0000)]
2003-10-22 Paul Jakma <paul@dishone.st>

        * lib/zebra.h: include limits.h if its there, its a portable header
          and useful and not just solaris specific. net/route.h is also
          useful.

21 years ago2003-10-22 Paul Jakma <paul@dishone.st>
paul [Wed, 22 Oct 2003 02:49:38 +0000 (02:49 +0000)]
2003-10-22 Paul Jakma <paul@dishone.st>

        * lib/vty.c: cleanup getcwd again. just pass the buffer in to getcwd.

21 years ago2003-10-22 Paul Jakma <paul@dishone.st>
paul [Wed, 22 Oct 2003 02:41:52 +0000 (02:41 +0000)]
2003-10-22 Paul Jakma <paul@dishone.st>

        * lib/regex.c: bzero -> memset
        * zebra/ioctl.c: ditto. bzero is not portable.

21 years ago2003-10-22 Paul Jakma <paul@dishone.st>
paul [Wed, 22 Oct 2003 00:07:44 +0000 (00:07 +0000)]
2003-10-22 Paul Jakma <paul@dishone.st>

        * configure.ac: Split up header checks into non-net, net and ipv6
          related. Checking of IPv6 is conditional. Add some more output
          text for the end of the configure run.

21 years ago2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>
paul [Sat, 18 Oct 2003 01:30:50 +0000 (01:30 +0000)]
2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>

2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>

        * bgpd/bgp_attr.c: (bgp_dump_routes_attr) Dont dump IPv4 nexthop
  for IP. Dump MP_NLRI attr with IPv6 next-hop for AF_INET6 address
          family prefixes. Accept prefix as argument.
        * bgpd/bgp_attr.c: modify bgp_dump_routes_attr declaration.
        * bgpd/bgp_dump.c: (bgp_dump_routes_entry) Modify calls to
          bgp_dump_routes_attr.
          (bgp_dump_common) Go by the family of the peering socket, not
          configured address family when dumping peering information.
          Add HAVE_IPV6 conditionals, eg missing from previous bgp interval
          patch.

21 years ago2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>
paul [Sat, 18 Oct 2003 01:01:19 +0000 (01:01 +0000)]
2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>

        * bgpd/bgp_dump.{c,h}: (bgp_dump_interval_add) Dump at discrete
          fixed intervals rather than fixed intervals from startup time.
          (bgp_dump_interval_func) Dont return immediately if file cant be
          openeded, but reschedule interval dumps, even - admin might
          fix problem in meantime. Close the dump file in between intervals.
          (bgp_dump_init) account for MSG header when initialising stream
  size.

21 years ago2003-10-15 sowmini.varadhan@sun.com
paul [Wed, 15 Oct 2003 23:20:17 +0000 (23:20 +0000)]
2003-10-15 sowmini.varadhan@sun.com

        * ripd/ripd.c: (rip_send_packet) use rip->sock for mcast sends,
          instead of creating one socket per send. send source addr to
          rip_update_interface.
          (rip_update_process) should send an update on every connected
          network for each interface.
          (rip_request_send) should send a request on every connected
          network for each interface.
        * ripd/ripd.h: update prototype for rip_interface_multicast_set
        * ripd/rip_interface.c: (rip_interface_multicast_set) reorganized
          so that it can be called repeatedly for aliased interfaces (on
          multiple networks).

21 years ago2003-10-15 Paul Jakma <paul@dishone.st>
paul [Wed, 15 Oct 2003 23:12:31 +0000 (23:12 +0000)]
2003-10-15 Paul Jakma <paul@dishone.st>

* configure.ac: bump version

21 years ago2003-10-15 Jay Fenlason <fenlason@redhat.com>
paul [Wed, 15 Oct 2003 23:08:55 +0000 (23:08 +0000)]
2003-10-15 Jay Fenlason <fenlason@redhat.com>

        * lib/vty.c: (vty_telnet_option) Remote DoS exists if a telnet
          end-sub-negotation is sent when no sub-negotation data has been
          sent. Return immediately if no sub-negotation is in progress.
          (vty_read) do not attempt to process options if no sub-negotation
          is in progress.

21 years ago2003-10-15 Paul Jakma <paul@dishone.st>
paul [Wed, 15 Oct 2003 22:09:28 +0000 (22:09 +0000)]
2003-10-15 Paul Jakma <paul@dishone.st>

* lib/vty.c: (vty_save_cwd) dont crash if getcwd fails. try fallback
          to SYSCONFDIR. Allocate cwd from the stack rather than relying on
          (non-portable) getcwd() allocation (which we didnt seem to be
  freeing).

21 years ago2003-10-15 Paul Jakma <paul@dishone.st>
paul [Wed, 15 Oct 2003 21:40:57 +0000 (21:40 +0000)]
2003-10-15 Paul Jakma <paul@dishone.st>

* ospfd/ospf_interface: (ospf_if_lookup_table) fix compile errors
  from previous patch. doh.

21 years ago2003-10-15 Paul Jakma <paul@dishone.st>
paul [Wed, 15 Oct 2003 21:14:20 +0000 (21:14 +0000)]
2003-10-15 Paul Jakma <paul@dishone.st>

        * ospfd/ospf_interface: (ospf_if_lookup_table) new function to
          lookup oi for a given prefix in a given interfaces table of oi's.
          (ospf_if_new) use ospf_if_lookup_table to deal with zebra
          reporting new interface multiple times.
          NB: This patch is a complete plaster-band of a hack. First, why is
          zebra reporting interface events multiple times? Second, why does
          ospfd maintain so many damn lists and tables relating to oi's -
          these should be reconciled into one or two tables.

21 years ago2003-10-13 Jay Fenlason <fenlason@redhat.com>
paul [Mon, 13 Oct 2003 09:49:29 +0000 (09:49 +0000)]
2003-10-13 Jay Fenlason <fenlason@redhat.com>

* ospf6d/ospf6_route.c: Fix 2 compile warnings.

21 years ago2003-10-13 Jay Fenlason <fenlason@redhat.com>
paul [Mon, 13 Oct 2003 09:47:32 +0000 (09:47 +0000)]
2003-10-13 Jay Fenlason <fenlason@redhat.com>

* lib/zebra.h: define UINT32_MAX for those systems which do not
  provide it.
* bgp_attr.h: define BGP_MED_MAX.
* bgp_route.c: update defines/constants to BGP_MED_MAX.
* bgp_routemap.c: ditto. clean up route_match_metric_compile
  slightly to avoid unneccesary XMALLOC.

21 years ago2003-10-13 sowmini.varadhan@sun.com
paul [Mon, 13 Oct 2003 09:06:46 +0000 (09:06 +0000)]
2003-10-13 sowmini.varadhan@sun.com

* ospf_lsa.h: Add OSPF_LSA_PREMATURE_AGE flag.
* ospf_lsa.c: added better debug comments. check sequence number in
  ospf_lsa_install. ospf_maxage_lsa_remover() checks for
    OSPF_LSA_PREMATURE_AGE and re-originates the lsa after ls_acks are
  received.
* ospf_flood.c: improve debug statement- print ls_seqnum.

21 years ago2003-10-13 Douglas Fraser <doug+quagga@idmf.net>
paul [Mon, 13 Oct 2003 08:59:40 +0000 (08:59 +0000)]
2003-10-13 Douglas Fraser <doug+quagga@idmf.net>

* zebra/connected.c: PtP revert fixup. Zebra was not creating
connected route for PtP peer.