117 Commits

Author SHA1 Message Date
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
Hannes Gredler fd8353b2ea rework packet serializer to carry multilevel message state in packet 2023-09-01 08:28:47 +00:00
Christian Giese 0dd0b44b77 fix lspgen build errors and format 2023-08-25 11:46:36 +00:00
Hannes Gredler 6195b11252 add missing include file 2023-08-25 11:46:35 +00:00
Hannes Gredler 09afad7320 start work on OSPF serializer 2023-08-25 11:46:35 +00:00
Hannes Gredler 4917f751dd add OSPF support for sequence number cache 2023-08-25 11:46:35 +00:00
Hannes Gredler 6136f858b6 Add OSPF packet header and packet finalization functions 2023-08-25 11:46:35 +00:00
Christian Giese 14b7a1f748 fix lspgen build error 2023-08-25 11:46:35 +00:00
Hannes Gredler 42708ca634 Generate OSPF JSON header for IPCs 2023-08-25 11:46:35 +00:00
Hannes Gredler 2dbf56316b add OSPFv2 friendly link and node-IDs 2023-08-25 11:46:35 +00:00
Hannes Gredler 088e3013c5 format ospf sequence cache using dotted decimal node-id notation 2023-08-25 11:46:35 +00:00
Hannes Gredler 5c4f9575da add support for ospf sequence number caching 2023-08-25 11:46:35 +00:00
Hannes Gredler 2f9d4538d7 use a non-zero terminating hash function for links and nodes 2023-08-25 11:46:35 +00:00
Hannes Gredler 8dec9bb995 add support for configuring ospf area 2023-08-25 11:46:35 +00:00
Hannes Gredler 75e5692396 preparation lspgen support for ospf 2023-08-25 11:46:35 +00:00
Christian Giese 5d203a06ab lspgen code format 2023-02-22 10:56:02 +00:00
Christian Giese e778880472 fix output if no-sr option is enabled 2023-02-19 21:54:17 +00:00
Christian Giese 10ef1f9679 update copyright to 2023 2023-01-13 16:01:38 +00:00
Christian Giese 4fd51e2bd2 fix #138 lspgen option to disable SR
Remove prefix-sid if no-sr is set!
2023-01-13 15:48:53 +00:00
Christian Giese 451114770f fix #138 lspgen option to disable SR 2023-01-05 09:12:11 +00:00
Hannes Gredler deae26b679 add --quit-loop option for shutting down timer loop after initial transmission 2022-11-16 11:19:35 +00:00
Hannes Gredler 060ce9fdfc read sequence cache file upon startup. Bump sequence if a cache entry was found 2022-11-16 10:29:47 +00:00
Hannes Gredler 3fdd72ad9f write sequence number cache file upon exit 2022-11-16 09:53:02 +00:00