Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix "link-local" language inconsistencies | Sebastian Pucilowski | 2022-03-31 | 1 | -1/+1 |
| | | | | | | "Link-local" and "link local" are used throughout man pages and program output, with the former used far more than the latter. This commit makes it consistent throughout the project. | ||||
* | network: coding style fixes | Yu Watanabe | 2022-02-09 | 1 | -6/+6 |
| | |||||
* | network: configure DHCP clients after MAC address is assigned | Yu Watanabe | 2022-01-31 | 1 | -0/+7 |
| | | | | Prompted by #20090. | ||||
* | network: dhcp-pd: rename [DHCPv6PrefixDelegation] -> [DHCPPrefixDelegation] | Yu Watanabe | 2021-12-07 | 1 | -3/+3 |
| | | | | | | | This just changes the names of settings, variables, functions, files, and so on. No functionality is changed. Preparation for supporting 6rd. | ||||
* | network: dhcp6pd: always use main route table for unreachable route | Yu Watanabe | 2021-12-07 | 1 | -34/+4 |
| | | | | This mostly reverts e47bcb7d0b2cb07c5c594e374baeb061bb7f88ba. | ||||
* | network: dhcp6pd: fix copy-and-paste error | Yu Watanabe | 2021-12-06 | 1 | -1/+1 |
| | |||||
* | network: dhcp6: introduce UplinkInterface= for DHCP6 prefix delegation | Yu Watanabe | 2021-10-26 | 1 | -1/+13 |
| | |||||
* | network: move config_parse_uplink() to networkd-dhcp-common.[ch] | Yu Watanabe | 2021-10-26 | 1 | -0/+66 |
| | |||||
* | tree-wide: mark set-but-not-used variables as unused to make LLVM happy | Frantisek Sumsal | 2021-09-15 | 1 | -2/+4 |
| | | | | | | | | | | | | | | LLVM 13 introduced `-Wunused-but-set-variable` diagnostic flag, which trips over some intentionally set-but-not-used variables or variables attached to cleanup handlers with side effects (`_cleanup_umask_`, `_cleanup_(notify_on_cleanup)`, `_cleanup_(restore_sigsetp)`, etc.): ``` ../src/basic/process-util.c:1257:46: error: variable 'saved_ssp' set but not used [-Werror,-Wunused-but-set-variable] _cleanup_(restore_sigsetp) sigset_t *saved_ssp = NULL; ^ 1 error generated. ``` | ||||
* | network: replace config_parse_address_filter() with ↵ | Yu Watanabe | 2021-09-14 | 1 | -66/+0 |
| | | | | config_parse_in_addr_prefixes() | ||||
* | in-addr-prefix-util: introduce several utilities for address prefix | Yu Watanabe | 2021-09-14 | 1 | -1/+1 |
| | |||||
* | network: do not use RouteTable= in [DHCPv4] section for DHCPv6 routes | Yu Watanabe | 2021-09-14 | 1 | -3/+68 |
| | | | | | We forgot to add RouteTable= in [DHCPv6] section when we split [DHCP] into two. | ||||
* | network: use ltype to distinguish DHCPv4 and DHCPv6 | Yu Watanabe | 2021-09-14 | 1 | -13/+45 |
| | |||||
* | network: dhcp4,ndisc: make addresses in Allow/DenyList= optionally take ↵ | Yu Watanabe | 2021-08-23 | 1 | -0/+90 |
| | | | | | | prefix length Closes #20505. | ||||
* | network: rebreak conf parser arguments | Yu Watanabe | 2021-08-16 | 1 | -10/+11 |
| | |||||
* | network: DHCP[46] -> DHCPv[46] in log messages | Yu Watanabe | 2021-08-10 | 1 | -6/+6 |
| | |||||
* | network: use request queue to configure DHCP{4,6} clients | Yu Watanabe | 2021-08-10 | 1 | -72/+19 |
| | | | | | | | Previously, when UUID is requested for DUID, then the clients are configured in callback of bus methods. But now, 'request queue' was implemented, so we can use it to wait until the product UUID is obtained. | ||||
* | network: do not request UUID frequently on failure | Yu Watanabe | 2021-08-10 | 1 | -0/+2 |
| | | | | | If many interfaces request UUID, and networkd cannot get it for some reasons, then previously we call the DBus method so frequently. | ||||
* | network: downgrade log level in dhcp6_configure() | Yu Watanabe | 2021-08-10 | 1 | -1/+1 |
| | | | | And make the callers warn about failures. | ||||
* | network: downgrade log level in dhcp4_configure() | Yu Watanabe | 2021-08-10 | 1 | -1/+1 |
| | | | | And make the callers warn about failures. | ||||
* | network: do not process requests which conditionalized with link flags while ↵ | Yu Watanabe | 2021-06-08 | 1 | -0/+3 |
| | | | | | | | | the flags are updating E.g. nexthop requires IFF_UP flag, but the currently stored flag may be outdated if we called link_down(). This makes such requests pending if at least one of the flags are updating. | ||||
* | network: dhcp: constify link_get_duid() | Yu Watanabe | 2021-04-21 | 1 | -11/+13 |
| | |||||
* | network: dhcp: introduce duid_needs_product_uuid() helper function | Yu Watanabe | 2021-04-21 | 1 | -1/+7 |
| | |||||
* | network: configure non-dhcp configs earlier even DUID-UUID is used by DHCP ↵ | Yu Watanabe | 2021-04-21 | 1 | -83/+43 |
| | | | | | | | | | | clients Previously, if DUID-UUID is used, all configurations are configured after networkd gets product uuid of machine. This makes only DHCP clients are delayed, and other configs are configured earlier. | ||||
* | network: make IAID and DUID for DHCPv6 configurable explicitly | Yu Watanabe | 2021-04-21 | 1 | -56/+209 |
| | | | | Closes #18996. | ||||
* | network: move dhcp related conf parsers to networkd-dhcp-common.c | Yu Watanabe | 2021-04-21 | 1 | -0/+146 |
| | |||||
* | network: move RouteMetric= from [DHCPv6] to [IPv6AcceptRA] | Yu Watanabe | 2021-04-21 | 1 | -5/+5 |
| | | | | As the value is used in the routes in RA. | ||||
* | network: move and rename network_apply_anonymize_if_set() | Yu Watanabe | 2021-04-14 | 1 | -0/+2 |
| | |||||
* | networkd: simplify sd_bus_is_ready() checks | Zbigniew Jędrzejewski-Szmek | 2021-04-08 | 1 | -1/+1 |
| | | | | | | Also add "system" in the messages, because we set the internal value, and are just skipping the setting of the external value, so the message could be confusing without that clarification. | ||||
* | network: also introduce UseDomains= for [DHCPv6] section | Yu Watanabe | 2021-03-13 | 1 | -3/+43 |
| | | | | | When we split [DHCP] section into [DHCPv4] and [DHCPv6], UseDomains= setting was forgot to be introduced in [DHCPv6] section. | ||||
* | network: use userdata instead data in conf parsers | Yu Watanabe | 2021-03-13 | 1 | -6/+6 |
| | | | | These takes no offset, so should not change any behavior. | ||||
* | network: DHCP option- use correct byteorder | Susant Sahani | 2021-02-17 | 1 | -2/+8 |
| | |||||
* | network: dhcp: use string table | Yu Watanabe | 2021-02-11 | 1 | -10/+3 |
| | |||||
* | tree-wide: use error codes in xxx_from_string() | Yu Watanabe | 2021-02-11 | 1 | -1/+1 |
| | |||||
* | man: use ellipses for ranges in range descriptions | Zbigniew Jędrzejewski-Szmek | 2021-01-29 | 1 | -2/+2 |
| | | | | … and in few other places ;) | ||||
* | network: tighten variable scope used in loop (#18277) | Susant Sahani | 2021-01-17 | 1 | -2/+1 |
| | |||||
* | network: merge config_parse_dhcp_user_class() and _vendor_class() | Yu Watanabe | 2021-01-12 | 1 | -52/+2 |
| | |||||
* | network: refuse zero length dhcp user class | Yu Watanabe | 2021-01-12 | 1 | -5/+5 |
| | |||||
* | network: use bus_error_message() | Yu Watanabe | 2020-12-02 | 1 | -5/+8 |
| | |||||
* | network: use IN_SET() macro | Yu Watanabe | 2020-11-30 | 1 | -5/+3 |
| | | | | Follow-up for 1d370b2c182505ff8033fccbebcc56621d305220. | ||||
* | networkd/dhcp6: allow layer3 devices without MAC | Jörg Thalheim | 2020-11-23 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | Devices with multicast but without mac addresses i.e. tun devices are not getting setuped correctly: $ ip tuntap add mode tun dev tun0 $ ip addr show tun0 16: tun0: <NO-CARRIER,POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 500 link/none $ cat /etc/systemd/network/tun0.network [Match] Name = tun0 [Network] Address=192.168.1.1/32 $ ./systemd-networkd tun0: DHCP6 CLIENT: Failed to set identifier: Invalid argument tun0: Failed | ||||
* | license: LGPL-2.1+ -> LGPL-2.1-or-later | Yu Watanabe | 2020-11-09 | 1 | -1/+1 |
| | |||||
* | network: introduce network_adjust_dhcp() | Yu Watanabe | 2020-10-15 | 1 | -5/+25 |
| | |||||
* | tree-wide: assorted coccinelle fixes | Frantisek Sumsal | 2020-10-09 | 1 | -2/+1 |
| | |||||
* | network: move DUID related functions | Yu Watanabe | 2020-10-06 | 1 | -0/+189 |
| | |||||
* | network: unify link_dhcp{4,6}_enabled() | Yu Watanabe | 2020-10-06 | 1 | -0/+27 |
| | |||||
* | network: downgrade log level in conf parsers | Yu Watanabe | 2020-07-16 | 1 | -48/+44 |
| | |||||
* | tree-wide: use set_ensure_put() | Zbigniew Jędrzejewski-Szmek | 2020-06-22 | 1 | -11/+2 |
| | | | | | | | | | Patch contains a coccinelle script, but it only works in some cases. Many parts were converted by hand. Note: I did not fix errors in return value handing. This will be done separate to keep the patch comprehensible. No functional change is intended in this patch. | ||||
* | network: drop an unused function | Yu Watanabe | 2020-06-02 | 1 | -32/+0 |
| | |||||
* | network: move DHCPv6 related conf parsers to networkd-dhcp6.c | Yu Watanabe | 2020-06-02 | 1 | -77/+0 |
| |