-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
icmptx: init at 0.2-unstable-2023-11-07 #357574
base: master
Are you sure you want to change the base?
Conversation
I should probably add a release notes entry. |
I added a release notes entry. |
I resolved the conflict. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4973 |
commonOptions = { | ||
tun = lib.mkOption { | ||
type = lib.types.str; | ||
default = "tun0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we hardcode tun0 and not icmptx0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the ICMPTX program does not allow changing the interface name and will always use tun0
if available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this option in case changing the name becomes possible in the future.
I fixed the formatting after my previous change. |
Add ICMPTX, a program to tunnel IP packets over Ping messages.
https://codeberg.org/jakkarth/icmptx
Also add a NixOS module and a NixOS test.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.