1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00
The systemd System and Service Manager
Go to file
Robert Meijers 4646cdaa37 networkd: fallback to chaddr for static lease lookup when not found
DHCP static leases are looked up by the client identifier as send by
the client, while configured based on MAC. As RFC 2131 states the client
identifier is an opaque key and must not be interpreted by the server
this means that DHCP clients can (/will) also use a client identifier
which is not a MAC address. One of these clients actually is
systemd-networkd which uses an RFC 4361 by default to generate the
client identifier. For these kind of DHCP clients static leases thus
don't work because of this mismatch between configuring a MAC address
but the server matching based on client identifier. This adds a fallback
to try to look up a configured static lease based on the "chaddr" of the
DHCP message as this will always contain the MAC address of the client.

Fixes #21368
2023-04-20 19:18:50 +09:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github mkosi: Update to latest 2023-04-19 10:13:06 +02:00
.semaphore test: drop whitespace after shell redirection operators 2023-02-06 09:19:04 +01:00
catalog man,catalog: fix typo 2023-02-24 08:52:42 +09:00
coccinelle coccinelle: add a transformation for GNU conditionals 2023-03-18 14:23:11 +01:00
docs docs: add a missing $ sign 2023-04-16 20:31:33 +02:00
factory vconsole: allow setting default keymap through build option 2023-02-15 20:00:51 +00:00
hwdb.d hwdb: disable entry for Logitech USB receiver used by G502 X 2023-04-19 21:14:03 +01:00
LICENSES network: change license of examples to MIT-0 2022-10-26 08:39:34 +02:00
man fsck: look for fsck binary not just in /sbin 2023-04-15 10:29:50 +01:00
mkosi.conf.d mkosi: Update to latest 2023-04-19 10:13:06 +02:00
mkosi.extra mkosi: Always disable sshd, dnsmasq and isc-dhcp-server 2023-04-15 21:06:32 +02:00
modprobe.d meson: install the right README file in modprobe.d 2021-07-07 14:52:05 +02:00
network meson: Install missing network file 2023-01-27 17:50:27 +01:00
po po: Translated using Weblate (Galician) 2023-04-15 03:07:01 +08:00
presets journal: give the ability to enable/disable systemd-journald-audit.socket 2023-01-11 17:18:57 +01:00
rules.d Merge pull request #27169 from yuwata/udev-rule-refuse-unsafe-path 2023-04-11 14:43:50 +02:00
shell-completion shell-completion: add --xml-interface option of busctl to the rules 2023-04-11 11:47:56 +09:00
src networkd: fallback to chaddr for static lease lookup when not found 2023-04-20 19:18:50 +09:00
sysctl.d tree-wide: link to docs.kernel.org for kernel documentation 2022-07-04 19:56:53 +02:00
sysusers.d sysusers: also add root group 2023-02-15 10:29:10 +09:00
test test: add regression tests for find_esp() and friend 2023-04-19 04:04:57 +09:00
tmpfiles.d tmpfiles.d: drop misleading comment 2023-02-21 13:46:39 +01:00
tools tools: add dump-auxv.py 2023-03-24 18:49:34 +00:00
units Merge pull request #25608 from poettering/dissect-moar 2023-04-12 13:46:08 +02:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format clang-format: Adjust style of pointers 2022-05-30 04:00:54 +09:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig mkosi: Use 4 space indentation for scripts 2023-02-21 14:22:52 +01:00
.gitattributes gitattributes: introduce and use "generated" attribute 2021-10-18 09:42:55 +02:00
.gitignore mkosi: Update to latest 2023-03-29 13:27:19 +02:00
.mailmap mailmap: two more names 2021-03-30 13:17:58 +02:00
.packit.yml packit: drop/replace deprecated directives 2022-12-15 21:48:49 +09:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
configure tools: shellcheck-ify tool scripts 2021-09-30 12:27:06 +02:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
meson_options.txt tree-wide: Drop gnu-efi 2023-03-10 11:41:03 +01:00
meson.build Merge pull request #26870 from fbuihuu/move-unit-tests-in-a-dedicated-subdir 2023-03-27 09:38:15 +01:00
mkosi.build mkosi: Make sure we always boot our built from source kernel 2023-04-05 16:20:28 +02:00
mkosi.kernel.config mkosi: Update bundled kconfig 2023-04-05 17:19:24 +02:00
mkosi.postinst mkosi: Update to latest 2023-04-19 10:13:06 +02:00
mkosi.prepare mkosi: Use globs instead of prepare script to install extra packages 2023-02-10 16:05:32 +01:00
NEWS doc: replace wrong á preposition by à 2023-03-07 13:06:43 +01:00
README docs: update unit name for sd-tmpfiles-setup 2023-03-19 01:32:50 +08:00
README.md README: update CentOS CI URLs to the new instance 2023-03-03 18:38:40 +01:00
TODO service: close fdstore asynchronously 2023-04-13 06:44:27 +02:00

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
CentOS CI - Rawhide (SELinux)
Fossies codespell report
Coverage Status
Packaging status
OpenSSF Scorecard

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.