TNE
12f0948900
nixos/tests/nat: Create more broad and detailed testing conditions
...
This code is mostly from #279629 , the uninvoled client checks were removed (since they are the same as the direct connection to the client test) and the tests were adjusted to work as intended as well as bugs fixed.
In some cases, some tests are skipped when they do not make sense for the specific configuration that is being tested.
2024-12-01 09:36:03 +01:00
K900
fe0a640a85
nixos/tests/nat: use specialisations instead of multiple machines
2024-09-08 17:09:01 +03:00
Frédéric Christ
c6f6c28218
nixos/testing: Add ipv6 configuration
...
This contribution enables a working IPv6 setup by default. This works
analog to the current automatic IPv4 setup.
2024-07-18 10:22:32 +02:00
Jade Lovelace
3fd324f823
nixos: remove historical maintainership of modules by eelco
...
Eelco has made several early contributions to NixOS including writing
the samba module among other things, but is more or less inactive these
days.
By my brief inspection, he has not committed to the nixos/ tree since
releasing Nix 2.13 in early 2023 and merging a PR to networking tests
slightly before that. A lot of these tests/modules are actually
unmaintained in practice, so we should update the code to reflect the
practical reality so someone can consider picking them up.
2024-05-12 12:48:57 -07:00
K900
84f3520c8f
nixos/tests/nat: remove conntrack helpers test
...
Removed upstream
2023-03-04 10:53:48 +03:00
Rvfg
a43c7b2a70
nixos/{firewall, nat}: add a nftables based implementation
2022-12-23 00:49:24 +08:00
Dominik Xaver Hörl
25bef2d8f9
treewide: simplify pkgs.stdenv.lib -> pkgs.lib
...
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 20:12:06 +01:00
Martin Milata
33ab6997cd
nixosTests.nat: port to python
2019-12-01 00:20:28 +01:00
Florian Friesdorf
fbef5ab82f
Remove myself as maintainer from packages
...
I'm currently not maintaining any packages.
2019-02-22 16:14:13 +01:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
...
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Robin Gloster
4c8a198f12
tests/docs: remove remnants of old allowPing default ( #49198 )
...
This has been defaulting to true since 16.03, we don't need this code
anymore, also the note in the documentation has been obsolete for quite
a while.
2018-10-30 22:26:43 +01:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
rnhmjoj
e239c1e582
nixos/tests: rename IP addresses/routes options
2018-02-17 14:57:07 +01:00
Robin Gloster
b18b70c74d
nixos.tests.nat: fix
2017-08-04 17:52:42 +02:00
Markus Mueller
1793c96be2
tests/nat: Use switch-to-configuration in test case
2017-08-03 21:16:14 +02:00
Franz Pletz
2d9152d509
nixos/tests/nat: add test for conntrack helper autoloading
2017-01-25 01:14:05 +01:00
Franz Pletz
8322a12ef2
firewall: disable conntrack helper autoloading by default
...
This was disabled in the Linux kernel since 4.7 and poses a security risk
if not configured properly.
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=486dcf43da7815baa615822f3e46883ccca5400f
2017-01-25 01:14:04 +01:00
Joachim Schiele
0731489953
all tests: added meta.maintainers section
2015-07-12 12:29:51 +02:00
William A. Kennington III
8250059a9f
nixos/tests/nat: Add tests for standalone and firewall based nat
2014-09-18 14:39:46 -07:00
William A. Kennington III
b047f2ddec
nixos/tests/nat: Modify test to accomodate for firewall consolidation
2014-09-18 11:28:58 -07:00
William A. Kennington III
3e834e1783
nixos/tests: Fix usage of head function without pkgs.lib
2014-09-01 04:39:45 -07:00
William A. Kennington III
3d037ebb94
Revert "Revert "Merge pull request #3182 from wkennington/master.ipv6""
...
This reverts commit ea8910652f
.
2014-08-31 09:46:16 -07:00
Rob Vermaas
ea8910652f
Revert "Merge pull request #3182 from wkennington/master.ipv6"
...
This reverts commit b23fd65854
, reversing
changes made to 43654cba2c
.
2014-08-31 10:58:54 +02:00
William A. Kennington III
86c0f8c549
Refactor nixos files relying on the old ipAddress / prefixLength / subnetMask attributes
2014-08-30 07:33:38 -07:00
Florian Friesdorf
9b7dbcc83e
name nixos tests, close #3078
2014-06-28 16:05:47 +02:00
Eelco Dolstra
abe218950c
Make it easier to run the tests
...
You can now run a test in the nixos/tests directory directly using
nix-build, e.g.
$ nix-build '<nixos/tests/login.nix>' -A test
This gets rid of having to add the test to nixos/tests/default.nix.
(Of course, you still need to add it to nixos/release.nix if you want
Hydra to run the test.)
2014-04-14 14:02:44 +02:00
Eelco Dolstra
13185280fe
Fix tests broken due to the firewall being enabled by default
2014-04-11 17:16:44 +02:00
Eelco Dolstra
408b8b5725
Add lots of missing option types
2013-10-30 18:47:43 +01:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00