Commit Graph

15683 Commits

Author SHA1 Message Date
Matthias Fischer
dd401c4d8a libassuan: Update to 2.5.4
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:38:31 +00:00
Michael Tremer
84371e42df core154: Ship libgpg-error
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:38:21 +00:00
Matthias Fischer
d3d5039924 libgpg-error: Update to 1.41
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:38:05 +00:00
Michael Tremer
f4abc0221f core154: Ship libgcrypt
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:37:51 +00:00
Matthias Fischer
47cf62d3b7 libgcrypt: Update to 1.9.1
For details - especially for this version - see:
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html

Overview:
https://dev.gnupg.org/source/libgcrypt/browse/master/NEWS

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:37:31 +00:00
Peter Müller
f90fd27a70 Postfix: update to 3.5.9
This release adds runtime detection of DNSSEC support; please refer to
http://www.postfix.org/announcements/postfix-3.5.9.html for its full
announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:37:16 +00:00
Matthias Fischer
bf2ff65e6c logwatch: Update to 7.5.5
For details see:
https://build.opensuse.org/package/view_file/server:monitoring/logwatch/ChangeLog?expand=1

Plus: deleted no longer need dhcpd-patch.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:36:54 +00:00
Michael Tremer
6106a465d7 core154: Ship dma
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:36:33 +00:00
Matthias Fischer
b3a4ea2817 knot: Update to 3.0.4
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:36:06 +00:00
Matthias Fischer
b1f5103899 knot: Cosmetic changes in lfs
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:35:57 +00:00
Adolf Belka
5bc11f39e3 dbus: Update to 1.12.20
- Update dbus from 1.11.12 to 1.12.20 (latest in release line
	1.13.x is also available but this is the development line
	and not recommended for production use
- Changelog between these two versions is very long (750 lines long) and
	can be found in the NEWS file in the source tarball.
- rootfile updated

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:31:29 +00:00
Adolf Belka
d1efdea0d3 dma: Update to 0.13
- Update dma from 0.12 to 0.13
- No changelog information available
- No change to the rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-30 17:38:59 +00:00
Michael Tremer
fa82a2156a Revert "core154: Ship freetype"
This reverts commit 45063142be.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 14:43:20 +00:00
Michael Tremer
52bf6075d0 Revert "freetype: update to 2.10.4"
This reverts commit 5653a45f81.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 14:43:05 +00:00
Michael Tremer
9a0e002098 core154: Ship ipset
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 11:14:43 +00:00
Adolf Belka
bc19698555 ipset: Update to 7.10
- Update ipset from 7.6 to 7.10
- Changelog
7.10
    Kernel part changes
        Fix patch "Handle false warning from -Wstringop-overflow"
        Backward compatibility: handle renaming nla_strlcpy to nla_strscpy
        treewide: rename nla_strlcpy to nla_strscpy. (Francis Laniel)
        netfilter: ipset: fix shift-out-of-bounds in htable_bits() (Vasily Averin)
        netfilter: ipset: fixes possible oops in mtype_resize (Vasily Averin)
        Handle false warning from -Wstringop-overflow
        Backward compatibility: handle missing strscpy with a wrapper of strlcpy.
        Move compiler specific compatibility support to separated file (broken compatibility support reported by Ed W)
7.9
    Userspace changes
        Fix library versioning (Jan Engelhardt)
7.8
    Kernel part changes
        Complete backward compatibility fix for package copy of <linux/jhash.h>
        Compatibility: check for kvzalloc() and GFP_KERNEL_ACCOUNT
        netfilter: ipset: enable memory accounting for ipset allocations (Vasily Averin)
        netfilter: ipset: prevent uninit-value in hash_ip6_add (Eric Dumazet)
        Compatibility: use skb_policy() from if_vlan.h if available
        Compatibility: Check for the fourth arg of list_for_each_entry_rcu()
        Backward compatibility fix for the package copy of <linux/jhash.h>
7.7
    Userspace changes
        Expose the initval hash parameter to userspace
        Handle all variable header parts in helper scripts instead ot test tasks
        Add bucketsize parameter to all hash types
        Support the -exist flag with the destroy command
    Kernel part changes
        Expose the initval hash parameter to userspace
        Add bucketsize parameter to all hash types
        Use fallthrough pseudo-keyword in the package copy of too
        Support the -exist flag with the destroy command
        netfilter: Use fallthrough pseudo-keyword (Gustavo A. R. Silva)
        netfilter: Replace zero-length array with flexible-array member (Gustavo A. R. Silva)
        netfilter: ipset: call ip_set_free() instead of kfree() (Eric Dumazet)
        netfiler: ipset: fix unaligned atomic access (Russell King)
        netfilter: ipset: Fix subcounter update skip (Phil Sutter)
        ipset: Update byte and packet counters regardless of whether they match (Stefano Brivio)
        netfilter: ipset: Pass lockdep expression to RCU lists (Amol Grover)
        ip_set: Fix compatibility with kernels between v3.3 and v4.5 (Serhey Popovych)
        ip_set: Fix build on kernels without INIT_DEFERRABLE_WORK (Serhey Popovych)
        ipset: Support kernels with at least system_wq support
        ip_set: Fix build on kernels without system_power_efficient_wq (Serhey Popovych)
- Rootfiles updated

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 11:14:22 +00:00
Michael Tremer
45063142be core154: Ship freetype
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 11:14:06 +00:00
Peter Müller
5653a45f81 freetype: update to 2.10.4
This fixes a heap buffer overflow in the handling of embedded PNG
bitmaps (CVE-2020-15999). Further information is available at
https://sourceforge.net/projects/freetype/files/freetype2/2.10.4/ .

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 11:13:40 +00:00
Michael Tremer
968ad8ba8d samba: Update rootfiles
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-29 11:09:34 +00:00
Adolf Belka
ecf0ba6d12 minicom: Update to 2.8
- Update minicom from 2.7.1 to 2.8
- Changelog for version 2.8
	New timestamp mode: Delta to previous line.
	Add HPA ESC sequence
	Add alternative window support (ti/te)
	Fix file name of non-global configuration settings.
	Update translations: Indonesian, French, Swedish, Spanish, German, Brazilian Portuguese, Vietnamese, Polish, Danish, Norwegian, Serbian
	New translation: Serbian, Simplified chinese
	Fix F10 macro key used in current setups
	Add F11 and F12 for macro use
	Fixed DTR for recent systems
	Add support for RS485.
	Add --capturefile-buffer-mode option
	Bug fixes
- Updated rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-28 16:49:00 +00:00
Adolf Belka
ff5aef9d30 tshark: Update to 3.4.2
- Update tshark from 3.2.6 (Old Stable Release line) to 3.4.2 (Stable Release line)
- Changelog at https://www.wireshark.org/docs/relnotes/
- Rootfile updated

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-28 16:48:09 +00:00
Michael Tremer
d52d707381 core154: Ship arping
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-28 16:44:51 +00:00
Adolf Belka
6b22a5d2fd arping: Update to 2.21
- Update arping from 2.15 to 2.21
- Notable changes from 2.20 to 2.21:
	* Use more modern pcap API calls, when available
	* Add payload data to mac ping
	* chdir(/) after chroot()
	* Misc minor cleanup
- Notable changes from 2.19 to 2.20:
	* Improved support for cross-compile
	* Use unveil(2) and pledge(2) where available (i.e. OpenBSD)
	* Fix false duplicates when destination address is *also* assigned to local interface
	* Minor typo-level fixes
- Notable changes from 2.18 to 2.19:
	* Added -g to drop privs to alternate user (for Android)
	* Slightly improved error messages
- Notable changes from 2.17 to 2.18:
	* Make -w/-W work like 'ping'
- Notable changes from 2.16 to 2.17:
	* Add padding to packets to work on Raspberry Pi 3
- Notable changes from 2.15 to 2.16:
	* VLAN tagging (Nikolay Aleksandrov)
	* 802.1Q priority (Nikolay Aleksandrov)
	* Added a bunch of unit tests.
	* Be more lazy about initializing libnet.
	  This fixes issues where arping would sometimes pick an unsuitable
	  device during arg parsing, if the "first" device on the system is
	  not a "normal" device.
- No change to rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-28 16:42:47 +00:00
Peter Müller
e2bf0fa529 libloc: ship a more recent database by default
The database we ship by default is meanwhile four weeks old, and since
the merge window for Core Update 154 is still open, there is no need to
ship data being more outdated than they have to be. :-)

The second version of this patch also updates the checksum for the
downloaded database file.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-28 16:42:11 +00:00
Michael Tremer
ffe6303b2b core154: Ship tzdata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 22:10:22 +00:00
Peter Müller
922d881312 tzdata: update to 2021a
Please refer to https://www.iana.org/time-zones for further information.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 22:10:22 +00:00
Adolf Belka
273708295b sudo: Upgrade to 1.9.5p2
- Update sudo from 1.9.5p1 to 1.9.5p2
- Major changes between version 1.9.5p2 and 1.9.5p1:
    Fixed sudo's setprogname(3) emulation on systems that don't provide it.
    Fixed a problem with the sudoers log server client where a partial write to the server could result the sudo process consuming large amounts of CPU time due to a cycle in the buffer queue. Bug #954.
    Added a missing dependency on libsudo_util in libsudo_eventlog. Fixes a link error when building sudo statically.
    The user's KRB5CCNAME environment variable is now preserved when performing PAM authentication. This fixes GSSAPI authentication when the user has a non-default ccache.
    When invoked as sudoedit, the same set of command line options are now accepted as for sudo -e. The -H and -P options are now rejected for sudoedit and sudo -e which matches the sudo 1.7 behavior. This is part of the fix for CVE-2021-3156.
    Fixed a potential buffer overflow when unescaping backslashes in the command's arguments. Normally, sudo escapes special characters when running a command via a shell (sudo -s or sudo -i). However, it was also possible to run sudoedit with the -s or -i flags in which case no escaping had actually been done, making a buffer overflow possible. This fixes CVE-2021-3156.
- No change to rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
157d64250a misc-progs: addonctrl: Replace all sprintf() with snprintf()
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
37fe3658a0 samba: Add helper script to pipe password
It is complicated to set the password in the C helper binary.

Therefore it is being set by a helper script.

This is still not an optimal solution since the password might be
exposed to the shell environment, but has the advantage that shell
command injection is no longer possible.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
354c3e2b45 samba: Remove option to chose user group and shell
There is no need for this being implemented and it is dangerous to allow
the user to create any shell accounts or users that belong to groups
with higher privileges.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
64883513d5 misc-progs: sambactrl: Sanitise username
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
8e4b2125cc misc-progs: sambactrl: Remove unused smbsafeconfpdc command
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
84de1f087c misc-progs: sshctrl: Sanitise runtime for "tempstart"
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
14dc1c68f7 misc-progs: smartctrl: Sanitise device name
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
5efedb5487 misc-progs: mpfirectrl: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
c651dd9b6b misc-progs: extrahdctrl: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
cf9efe511a misc-progs: addonctrl: Sanitise add-on names before use
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
db984059b2 misc-progs: Add functions to sanitise input arguments
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
6733d973d6 misc-progs: pakfire: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
c33f477f5b misc-progs: backupctrl: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
ca060524a7 misc-progs: Introduce run()
This function invokes a new command similar to safe_system()
but without launching a shell before.

That way, it is possible to execute commands without any risk
of shell command injection from nobody.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
5d482a74fa core154: Manually set capabilites for etherwake
The changes are not available in the running instance of
pakfire and tar.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
d9f9f16366 Drop launch-ether-wake
The helper binary is being dropped and etherwake is enabled
for CAP_NET_RAW. This allows execution by unprivileged users
as needed by the web user interface (nobody).

Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Fixes: #12562
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
29156d15f6 hostapd: Re-add accidentially removed CONFIG_SAE
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 18:56:07 +00:00
Michael Tremer
1035570fb0 core154: Do not package libloc database files
This is carried over from Core Update 153

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 18:43:30 +00:00
Michael Tremer
85f5656aca Revert "make: update to 4.3"
This reverts commit f1d98a1c3f.

The new version of make seems to break building u-boot on armv5tel.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-26 11:15:04 +00:00
Adolf Belka
53f04366ed iptables: Update to version 1.8.7
- Update from 1.8.6 to 1.8.7
Florian Westphal (4):
      xtables-monitor: fix rule printing
      xtables-monitor: fix packet family protocol
      xtables-monitor: print packet first
      xtables-monitor:

Pablo Neira Ayuso (2):
      tests: shell: update format of registers in bitwise payloads.
      configure: bump version for 1.8.7 release

Phil Sutter (21):
      nft: Optimize class-based IP prefix matches
      ebtables: Optimize masked MAC address matches
      tests/shell: Add test for bitwise avoidance fixes
      ebtables: Fix for broken chain renaming
      iptables-test.py: Accept multiple test files on commandline
      iptables-test.py: Try to unshare netns by default
      libxtables: Extend MAC address printing/parsing support
      xtables-arp: Don't use ARPT_INV_*
      xshared: Merge some command option-related code
      tests/shell: Test for fixed extension registration
      extensions: dccp: Fix for DCCP type 'INVALID'
      nft: Fix selective chain compatibility checks
      nft: cache: Introduce nft_cache_add_chain()
      nft: Implement nft_chain_foreach()
      nft: cache: Move nft_chain_find() over
      nft: Introduce struct nft_chain
      nft: Introduce a dedicated base chain array
      nft: cache: Sort custom chains by name
      tests: shell: Drop any dump sorting in place
      nft: Avoid pointless table/chain creation
      tests/shell: Fix nft-only/0009-needless-bitwise_0
- Rootfile updated

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-25 21:23:49 +00:00
Michael Tremer
adc2aa5f67 core154: Ship updated perl files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-25 19:34:16 +00:00
Leo-Andres Hofmann
eea288bc1a network-functions.pl: Improve zone configuration functions
Cache ethernet configuration in public variable "ethernet_settings",
add functions to simplify working with the network configuration.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-25 19:32:40 +00:00
Leo-Andres Hofmann
abffcc99ad Refactor "get_available_network_zones", move to network-functions.pl
This function nicely translates the ethernet/settings "CONFIG_TYPE"
into a list of available zones. Therefore it should be more accessible!

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-25 19:32:38 +00:00