]> git.puffer.fish Git - matthieu/frr.git/log
matthieu/frr.git
21 years ago2003-08-10 Yasuyuki Haga <yasuhaga@nifty.ne.jp>
paul [Sun, 10 Aug 2003 04:04:41 +0000 (04:04 +0000)]
2003-08-10 Yasuyuki Haga <yasuhaga@nifty.ne.jp>

* ospfd/ospf_zebra.c: (ospf_zebra_delete) Do not dereference the
ifp, it mightn't exist.

21 years ago2003-08-10 amir <amir@datacore.ch>
paul [Sun, 10 Aug 2003 02:51:22 +0000 (02:51 +0000)]
2003-08-10 amir <amir@datacore.ch>

* Add missing 'i' to getopts, short form of --pid_file.
  see http://bugzilla.quagga.net/show_bug.cgi?id=25

21 years ago2003-08-07 kunihiro <kunihiro@zebra.org>
paul [Fri, 8 Aug 2003 00:24:31 +0000 (00:24 +0000)]
2003-08-07 kunihiro <kunihiro@zebra.org>

* bgpd/bgp_route.c: route server passes routes which may have
  no-export community

21 years agoTemporary "fix" for segfault. See bug #29 in bugzilla for details.
hasso [Thu, 7 Aug 2003 09:29:13 +0000 (09:29 +0000)]
Temporary "fix" for segfault. See bug #29 in bugzilla for details.

21 years ago2003-08-06 Anders K. Pedersen <mailnews+router-quagga-dev@news.cohaesio.com>
paul [Wed, 6 Aug 2003 22:41:29 +0000 (22:41 +0000)]
2003-08-06 Anders K. Pedersen <mailnews+router-quagga-dev@news.cohaesio.com>

* ospfd/ospf_vty.c: (ospf_config_write) fix output of
passive-interface when IP has been specified - we still need to
print the interface.

21 years ago2003-08-06 kunihiro <kunihiro@zebra.org>
paul [Wed, 6 Aug 2003 21:47:28 +0000 (21:47 +0000)]
2003-08-06  kunihiro <kunihiro@zebra.org>

* bgpd/bgp_filter.c: "show ip as-path-access-list"

21 years ago2003-08-07 Kyle Gonzalez <kgonzale@redhat.com>
paul [Tue, 5 Aug 2003 23:24:58 +0000 (23:24 +0000)]
2003-08-07 Kyle Gonzalez <kgonzale@redhat.com>

* redhat/zebra.spec.in: Fix errors for unpackaged files - fatal
  error for rpm builds on newer rpm platforms.

21 years ago2003-08-01 Cougar <cougar@random.ee>
paul [Fri, 1 Aug 2003 00:24:13 +0000 (00:24 +0000)]
2003-08-01 Cougar <cougar@random.ee>

* lib/if.c: (if_cmp_func) new function, compare interface names in
alphabetical order.
(if_create) Take name as argument and add interface in sorted order.
(if_get_by_name),(interface_cmd) fixup calls to if_create - see
above.
(if_init) register list comparison function.
* lib/if.h: Add comparison function, modify if_create prototype.
* lib/zclient.c: Modify call to if_create.
* ospfd/ospf_interface.c: (ospf_vl_new) modify call to if_create.
change sprintf to snprintf.
* zebra/kernel_socket.c: (ifm_read) modify call to if_create.

21 years ago2003-07-26 Paul Jakma <paul at dishone.st>
paul [Sat, 26 Jul 2003 06:14:55 +0000 (06:14 +0000)]
2003-07-26 Paul Jakma <paul at dishone.st>

* lib/command.c: Add config_log_syslog_facility_cmd, to set
          syslog facility. This was a commit to zebra.org on May 20,
          merge in to zebra-pj.

21 years ago2003-07-26 Paul Jakma <paul@dishone.st>
paul [Sat, 26 Jul 2003 06:05:18 +0000 (06:05 +0000)]
2003-07-26 Paul Jakma <paul@dishone.st>

* lib/command.c: Add config_log_syslog_facility_cmd, to set
          syslog facility. This was a commit to zebra.org on May 20,
          merge in to zebra-pj.

21 years ago2003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
paul [Thu, 24 Jul 2003 23:22:57 +0000 (23:22 +0000)]
2003-07-25 kamatchi soundaram <kamatchi@tdd.sj.nec.com>

        * ospf_packet.c (ospf_ls_upd_send_queue_event): get next route
          node in body of the loop to avoid chance that route node
          is unlocked and deleted before the next iteration tries to
          get next route node.

21 years ago2003-07-15 Paul Jakma <paul@dishone.st>
paul [Tue, 15 Jul 2003 12:52:22 +0000 (12:52 +0000)]
2003-07-15 Paul Jakma <paul@dishone.st>

        * lib/version.h: add ZEBRA_URL (unused for now)
        * lib/vty.c: CMD_ERR_NOTHING_TODO when reading conf file should not
          be fatal. slight reformating.
        * ospfd/ospf_zebra.c: ignore reject/blackhole routes if zebra sends
          these type of routes. probably should be a new type of route to
          allow daemons to more easily choose whether to redistribute them
          - rathen than just a flag (eg for reject/blackhole).
          reorder the is_prefix_default test for ZEBRA_IPV4_ROUTE_DELETE to
          avoid the inverted test - slightly more readable.
        * redhat/zebra.spec.in: Add ospfapi port to services file, if
          with_ospfapi.
        * zebra/rib.h: Change nexthop types to an enum.
        * zebra/rt_netlink.c: run it through indent -nut.
          Add nexthop_types_desc[] descriptive array for nexthop types.
          (netlink_route_multipath) debug statements indicate which branch
          they are in and print out nexthop type.
        * zebra/zebra_rib.c: slight reformatting.
        * zebra/zebra_vty.c: Pass ZEBRA_FLAG_BLACKHOLE flag to
          static_add_ipv4() if Null0 route is configured. print out Null0 if
          STATIC_IPV4_BLACKHOLE route, and ignore flags (shouldnt be
          possible to set flags from vty) for config and show route.

21 years ago2003-07-13 Paul Jakma <paul@dishone.st>
paul [Sun, 13 Jul 2003 01:36:06 +0000 (01:36 +0000)]
2003-07-13 Paul Jakma <paul@dishone.st>

* ospf_lsa.c: fix up some places where an NSSA specific define,
  (OSPF_LSA_LOCAL_XLT) was referenced in if statements without being
  ifdef'ed by HAVE_NSSA.

21 years ago2003-07-12 Matthias Ferdinand <mferd@sanet.de>
paul [Sat, 12 Jul 2003 21:49:25 +0000 (21:49 +0000)]
2003-07-12 Matthias Ferdinand <mferd@sanet.de>

* zebra/if_proc.c: zebra does not close the file after reading
          /proc/net/dev for retrieving interface names and statistics.
          call fclose(fp) before returning from ifstat_update_proc()
          or interface_list_proc()

21 years ago2003-07-12 Paul Jakma <paul@dishone.st>
paul [Sat, 12 Jul 2003 21:46:53 +0000 (21:46 +0000)]
2003-07-12 Paul Jakma <paul@dishone.st>

* vtysh/Makefile.am: explicitely list the files required for
          vtysh_cmd.c to be generated, to minimise spurious rebuilds.

21 years ago2003-07-12 Paul Jakma <paul@dishone.st>
paul [Sat, 12 Jul 2003 21:46:24 +0000 (21:46 +0000)]
2003-07-12 Paul Jakma <paul@dishone.st>

* redhat/zebra.pam: Default to allow root

21 years ago2003-07-12 Paul Jakma <paul@dishone.st>
paul [Sat, 12 Jul 2003 21:43:01 +0000 (21:43 +0000)]
2003-07-12 Paul Jakma <paul@dishone.st>

* bgp_vty.c: install the neighbor_set_peer_group_cmd,
  neighbor_soft_reconfiguration_cmd and neighbor_unsuppress_map_cmd
  family of commands into the VPNv4 address family config node.

21 years ago2003-07-12 Paul Jakma <paul@dishone.st>
paul [Sat, 12 Jul 2003 21:30:57 +0000 (21:30 +0000)]
2003-07-12 Paul Jakma <paul@dishone.st>

* (global): Add/fixup NSSA ABR translation functionality
* ospfd.h: Adjust the NSSA ROLE defines. Rename STATE to TRANSLATE.
  Rename the LSA_NSSA_GET define to LSA_OPTIONS_NSSA_GET.
* ospfd.c: Adjust to match changes to ospfd.h
* ospf_te.c: Adjust to match change to LSA_NSSA_GET.
* ospf_lsa.h: slights reformatting.
  Add new NSSA functions, ospf_translated_nssa_compare() (not
  currently used), ospf_translated_nssa_refresh() and
  ospf_translated_nssa_originate().
* ospf_lsa.c: Implemented aforementioned new functions. Fix up
  several NSSA hooks to /not/ be called for Type-5s which are
  translated. Add additional hooks. Set the ROUTER_LSA_NT bit in
  router-lsa flags if ABR does translation. New function,
  ospf_lsa_translated_nssa_new() implemented. Dont register
  translated LSAs for refreshing - instead we implicitly rely on
  the ASBR refreshing the Type-7, and refresh the translated Type-5
  at the same time. Some minor reformatting. Extra debug info added.
  Also, existing debug statements modified to report LSA Id.
* ospf_flood.c: call ospf_translated_nssa_refresh() when refreshing
  Type-7. minor reformatting.
* ospf_dump.c: Dump NSSA LSAs.
* ospf_asbr.h: slight reformatting. Export
  ospf_external_route_lookup() (though, not used. probably will
          undo this).
        * ospf_abr.c: Slight reformatting in many places. Update to match
          ospfd.h changes.
          (ospf_abr_translate_nssa): make it work, using the new ospf_lsa
  translation functions.
  (Several places): change struct prefix * to struct prefix_ipv4 *.
  (might as well do the casts at higher levels). Add more debug
  info.
  (ospf_abr_announce_stub_defaults): announce default to NSSA areas
  too.
  (ospf_abr_announce_nssa_defaults): do nothing. this function
          probably should die. (see ospf_abr_announce_stub_defaults).
  (ospf_abr_task_timer): run NSSA tasks.

21 years ago2003-07-11 Vsevolod Sipakov <zebra@vs.megalink.ru>
paul [Fri, 11 Jul 2003 17:55:46 +0000 (17:55 +0000)]
2003-07-11 Vsevolod Sipakov <zebra@vs.megalink.ru>

* lib/command.c: Add missing HAVE_IPV6 defines.
          see bug id #23: http://bugzilla.dishone.st/show_bug.cgi?id=23

21 years ago2003-06-11 Paul Jakma <paul@dishone.st>
paul [Fri, 11 Jul 2003 17:42:09 +0000 (17:42 +0000)]
2003-06-11 Paul Jakma <paul@dishone.st>

* zebra/if_ioctl.c: Fix missing declaration for if_fake_index.
  See bug id #24: http://bugzilla.dishone.st/show_bug.cgi?id=24
  reported by Vsevolod Sipakov.

21 years ago2003-07-09 Paul Jakma <paul@dishone.st>
paul [Wed, 9 Jul 2003 16:09:20 +0000 (16:09 +0000)]
2003-07-09 Paul Jakma <paul@dishone.st>

* ospf_apiserver.c: Add missing close bracket

21 years ago2003-07-09 Paul Jakma <paul@dishone.st>
paul [Wed, 9 Jul 2003 15:46:33 +0000 (15:46 +0000)]
2003-07-09 Paul Jakma <paul@dishone.st>

* ospfd/ospf_apiserver.c: check for NULL from ospf_lookup()

21 years ago2003-07-08 Tristan Horn <tristan+z@ethereal.net>
paul [Tue, 8 Jul 2003 08:36:17 +0000 (08:36 +0000)]
2003-07-08 Tristan Horn <tristan+z@ethereal.net>

* configure.ac: Fix recognition of FreeBSD if /dev/ip is found.

21 years ago2003-07-8 Chris Andrews <chris@nodnol.org>
paul [Tue, 8 Jul 2003 08:09:45 +0000 (08:09 +0000)]
2003-07-8 Chris Andrews <chris@nodnol.org>

* zebra/kernel_socket.c: Update for new zebrad global struct
* zebra/ipforward_solaris.c: Add missing privs.h include. Uncomment
          /dev/ip define.
* lib/zebra.h: Add typedefs for SunOS.

21 years agoDon't install Type-7 LSA's into nonNSSA area.
hasso [Thu, 3 Jul 2003 08:36:02 +0000 (08:36 +0000)]
Don't install Type-7 LSA's into nonNSSA area.

21 years ago2003-06-30 Paul Jakma <paul@dishone.st>
paul [Mon, 30 Jun 2003 22:46:14 +0000 (22:46 +0000)]
2003-06-30 Paul Jakma <paul@dishone.st>

* (show_ip_ospf_database_header) Fix unconditional NSSA-dependent
          printf.

21 years ago2003-06-30 Paul Jakma <paul@dishone.st>
paul [Mon, 30 Jun 2003 21:41:26 +0000 (21:41 +0000)]
2003-06-30 Paul Jakma <paul@dishone.st>

* ospf_packet.c: (ospf_ls_upd_send_queue_event) undo fix suggested
          Mikael Lonnroth. As per Kamatchi Soundaram /
          [zebra 19590], original behaviour is correct.

21 years ago2003-06-27 Paul Jakma <paul@dishone.st>
paul [Fri, 27 Jun 2003 01:28:45 +0000 (01:28 +0000)]
2003-06-27 Paul Jakma <paul@dishone.st>

        * ospf_vty.c: (global) add, unused, description array for lsa flags.
  (show_ip_ospf_database_header): pretty print options, printf hex
          numbers as 0x, print lsa flags and note if it is a translated LSA.
          (show_lsa_detail_proc): print out OSPF_LSA_LOCAL_XLT LSAs.
* ospf_packet.c: (ospf_write) print out destination IP in debug info
          if write fails.

21 years ago2003-06-26: Mikael Lonnroth <gml@advancevpn.com>
paul [Thu, 26 Jun 2003 03:00:40 +0000 (03:00 +0000)]
2003-06-26: Mikael Lonnroth <gml@advancevpn.com>

* ospf_packet.c: (ospf_ls_upd_send_queue_event) clean up list node
  and unlock lsa if we break early. (eg packet size too large).

21 years agoAdd IPv6 ping and traceroute.
hasso [Wed, 25 Jun 2003 10:49:55 +0000 (10:49 +0000)]
Add IPv6 ping and traceroute.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 09:04:47 +0000 (09:04 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf_vty.c (ospf_area_stub_no_summary): fix typo.
  (ospf_area_nssa_cmd_handler): new function to handle the
  area.*nssa commands.
  (ospf_area_nssa_cmd): changed to call ospf_area_nssa_cmd_handler
  (ospf_area_nssa_translate_cmd) ditto
  (ospf_area_nssa_translate_cmd): changed from ALIAS to defun, call
  ospf_area_nssa_cmd_handler
  (ospf_area_nssa_translate_no_summary_cmd): ditto
  (no_ospf_area_nssa_cmd): call ospf_schedule_abr_task()
  (show_ip_ospf_area): Formatting cleanups. Properly print out NSSA
          area configuration.
  show_router_lsa_detail: Add missing newline
  (show_network_lsa_detail): ditto
  (show_summary_lsa_detail): ditto
  (show_summary_asbr_lsa_detail): ditto
  (show_ip_ospf_route_router): fix spacing
  (config_write_ospf_area): actually write out proper state for NSSA
  area.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 08:49:25 +0000 (08:49 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf_abr.c (ospf_abr_nssa_am_elected): new function.
  Look through LSDB for an area and try determine whether other
  routers are more 'electable' than this router. Presumes caller
  has checked Role.
  (ospf_abr_nssa_check_status): new function. check any NSSA related
          status changes. At present determines NSSATranslatorState should
  be enabled or disabled.
  (ospf_abr_announce_network_to_area): remove the redundant
  call to ospf_abr_announce_network_to_area() (as per Vadim,
  [zebra 14710], problem 7).
  (global): Update NSSATranslator to NSSATranslatorState as per
  ospfd.h changes
  (ospf_abr_announce_nssa_defaults): call
  ospf_abr_announce_network_to_area() to inject default summaries.
  (ospf_abr_nssa_task): undo commented out calls to
  ospf_abr_prepare_aggregates() and ospf_abr_send_nssa_aggregates(),
  if they're borked, lets fix them.
  (ospf_abr_task): remove call to ospf_abr_nssa_task() - move this
  to the timer scheduler.
  (ospf_abr_task_timer): call ospf_abr_nssa_task() and
  ospf_abr_nssa_check_status()
  (misc): some minor reformatting.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 08:35:18 +0000 (08:35 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospfd.c (ospf_area_nssa_set): Set defaults for NSSA Role, State
  and Stability Interval and no_summary.
  (ospf_area_nssa_translator_role_(un?)set): Update to
  NSSATranslatorRole

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 08:32:35 +0000 (08:32 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospfd.h (struct ospf_area): remove NSSATranslator. Add
  NSSATranslatorState and NSSATranslatorStabilityInterval (currently
  not used).
  (global): add OSPF_NSSA_TRANS_STABLE_DEFAULT, default for
  NSSATranslatorStabilityInterval. Update the LSA_NSSA_GET to
  reflect struct ospf_area changes.

21 years ago2003-06-19 "Suraev, Vadim" <vadim.suraev@terayon.com>
paul [Sun, 22 Jun 2003 08:28:18 +0000 (08:28 +0000)]
2003-06-19 "Suraev, Vadim" <vadim.suraev@terayon.com>

* ospf_route.c: delete routes generated from AS-External routes if
  there is a inter/intra route. Adds ospf_route_delete_same_ext()
  which prunes external routes, which is called from
  ospf_route_install() when new route table is installed.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 08:23:01 +0000 (08:23 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf_lsa.h: elaborate on comment for ROUTER_LSA_NT
  add IS_ROUTER_LSA_NT macro.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 08:22:18 +0000 (08:22 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf_lsa.c (router_lsa_flags): Set the correct flags for
  router-lsa's. Eg OSPF_FLAG_ASBR is /not/ an LSA flag, its an
  internal ospfd flag (just happens to have same value as
  ROUTER_LSA_EXTERNAL). Set ROUTER_LSA_EXTERNAL for ASBRs,
  ROUTER_LSA_BORDER for ABRs and ROUTER_LSA_NT for NSSA ABRs which
  are OSPF_NSSA_ROLE_ALWAYS translators.

21 years ago2003-06-19 "Suraev, Vadim" <vadim.suraev@terayon.com>
paul [Sun, 22 Jun 2003 08:17:12 +0000 (08:17 +0000)]
2003-06-19 "Suraev, Vadim" <vadim.suraev@terayon.com>

* ospf_interface.c (ospf_vl_set_params): new router LSA is not
generated when the cost of the routing entry for the virtual
link endpoint has changed. If the cost to reach the virtual link's
endpoint has changed, add router LSA timer for the backbone area.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Sun, 22 Jun 2003 08:14:51 +0000 (08:14 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf_dump.h: fix NSSA debug define

21 years ago2003-06-20 Paul Jakma <paul@dishone.st>
paul [Fri, 20 Jun 2003 01:18:07 +0000 (01:18 +0000)]
2003-06-20 Paul Jakma <paul@dishone.st>

* *.texi: update the docs a bit. Add some info about
  zebra.dishone.st in the overview. Add link-detect and update
  static routes section in zebra. Add write-config in vtysh. Update
  version handling and add passive-interface default for ripd.

21 years ago2003-06-20 Paul Jakma <paul@dishone.st>
paul [Fri, 20 Jun 2003 00:23:27 +0000 (00:23 +0000)]
2003-06-20 Paul Jakma <paul@dishone.st>

* rip_interface.c: add 'default' to passive-interface command DEFUN

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Jun 2003 02:18:02 +0000 (02:18 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospf6d/ospf6_message.c: Change memcpy() to strcpy() to prevent
  copying of extraneous junk - suggested by Anil Madhavapeddy
          <anil@recoil.org> on bug-zebra@gnu.org.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Jun 2003 02:13:25 +0000 (02:13 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospfd/ospf_zebra.c: Run it through indent -nut to fix the $%^@ing
annoying mix of tabs and spaces.

21 years ago2003-06-19 Vladimir Ivaschenko <hazard@francoudi.com>
paul [Thu, 19 Jun 2003 02:11:23 +0000 (02:11 +0000)]
2003-06-19 Vladimir Ivaschenko <hazard@francoudi.com>

* ospfd/ospf_zebra.c: [zebra 19434] fix for disappearing OSPF routes
modify ospf_zebra_delete() to specify nexthop when deleting routes
with zebra.

21 years ago2003-06-19 Vladimir Ivaschenko <hazard@francoudi.com>
paul [Thu, 19 Jun 2003 01:41:37 +0000 (01:41 +0000)]
2003-06-19 Vladimir Ivaschenko <hazard@francoudi.com>

* zebra/rt_netlink.c: Debug statements added to
          netlink_route_multipath()
* zebra/zebra_rib.c: If route has a gateway, delete only existing
          route with that specified gateway.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Jun 2003 01:21:07 +0000 (01:21 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* Fix lib/smux.c's reliance on daemons exporting struct
          thread_master *master.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Jun 2003 01:07:40 +0000 (01:07 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospfd/ospf_packet.c: Fix typos, extra squiggly bracket. Note to
  self: in future make sure that when you test compile a change you
          actually have the relevant configure options enabled.

21 years ago2003-06-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Jun 2003 00:26:34 +0000 (00:26 +0000)]
2003-06-19 Paul Jakma <paul@dishone.st>

* ospfd/ospf_packet.c: Update Hasso's hack slightly, add comment
  elaborating on Hasso's, use the SET/CHECK_FLAG macros.

21 years ago2003-06-15 Paul Jakma <paul@dishone.st>
paul [Sun, 15 Jun 2003 01:28:29 +0000 (01:28 +0000)]
2003-06-15 Paul Jakma <paul@dishone.st>

* lib/vty.{c,h}: Remove vty layer depending on a 'master' global,
  pass the thread master in explicitly to vty_init. Sort out some
  header dependency problems with lib/command.h
* zebra/: Move globals to struct zebrad. Update vty_init().
* (.*)/\1_main.c: update call to vty_init().

21 years ago2003-06-12 Paul Jakma <paul@dishone.st>
paul [Thu, 12 Jun 2003 02:13:45 +0000 (02:13 +0000)]
2003-06-12 Paul Jakma <paul@dishone.st>

* zebra/ioctl.c: Properly zero-out struct ifreq before passing it
          to the SIOCSIFFLAGS ioctl(2), so that it doesn't
          occasionally trigger promisc mode on interface.
          Reported/tested by: Vladimir B. Grebenschikov <vova@sw.ru>

          (patch snarfed taken from FreeBSD ports)

21 years ago2003-06-11 Paul Jakma <paul@dishone.st>
paul [Wed, 11 Jun 2003 08:03:08 +0000 (08:03 +0000)]
2003-06-11 Paul Jakma <paul@dishone.st>

* bgpd/ChangeLog: Update (wasnt commited with the fix)

21 years ago2003-06-11 Paul Jakma <paul@dishone.st>
paul [Wed, 11 Jun 2003 05:12:40 +0000 (05:12 +0000)]
2003-06-11 Paul Jakma <paul@dishone.st>

* lib/privs.h (zprivs_init): do not use zlog() as it depends on
  vty having been initialised (zlog calls vty_log). print to stderr
  directly instead.

21 years ago2003-06-09 Paul Jakma <paul@dishone.st>
paul [Mon, 9 Jun 2003 18:48:31 +0000 (18:48 +0000)]
2003-06-09 Paul Jakma <paul@dishone.st>

        * bgp_clist.c (community_list_delete): honour deny statements

21 years ago2003-06-08 Paul Jakma <paul@dishone.st>
paul [Sun, 8 Jun 2003 21:22:18 +0000 (21:22 +0000)]
2003-06-08 Paul Jakma <paul@dishone.st>

Compile and warning fixes for the ripd 'passive-interface default' patch.

21 years ago2003-06-07 Paul Jakma <paul@dishone.st>
paul [Sat, 7 Jun 2003 02:03:11 +0000 (02:03 +0000)]
2003-06-07 Paul Jakma <paul@dishone.st>

* (bgp_clist.c): Run it through indent -nut (all indentation to
   be spaced, get rid of mix of tabs and spaces)

21 years agoFrom: Andrew J. Schorr <aschorr@telemetry-investments.com>
paul [Sat, 7 Jun 2003 01:10:00 +0000 (01:10 +0000)]
From: Andrew J. Schorr <aschorr@telemetry-investments.com>
Subject: [zebra 12403] patch for ripd to accept any version of RIP
by default

The default Cisco IOS behavior is to send RIP version 1 packets and receive
version 1 and version 2 packets.  But zebra version 0.92a sends and receives
only version 2 packets by default.

I have patched the code to change zebra's default behavior to sending
version 2 packets (same as before) but receiving both versions.  While
this is still not identical to Cisco's behavior, it does now accept
packets of both versions and retains backwards compatibility with
zebra configurations.

21 years agoFrom: Andrew J. Schorr <aschorr@telemetry-investments.com>
paul [Sat, 7 Jun 2003 01:04:45 +0000 (01:04 +0000)]
From: Andrew J. Schorr <aschorr@telemetry-investments.com>
Subject: [zebra 12406] patch for ripd to support "passive-interface
default" behavior

In Cisco IOS, the router rip passive-interface subcommand can accept
an interface name of "default".  In that cases, all interfaces are set
to be passive by default, and you must explicitly make it non-passive
by using the "no passive-interface <ifname>" command if you want updates
to go to that interface.

<command implemented for zebra>

21 years ago2003-06-07 Paul Jakma <paul@dishone.st>
paul [Sat, 7 Jun 2003 00:12:15 +0000 (00:12 +0000)]
2003-06-07 Paul Jakma <paul@dishone.st>

* (zebra/rtadvc.): can not set checksum for ICMPV6, see:

From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
Subject: [zebra 11052] setsockopt(IPV6_CHECKSUM) does not work for ICMPv6
socket

setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket.
RFC2292 may not be clear enough about it (it talks about raw socket
and ICMPv6 socket mixed up), but the next revision
(draft-ietf-ipngwg-rfc2292bis-02.txt) is very clear about it.
>   An attempt to set IPV6_CHECKSUM for an ICMPv6 socket will fail.

21 years ago2003-06-07 Paul Jakma <paul@dishone.st>
paul [Fri, 6 Jun 2003 23:27:04 +0000 (23:27 +0000)]
2003-06-07 Paul Jakma <paul@dishone.st>

* (ospf_spf.c): Fix indentation - primarily the mix of tabs and spaces.
Ran through indent -nut (GNU style, but only spaces for indentation)

21 years ago2003-06-07 Paul Jakma <paul@dishone.st>
paul [Fri, 6 Jun 2003 23:24:55 +0000 (23:24 +0000)]
2003-06-07 Paul Jakma <paul@dishone.st>

* Revert Cougar's sort interface names patch, causes problems with
enabling of interfaces for OSPF in ospfd.

21 years ago2003-06-7 kamatchi soundaram <kamatchi@tdd.sj.nec.com>
paul [Fri, 6 Jun 2003 23:23:36 +0000 (23:23 +0000)]
2003-06-7 kamatchi soundaram <kamatchi@tdd.sj.nec.com>

* (ospf_spf.c): Fix consideration of costs for PtP nexthops in
  ospf_nexthop_calculation().

21 years ago2003-06-06 Paul Jakma <paul@dishone.st>
paul [Fri, 6 Jun 2003 12:19:53 +0000 (12:19 +0000)]
2003-06-06 Paul Jakma <paul@dishone.st>

* Fix up defaults for --enable-{user,group}

21 years ago2003-06-06 Paul Jakma <paul@dishone.st
paul [Fri, 6 Jun 2003 00:30:35 +0000 (00:30 +0000)]
2003-06-06 Paul Jakma <paul@dishone.st

* Fix up case of --enable-vty-group not being specified

21 years agoPatch from Cougar - sort iflist by name.
hasso [Thu, 5 Jun 2003 17:50:01 +0000 (17:50 +0000)]
Patch from Cougar - sort iflist by name.

21 years agoUnbreak router advertisment feature when using capabilities.
hasso [Thu, 5 Jun 2003 11:33:10 +0000 (11:33 +0000)]
Unbreak router advertisment feature when using capabilities.

21 years agoPaul forgot probably to commit privs.[c|h] changes. Had to reorder includes
hasso [Wed, 4 Jun 2003 17:41:54 +0000 (17:41 +0000)]
Paul forgot probably to commit privs.[c|h] changes. Had to reorder includes
in zebra.h to make it compile in debian.

21 years ago2003-06-04 Paul Jakma <paul@dishone.st>
paul [Wed, 4 Jun 2003 13:59:38 +0000 (13:59 +0000)]
2003-06-04 Paul Jakma <paul@dishone.st>

* Merge of zebra privileges

21 years ago2003-06-04 Paul Jakma <paul@dishone.st>
paul [Wed, 4 Jun 2003 11:01:45 +0000 (11:01 +0000)]
2003-06-04 Paul Jakma <paul@dishone.st>

* (configure.in): removed
* (configure.ac): Fixes/cleanups backported from zprivs branch
   AC_DEFINE templates added,
   Indentation of nested macros,
   IPv6 checks changed from independent if..fi blocks to
     if...elif...fi.,
   Merge piddir and ac_sockdir into one ac_statedir,
   Remove world writeable dirs as candidates for ac_statedir,
   ERROR out if no state dir is found or --localstatedir not
             specified,

21 years ago2003-06-04 Paul Jakma <paul@dishone.st>
paul [Wed, 4 Jun 2003 10:19:12 +0000 (10:19 +0000)]
2003-06-04 Paul Jakma <paul@dishone.st>

* (Makefile.am): doc should be a SUBDIR. Specify DIST_SUBDIRS to
remove dependence of make dist on configure options. Add doc/mpls
to EXTRA_DIST. redhat/ does not need a dist-hook, its already in
SUBDIR. Remove CVS/ dir from the dist doc/.

21 years agoPaul Jakma:
paul [Wed, 4 Jun 2003 09:40:54 +0000 (09:40 +0000)]
Paul Jakma:

lib/debug.{c,h}: glibc backtrace printing function (from the glibc info page)
configure.ac: check for glibc backtrace and set define
lib/zebra.h: glibc backtrace support

21 years agoPaul Jakma: acconfig.h is deprecated.
paul [Wed, 4 Jun 2003 09:01:51 +0000 (09:01 +0000)]
Paul Jakma: acconfig.h is deprecated.

21 years agoIgnore dist tar file
paul [Wed, 4 Jun 2003 08:50:54 +0000 (08:50 +0000)]
Ignore dist tar file

21 years agoFrom: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
paul [Wed, 4 Jun 2003 02:28:45 +0000 (02:28 +0000)]
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
Subject: [zebra 19263] Another memory leak!! is zebra OSPF

   This memory leak gets into picture whenever any interface goes down.

 Problem found and desctription: Whenever the interface goes down, the
 "def_params" (member of ospf_if_info) structure memory is not freed.

 Fix made: added the following line to free the "def_params" memory of
 ospf_if_info before calling the  "XFREE(MTYPE_OSPF_IF_INFO, ifp->info);"
 The added line is:
       ospf_del_if_params ((struct ospf_if_params *) IF_DEF_PARAMS (ifp));

21 years agoFrom: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
paul [Wed, 4 Jun 2003 02:23:15 +0000 (02:23 +0000)]
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
Subject: [zebra 19262] Re: Memory leak in OSPF

Fix applied for Kamatchi's original report was to remove the auth_crypt
initialisation from the wrong function. This should fix that.

21 years agoFrom: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
paul [Tue, 3 Jun 2003 03:03:34 +0000 (03:03 +0000)]
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
Subject: [zebra 19259] Memory leak in OSPF

The detail of the memory leak follows:
 File name: ospf_interface.c
 Function name: ospf_if_new_hook().
 Type of leak: Overwriting the already allocated memory.
 Problem found and description:
 The ospf_new_if_params() fn allocates a memory for "auth_crypt" which
 is overwritten, down in the fn (ospf_if_new_hook) by explicitely allocating
 a memory for the same "auth_crypt".

 Fix: remove allocation from ospf_new_if_params()

21 years agoApply redistribution route-map's correctly.
hasso [Mon, 2 Jun 2003 10:38:15 +0000 (10:38 +0000)]
Apply redistribution route-map's correctly.

21 years agoCommit my hack to fix options mismatch in NSSA area DD packets. It shouln't
hasso [Thu, 29 May 2003 22:18:15 +0000 (22:18 +0000)]
Commit my hack to fix options mismatch in NSSA area DD packets. It shouln't
harm, but of course ... it is hack.

21 years agoospfd/ospfd.h: Change delay and holdtime to 1s. More appropriate values for
paul [Thu, 29 May 2003 17:26:24 +0000 (17:26 +0000)]
ospfd/ospfd.h: Change delay and holdtime to 1s. More appropriate values for
the class of machines which zebra runs on than the original defaults which
were taken from IOS (and even IOS uses much lower times these days). Lower
values greatly help with convergence.

Ideally, we'd use even lower times, but thread_add_timer() api will need to
be modified to use milliseconds. (eg JunOS uses 100ms for delay, and 700ms
for hold time, iirc from Hasso).

21 years agolib/table.c: Fix the SET_LINK macro. (not that its of any worth)
paul [Thu, 29 May 2003 17:18:47 +0000 (17:18 +0000)]
lib/table.c: Fix the SET_LINK macro. (not that its of any worth)

21 years agoripngd/Makefile.am: missing ripng_nexthop.h from _HEADERS line. breaks
paul [Wed, 28 May 2003 18:37:52 +0000 (18:37 +0000)]
ripngd/Makefile.am: missing ripng_nexthop.h from _HEADERS line. breaks
make dist.

21 years agoIPv4 part of "make reject|blackhole routes work without nexthop|interface".
hasso [Wed, 28 May 2003 12:02:15 +0000 (12:02 +0000)]
IPv4 part of "make reject|blackhole routes work without nexthop|interface".

21 years agoRivo Nurgess: Add cobalt machine type
paul [Tue, 27 May 2003 09:26:22 +0000 (09:26 +0000)]
Rivo Nurgess: Add cobalt machine type

21 years ago*BSD compile fix from Rivo Nurges.
hasso [Mon, 26 May 2003 14:35:50 +0000 (14:35 +0000)]
*BSD compile fix from Rivo Nurges.

21 years agoAdd .cvsignore for redhat
paul [Mon, 26 May 2003 00:22:23 +0000 (00:22 +0000)]
Add .cvsignore for redhat

21 years agoSync to configure.ac
paul [Sun, 25 May 2003 23:52:37 +0000 (23:52 +0000)]
Sync to configure.ac

21 years agoChange rtadv to default to disabled.
paul [Sun, 25 May 2003 23:51:31 +0000 (23:51 +0000)]
Change rtadv to default to disabled.

21 years agoFix missing else in static_add_ipv4() which was causing case of (!ifname)
paul [Sun, 25 May 2003 23:24:50 +0000 (23:24 +0000)]
Fix missing else in static_add_ipv4() which was causing case of (!ifname)
to always be considered to be a blackhole route. (if gate is passed in, it
cant be).

21 years agoTiny fixes from 6Wind patch.
hasso [Sun, 25 May 2003 22:11:22 +0000 (22:11 +0000)]
Tiny fixes from 6Wind patch.

21 years agoospf6d part of 6Wind patch.
hasso [Sun, 25 May 2003 21:39:29 +0000 (21:39 +0000)]
ospf6d part of 6Wind patch.

21 years agoAdd back support for null0 interface blackhole routes.
paul [Sun, 25 May 2003 21:35:06 +0000 (21:35 +0000)]
Add back support for null0 interface blackhole routes.

21 years agoLast fixes from 6Wind patch.
hasso [Sun, 25 May 2003 21:04:54 +0000 (21:04 +0000)]
Last fixes from 6Wind patch.

21 years agoSync with configure.in.
hasso [Sun, 25 May 2003 20:18:13 +0000 (20:18 +0000)]
Sync with configure.in.

21 years agoMerged 6Wind patch.
hasso [Sun, 25 May 2003 20:03:48 +0000 (20:03 +0000)]
Merged 6Wind patch.

21 years agoRoute (reject|blackhole) support from 6Wind patch.
hasso [Sun, 25 May 2003 19:21:25 +0000 (19:21 +0000)]
Route (reject|blackhole) support from 6Wind patch.

21 years agoUpdate changelog as well.
hasso [Sun, 25 May 2003 17:14:25 +0000 (17:14 +0000)]
Update changelog as well.

21 years agoRipngd part of 6Wind patch.
hasso [Sun, 25 May 2003 17:10:12 +0000 (17:10 +0000)]
Ripngd part of 6Wind patch.

21 years agoUnbroke "set metric" command in vtysh again.
hasso [Sun, 25 May 2003 16:02:39 +0000 (16:02 +0000)]
Unbroke "set metric" command in vtysh again.

21 years agoRIP has now "route-map x [in|out] <interface>" as well.
hasso [Sun, 25 May 2003 15:13:49 +0000 (15:13 +0000)]
RIP has now "route-map x [in|out] <interface>" as well.

21 years agoMerge RIP part of 6Wind patch.
hasso [Sun, 25 May 2003 14:49:19 +0000 (14:49 +0000)]
Merge RIP part of 6Wind patch.

21 years agoJust "write" command without any parameters writes conf to file.
hasso [Sun, 25 May 2003 11:51:29 +0000 (11:51 +0000)]
Just "write" command without any parameters writes conf to file.