summaryrefslogtreecommitdiffstats
path: root/ospfd
Commit message (Collapse)AuthorAgeFilesLines
...
| * * Make updating redistributions work if prefix list is changed and it'shasso2004-05-104-52/+66
| | | | | | | | | | used in route-map used to filter redistributions. * Move ospf_prefix_list_update() function from ospfd.c to ospf_zebra.c.
| * 2004-05-08 Paul Jakma <paul@dishone.st>paul2004-05-082-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes (bgp_interface_address_delete) ditto. (bgp_zebra_announce) ditto. (bgp_zebra_withdraw) ditto. * isis_zebra.c: Sync with zclient changes. * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe message format. * ospf6_zebra.c: Sync to zclient changes * ospf_zebra.c: Sync with lib/zclient changes * rip_zebra.c: sync with zclient changes. * rip_interface.c: ditto. * ripng_{interface,zebra}.c: sync with zclient changes 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com> * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route (zapi_ipv4_delete) ditto. (zapi_ipv4_route) add/delete a route by way of cmd arg. (zapi_ipv6_add) collapsed into zapi_ipv6_route. (zapi_ipv6_delete) ditto. (zapi_ipv6_route) add/delete a route by way of cmd arg. (zebra_interface_address_delete_read) collapsed into zebra_interface_address_read. (zebra_interface_address_delete_read) ditto. (zebra_interface_address_read) read address add/delete messages by way of type argument. Describe command message format. (zebra_interface_add_read) Unconditionally read new ifmtu6 field. Describe command message format. (zebra_interface_state_read) Unconditionally read new ifmtu6 field. (zclient_redistribute_set) Collapsed into zclient_redistribute (zclient_redistribute_unset) ditto (zclient_redistribute) set/unset redistribution. (zclient_redistribute_default_set) Collapsed into zclient_redistribute_default. (zclient_redistribute_default_unset) ditto. (zclient_redistribute_default) Redistribute default set/unset. * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add zclient_redistribute. Ditto for zclient_redistribute_default_{set/unset}.
| * 2004-05-05 Paul Jakma <paul@dishone.st>paul2004-05-052-13/+20
| | | | | | | | | | | | * ospf_network.c: (ospf_sock_init) Check whether IP_HDRINCL is defined. Warn at compile and runtime. Use IPTOS_PREC_INTERNETCONTROL otherwise.
| * 2004-05-05 Paul Jakma <paul@dishone.st>paul2004-05-052-10/+22
| | | | | | | | | | | | * ospf_interface.c: (ospf_vl_set_params) Catch changes of interface address for either end of a virtual-link, and hence potential cost changes.
| * 2004-05-05 Paul Jakma <paul@dishone.st>paul2004-05-054-95/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ospf_packet.c: (ospf_associate_packet_vl) cleanup, move some of the checks up to ospf_read, return either a virtual link oi, or NULL. (ospf_read) Cleanup, make it responsible for checks. Remove the nbr lookup - moved to ospf_neighbor. Adjust all nbr lookups to use new wrappers exported by ospf_neighbor. * ospf_neighbor.h: Add ospf_neigbour_get and ospf_nbr_lookup. * ospf_neighbor.c: (ospf_neigbour_get) Index ospf_interface neighbour table by router-id for virtual-link ospf_interfaces, not by peer_addr (which breaks for asymmetric vlinks) (ospf_nbr_lookup) add a wrapper for nbr lookups to deal with above.
| * Don't ignore reject/bh routes. Discussed with Paul in IRC.hasso2004-04-232-6/+13
| |
| * Some ospfd fixes - [quagga-dev 1032], [quagga-dev 1048], [quagga-dev 1058].hasso2004-04-204-4/+20
| |
| * Fix debug message and make it conditional.hasso2004-04-201-1/+2
| |
| * Ooops. Check if area-id format is valid.hasso2004-04-191-0/+8
| |
| * ****! What else I will discover while documenting this code? Remove uselesshasso2004-04-192-7/+6
| | | | | | | | warnings and update documentation.
| * 2004-04-08 Paul Jakma <paul@dishone.st>paul2004-04-083-22/+55
| | | | | | | | | | | | | | | | | | | | | | * ospf_spf.h: Add backlink field to struct vertex * ospf_spf.h: (ospf_vertex_new) initialise backlink (ospf_lsa_has_link) return index of link back to vertex V from candidate vertex W, or -1 if no link exists. (ospf_spf_next) save backlink index for candidate vertex * ospf_interface.c: (ospf_vl_set_params) Use the backlink index to determine correct address for virtual-link peers. Fall back to older "pick first link" method if no backlink index exists.
| * [quagga-dev 1005] bugzilla #86: ospf_recv_packet will fail on Solaris/x86hasso2004-04-042-0/+9
| |
| * Readded SIGTERM handling into sigevent stuff. Fixes bugzilla #85.hasso2004-03-221-0/+4
| |
| * Fixing ospf6d as well and move Changelog entry from ospfd to general one.hasso2004-03-201-11/+0
| |
| * Fix segfault in ospfd - [quagga-dev 980].hasso2004-03-202-1/+12
| |
| * Amir's fix case where opaque capability is switched "ON -> OFF -> ON".hasso2004-03-182-6/+27
| | | | | | | | [quagga-dev 843]
| * 2004-03-16 David Young <dyoung@pobox.com>gdt2004-03-161-1/+1
| | | | | | | | | | | | | | | | | | * (many) reference <lib/version.h> rather than "version.h", because version.h is a generated file and not present in the source tree when using objdir builds. (committed by gdt) works fine with normal builds; didn't try objdir
| * Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGERhasso2004-03-044-6/+5
| | | | | | | | from vtysh ([quagga-dev 932]).
| * 2004-02-19 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-02-192-10/+16
| | | | | | | | | | | | * ospf_abr.c: (ospf_abr_update_aggregate) UNH 3.12b,c, address range should be configured with the highest cost path within the range, not lowest.
| * 2004-02-17 Paul Jakma <paul@dishone.st>paul2004-02-173-6/+16
| | | | | | | | | | | | | | | | | | * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface params, nor the interface structure, if an interface delete message is received from zebra. * ospf_interface.c: (ospf_if_delete_hook) Delete the interface params and interface, ie that which was previously removed in (ospf_interface_delete) above.
| * add an XXX at a point where ifindex_num is assumed to be one w/ogdt2004-02-131-0/+1
| | | | | | | | checking.
| * Don't crash when attempting to read path->oi->ifp if oi doesn't exist anyhasso2004-02-114-17/+43
| | | | | | | | | | more. I'm not sure if this read should be attempted at all, but I'm trying to keep code safe AND stable.
| * Fix by Vadim Suraev - [zebra 14710] #6.hasso2004-02-112-1/+41
| |
| * 2004-01-19 Paul Jakma <paul@dishone.st>paul2004-01-191-50/+19
| | | | | | | | | | | | | | * 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.
| * {lib,ospfd,ospfapi}/Makefile.am:gdt2003-12-081-1/+1
| | | | | | | | | | Use pkginclude_HEADERS rather than include_HEADERS to place includes in ${prefix}/include/quaggainstead of polluting ${prefix}/include.
| * 2003-12-08 Mattias Amnefelt <mattiasa@kth.se?paul2003-12-082-2/+7
| | | | | | | | | | * ospf_packet.c: (ospf_recv_packet) OpenBSD now leaves iph.ip_len network byte order. (bugzilla #67).
| * 2003-12-06 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>paul2003-12-061-1/+1
| | | | | | | | | | * ospfd/ospf_flood.c: (ospf_flood_through_interface) fix compile warning.
| * * ospfd.c (ospf_network_match_iface): Rewrite code for claritygdt2003-12-052-6/+35
| | | | | | | | | | | | | | | | 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.
| * Add support for --enable-exampledir to specify where to place examplegdt2003-12-031-1/+2
| | | | | | | | | | | | | | | | 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.
| * 2003-11-10 Claus Endres <claus@endresconsulting.com>paul2003-11-101-1/+3
| | | | | | | | | | | | | | * 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].
| * 2003-10-27 Simon <lists@routemeister.net>paul2003-10-271-2/+2
| | | | | | | | | | * ospfd/ospfd.c: if_is_pointopoint() takes (struct interface *), was being called with struct connected. Change to co->ifp.
| * 2003-10-27 kamatchi soundaram <kamatchi@tdd.sj.nec.com>paul2003-10-271-1/+0
| | | | | | | | | | | | * 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.
| * 2003-10-24 Paul Jakma <paul@dishone.st>paul2003-10-241-16/+4
| | | | | | | | | | | | | | | | | | * 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.)
| * 2003-10-24 sowmini.varadhan@sun.compaul2003-10-241-2/+2
| | | | | | | | | | * ospfd/ospf_network.c: (ospf_sock_init) Exit if socket can not be created.
| * 2003-10-15 Paul Jakma <paul@dishone.st>paul2003-10-151-3/+3
| | | | | | | | | | * ospfd/ospf_interface: (ospf_if_lookup_table) fix compile errors from previous patch. doh.
| * 2003-10-15 Paul Jakma <paul@dishone.st>paul2003-10-151-4/+24
| | | | | | | | | | | | | | | | | | | | | | * 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.
| * 2003-10-13 sowmini.varadhan@sun.compaul2003-10-133-11/+64
| | | | | | | | | | | | | | | | | | * 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.
| * 2003-09-29 Paul Jakma <paul@dishone.st>paul2003-09-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * zebra/connected.c: revert the 'generic PtP' patch as it causes far too many problems. People who use FreeSWAN should investigate native linux ipsec. * zebra/rt_netlink.c: ditto * lib/if.c: ditto * ripd/ripd.h: ditto * ripd/ripd.c: ditto * ripd/rip_interface.c: ditto * ospfd/ospfd.c: ditto * ospfd/ospf_snmp.c: ditto * bgpd/bgp_nexthop.c: ditto
| * 2003-09-29 Paul Jakma <paul@dishone.st>paul2003-09-291-2/+30
| | | | | | | | | | * ospfd/ospf_packet.c: Add debug output for some of the previously completely silent drops of 'bad' packets.
| * 2003-09-24 Thomas Giger TGC <thomas.giger@tgc.de>paul2003-09-231-2/+2
| | | | | | | | | | | | | | * ospf_packet.c (ospf_associate_packet_vl): pass NULL struct interface to ospf_if_lookup_by_local_addr() rather than the receiving interface ifp, packets for VL's could come in any interface. See quagga-dev 250.
| * 2003-08-27 Jay Fenlason <fenlason@redhat.com>paul2003-08-271-2/+1
| | | | | | | | | | | | | | * bgpd/bgp_routemap.c: attr->med is type u_in32_t, should be compared with UINT32_MAX * ospfd/ospfd.c: remove redundant assert * zebra/rtadv.c: add missing include for zebra/rib.h
| * 2003-08-15 Paul Jakma <paul@dishone.st>paul2003-08-151-2/+1
| | | | | | | | | | * ospfd/ospf_route.c: Fixup extraneous list_delete which was causing SEGVs of ospfd.
| * 2003-08-14 Paul Jakma <paul@dishone.st>paul2003-08-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | * zebra/main.c: Fixup ZEBRA_{GROUP,USER} defines -> QUAGGA_{USER,GROUP} * bgpd/bgp_main.c: ditto * ospf6d/ospf6_main.c: ditto * ospfd/ospf_main.c: ditto * ripd/rip_main.c: ditto * ripngd/ripng_main.c: ditto * zebra/main.c: ditto
| * 2003-08-12 Paul Jakma <paul@dishone.st>paul2003-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-12 Paul Jakma <paul@dishone.st> * Makefile.am: redhat/zebra.* -> redhat/quagga.* * configure.ac: Bump autoconf prerequisite to 2.53. dist name zebra -> quagga. general Zebra -> Quagga where appropriate (ie not zebra daemon). User and group zebra->quagga. s/ZEBRA\(_VERSION\)/QUAGGA\1/. * bgpd/bgp_main.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/ * lib/command.c: Update banners and s/ZEBRA\(_VERSION\)/QUAGGA\1/ * lib/print_version.c: ditto * lib/version.h: s/ZEBRA\(_VERSION\)/QUAGGA\1/ and bump version. Change ZEBRA_URL. * lib/smux.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/ * lib/vty.h: Change Zebra.conf to Quagga.conf (integrated file) * ospf6d/ospf6{,_main}.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/ * ospfd/ospf_main.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/
| * 2003-08-11 Yasuyuki Haga <yasuhaga@nifty.ne.jp>paul2003-08-121-0/+18
| | | | | | | | | | * ospfd/ospf_zebra.c: (ospf_zebra_delete) Set ifindex if no nexthop supplied. log if no (ifindex || nexthop) supplied.
| * 2003-08-10 Yasuyuki Haga <yasuhaga@nifty.ne.jp>paul2003-08-101-8/+1
| | | | | | | | | | * ospfd/ospf_zebra.c: (ospf_zebra_delete) Do not dereference the ifp, it mightn't exist.
| * 2003-08-10 amir <amir@datacore.ch>paul2003-08-109-185/+164
| | | | | | | | | | * Add missing 'i' to getopts, short form of --pid_file. see http://bugzilla.quagga.net/show_bug.cgi?id=25
| * Temporary "fix" for segfault. See bug #29 in bugzilla for details.hasso2003-08-071-2/+4
| |
| * 2003-08-06 Anders K. Pedersen <mailnews+router-quagga-dev@news.cohaesio.com>paul2003-08-061-2/+3
| | | | | | | | | | | | * ospfd/ospf_vty.c: (ospf_config_write) fix output of passive-interface when IP has been specified - we still need to print the interface.
| * 2003-08-01 Cougar <cougar@random.ee>paul2003-08-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.