512 Commits

Author SHA1 Message Date
Christian Giese bf29000c58 LDP fixes 2023-01-03 13:12:52 +01:00
Christian Giese dcd63af6a1 LDP initial session setup 2023-01-03 13:12:52 +01:00
Christian Giese 6f5979ee2e LDP initial structure 2023-01-03 13:12:52 +01:00
Istvan Ruzman 89a8ef44a0 Improve IPv6 Gateway resolution
The previous implementation just checked wether the Neighbor
Advertisment is from the gateway. This does not work in all cases.

To correctly resolve the the IPv6 Gateway this implementation checks
received Advertisments if they include the expected Gateway and uses
the MAC Address from the Link-Layer Destination Option (if included).
2022-12-02 11:35:44 +01:00
Istvan Ruzman bfbf0c345b fix: build error with dpdk due to redefines
bngblaster used the same defines as some dpdk headers. This caused
a redifine warning, which got promoted to an error (cause of the -Werror
flag).

Solution: change the defines to have a BBL_ prefix
2022-11-30 10:43:26 +01:00
Christian Giese 72f8371120 add interface enable/disable command 2022-11-24 11:48:26 +00:00
Christian Giese d0a9c0493d capitalize interface types in commands 2022-11-22 14:56:08 +00:00
Christian Giese ebeacb60a5 extend stream commands
+ add traffic stats to stream-summary
+ add byte counters to stream-info
2022-11-22 14:27:44 +00:00
Christian Giese 36ea7928f4 add packet stats to interfaces command 2022-11-22 14:26:36 +00:00
Christian Giese b735905468 minor control socket enhancements 2022-11-22 14:26:02 +00:00
Christian Giese cb493ebd4b add packet stats to LAG info 2022-11-18 16:49:11 +00:00
Christian Giese f3327bc008 fix LAG streams 2022-11-18 16:35:16 +00:00
Christian Giese 1569bd81de fix initial LACP flags state 2022-11-18 16:34:45 +00:00
Christian Giese 11af92b296 fix typo (simeout>timeout) 2022-11-18 16:28:36 +00:00
Christian Giese 2483dc5e28 Merge branch 'dev' of github.com:rtbrick/bngblaster into dev 2022-11-17 21:49:17 +00:00
Christian Giese 573b969208 #126 add outer-vlan/inner-vlan str var 2022-11-17 21:32:04 +00:00
Christian Giese 53d821499f ISIS self originated LSP fragmentation support 2022-11-17 21:23:21 +00:00
Christian Giese 8f5b1d8ed1 minor LAG enhancement 2022-11-17 21:19:18 +00:00
Christian Giese e77a17fc04 add option to disable access-line in DHCPv4/6 2022-11-17 22:18:35 +01:00
Christian Giese 52418b99cd fix DHCP client 2022-11-17 22:18:35 +01: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
Christian Giese 661723cac1 fix stream loss in interactive mode 2022-11-09 20:25:44 +00:00
Christian Giese 231096bc27 fix LACP state machine 2022-11-09 20:08:57 +00:00
Christian Giese c7b42c2e6d fix controller "not able to send command" 2022-11-08 21:41:49 +00:00
Christian Giese b5919afa7a fix controller "not able to send command" 2022-11-07 11:10:44 +00:00
Christian Giese 9e8b082d7e fix LAG member states 2022-11-07 11:02:20 +00:00
Christian Giese 39fd6b4bc2 add config l2tp-server->lcp-padding
This config options allows to add a
fixed padding to all LCP packets send
from emulated LNS.
2022-11-04 16:15:01 +00:00
Christian Giese 3f204e3805 fix streams after session reconnect 2022-11-03 18:27:02 +01:00
Christian Giese 01d9645189 log DPDK MAC address (#119) 2022-11-03 18:27:02 +01:00
Christian Giese 97a55d13a9 fix traffic endpoint state 2022-11-03 18:27:02 +01:00
Christian Giese 2b7e25e498 fix access/a10nsp mac address 2022-11-03 18:27:02 +01:00
Christian Giese 0c06349060 fix receive delays stats
+ fix IO receive timestamps
+ change nsec to usec
+ ...
2022-11-02 17:52:51 +01:00
Christian Giese 9f6777e9c5 fix stats formatting 2022-11-02 17:52:51 +01:00
Christian Giese 237fd27430 fix session-stats 2022-11-02 17:52:51 +01:00
Christian Giese 3a548beab3 update session stats 2022-11-02 17:52:51 +01:00
Christian Giese 88d5489a45 enhanced stream rate accuracy 2022-11-02 17:52:51 +01:00
Christian Giese 6e30476550 fix session-traffic stats 2022-11-02 17:52:51 +01:00
Christian Giese d38d34293c access fixes and enhancements
+ fix ipv4/6 enable/disable
+ fix session traffic
+ add PPP state disable
+ add dhcp state disabled
+ add session traffic violations for 2 and 3 seconds
+ ...
2022-11-02 17:52:51 +01:00
Christian Giese ddebe8cb2e fixed #115 l2tp hello 2022-11-02 17:52:51 +01:00
Christian Giese 99666edc87 issue #110 add test duration 2022-11-02 17:52:51 +01:00
Christian Giese fe72332596 update docs 2022-11-02 17:52:51 +01:00
Christian Giese 450f5bb59a fix non-dpdk build 2022-11-02 17:52:51 +01:00
Christian Giese 0b33966928 DPDK tuning 2022-11-02 17:52:51 +01:00
Christian Giese 85816a96cd DPDK tuning (WIP) 2022-11-02 17:52:51 +01:00
Christian Giese 2df114f163 DPDK basically working (WIP) 2022-11-02 17:52:51 +01:00
Christian Giese af31ae2d64 DPDK support (WIP) 2022-11-02 17:52:51 +01:00
Christian Giese 37d5699daa fix minor bugs 2022-11-02 17:52:51 +01:00
Christian Giese c53aeb0418 enable/dsiable timer logging via cmake option 2022-11-02 17:52:51 +01:00