about summary refs log tree commit diff
path: root/nixos/tests/wireguard
AgeCommit message (Collapse)AuthorFilesLines
2021-08-08maintainers: xwvvvvwx -> d-xoDavid Terry1-1/+1
2021-04-04iproute: deprecate aliasSandro Jäckel1-3/+3
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl4-4/+4
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2020-04-29nixos/wireguard: test against multiple kernel versionsMaximilian Bosch5-72/+115
When testing WireGuard updates, I usually run the VM-tests with different kernels to make sure we're not introducing accidental regressions for e.g. older kernels. I figured that we should automate this process to ensure continuously that WireGuard works fine on several kernels. For now I decided to test the latest LTS version (5.4) and the latest kernel (currently 5.6). We can add more kernels in the future, however this seems to significantly slow down evaluation and time. The list can be customized by running a command like this: nix-build nixos/tests/wireguard --arg kernelVersionsToTest '["4.19"]' The `kernelPackages` argument in the tests is null by default to make sure that it's still possible to invoke the test-files directly. In that case the default kernel of NixOS (currently 5.4) is used.
2019-12-30tests/wireguard: init wg-quickDavid Terry3-84/+144
- Duplicate and adapt the existing default wireguard test for wg-quick - Pull common setup code out into a seperate file
2019-12-16nixosTests.wireguard.namespaces: Port test to pythonChristian Kampka1-10/+8
2019-11-14Merge pull request #71510 from asymmetric/wg-nsFranz Pletz1-0/+80
Add namespace support to Wireguard module
2019-11-09wireguard: add creation and destination namespacesLorenzo Manacorda1-0/+80
The two new options make it possible to create the interface in one namespace and move it to a different one, as explained at https://www.wireguard.com/netns/.
2019-11-04nixos/wireguard: convert generated test to pythonJana Traue1-26/+30
2019-11-04nixos/wireguard: convert default test to pythonJana Traue1-6/+6
2019-04-24wireguard: add generatePrivateKeyFile option + testGraham Christensen1-0/+57
Ideally, private keys never leave the host they're generated on - like SSH. Setting generatePrivateKeyFile to true causes the PK to be generate automatically.
2019-03-18nixos/wireguard: add testMaximilian Bosch2-0/+108
After working on the last wireguard bump (#57534), we figured that it's probably a good idea to have a basic test which confirms that a simple VPN with wireguard still works. This test starts two peers with a `wg0` network interface and adds a v4 and a v6 route that goes through `wg0`.