Commit Graph

559 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 1560708224 (partial) fix: versioning in flake.nix (#104)
Previously the version number was hard coded, with this patch the git
rev is used as the version number. Currently there is no way to get the
git tag for the version number in flakes, so it is not yet possible to
do proper "release" packages with nix flakes.
2022-07-18 19:03:07 +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 608aa4c1b5 update install guide 2022-07-14 13:55:00 +02:00
Christian Giese b2cf8d0251 update github pages 2022-07-08 06:52:39 +00: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 f2619a3356 update controller docu 2022-07-06 09:48:00 +00:00
Christian Giese 460df335cf fix ICMPv6-NA / ARP MAC address 2022-07-06 10:30:05 +02:00
Christian Giese c2e8ee1ab4 update github pages 2022-06-30 08:38:05 +00:00
Christian Giese a5b04a6a91 update controller docs 2022-06-30 08:37:16 +00:00
Christian Giese 3a5c17a4b9 remove trailing spaces 2022-06-28 16:41:50 +00:00
Christian Giese 0bd55156d3 update github pages 2022-06-28 16:36:16 +00:00
Christian Giese 4679867c45 fix controller docu 2022-06-28 16:34:35 +00:00
Christian Giese a8770251db fix interfaces command 2022-06-28 16:33:01 +00:00
Christian Giese 7bf7f88a55 update controller docu 2022-06-28 16:32:49 +00:00
Christian Giese e8d744018f fix typo 2022-06-28 16:08:25 +00:00
Christian Giese 29b24d6977 updae controller documentation 2022-06-28 16:08:17 +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 51f67f8bd3 update github pages 2022-06-15 08:42:29 +00:00
Christian Giese 024f13ab1a update multicast docs 2022-06-15 08:41:59 +00:00
Christian Giese 63c68d9746 update github pages 2022-06-15 08:35:51 +00:00
Christian Giese 175ea60e6b update IGMP command docu 2022-06-15 08:34:19 +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 c2e05b8236 monkey test docu 2022-06-15 08:26:16 +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 5b734a66b7 update streams config docu 2022-06-08 13:57:15 +00:00
Christian Giese 0c96a5c128 add support to overwrite streams src/dst port 2022-06-08 11:36:02 +00:00
Christian Giese 20a21e105d minor docu update 2022-06-08 11:18:55 +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 6e50082505 update github pages 2022-06-03 14:24:21 +00:00
Christian Giese 3f25bc3a17 add ppp-mru to access interface 2022-06-03 14:23:35 +00:00
Christian Giese 23913a1a9e update github pages 0.7.6 2022-05-25 18:32:42 +02:00
Christian Giese de07ac33b8 update IPoE docu 2022-05-25 18:32:42 +02: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 7167e068aa add ubuntu 22.04 action 2022-05-25 18:32:42 +02:00