Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce sqm / cake #104

Open
1977er opened this issue Jan 21, 2025 · 3 comments
Open

introduce sqm / cake #104

1977er opened this issue Jan 21, 2025 · 3 comments

Comments

@1977er
Copy link
Member

1977er commented Jan 21, 2025

Other communities have had good experiences with sqm/cake in order to retain a bit of fluidity when uplinks are overloaded.
This is currently only supported for fastd. However, an adaptation to wireguard looks feasible at first glance.

Implementation for fastd: https://github.com/freifunk-gluon/gluon/blob/ad321f50e6c2568d7702cdd5b3253b09c0535198/package/gluon-mesh-vpn-fastd/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/fastd.lua

Needs to be moved to wireguard: https://github.com/freifunk-gluon/gluon/blob/ad321f50e6c2568d7702cdd5b3253b09c0535198/package/gluon-mesh-vpn-wireguard/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/wireguard.lua

See also: freifunk-gluon/gluon@2afdfd6#diff-9ed3603b33816ceecac26a49017e86b4cdef93e36e9a49357315b4279bc018a5R53

@lemoer
Copy link
Contributor

lemoer commented Jan 21, 2025

We can build a firmware to test this. How do we test it then if it is working?

@1977er
Copy link
Member Author

1977er commented Jan 21, 2025

Either test it live in a FWH, or have a Netflix party at my house which is conntected with 50Mbps only. ;-)

@AiyionPrime
Copy link
Member

Last time I worked in that file it wasn't clear, whether traffic shaping worked at all in our WireGuard setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants