NetworkManager/src/n-dhcp4
Beniamino Galvani a840e64945 n-dhcp4: change the default DSCP value to 0
Section 4.9 of RFC 4594 specifies that DHCP should use the standard
(CS0 = 0) service class. Section 3.2 says that class CS6 is for
"transmitting packets between network devices (routers) that require
control (routing) information to be exchanged between nodes", listing
"OSPF, BGP, ISIS, RIP" as examples of such traffic. Furthermore, it
says that:

      User traffic is not allowed to use this service class.  By user
      traffic, we mean packet flows that originate from user-controlled
      end points that are connected to the network.

Indeed, we got reports of some Cisco switches dropping DHCP packets
because of the CS6 marking.

For these reasons, change the default value to the recommended one,
CS0.

(cherry picked from commit d8b33e2a97)
2024-02-06 17:02:31 +01:00
..
.github/workflows build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
src n-dhcp4: change the default DSCP value to 0 2024-02-06 17:02:31 +01:00
subprojects modules: patch meson subprojects to use local dependencies 2022-07-25 10:27:33 +02:00
.editorconfig build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
.gitmodules build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
AUTHORS build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
meson.build modules: patch meson subprojects to use local dependencies 2022-07-25 10:27:33 +02:00
NEWS.md build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
README.md build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00

n-dhcp4

Dynamic Host Configuration Protocol for IPv4

The n-dhcp4 project implements the IPv4 Dynamic Host Configuration Protocol as defined in RFC-2132+.

Project

Requirements

The requirements for this project are:

  • Linux kernel >= 3.19
  • libc (e.g., glibc >= 2.16)

At build-time, the following software is required:

  • meson >= 0.41
  • pkg-config >= 0.29

Build

The meson build-system is used for this project. Contact upstream documentation for detailed help. In most situations the following commands are sufficient to build and install from source:

mkdir build
cd build
meson setup ..
ninja
meson test
ninja install

No custom configuration options are available.

Repository:

License:

  • Apache-2.0 OR LGPL-2.1-or-later
  • See AUTHORS file for details.