summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | [pim] test pim receive dumpEverton Marques2009-11-182-0/+93
| | | | | | |
| | * | | | | [pim] Fix dump byte typeEverton Marques2009-11-182-2/+2
| | | | | | |
| | * | | | | [pim] Packet dump debuggingEverton Marques2009-11-187-33/+169
| | | | | | |
| | * | | | | [pim] Clean-up log messagesEverton Marques2009-11-172-27/+26
| | | | | | |
| | * | | | | [pim] Reference about draft mboned-ssmpingEverton Marques2009-10-211-1/+5
| | | | | | |
| | * | | | | [pim] Version up to 0.159Everton Marques2009-10-161-1/+1
| | | | | | |
| | * | | | | [pim] ssmpingd commandspim0.158Everton Marques2009-10-081-0/+3
| | | | | | |
| | * | | | | [pim] Sample config for ssmpingd supportEverton Marques2009-10-081-0/+6
| | | | | | |
| | * | | | | [pim] T41 DONE ssmping supportEverton Marques2009-10-087-13/+195
| | | | | | |
| | * | | | | [pim] Hooks for ssmpingd supportEverton Marques2009-10-087-11/+418
| | | | | | |
| | * | | | | [pim] Skeleton for ssmpingd supportEverton Marques2009-10-0710-2/+164
| | | | | | |
| | * | | | | [pim] Ref. on LW-MLDv2Everton Marques2009-10-021-0/+1
| | | | | | |
| | * | | | | [pim] Hint for test_igmpv3_join command-line utilityEverton Marques2009-10-021-0/+12
| | | | | | |
| | * | | | | [pim] Command line tool to test IGMPv3 join.Everton Marques2009-10-026-30/+254
| | | | | | |
| | * | | | | [pim] clean-upEverton Marques2009-10-022-3/+0
| | | | | | |
| | * | | | | [pim] ip mroute show: can display the MFCEverton Marques2009-10-021-0/+4
| | | | | | |
| | * | | | | [pim] Version up to 0.158Everton Marques2009-10-021-1/+1
| | | | | | |
| | * | | | | [pim] Fixed doc on CAVEAT C7Everton Marques2009-10-021-1/+1
| | | | | | |
| | * | | | | [pim] show ip pim lan-prune-delay: fix cosmetic alignmentEverton Marques2009-10-021-1/+1
| | | | | | |
| | * | | | | [pim] More RPF cache refresh statisticsEverton Marques2009-10-024-10/+18
| | | | | | |
| | * | | | | [pim] Correction for cross-compilation error with this syntaxLeonard Herve2009-10-022-11/+24
| | | | | | |
| | * | | | | Router Alert option for IGMP packets but not for PIM packetsLeonard Herve2009-10-021-2/+2
| | | | | | |
| | * | | | | [pim] RPF cache refresh statisticsEverton Marques2009-10-024-10/+34
| | | | | | |
| | * | | | | [pim] Move encoded source address length check to pim_parse_addr_sourceEverton Marques2009-10-023-26/+20
| | | | | | |
| | * | | | | [pim] igmpv3: specific query interval set to 1 second (RFC 3376 8.8.)Leonard Herve2009-10-028-29/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [pim] pim messages: encoded source address format with Sparse bit=1 (RFC 4601 4.9.1.) [pim] and Mask Len MUST be equal to 32 [pim] dr election: new traces [pim] fix triggered_hello_delay_msec randomization
| | * | | | | [pim] Log physical interface up/downEverton Marques2009-10-0214-62/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [pim] Replace strerror with safe_strerror [pim] Fix PIM socket removal from non-PIM interfaces [pim] show ip igmp querier: left-align Querier string [pim] Version up to 0.157 [pim] Recipe to re-sync with Quagga repository [pim] Build vtysh in development script
| | * | | | | [pim] pim commands added to vtyshLeonard Herve2009-10-027-154/+207
| | | | | | |
| | * | | | | [pim] Initial pim 0.155Everton Marques2009-10-0292-18/+21813
| | | | | | |
* | | | | | | Merge branch 'merged/ospfd' into dn42David Lamparter2010-02-0424-671/+998
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge branch 'patches/jt_unnumbered' into ospf-merge-3David Lamparter2010-02-0412-176/+501
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ospfd/ospfd.c
| | * | | | | | ospfd: Optimize and improve SPF nexthop calculationJoakim Tjernlund2010-02-044-98/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maintain router LSA positions in OSPF interface. Find the OSPF interface in nexthop_calculation using the position in the router LSA. This has the following advantages: - Multiple numbered PtP interfaces with the same IP address between the same two routers. - Use Unnumbered PtP on just one end of the link. - Faster OI lookup for the OSPF interface and only done once for PtoP links. *ospf_interface.h: (struct ospf_interface) Add storage for storing router LSA position. *ospf_interface.c: (ospf_if_lookup_by_lsa_pos) lookup OSPF I/F in an area using LSA position. (ospf_lsa_pos_set) assign LSA position to OSPF interface. *ospf_lsa.c: (router_lsa_link_set) Call ospf_lsa_pos_set() to record LSA position. *ospf_spf.c: (ospf_spf_next) Count and pass along lsa position. (ospf_nexthop_calculation) Add lsa position argument. call ospf_if_lookup_by_lsa_pos() for OSFP interface handle. Clean up and remove all calls ospf_if_is_configured() the rest. Adjust a few debug logs.
| | * | | | | | ospfd: Update SPF calculation for unnumbered linksJoakim Tjernlund2010-02-043-44/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for real unnumbered PtP interfaces in ospf_nexthop_calculation(). Add ospf_if_lookup_by_ifindex() to support Unnumbered PtP links. This version does not support: - Multiple numbered PtP interfaces with the same IP address between the same two routers. - Unnumbered PtP on just one end of the link. * ospfd/ospf_interface.c: Add ospf_if_lookup_by_ifindex(). * ospfd/ospf_interface.h: ditto. * ospfd/ospf_spf.c: ospf_nexthop_calculation (), call ospf_if_lookup_by_ifindex() for Unnumbered PtP links.
| | * | | | | | ospfd: External routes over PtoP must be directly connected.Paul Jakma2010-02-042-25/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Fri, 31 Jul 2009, Joakim Tjernlund wrote: > How can I do that? ASE is screwing with the P2P route and needs > some fixing. Perhaps you are suggesting to remove the check in ase > all togher(delete the whole for loop) and place it somewhere else? > I haven't looked at that possiblity and I am not convinced that it > is a good idea either. Well, what I'm curious about is how you don't see a similar issue with non-AS-external routes? Indeed, I wonder why we can't just apply your check much earlier - as/when we add routes to the intra-area routing table - and just get rid of that complete_direct_routes thing altogether. > ASE is forcing a nexthop.s_addr when it should not. So would this perhaps fix it too (and if so, possibly fix similar issues with other kinds of routes too)?: REPLACES "External routes over PtoP must be directly connected." by Joakim Tjernlund As all locally routes over PtoP interfaces are interface routes, one must also make sure that external routes over PtoP interfaces are directly connected. Cc: David Lamparter <equinox@diac24.net>
| | * | | | | | ospfd: Do not free area too early.Joakim Tjernlund2010-02-041-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Freeing the area resets all LSAs seq number. Wait until the area has no more configured interfaces before freeing it. PPP intefaces are usally deleted when they go down and created again when the come up. Avoid freeing the area and resetting the seq number due to number of active interfaces drops to zero temporairly.
| | * | | | | | ospfd: add missing ospf_interface_[un]set prototypesDavid Lamparter2010-02-041-0/+3
| | | | | | | |
| | * | | | | | ospfd: Impl. command ip ospf areaJoakim Tjernlund2010-02-043-62/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use with interface command: interface ppp0 ip ospf area 0.0.0.0 This will enable OSPF on ppp0 with area 0.0.0.0 Remove with "no ip ospf area"
| | * | | | | | ospfd: Do not send host routes on unnumbered PtP I/F'sJoakim Tjernlund2010-02-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Acee Lindem, chairing the OSPF WG on IETF, one should not transmit Option 1 as described in 12.4.1.1. The text is unfortunately a bit unclear but the intention of the spec was not to emit Option 1 (nor Option 2) Changed to use CHECK_FLAG by David Lamparter. Cc: David Lamparter <equinox@diac24.net>
| | * | | | | | ospfd: Test for ZEBRA_INTERFACE_UNNUMBEREDJoakim Tjernlund2010-02-041-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In lsa_link_ptop_set() and add ifindex to LSA if set. Changed to use CHECK_FLAG by David Lamparter. Cc: David Lamparter <equinox@diac24.net>
| | * | | | | | zebra, lib: Add ZEBRA_INTERFACE_UNNUMBERED interface flag.Joakim Tjernlund2010-02-044-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use interface <ifname> "unnumbered" command to set unnumbered mode. "no unnumbered" will clear it. Changed to use *_FLAG macros by David Lamparter. Cc: David Lamparter <equinox@diac24.net>
| * | | | | | | Merge branch 'patches/jt_ospf-fixes-20091129' into ospf-merge-3David Lamparter2010-02-0415-457/+313
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | |
| | * | | | | | ospfd: actually add nbr to nbrs list.Joakim Tjernlund2010-02-041-0/+1
| | | | | | | |
| | * | | | | | ospfd: PointToPoint neighbors are identified by router ID.Joakim Tjernlund2010-02-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to RFC 2328, section 10.5 PointToPoint neighbors should be identified by router ID instead of source IP address.
| | * | | | | | ospfd: fix ospf SNMP support broken by prev 2 commitsDavid Lamparter2010-02-041-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ospf_snmp.c uses ospf_neighbor->address and still has the route_nodes list code. fix it up to match current code.
| | * | | | | | ospfd: delete address in struct ospf_neighborJoakim Tjernlund2010-02-049-56/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | address is the same as src so it is redundant. This will save both memory and CPU when processing Hellos.
| | * | | | | | ospfd: fix opaque-LSA broken by route_node -> listDavid Lamparter2010-02-041-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ospf_opaque.c needs to be updated for moving from route_node to a regular list.
| | * | | | | | ospfd: replace route_nodes with a listJoakim Tjernlund2010-02-0410-348/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is wasteful to use route nodes for something as simple as a neighbor list. Replace with a list.
| | * | | | | | ospfd: fix ospf_nbr_lookup_by_addr()Joakim Tjernlund2010-02-031-21/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ospf_nbr_lookup_by_addr() included routerID while searching. That is not the intention of this function so change it to only search for IP addresses.
| | * | | | | | ospfd: ospf_hello() should only kick state machine once.Joakim Tjernlund2010-02-031-23/+28
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 2 last bullets in RFC 2328, section 10.5 are mutually exclusive, make is so.
| * | | | | | ospfd: Add new host route commandJoakim Tjernlund2010-02-045-3/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add static host routes into router LSA. See RFC 2328 chapter 12.4 and Appendix C.7 Syntax: router ospf ip ospf host A.B.C.D area (A.B.C.D|<0-4294967295>|all) cost <0-65535> no ip ospf host A.B.C.D area (A.B.C.D|<0-4294967295>|all) * ospfd/ospf_route.h: Add struct ospf_host_route * ospfd/ospf_lsa.c: (router_lsa_link_set) Add host routes to Router LSA. * ospfd/ospf_vtc.c: Impl. ip_ospf_host_cmd and no_ip_ospf_host_cmd. (ospf_config_write) Write out host routes to config. * ospfd/ospf_ospfd.c: (ospf_new) Allocate new host route list. (ospf_finish_filnal) Free host list. (ospf_area_check_free) Check if any host routes in area before freeing. * ospfd/ospf_ospfd.h: Add a host list to struct ospf.
| * | | | | | ospfd: invalid MD5 auth_key?Joakim Tjernlund2010-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This looks fishy in ospf_make_md5_digest() if (list_isempty (OSPF_IF_PARAM (oi, auth_crypt))) auth_key = (const u_int8_t *) ""; ... MD5Update(&ctx, auth_key, OSPF_AUTH_MD5_SIZE); auth_key points to a "" string of len 1 which is a lot smaller that OSPF_AUTH_MD5_SIZE. Is this intentional to get some random data or just a plain bug? Anyone using MD5 should have a closer look and decide what to do.