Susant Sahani
681007ac20
test-network: Add test for PREF64
2023-09-06 15:53:11 +09:00
Yu Watanabe
1d4c874d3c
Merge pull request #24570 from topimiettinen/nft-sets-v2
...
network: firewall integration with NFT sets
2023-09-01 20:13:39 +09:00
Topi Miettinen
c742d7e801
test: testing for networkd NFTSet feature
2023-08-26 21:37:35 +03:00
Susant Sahani
e448fcd01a
test-network: re-add test for custom client identifier
2023-08-24 19:55:31 +09:00
Yu Watanabe
6ed69be98a
Revert "network: DHCP6 client- Allow to send manual DUID"
...
This reverts commits 89e73ce86f and
543d2a4d45 .
The commit assign "custom" to fixed DUID type 5. When making DUID fully
configurable, the type number should be also configurable. Also, the
fully custom DUID should be acceptable for DHCPv4.
2023-08-24 19:50:36 +09:00
Yu Watanabe
9475e23c90
network: several follow-ups for TCP-RTO setting
...
- rename TCPRetransmissionTimeOutSec= -> TCPRetransmissionTimeoutSec,
- refuse infinity,
- fix the input value verifier (USEC_PER_SEC -> USEC_PER_MSEC),
- use DIV_ROUND_UP() when assigning the value.
Follow-ups for 1412d4a4fe .
Closes #28898 .
2023-08-22 15:02:59 +02:00
Susant Sahani
288f58c0b4
CI: network - Add test for route hoplimit
2023-08-18 15:52:14 +05:30
Luca Boccassi
f9e653cfb7
Merge pull request #28870 from ssahani/rto-min-network
...
network: Route - allow to set TCP RTO
2023-08-18 09:23:45 +01:00
Susant Sahani
543d2a4d45
CI: network dhcp6 - Add test for custom client identifier
2023-08-17 23:52:33 +05:30
Susant Sahani
1791956e9c
CI: network - Add test for route TCP RTO
2023-08-17 23:49:32 +05:30
Yu Watanabe
f2bcd3245a
test-network: add more tests for address properties
2023-07-31 18:15:26 +09:00
Yu Watanabe
d19704cd21
test-network: add testcase for overriding Address.RouteMetric=
...
For issue #25843 .
2023-07-31 02:31:17 +09:00
Yu Watanabe
2ede355908
test-network: add tests for several invalid neighbor settings, and overriding settings
...
This also makes the checks stricter.
2023-07-31 00:40:03 +09:00
Susant Sahani
ab2d9e2971
CI: network - Add test for rp_filter
2023-07-28 15:05:12 +05:30
Frantisek Sumsal
c1dd58b3b6
test-network: check for captive portals received via NDISC
...
This requires fairly recent radvd that supports sending RAs with captive
portals [0].
Also, this should hopefully provide coverage for issues like:
- https://github.com/systemd/systemd/issues/28229
- https://github.com/systemd/systemd/issues/28231
- https://github.com/systemd/systemd/issues/28277
[0] https://github.com/radvd-project/radvd/pull/141
2023-07-18 11:38:58 +02:00
Yu Watanabe
fc25920c94
test-network: add tests for null addresses
...
For issue #26113 .
2023-07-07 19:11:37 +09:00
Yu Watanabe
e4948bb2cd
test-network: add test for static route with preferred source
...
This adds possible reproducer for issue #28009 (though, the issue is
highly racy, hence this may not trigger the issue reliably).
2023-07-03 16:13:49 +09:00
Yu Watanabe
856a247e19
test-network: add test for global IPv6PrivacyExtensions= setting
2023-06-29 21:58:23 +09:00
Yuxiang Zhu
b67e8a4e3e
network: Add IgnoreDdontFragment= option for Fragmentation control ( #28131 )
...
From `ip-link(8)`:
> [no]ignore-df - enables/disables IPv4 DF
suppression on this tunnel. Normally datagrams
that exceed the MTU will be fragmented; the
presence of the DF flag inhibits this, resulting
instead in an ICMP Unreachable (Fragmentation
Required) message. Enabling this attribute causes
the DF flag to be ignored.
If this option is enabled for a GRE/GRETAP tunnel, the `DF` flag in the outer IP header
will not inherit the inner IP header's `DF` flag.
This is useful to transfer packets that exceed the MTU of the underlay
network.
2023-06-29 12:11:52 +02:00
Yu Watanabe
73d24e45f8
test-network: add tests for vlan QoS mapping
2023-05-24 11:15:44 +09:00
Dmitry V. Levin
30fd9a2dab
treewide: fix a few typos in NEWS, docs and comments
2023-02-15 10:41:03 +00:00
Yu Watanabe
e5e0743189
network: assume prefix length is full address size
...
The commit 0f707207b9 enables strong
warning about missing prefix length in Address= setting.
The change was done in v241, and was about 4 years ago.
Let's drop the legacy assumption and make the parser consistent with
'ip address' command.
C.f. #11307 .
Closes #26102 .
2023-01-19 22:09:10 +09:00
Yu Watanabe
a93cc5d911
test-network: drop unused file
2023-01-19 21:22:22 +09:00
Nick Rosbrook
f68f644a16
test-network: add a test for renaming device to current altname
2022-12-15 10:36:14 -05:00
Yu Watanabe
b448fc0a6f
test-network: try to change MAC address more
...
Follow-up for 23b6bf274f .
2022-12-07 15:08:23 +01:00
Jian Zhang
23b6bf274f
test-network: add test for bond mac address config
...
Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com >
2022-12-06 14:41:31 +08:00
Yu Watanabe
77d5f36d93
test-network: add tests for RTT and ACK filter for CAKE
2022-11-19 07:08:26 +09:00
Yu Watanabe
d8746f1620
test-network: explicitly prepare default.link
...
On CentOS CI (Arch), 99-default.link is masked. Let's explicitly provide
the same .link file with a different prefix number.
2022-11-01 22:38:37 +09:00
Luca Boccassi
0be7f1936c
Merge pull request #25143 from yuwata/network-reconfigure-interface-when-renamed
...
network: reconfigure interface when renamed
2022-10-31 21:14:24 +01:00
Luca Boccassi
4b9cfe08ba
Merge pull request #25166 from yuwata/network-router-preference
...
network: adjust route metric based on router preference
2022-10-31 20:59:36 +01:00
Yu Watanabe
fa4d3fed46
test-network: add testcase for reconfiguring interface
2022-10-31 09:35:05 +09:00
Yu Watanabe
ee3cbfdbbc
test-network: rewrite wait-online address family tests
...
Fixes #25154 .
2022-10-28 12:26:52 +02:00
Yu Watanabe
bb80f633bf
test-network: add testcase for router preference
2022-10-28 15:56:59 +09:00
Topi Miettinen
a4640bed74
test: testing for networkd NetLabel feature
2022-08-29 14:23:17 +09:00
Yu Watanabe
93e898d624
test-network: add test for TCPCongestionControlAlgorithm=
2022-08-26 19:47:27 +09:00
Yu Watanabe
b249834bc3
test-network: add test for issue #24377
...
The issue has been already fixed by
b05e52000b (PR #24020 ).
2022-08-20 20:50:02 +09:00
Yu Watanabe
3af934bceb
test-network: add tests for IPv4ACD and renewing DHCP address
2022-08-18 15:44:53 +09:00
Yu Watanabe
fd022b1da5
test-network: drop unused .network file
2022-08-18 15:44:53 +09:00
Luca Boccassi
e4e6cfaad0
Merge pull request #24301 from yuwata/network-tuntap
...
network/tuntap: introduce KeepFileDescriptor= setting
2022-08-16 23:06:16 +01:00
Yu Watanabe
21d0ed68ee
test-network: add tests for MTUBytes= for bridge master and ports
...
Prompted by #24311 .
2022-08-16 21:46:40 +00:00
Yu Watanabe
ae014ecb3d
test-network: add tests for KeepCarrier= for tuntap interfaces
2022-08-16 21:57:35 +09:00
Yu Watanabe
4c7d13f4b2
test-network: split test_qdisc() and test_qdisc2()
...
And check module availability in each tests.
This also sorts qdisc tests.
2022-08-09 19:37:50 +09:00
Yu Watanabe
5cdc7c89cb
test-network: rename tun99 and tap99
...
The names seem to be used in AWS.
This also merges test_tun() and test_tap().
2022-08-09 19:37:49 +09:00
Yu Watanabe
e4e0b239f6
test-network: add test case for #23197
2022-08-02 03:43:04 +09:00
Yu Watanabe
72c747e6d1
test-network: add a test case for IPv4LLStartAddress=
2022-07-15 04:01:56 +09:00
Yu Watanabe
589af70b87
test-network: merge two DHCPv6 client tests
2022-07-09 11:44:25 +09:00
Yu Watanabe
0730e3767d
test-network: merge two more tests with test_dhcp_client_ipv4_only
2022-07-09 11:44:25 +09:00
Yu Watanabe
15519a81ac
test-network: drop test_dhcp_client_ipv4_ipv6
...
As the test is covered by test_dhcp_client_reuse_address_as_static.
2022-07-09 11:44:25 +09:00
Yu Watanabe
e81083f2d8
test-network: drop 25-dhcp-v4-server-veth-peer.network
2022-07-09 11:44:25 +09:00
Yu Watanabe
b17947d9cf
test-network: drop meaningless test
...
On DHCPv6 lease renew, the kernel do not drop static routes, and hence
we do not try to reassign them. Hence, the test is mostly meaningless.
2022-07-09 11:44:25 +09:00