1
0
mirror of https://github.com/rtbrick/bngblaster.git synced 2024-05-06 15:54:57 +00:00
Commit Graph

555 Commits

Author SHA1 Message Date
Christian Giese
bec004ffdd fix LSA checksum 2024-02-06 14:35:39 +00:00
Hannes Gredler
9c6cc593c3 add unrolled version of fletcher checksum calculation 2024-02-06 14:04:33 +00:00
Christian Giese
f7321792ab fletcher checksum
Use same fletcher checksum
function for bngblaster and lspgen.
2024-02-06 14:04:22 +00:00
Hannes Gredler
11707c0de9 fix a bug in the fletcher checksum calculation, add fletcher checksum verification behind debug flag 2024-02-06 11:56:58 +00:00
Christian Giese
7f816d6611 log LSA HDR on load external error 2024-02-06 11:56:47 +00:00
Hannes Gredler
4f6ee7fa55 bump the total amount of LSA quantum that OSPF can originate to 1.6MB per node 2024-02-04 18:53:56 +00:00
Hannes Gredler
0f044e2289 use 63/64 bit arithmethic, such that Fletcher checksum calculation does not overflow beyond 5803 bytes. 2024-01-19 12:18:32 +00:00
Hannes Gredler
b1bdce931e do not fill the socket buffer too tight, large (ospf) packets may not fit. 2024-01-18 14:39:40 +00:00
Christian Giese
d17ecabb23 add stream-delay-calculation config 2024-01-15 21:21:35 +00:00
Christian Giese
964739e1c4 fix BGP holdtime 3 2024-01-15 09:34:48 +00:00
Hannes Gredler
aac8fa7d2e lspgen config reader: read ospf2 and ospf3 configs 2024-01-11 18:56:06 +00:00
Hannes Gredler
0b3f0052c5 lspgen config reader: determine protocol and instance and throw an error if any is missing 2024-01-11 14:45:22 +00:00
Christian Giese
901a7d2214 ncurses UI enhancements 2024-01-09 21:32:16 +00:00
Christian Giese
dc08cb2407 fix ifindex handling 2024-01-09 20:47:04 +00:00
Christian Giese
d8cc7af62a new stream-start/stop commands 2024-01-09 15:27:24 +00:00
Christian Giese
60befd69a9 extend session-info cmd 2024-01-08 14:50:44 +00:00
Christian Giese
248df0ab87 fix VLAN key lookup 2024-01-08 14:50:24 +00:00
Christian Giese
fb7d968548 Revert "add libdict to repo"
This reverts commit 4b28ba190d.
2024-01-04 23:03:49 +00:00
Hannes Gredler
20d101cf84 generate local and remote link ID for lspgen/ospf configs 2024-01-03 16:55:14 +00:00
Hannes Gredler
c3bb1ba042 generate lspgen config file for ospf3 2024-01-03 14:01:28 +00:00
Hannes Gredler
52c875796a generate config file for ospf2 2024-01-03 12:49:55 +00:00
Christian Giese
20e12a9f17 fix ospf netmask 2023-12-21 14:54:20 +00:00
Christian Giese
3080360200 fix stream-info for nat 2023-12-21 13:21:52 +00:00
Christian Giese
5025928c21 fix BGP families 2023-12-21 12:34:20 +00:00
Christian Giese
4b28ba190d add libdict to repo 2023-12-21 11:03:22 +00:00
Christian Giese
8927250b1e add BGP IPv6 transport 2023-12-21 11:03:22 +00:00
Hannes Gredler
e8fc1b0c3b Lspgen transport changes (#218)
* change the lsggen <-> bngblaster transport, such that:
  - once the buffer is full, the json datagram will be completed and session will be restarted
  - set send buffer size to 4MB
  - do not smear refresh timers if user only wants to have a single-shot LSDB updat (aka quit_loop)e

---------
Co-authored-by: Hannes Gredler <hannes@rtbrick.com>
2023-12-21 12:02:50 +01:00
Christian Giese
c0e9b8735c fix OSPFv3 self RI LSA 2023-12-15 13:50:15 +00:00
Christian Giese
3b05baa134 start/stop traffic per session-group-id 2023-11-27 12:52:13 +00:00
Christian Giese
8d54b87e6f fix timer smearing 2023-11-27 12:40:39 +00:00
Christian Giese
4c33e1c06d fix config stream parser (#211) 2023-11-24 17:25:46 +00:00
Christian Giese
01ec47fe36 change DHCPv6 over PPPoE RA flag log message 2023-11-24 17:21:58 +00:00
Christian Giese
6685615d19 add stream setup-interval 2023-11-24 14:04:49 +00:00
Christian Giese
2780dbcf66 fix bgpupdate generated streams for /32 2023-11-24 13:36:09 +00:00
Christian Giese
4efba5f1a7 PPPoE DHCPv6 log if M/O flag missing in RA 2023-11-23 14:19:10 +00:00
Christian Giese
50ef9db7b4 LCP protocol reject logging 2023-11-23 14:18:13 +00:00
Christian Giese
3cea4cc67a fix IPCP conf-reject handling 2023-11-23 14:16:41 +00:00
Christian Giese
644cc32aaf remove -m64 (#216) 2023-11-19 08:06:16 +00:00
Christian Giese
2abd7b362a add cmake option for native CPU type 2023-11-13 13:10:42 +00:00
Christian Giese
85f4fb7980 set OSPFv2 auth key-id to 1 2023-11-08 10:18:53 +00:00
Christian Giese
34d48d30be fix OSPF SR node-sid 2023-11-08 10:05:37 +00:00
Christian Giese
c98df68d5d fix OSPFv2 SR 2023-11-08 09:33:33 +00:00
Christian Giese
679818b8cb PAGES: update config tables 2023-11-07 15:05:21 +00:00
Hannes Gredler
856b1d0656 bump serialization buffer to 16K 2023-11-02 14:37:32 +00:00
Hannes Gredler
0403695ae6 add support for link-multiplier 2023-11-02 09:23:35 +00:00
Hannes Gredler
16a8ffe639 The wireshark issue #1944 is fixed now.
https://gitlab.com/wireshark/wireshark/-/issues/19444
Build RI LSA information first.
2023-10-31 15:37:14 +00:00
Christian Giese
1e69842ff5 add command streams-pending 2023-10-31 09:56:31 +00:00
Christian Giese
b5bc04c462 extend stream-info command 2023-10-31 09:39:04 +00:00
Christian Giese
a87dd068a0 RAW TCP support 2023-10-31 09:39:04 +00:00
Christian Giese
704521901d update lwipopts to allow more sessions 2023-10-31 09:39:04 +00:00