Commit Graph

93 Commits

Author SHA1 Message Date
Istvan Ruzman 8b7dfb99ea WIP: Rework session statistics (#103)
#106 rework session statistics

* flatten session_list to single big array
* move (some) session access statistics to a dedicated array/struct
* move (some) session network statistics to a dedicated array/struct
* move dhcpv6 stats to access_statistics struct
* move dhcp stats to access_statistics struct
* move arp/icmp(v6)/fragmented statistics to the access statistics struct
* fix off by one error
* ...
2022-07-20 10:12:23 +02:00
Istvan Ruzman 4de1019d53 No need to check for chap challenge length (#105)
The chap challenge is only read by MD5_update, which accepts input
of any size (given the supplied length is correct). There are no other
uses for the (received) chap challenge; only the chap_response is sent back,
which is implicitly guranteed to be 16 bytes (the output of MD5_finalize).
2022-07-20 09:43:50 +02:00
Istvan Ruzman 843b7bca59 Fix: remove lock files in error cases (#101)
fix remove lock files in error cases

The lock files were only removed when bngblaster was exited successfully.
This commit will remove the lock files in all exit cases.
2022-07-15 17:21:15 +02:00
Christian Giese 5d257dc0c2 ISIS logging and P2P state #97 2022-07-06 13:27:17 +02:00
Christian Giese 92fe68529c fix ISIS holding timer #97 2022-07-06 13:27:17 +02:00
Christian Giese 460df335cf fix ICMPv6-NA / ARP MAC address 2022-07-06 10:30:05 +02:00
Christian Giese 3a5c17a4b9 remove trailing spaces 2022-06-28 16:41:50 +00:00
Christian Giese a8770251db fix interfaces command 2022-06-28 16:33:01 +00:00
Christian Giese e8d744018f fix typo 2022-06-28 16:08:25 +00:00
Christian Giese 092d91b2aa extend commands #89
+ extend session-counters
+ extend interfaces
2022-06-28 14:24:27 +00:00
Christian Giese 37297d323b fix DHCPv6 encode 2022-06-21 07:47:44 +00:00
Christian Giese 29f984ecd3 fix #93 ICMPv6 NS/NA address 2022-06-20 12:01:04 +00:00
Christian Giese c0f52186bf fix DHCPv6 decode 2022-06-20 09:27:51 +00:00
Christian Giese b7a20ef11a fix #93 ICMPv6 NS/NA 2022-06-20 09:27:26 +00:00
Christian Giese 989488a8f4 Merge branch 'igmp_mass_join' into dev 2022-06-15 08:28:45 +00:00
Christian Giese 68d140e675 Merge branch 'monkey' into dev 2022-06-15 08:28:24 +00:00
Christian Giese dde66f42ea monkey test start/stop command 2022-06-15 08:26:07 +00:00
Christian Giese a77b75e177 trigger DHCPv6 with ICMPv6 M flag #79
Accept ICMPv6 with M and O flag to start DHCPv6 over
PPPoE sessions.
2022-06-13 11:46:34 +00:00
Christian Giese 712ee8f288 YXigmp join commands
+ add igmp-join-iter
+ add igmp-leave-all
+ increase max groups per session to 12
2022-06-13 10:58:21 +00:00
Christian Giese 629fc338a4 add compiler to version out 2022-06-13 07:26:37 +00:00
Christian Giese cc25b1b56f add monkey test (initial draft) 2022-06-10 17:29:20 +00:00
Christian Giese 4ff89fdf26 fix capture-include-streams for L2TP RX 2022-06-09 16:23:35 +00:00
Christian Giese 5037519fc7 ignore LCP in wrong state 2022-06-09 16:08:52 +00:00
Christian Giese 8a4370b80d fix pppoe PADT braodcast 2022-06-09 16:08:36 +00:00
Christian Giese 0c96a5c128 add support to overwrite streams src/dst port 2022-06-08 11:36:02 +00:00
Christian Giese 0c8e03d98f IPv4 DF bit handingl
+ set IPv4 DF bit for all session and stream traffic
+ add option ipv4-df to unset DF bit per stream
2022-06-08 09:33:38 +00:00
Christian Giese 3f25bc3a17 add ppp-mru to access interface 2022-06-03 14:23:35 +00:00
Christian Giese 5fd4c04844 fix A10NSP IPoE streams 2022-05-25 18:32:42 +02:00
Christian Giese 9f73f63a26 fix encode dhcp access line 2022-05-25 18:32:42 +02:00
Christian Giese b0d0da69c0 fix ubuntu 22.04 build 2022-05-25 18:32:42 +02:00
Christian Giese 68ec24d5ce add A10NSP DHCP server 2022-05-25 18:32:42 +02:00
Christian Giese 913864b711 fix IO mode packet_mmap (TX)
The packet_mmap TX was not
working properly if only stream
traffic is used.
2022-05-25 18:32:42 +02:00
Christian Giese 38c37c1671 fix isis external L2 updates 2022-05-25 18:32:42 +02:00
Christian Giese 64942eb66c fix memory leaks 2022-05-25 18:32:42 +02:00
Christian Giese d54b1a09e8 fix BBL context delete order 2022-05-25 18:32:42 +02:00
Christian Giese 5451727c1d fix PPPoE LCP/NCP states in terminating phase 2022-05-25 18:32:42 +02:00
Christian Giese 78f269b40e fix PPPoE sessions hanging in terminate state 2022-05-25 18:32:42 +02:00
Christian Giese 4d898499f5 fix BGP identifier 2022-05-09 07:46:20 +00:00
Christian Giese de67ec8003 fix #85 remove empty DHCPv6 class option 2022-05-05 15:57:47 +00:00
Christian Giese d2f1c2ace3 fix #84 session counter 2022-05-05 15:57:11 +00:00
Christian Giese 007c0bfb8b fix lwIP TCP error handling 2022-05-05 15:55:32 +00:00
Christian Giese 8a005e8e30 fix lwIP TCP issues 2022-05-05 12:01:03 +00:00
Christian Giese 71c471377e fix session-traffic autostart 2022-05-02 10:33:13 +02:00
Christian Giese 8ddadd978a fix stack error 2022-04-27 16:45:12 +02:00
Christian Giese 1694039423 Merge branch 'dev' of github.com:rtbrick/bngblaster into dev 2022-04-26 17:05:54 +02:00
Christian Giese 164f7c68c6 reset flow count on session reconnect 2022-04-26 17:02:03 +02:00
Christian Giese b99490e295 enhance session-start command #78 2022-04-21 16:58:28 +02:00
Christian Giese d17363c74d add session-start command #78 2022-04-21 15:01:18 +02:00
Christian Giese 41e6a42bb1 fix compiler warning #80 2022-04-21 14:40:51 +02:00
Christian Giese 4ae964b7b8 not responding to PADO #73 2022-04-19 10:50:38 +02:00