Closed SoerenBusse closed 1 year ago
I will add a dedicated option to enable max-payload-tag. The reason is simple, would like to be able to test how a BNG behaves if a client behaves wrong by sending MRU > 1492 without max-payload-tag.
Hey there, thanks for the implementation. I'll try it.
Just by looking at the commit. Shouldn't it be sent in the PADR, too?
So currently PPP-Max-Payload is only supported when using a PPP-Server, which is not BNG-Blaster, right? Because I don't see code for the PADS and PADO send by the PPP server, when using BNGBlaster with an A10-NSP.
The PPP-Max-Payload tag will be included in PADI and PADR and is accepting any values between 1 and 65535, so it can be also used to test PPPoE servers for robustness. The A10NSP lightweight PPPoE server does not support the PPP-Max-Payload tag.
I just pushed one more commit, so should work now (d3b2b4b619ce7c877202dd43c881547d24c76d6c).
Please verify with latest version 0.8.15 and close.
Max-Payload-Tag works correctly. Compared it to a Fritzbox and it's now identical. Thank you very much for the great work!
Describe the bug
BNG Blaster supports to change the PPP MRU to a higher value than 1492. According to RFC4638, the client has to send the PPP-Max-Payload-Tag in PADR to notify the peer that a higher MRU is supported. However, when setting an MRU of 1500 in BNG-Blaster, the PADR don't contain a PPP-Max-Payload-Tag in PADR, but afterward tries to negotiate a higher MRU during LCP handshake, which is not allowed when not sending the PPP-Max-Payload-Tag before.
As reference, a PADI Request from a FritzBox 5530 with the latest labor firmware, which supports RFC4638:
To Reproduce
Version (
bngblaster -v
):JSON configuration:
Steps to reproduce the behavior:
Expected behavior
Set PPP-Max-Payload-Tag to 1500 as the Fritz!Box does
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.