Commit Graph

19082 Commits

Author SHA1 Message Date
Peter Müller
f704d76e08 dnsdist: Bump package version
https://lists.ipfire.org/pipermail/development/2022-July/013794.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-06 10:00:57 +00:00
Robin Roevens
50fdf0ee9c zabbix_agentd: Add IPFire specific userparameters
Provide IPFire specific items for the Zabbix server to monitor:
- ipfire.net.gateway.pingtime: Internet Line Quality
- ipfire.net.gateway.ping: Internet connection
- ipfire.net.fw.hits.raw: JSON formatted list of Firewall hits/chain
- ipfire.dhcpd.clients: Number of active DHCP leases
- ipfire.captive.clients: Number of Captive Portal clients

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-06 09:57:40 +00:00
Robin Roevens
1898c66a48 zabbix_agentd: By default only listen on GREEN ip
- Change zabbix_agentd.conf during install to only listen on the
  GREEN ip by default.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-06 09:57:40 +00:00
Robin Roevens
092330b128 zabbix_agentd: Sudoers file reorganization
- Remove sudoers file 'zabbix' in favour of new IPFire managed
  'zabbix_agentd' and user managed 'zabbix_agentd_user' which is
  included in the backup
- Provide migration of old sudoers file 'zabbix' or 'zabbix.user' to
  new zabbix_agentd_user sudoers file if it was modified by user.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-06 09:57:40 +00:00
Robin Roevens
e2d54d57d4 zabbix_agentd: Configfile reorganization
- Restrict default main config to only the bare minimum options
  and add upstream provided config as example file.
- Remove /etc/zabbix_agentd from backup and instead add only
  zabbix_agentd.conf and subdirs 'scripts' and 'zabbix_agentd.d' to
  the backup.
- Move ipfire managed userparameter_pakfire.conf from
  user managed dir /etc/zabbix_agentd/zabbix_agent.d to
  ipfire managed dir /var/ipfire/zabbix_agentd/userparameters
- Add Include line to existing zabbix_agentd.conf to include
  the new ipfire managed config dir /var/ipfire/zabbix_agentd/...
- Add and include mandatory IPFire specific agent configuration
  which should never be changed by the user.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-06 09:57:40 +00:00
Robin Roevens
1d00837e7e zabbix_agentd: Fix agent modules dir and few minor bugs
- Add agent modules-dir to backup
- Remove original, not used agent modules dir from rootfile
- Create modules-dir during install if it not already exists
- bugfix: Add existence check before creating log-dir, avoiding error
             messages if it already exists from a previous install
- bugfix: add extract_backup_includes to update.sh script to make
              sure backup includes exist when backup is taken.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-06 09:57:40 +00:00
Robin Roevens
9497d862ba zabbix_agentd: Update to v6.0.6 (LTS)
- Update from 4.2.6 to latest LTS version 6.0.6
  See release notes: https://www.zabbix.com/rn/rn6.0.6

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
2022-07-06 09:57:40 +00:00
Michael Tremer
8ac8abb269 stripper: Strip any PIE executables
Fixes: #12894
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-06 09:57:22 +00:00
Peter Müller
801143615a Core Update 170: Ship ca-certificates
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-06 06:30:09 +00:00
Peter Müller
9c695193ef ca-certificates: Update root CA certificates bundle
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-06 06:29:58 +00:00
Peter Müller
f42dc99758 Merge branch 'next' into temp-c170-development 2022-07-06 06:14:54 +00:00
Peter Müller
8000bc0a43 Core Update 169: Drop entropy.cgi
Since the kernel now always reports 256 bits of entropy to be available,
this CGI does not show any useful information anymore. To avoid
confusions, it will hereby be removed entirely.

Fixes: #12893
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-29 20:28:38 +00:00
Peter Müller
b55842c26a Core Update 169: Delete "random" initscript
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-29 20:13:11 +00:00
Michael Tremer
255873a5f9 random: Drop busy-loop script
This is no longer required because the kernel will now try to
generate some randomness in an easier way when needed.

This has been added in: b923dd3de0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-29 20:11:34 +00:00
Peter Müller
5086ed681d sysctl: Permit ptrace usage for processes with CAP_SYS_PTRACE
https://lists.ipfire.org/pipermail/development/2022-June/013763.html

Reported-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-29 19:43:08 +00:00
Michael Tremer
2fcfe2e1f3 core169: Add initramdisks for armv6l, too
Looks like I have been ahead of time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-06-29 18:34:01 +00:00
Michael Tremer
636cf631c9 core169: Ship initramdisks
Those were not part of the update which renders any machine that
installs it unbootable.

Fixes: #12892
Reported-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-06-29 18:11:26 +00:00
Peter Müller
5991f39282 linux: Update rootfiles to reflect /dev mount option change
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-27 17:30:47 +00:00
Peter Müller
5503a18d71 Merge branch 'next' into temp-c170-development
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-27 13:29:18 +00:00
Peter Müller
f5117ab51d python3-msgpack: Add rootfile for 32-bit ARM
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-27 11:02:32 +00:00
Peter Müller
d76e142f7c Revert "U-Boot: Update to 2022.04"
Arne reported that this introduced regressions on some NanoPi models.

This reverts commit b8a9c9e70a.
2022-06-27 07:34:16 +00:00
Peter Müller
b121752277 Revert "Core Update 169: Ship U-Boot"
This reverts commit 65264b3ba6.
2022-06-27 07:34:10 +00:00
Peter Müller
498ea59524 Revert "u-boot: Clarify source URLs and add missing rk3399 firmware"
This reverts commit be5703ef78.
2022-06-27 07:33:59 +00:00
Peter Müller
706d825587 Revert "u-boot: .xz != .gz"
This reverts commit 01b3a62a35.
2022-06-27 07:33:48 +00:00
Peter Müller
7d5a7fea48 Revert "u-boot: Sigh, fix another .xz != .gz"
This reverts commit 480202725b.
2022-06-27 07:33:40 +00:00
Peter Müller
0664b1720d linux: Amend upstream patch to harden mount points of /dev
This patch, which has been merged into the mainline Linux kernel, but
not yet backported to the 5.15.x tree, precisely addresses our
situation: IPFire does not use systemd, but CONFIG_DEVTMPFS_MOUNT.

The only explanation I have for bug #12889 arising _now_ is that some
component (dracut, maybe) changed its behaviour regarding remounting of
already mounted special file systems. As current dracut won't (re)mount
any file system already found to be mounted, this means that the mount
options decided by the kernel remained untouched for /dev, hence being
weak in terms of options hardening possible.

As CONFIG_DEVTMPFS_SAFE would not show up in "make menuconfig", changes
to kernel configurations have been simulated.

Fixes: #12889
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-25 22:20:48 +00:00
Peter Müller
53eb573f27 Core Update 170: Ship Pakfire functions.pl
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-25 11:15:43 +00:00
Robin Roevens
8ce729457d pakfire: Better errorhandling on downloads
- Add true/false return codes to fetchfile, getmetafile and getmirrors
  indicating succes or failure.
- Check on those return codes and fail gracefully with clean
  error message(s) when downloads fail.
- Replace duplicate meta-file fetching code in dbgetlist with
  getmetafile function (fixing possibly missed cariage return
  conversion in meta-files).
- Remove pointless 5 retries to download server-list.db in
  selectmirror as fetchfile already retries 5 times.
2022-06-25 11:15:03 +00:00
Adolf Belka
0eaaa300d8 rust-time: Required for update of python3-cryptography
- lfs and rootfile created
- Patch created to remove requirement for winapi and related windows dependencies

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:38 +00:00
Adolf Belka
541f938d8b rust-stable_deref_trait: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:38 +00:00
Adolf Belka
ccddf4ce8d rust-proc-macro-error-attr: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
fdb3fb1565 rust-proc-macro-error: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
023ed8cefd rust-pem: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
1cc86b66ec rust-paste-0.1.18: Required for update of python3-cryptography
- lfs and rootfile created
- python3-cryptography build requires older version than was already installed.
   Therefore named version 0.1.18 created, leaving original rust-paste in place

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
e09731d5e4 rust-ouroboros_macro: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
c5706bf1ef rust-ouroboros: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
79781dda3f rust-num_threads: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
fe6afd5ccc rust-num-traits: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
44daf2f5ee rust-num-integer: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
5b855a903e rust-indoc-0.3.6: Required for update of python3-cryptography
- lfs and rootfile created
- python3-cryptography build requires older version than was already installed.
   Therefore named version 0.3.6 created, leaving original rust-indoc in place

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
d6626067a7 rust-chrono: Required for update of python3-cryptography
- lfs and rootfile created
- Patch created to remove requirement for winapi and related windows dependencies

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
bc9673ded3 rust-base64: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
09c2a2ec0e rust-asn1_derive: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
1d14e5a23a rust-asn1: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
98eac192ad rust-aliasable: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
7230084809 rust-Inflector: Required for update of python3-cryptography
- lfs and rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
4ccf0c9ddc rust-pyo3-macros-backend: Update to version 0.15.1 - required for python3-cryptography update
- Update from version 0.13.1 to 0.15.1
   Required to be at same version as rust-pyo3
- Update of rootfile
- Changelog not available

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
8024cc05a1 rust-pyo3-macros: Update to version 0.15.1 - required for python3-cryptography update
- Update from version 0.13.1 to 0.15.1
   Required to be at same version as rust-pyo3
- Update of rootfile
- Changelog not available

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
cacf78e8cc rust-pyo3: Update to version 0.15.1 - required for python3-cryptography
- Update from version 0.13.1 to 0.15.1
- Update of rootfile
- Changelog is too long to include here. For details see CHANGELOG.md file in source
   tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00
Adolf Belka
34ebd4e5f1 make.sh: New rust dependencies for python3-cryptography
- New rust dependencies added for python3-cryptography

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-06-25 11:13:37 +00:00