90 Commits

Author SHA1 Message Date
Christian Giese 0f437d215f fix LSPGEN OSPFv3 LSA-1 options 2023-10-12 21:25:13 +00:00
Christian Giese e4b9421d45 fix LSPGEN Referenced LS Type 2023-10-12 20:08:41 +00:00
Hannes Gredler a093cf89fe proper set the remote-link-id for the links 2023-10-12 18:00:42 +00:00
Hannes Gredler e50041c765 ospf3: encode a running number (1,2,3) for the connectors remote-interface-id 2023-10-12 17:45:38 +00:00
Hannes Gredler 123f7369ee ospf3: fix the referenced link state id generation 2023-10-04 10:14:58 +00:00
Hannes Gredler 3ad6567603 Use a monotonic per-node increasing number as link-state-id for ospf3 2023-09-26 15:43:17 +00:00
Hannes Gredler 47c9839e99 Serialize ospf3 SR information 2023-09-26 15:16:42 +00:00
Hannes Gredler ae71720685 Improve codepoint name logging in the ospf2 and ospf3 serializer 2023-09-26 14:29:48 +00:00
Hannes Gredler b0fce07e78 ospf3 start support for SR 2023-09-26 14:01:18 +00:00
Hannes Gredler c74f4140b0 simplify ospf attr logging 2023-09-23 09:35:25 +00:00
Hannes Gredler fedd6b5d88 Provide more details for the --help argument 2023-09-23 08:38:11 +00:00
Hannes Gredler 2228fd3582 Merge branch 'ospf_dev' into dev 2023-09-22 08:55:20 +00:00
Hannes Gredler 6c62b2c504 Encode the Prefix-SID Index using an Extended Prefix and not an Extended Prefix Range 2023-09-22 08:54:47 +00:00
Hannes Gredler 04273b811d Apply the proper node-index to the loopback-ip pool when announcing the extended prefix for ospf2 2023-09-21 06:07:59 +00:00
Hannes Gredler c93c0284df Fix external packing calculation for ospf3 2023-09-20 14:32:25 +00:00
Hannes Gredler f47538a18c Merge branch 'dev' into ospf_dev 2023-09-20 14:29:08 +00:00
Hannes Gredler 5a9afdfe02 correctly pad SID Index subTLV 2023-09-20 14:19:18 +00:00
Hannes Gredler ad278395a1 Fix external packing calculation for ospf2 and isis 2023-09-20 14:09:28 +00:00
Hannes Gredler 6d18e28605 copy the correct ospfv3 source address 2023-09-15 17:01:04 +00:00
Hannes Gredler b741018093 add ospf3 support for intra-area-prefix LSA 2023-09-15 16:52:18 +00:00
Hannes Gredler cfcbfac24b Add ospf3 support for router and external LSA 2023-09-15 15:38:30 +00:00
Hannes Gredler 331db2b094 Add MRT support for OSPFv3 2023-09-15 13:43:12 +00:00
Hannes Gredler f85f36c340 Add lsdb attributes for OSPF3 2023-09-14 13:45:51 +00:00
Hannes Gredler 8ec420dbbc zero change: consolidate single and hierarchical buffer management 2023-09-13 14:08:11 +00:00
Hannes Gredler 8c7d2c695e add support for --purge option 2023-09-13 07:44:22 +00:00
Hannes Gredler f2c01c6d69 add support for --purge option 2023-09-13 07:37:20 +00:00
Hannes Gredler 046dcd514d Use correct json tag on blaster socket. Omit the IP header on the blaster socket. 2023-09-12 14:19:24 +00:00
Hannes Gredler aaacc395e6 Use correct json tag on blaster socket. Omit the IP header on the blaster socket. 2023-09-12 14:13:12 +00:00
Hannes Gredler 42850bca77 correctly pad SID Index subTLV 2023-09-12 08:24:36 +00:00
Hannes Gredler 57fe89d242 Pad OSPF2 RI LSA subTLVs 2023-09-05 13:03:24 +00:00
Hannes Gredler b93b083a46 Pad OSPF2 RI LSA subTLVs 2023-09-05 11:49:19 +00:00
Christian Giese d3f8080598 enhance lspgen root node output 2023-09-04 14:10:06 +00:00
Hannes Gredler bce8a85add Set ospf default LSA lieftime to 3600s 2023-09-04 08:33:23 +00:00
Hannes Gredler 74c3f9b969 deactivate ospfv3 option 2023-09-04 08:33:02 +00:00
Hannes Gredler 6fc50067c2 Add support for the OSPFv2 Extended Range TLV for signaling the node-SID 2023-09-04 08:32:56 +00:00
Hannes Gredler 56f741a4be fix two bugs in the OSPF message packer, improve packer logging, add support for SID-Range TLV 2023-09-01 17:55:59 +00:00
Hannes Gredler f820631f32 add support for OSPF sequence numbers 2023-09-01 08:28:47 +00:00
Hannes Gredler d642cc952a Add support for OSPF connectors 2023-09-01 08:28:47 +00:00
Hannes Gredler 27bcdb0847 use root_node_id as source IP address for all OSPFv2 packets 2023-09-01 08:28:47 +00:00
Hannes Gredler 2a70d6423a add 'packet' log option for serializer. show protocol options 2023-09-01 08:28:47 +00:00
Hannes Gredler 2509241000 For non IS-IS Protocols: copy the root_node_id in dotted decimal notation 2023-09-01 08:28:47 +00:00
Hannes Gredler 2b59c94afc Add support for MRT packet format 2023-09-01 08:28:47 +00:00
Hannes Gredler 949274635a proper encode router-LSA link-id and link-data and metric 2023-09-01 08:28:47 +00:00
Hannes Gredler 77d4375400 fix buffer overrun in pcap encoder 2023-09-01 08:28:47 +00:00
Hannes Gredler 7d1b0c7db3 fix core dump, lower packing boundary for OSPF2 to 1440 bytes 2023-09-01 08:28:47 +00:00
Hannes Gredler e1a42b95fd Always start a fresh External LSA 2023-09-01 08:28:47 +00:00
Hannes Gredler 2dcaa78549 fix various OSPF2 checksum, offset bugs 2023-09-01 08:28:47 +00:00
Hannes Gredler 9a217f21fe rework the OSPF serializer 2023-09-01 08:28:47 +00:00
Hannes Gredler dfbdb12fe3 create ethernet fake headers for OSPFv2 and OSPFv3 in pcap file 2023-09-01 08:28:47 +00:00
Hannes Gredler b8e1b9c955 add support for the first few OSPF messages 2023-09-01 08:28:47 +00:00