Conversation
|
And the module please! |
|
Thanks for the review ! |
7a30da0 to
6951940
Compare
|
The module needs to go into a separate commit named "nixos/mptcpd: init". |
Co-authored-by: Martin Weinelt <131599+mweinelt@users.noreply.github.com>
|
ok, done. |
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
@mweinelt Please note that this old nix module was designed for an old out-of-tree kernel supporting a different implementation of MPTCP than the one that is now in the upstream kernel. See this line:
Most (all?) of the option and sysctl names I see there are for the previous out-of-tree, which are not needed. The routing modifications should not be needed as well. |
|
I probably won't be able to work on this until Sunday, but feel free to push here if you need @mweinelt |
|
I confirm @matttbe's remark. I think we could merge mptcpd and see for the module later. Testing it might need some work (I have never tested mptcpd in a multihomed setting). Ideally we would have a nixosTest for it but this means someone is using it and motivated enough to write and maintain it. @nim65s ar you going to use the module ? |
|
I wanted to try mptcp on top of multiple vpn (zerotier / tailscale / maybe mycelium), yes, but I have no idea where I'm going, so maybe this is foolish / useless. |
|
Hello, |
|
From my point of view this can be merged as it. I did not test it yet, but this looks simple enough, and we can always improve it later if needed |
|
I had planned to test it during holidays and completely forgot about it sry. |
|
@teto: thank you for having checked this!
By default, it should be in
If the kernel supports MPTCP, Note that it would be great to have the possibility to install only mptcpize, and not mptcpd (or not to start the service). Some people might not need
Indeed, |
|
ok my bad it lives in |
Yes, it is standard:
According to: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
Great, thank you for having merged this! |
|
interesting because this was a point of discussion for LSP servers as well huggingface/llm.nvim#64 (comment). I need to read more on it, as it looks quite brittle to me but this is not the place. Thanks for your effort on MPTCP |
Hi,
This add https://github.com/multipath-tcp/mptcpd
And take some inspiration from @teto in https://github.com/teto/mptcp-flake/blob/main/pkgs/mptcpd/default.nix
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.