lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230719185106.17614-1-gioele@svario.it>
Date: Wed, 19 Jul 2023 20:50:44 +0200
From: Gioele Barabucci <gioele@...rio.it>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>,
	Gioele Barabucci <gioele@...rio.it>
Subject: [iproute2 00/22] Support for stateless configuration (read from /etc and /usr)

Dear iproute2 maintainers,

this patch series adds support for the so called "stateless" configuration
pattern, i.e. reading the default configuration from /usr while allowing
overriding it in /etc, giving system administrators a way to define local
configuration without changing any distro-provided files.

In practice this means that each configuration file FOO is loaded
from /usr/lib/iproute2/FOO unless /etc/iproute2/FOO exists.

Gioele Barabucci (22):
  Makefile: Rename CONFDIR to CONF_ETC_DIR
  Makefile: Add CONF_USR_DIR for system-installed configuration files
  include/utils.h: Use /usr/lib/iproute2 as default CONF_USR_DIR
  tc/tc_util: Read class names from provided path, /etc/, /usr
  tc/m_ematch: Read ematch from /etc and /usr
  lib/bpf_legacy: bpf_hash_init: Relay returned value
  lib/bpf_legacy: Read bpf_pinning from /etc and /usr
  lib/rt_names: rtnl_hash_initialize: Relay returned value
  lib/rt_names: rtnl_tab_initialize: Relay returned value
  lib/rt_names: Read rt_protos from /etc and /usr
  lib/rt_names: Read rt_scopes from /etc and /usr
  lib/rt_names: Read rt_names from /etc and /usr
  lib/rt_names: Read rt_tables from /etc and /usr
  lib/rt_names: Read rt_dsfield from /etc and /usr
  lib/rt_names: Read group from /etc and /usr
  lib/rt_names: Read nl_protos from /etc and /usr
  lib/rt_names: Read rt_protos.d/* from /etc and /usr
  lib/rt_names: Read rt_protos.d/* using rtnl_tab_initialize_dir
  lib/rt_names: Read protodown_reasons.d/* using rtnl_tab_initialize_dir
  lib/rt_names: Read rt_tables.d/* using rtnl_hash_initialize_dir
  man: Document lookup of configuration files in /etc and /usr
  Makefile: Install default configuration files in /usr

 Makefile                 |  10 +-
 include/utils.h          |   7 +-
 lib/bpf_legacy.c         |  12 ++-
 lib/rt_names.c           | 217 ++++++++++++++++++++++++---------------
 man/man8/Makefile        |   3 +-
 man/man8/ip-address.8.in |   5 +-
 man/man8/ip-link.8.in    |  12 ++-
 man/man8/ip-route.8.in   |  43 +++++---
 tc/m_ematch.c            |  17 ++-
 tc/tc_util.c             |  18 +++-
 10 files changed, 214 insertions(+), 130 deletions(-)

-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ