summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_errors.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [ospfd]: add support for RFC 5709 HMAC-SHA AuthMahdi Varasteh2023-09-161-1/+1
| | | | | | | | | | | | This patch includes: * Implementation of RFC 5709 support in OSPF. Using openssl library and FRR key-chain, one can use SHA1, SHA256, SHA384, SHA512 and keyed-MD5( backward compatibility with RFC 2328) HMAC algs. * Updating documentation of OSPF * add topotests for new HMAC algorithms Signed-off-by: Mahdi Varasteh <varasteh@amnesh.ir>
* *: auto-convert to SPDX License IDsDavid Lamparter2023-02-091-14/+1
| | | | | | Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* ospfd: Add Segment Routing Local BlockOlivier Dugeon2020-08-201-0/+1
| | | | | | | | | | | | | | RFC 8665 defines a Segment Routing Local Block for Adjacency SID. This patch provides the possibility to modify the SRLB as well as reserved the block range from the Label Manager. - Introduce new CLI 'segment-routing local-block' - Add local block to SRDB structure - Parse / Serialize SRLB in Router Information LSA - Update OSPF-SR topotest - Update documentation Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
* ospfd: ospfd core if hello packet exceeds link MTUNitin Soni2019-01-281-0/+1
| | | | | | | | | | | | | Ospfd cored because of an assert when we try to write more than the MTU size to the ospf packet buffer stream. The problem is - we allocate only MTU sized buffer. The expectation is that Hello packets are never large enough to approach MTU. Instead of crashing, this fix discards hello and logs an error. One should not have so many neighbors behind an interface. Ticket: CM-22380 Signed-off-by: Nitin Soni <nsoni@cumulusnetworks.com> Reviewed-by: CCR-8204
* ospfd: OSPF_[ERR|WARN] -> EC_OSPFQuentin Young2018-09-131-23/+23
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* ospf_nsm.c: Convert warn->err and use error-codeDonald Sharp2018-09-061-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Convert ospf_lsa.c to use new error-card SyntaxDonald Sharp2018-09-061-0/+2
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Modify ospf_abr.c to use new error-code subsystemDonald Sharp2018-09-061-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Convert ospf_ext.c to use new error-code subsystemDonald Sharp2018-09-061-1/+3
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Add OSPF_WARN_LSA_INSTALL_FAILURE error codeDonald Sharp2018-09-061-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Convert ospf_te.c to use new error-card subsystemDonald Sharp2018-09-061-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Add OSPF_WARN_OPAQUE_REGISTRATIONDonald Sharp2018-09-061-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* lib: Convert ospf_opaque.c to use the err-card systemDonald Sharp2018-09-061-0/+2
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd: Modify ospf_packet.c to use new error-cards subsystemDonald Sharp2018-09-061-0/+3
| | | | Signed-off-by: Donald sharp <sharpd@cumulusnetworks.com>
* ospfd: Convert ospf_routemap.c to use error card subsystemDonald Sharp2018-09-061-0/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* *: rename ferr_ref -> log_refQuentin Young2018-08-141-1/+1
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: fix source file headers & includes for errcodesQuentin Young2018-08-141-10/+11
| | | | | | | | | | * Use the correct license header * Stop headers from including themselves * Use uniform relative include conventions * Ensure that sources include what they use * Turn off clang-format around struct array blocks Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* ospfd: zlog_ferr facilityChirag Shah2018-08-141-0/+38
Ticket:CM-21333 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>