Yu Watanabe
9540f8e216
test-network: add test case for MACAddress=none in .netdev and MACAddressPolicy=none in .link
...
Prompted by #30813 .
2024-01-10 12:07:23 +01:00
Mike Yuan
fa724cd52c
networkd/wireguard: support network.wireguard.* credentials
...
Closes #26702
2024-01-09 15:25:30 +08:00
Yu Watanabe
78265b5b4a
test-network: add test case about replacing nexthop
2024-01-05 04:00:16 +09:00
Yu Watanabe
9362f7d5b5
test-network: merge three tests for neighbor
...
To speed up tests.
2024-01-05 04:00:16 +09:00
Raito Bezarius
b49595503d
networkd: support proxy_arp_pvlan sysctl
...
The proxy ARP private VLAN sysctl is useful for VLAN aggregation, see
https://sysctl-explorer.net/net/ipv4/proxy_arp_pvlan/ for details.
2023-12-24 03:40:03 +09:00
Yu Watanabe
3a2ef59d2e
test-network: add test case of an empty string assignment for Address=
2023-12-21 04:13:19 +09:00
Yu Watanabe
b993e7e72e
network: also log drop-in config files
...
We have already show used drop-in config files in networkctl, but
also showing that in log may be useful.
Closes #30483 .
2023-12-21 03:37:17 +09:00
Yu Watanabe
41231f2697
test-network: add test for ManageForeignNextHops=no
2023-12-13 00:02:36 +09:00
Yu Watanabe
2527b725ba
Merge pull request #30156 from yuwata/network-mtu
...
network: accept arbitrary size of MTU in .network
2023-12-12 19:03:21 +09:00
Yu Watanabe
5e46ca9890
test-network: add test case for issue #30403
2023-12-10 14:04:28 +09:00
Yu Watanabe
470a329d98
test-network: add test for small MTU for vcan
...
Prompted by https://github.com/systemd/systemd/issues/30140#issuecomment-1837973580 .
2023-12-08 10:47:42 +09:00
Zbigniew Jędrzejewski-Szmek
bfa95c369a
Merge pull request #29987 from yuwata/network-bridge-vlan
...
network: remove unnecessary bridge vlan IDs
2023-12-06 22:25:42 +01:00
Yu Watanabe
b65c539088
test-network: add tests for [DHCPv4] AllowList= and DenyList=
...
We have not tested if the settings actually filter DHCP servers.
Let's add a test case for the settings.
Note, the .network file used here has been unused since
0730e3767d . So, we can freely reuse it
without changing other test cases.
Closes #30107 .
2023-11-22 05:37:04 +09:00
Yu Watanabe
60f4b2c560
test-network: extend tests for [BridgeVLAN] settings
2023-11-13 03:58:46 +09:00
Yu Watanabe
1805e2cb05
test-network: add test case for issue #29979
2023-11-11 03:57:59 +09:00
Yu Watanabe
d377949085
test-network: test MultiPathRoute= via another interface
...
Prompted by https://github.com/systemd/systemd/pull/14194#issuecomment-1795489641 .
2023-11-06 20:59:49 +00:00
Yu Watanabe
46f2eb517c
test-network: add tests for DHCP IPv6 only mode
...
For [DHCPv4] IPv6OnlyMode= and [DHCPServer] IPv6OnlyPreferredSec=.
2023-10-11 21:42:13 +09:00
Luca Boccassi
00dd4e78f6
Merge pull request #29495 from yuwata/network-manager-state-file
...
network: fixlets for manager state file
2023-10-08 22:46:44 +01:00
Yu Watanabe
34290c6aa9
test-network: test for NTP servers by DHCPv6 protocol
...
For issue #29148 .
2023-10-08 15:45:35 +09:00
Yu Watanabe
8fc7e073e3
test-network: extend testcase for tbf
...
For issue #29485 .
2023-10-07 21:35:16 +09:00
Yu Watanabe
6b524d70e3
test-network: add tests for [DHCPv4] RequestAddress= setting
2023-10-05 11:14:29 +09:00
Yu Watanabe
d5adff70c0
test-network: add test for multiple IPv6 null addresses
...
This also merges test_address_null() into test_address_static().
2023-09-18 10:22:08 +09:00
Yu Watanabe
47f1ce1677
test-network: add testcase for [DHCPServer] ServerAddress= with null address
2023-09-08 20:03:40 +09:00
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