Commit Graph

19620 Commits

Author SHA1 Message Date
Matthias Fischer
c7369b4bf1 vnstat: Update to 2.10
For details see:
https://humdi.net/vnstat/CHANGES

"2.10 / 22-Oct-2022

 - Fixed
   - BandwidthDetection in BSD wasn't correctly converting kernel reported
     bits per second values to Mbits per second resulting in a sanity check
     being triggered and detected values not being used expect for PPPoE
     interfaces which incorrectly were detected as 64000 Mbit
   - Image output of 5 minute graph wasn't possible if data retention of the
     5 minute time period was configured as unlimited
     (pull request by Sebastian Lechte)
   - Estimates and average rates weren't calculated correctly for daily,
     monthly and yearly time periods when monitoring of the interface had been
     started during the ongoing time period
   - Estimates weren't being shown in summary output when OutputStyle or
     --style was configured with a value less than 2 (vnstat)
   - Alignment of column header in short output wasn't correct when
     OutputStyle or --style was configured with the value 0 (vnstat)
 - New
   - Support input of more than 31 characters in interface name when using
     interface1+interface2 syntax data merge queries
   - Support passing --config option multiple times, later files override
     earlier files if settings overlap (vnstat and vnstati)
   - Add configuration option EstimateVisible for controlling the visibility
     of the estimate line
   - Add configuration option EstimateText for modifying the default
     "estimated" text string when the estimate line is visible
   - Add --style support to -tr / --traffic output
   - Add summary option to --json and --xml outputs
   - Add timestamps to --json and --xml outputs
   - Add Prometheus compatible metrics endpoint cgi to examples
     (examples/vnstat-metrics.cgi)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-08 14:39:26 +00:00
Peter Müller
0600bf162d strongSwan: Commit forgotten LFS file changes
My fault, again.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-08 14:38:32 +00:00
Peter Müller
d3a4fcc709 Core Update 172: Remove powertop add-on, if installed
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-08 11:15:05 +00:00
Peter Müller
f7b0247e02 Drop powertop
This has been discussed briefly in the telephone conference of
September: powertop is considered to be unnecessary, as IPFire is
optimized for performance, thus interfering with possible power
consumption reducing switches. Also, the need for powertop has been
diminished, given that x86 platforms are highly likely not to run on
batteries, and we are phasing out 32-bit ARM, where this could have been
the case.

Therefore, this patch proposes to drop powertop.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-08 11:13:43 +00:00
Peter Müller
0675d2a449 Core Update 172: Ship libxml2
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-08 11:13:30 +00:00
Adolf Belka
639e23b847 libxml2: Update to version 2.10.3
- Update from version 2.9.14 to 2.10.3
- Update of rootfile
- Changelog
    v2.10.3: Oct 14 2022
	### Security
		- [CVE-2022-40304] Fix dict corruption caused by entity reference cycles
		- [CVE-2022-40303] Fix integer overflows with XML_PARSE_HUGE
		- Fix overflow check in SAX2.c
	### Portability
		- win32: Fix build with VS2013
	### Build system
		- cmake: Set SOVERSION
    v2.10.2: Aug 29 2022
	### Improvements
		- Remove set-but-unused variable in xmlXPathScanName
		- Silence -Warray-bounds warning
	### Build system
		- build: require automake-1.16.3 or later (Xi Ruoyao)
		- Remove generated files from distribution
	### Test suite
		- Don't create missing.xml when running testapi
    v2.10.1: Aug 25 2022
	### Regressions
		- Fix xmlCtxtReadDoc with encoding
	### Bug fixes
		- Fix HTML parser with threads and --without-legacy
	### Build system
		- Fix build with Python 3.10
		- cmake: Disable version script on macOS
		- Remove Makefile rule to build testapi.c
	### Documentation
		- Switch back to HTML output for API documentation
		- Port doc/examples/index.py to Python 3
		- Fix order of exports in libxml2-api.xml
		- Remove libxml2-refs.xml
    v2.10.0: Aug 17 2022
	### Security
		- [CVE-2022-2309] Reset nsNr in xmlCtxtReset
		- Reserve byte for NUL terminator and report errors consistently in xmlBuf and
		  xmlBuffer (David Kilzer)
		- Fix missing NUL terminators in xmlBuf and xmlBuffer functions (David Kilzer)
		- Fix integer overflow in xmlBufferDump() (David Kilzer)
		- xmlBufAvail() should return length without including a byte for NUL
		  terminator (David Kilzer)
		- Fix ownership of xmlNodePtr & xmlAttrPtr fields in xmlSetTreeDoc() (David
		  Kilzer)
		- Use xmlNewDocText in xmlXIncludeCopyRange
		- Fix use-after-free bugs when calling xmlTextReaderClose() before
		  xmlFreeTextReader() on post-validating parser (David Kilzer)
		- Use UPDATE_COMPAT() consistently in buf.c (David Kilzer)
		- fix: xmlXPathParserContext could be double-delete in  OOM case. (jinsub ahn)
	### Removals and deprecations
		- Disable XPointer location support by default
		- Remove outdated xml2Conf.sh
		- Deprecate module init and cleanup functions
		- Remove obsolete XML Software Autoupdate (XSA) file
		- Remove DOCBparser
		- Remove obsolete Python test framework
		- Remove broken VxWorks support
		- Remove broken Mac OS 9 support
		- Remove broken bakefile support
		- Remove broken Visual Studio 2010 support
		- Remove broken Windows CE support
		- Deprecate IDREF-related functions in valid.h
		- Deprecate legacy functions
		- Disable legacy support by default
		- Deprecate all functions in nanoftp.h
		- Disable FTP support by default
		- Add XML_DEPRECATED macro
		- Remove elfgcchack.h
	### Regressions
		- Skip incorrectly opened HTML comments
		- Restore behavior of htmlDocContentDumpFormatOutput() (David Kilzer)
	### Bug fixes
		- Fix memory leak with invalid XSD
		- Make XPath depth check work with recursive invocations
		- Fix memory leak in xmlLoadEntityContent error path
		- Avoid double-free if malloc fails in inputPush
		- Properly fold whitespace around the QName value when validating an XSD
		  schema. (Damjan Jovanovic)
		- Add whitespace folding for some atomic data types that it's missing on.
		  (Damjan Jovanovic)
		- Don't add IDs containing unexpanded entity references
	### Improvements
		- Avoid calling xmlSetTreeDoc
		- Simplify xmlFreeNode
		- Don't reset nsDef when changing node content
		- Fix unintended fall-through in xmlNodeAddContentLen
		- Remove unused xmlBuf functions (David Kilzer)
		- Implement xpath1() XPointer scheme
		- Add configuration flag for XPointer locations support
		- Fix compiler warnings in Python code
		- Mark more static data as `const` (David Kilzer)
		- Make xmlStaticCopyNode non-recursive
		- Clean up encoding switching code
		- Simplify recursive pthread mutex
		- Use non-recursive mutex in dict.c
		- Fix parser progress checks
		- Avoid arithmetic on freed pointers
		- Improve buffer allocation scheme
		- Remove unneeded #includes
		- Add support for some non-standard escapes in regular expressions. (Damjan
		  Jovanovic)
		- htmlParseComment: handle abruptly-closed comments (Mike Dalessio)
		- Add let variable tag support (Oliver Diehl)
		- Add value-of tag support (Oliver Diehl)
		- Remove useless call to xmlRelaxNGCleanupTypes
		- Don't include ICU headers in public headers
		- Update `xmlStrlen()` to use POSIX / ISO C `strlen()` (Mike Dalessio)
		- Fix unused variable warnings with disabled features
		- Only warn on invalid redeclarations of predefined entities
		- Remove unneeded code in xmlreader.c
		- Rework validation context flags
	### Portability
		- Use NAN/INFINITY if available to init XPath NaN/Inf (Sergey Kosukhin)
		- Fix Python tests on macOS
		- Fix xmlCleanupThreads on Windows
		- Fix reinitialization of library on Windows
		- Don't mix declarations and code in runtest.c
		- Use portable python shebangs (David Seifert)
		- Use critical sections as mutex on Windows
		- Don't set HAVE_WIN32_THREADS in win32config.h
		- Use stdint.h with newer MSVC
		- Remove cruft from win32config.h
		- Remove isinf/isnan emulation in win32config.h
		- Always fopen files with "rb"
		- Remove __DJGPP__ checks
		- Remove useless __CYGWIN__ checks
	### Build system
		- Don't autogenerate doc/examples/Makefile.am
		- cmake: Install libxml.m4 on UNIX-like platforms (Daniel E)
		- cmake: Use symbol versioning on UNIX-like platforms (Daniel E)
		- Port genUnicode.py to Python 3
		- Port gentest.py to Python 3
		- cmake: Fix build without thread support
		- cmake: Install documentation in CMAKE_INSTALL_DOCDIR
		- cmake: Remove non needed files in docs dir (Daniel E)
		- configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set
		  (Christopher Degawa)
		- Move local Autoconf macros into m4 directory
		- Use XML_PRIVATE_LIBS in libxml2_la_LIBADD
		- Update libxml-2.0-uninstalled.pc.in
		- Remove LIBS from XML_PRIVATE_LIBS
		- Add WIN32_EXTRA_LIBADD to XML_PRIVATE_LIBS
		- Don't overlink executables
		- cmake: Adjust paths for UNIX or UNIX-like target systems (Daniel Engberg)
		- build: Make use of variables in libxml's pkg-config file (Daniel Engberg)
		- Avoid obsolescent `test -a` constructs (David Seifert)
		- Move AM_MAINTAINER_MODE to AM section
		- configure.ac: make AM_SILENT_RULES([yes]) unconditional (David Seifert)
		- Streamline documentation installation
		- Don't try to recreate COPYING symlink
		- Detect libm using libtool's macros (David Seifert)
		- configure.ac: disable static libraries by default (David Seifert)
		- python/Makefile.am: nest python docs in $(docdir) (David Seifert)
		- python/Makefile.am: rely on global AM_INIT_AUTOMAKE (David Seifert)
		- Makefile.am: install examples more idiomatically (David Seifert)
		- configure.ac: remove useless AC_SUBST (David Seifert)
		- Respect `--sysconfdir` in source files (David Seifert)
		- Ignore configure backup file created by recent autoreconf too (Vadim Zeitlin)
		- Only install *.html and *.c example files
		- Remove --with-html-dir option
		- Rework documentation build system
		- Remove old website
		- Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings (David Seifert)
		- Update genChRanges.py
		- Update build_glob.py
		- Remove ICONV_CONST test
		- Remove obsolete AC_HEADER checks
		- Don't check for standard C89 library functions
		- Don't check for standard C89 headers
		- Remove special configuration for certain maintainers
	### Test suite, CI
		- Disable network in API tests
		- testapi: remove leading slash from "/missing.xml" (Mike Gilbert)
		- Build Autotools CI tests out of source tree (VPATH)
		- Add --with-minimum build to CI tests
		- Fix warnings when testing --with-minimum build
		- cmake: Run all tests when threads are disabled
		- Also build CI tests with -Werror
		- Move doc/examples tests to new test suite
		- Simplify 'make check' targets
		- Fix schemas and relaxng tests
		- Remove unused result files
		- Allow missing result files in runtest
		- Move regexp tests to runtest
		- Move SVG tests to runtest.c
		- Move testModule to new test suite
		- Move testThreads to new test suite
		- Remove major parts of old test suite
		- Make testchar return an error on failure (Tony Tascioglu)
		- Add CI job for static build
		- python/tests: open() relative to test scripts (David Seifert)
		- Port some test scripts to Python 3
	### Documentation
		- Improve documentation of tree manipulation API
		- Update xml2-config man page
		- Consolidate man pages
		- Rename xmlcatalog_man.xml
		- Make examples a standalone HTML page
		- Fix documentation in entities.c
		- Add note about optimization flags

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-08 11:12:38 +00:00
Peter Müller
4022e2f9c3 Core Update 172: Ship expat
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-08 11:12:28 +00:00
Adolf Belka
cf25086eea expat: Update to version 2.5.0
- Update from version 2.4.9 to 2.5.0
- Update of rootfile.
- Changelog
    Release 2.5.0 Tue October 25 2022
        Security fixes:
	  #616 #649 #650  CVE-2022-43680 -- Fix heap use-after-free after overeager
	                    destruction of a shared DTD in function
	                    XML_ExternalEntityParserCreate in out-of-memory situations.
	                    Expected impact is denial of service or potentially
	                    arbitrary code execution.
        Bug fixes:
	       #612 #645  Fix curruption from undefined entities
	       #613 #654  Fix case when parsing was suspended while processing nested
	                    entities
	  #616 #652 #653  Stop leaking opening tag bindings after a closing tag
	                    mismatch error where a parser is reset through
	                    XML_ParserReset and then reused to parse
	            #656  CMake: Fix generation of pkg-config file
	            #658  MinGW|CMake: Fix static library name
        Other changes:
	            #663  Protect header expat_config.h from multiple inclusion
	            #666  examples: Make use of XML_GetBuffer and be more
	                    consistent across examples
	            #648  Address compiler warnings
	       #667 #668  Version info bumped from 9:9:8 to 9:10:8;
	                    see https://verbump.de/ for what these numbers do

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-08 11:11:57 +00:00
Peter Müller
0a65d443ef Core Update 172: Ship zlib
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-08 11:11:40 +00:00
Adolf Belka
634f46dc34 zlib: Update to version 1.2.13
- Update from version 1.2.12 to 1.2.13
- Update of rootfile
- Patches for CVE-2022-37434 removed as they are now integarted in the source tarball
- Changelog
    Changes in 1.2.13 (13 Oct 2022)
	- Fix configure issue that discarded provided CC definition
	- Correct incorrect inputs provided to the CRC functions
	- Repair prototypes and exporting of new CRC functions
	- Fix inflateBack to detect invalid input with distances too far
	- Have infback() deliver all of the available output up to any error
	- Fix a bug when getting a gzip header extra field with inflate(CVE-2022-37434)
	- Fix bug in block type selection when Z_FIXED used
	- Tighten deflateBound bounds
	- Remove deleted assembler code references
	- Various portability and appearance improvements

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-08 11:10:59 +00:00
Peter Müller
a2a695be02 Core Update 172: Ship (o|)vpnmain.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-03 16:51:19 +00:00
Peter Müller
818dde8e8b IPsec/OpenVPN: Use 4,096-bit RSA for host certificates as well
We already moved away from 2048-MODP in Core Update 170. Similarly,
German Federal Office for Information Security (BSI) recommends shifting
away from RSA keys below 3,000 bits by the end of 2022 at the latest.

The only place left in IPFire 2.x where we generate such keys is for
IPsec and OpenVPN host certificates. This patch increases their key
sizes to 4,096 bits as well - CA certificates already have this length.

Existing VPN connections cannot be migrated automatically. However, only
the respective host certificate has to be regenerated - thanks to the CA
certificates' key length being sufficient, there is no need to replace
the entire VPN CA.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-03 16:49:51 +00:00
Peter Müller
6376c155b8 Core Update 172: Ship wirelessctrl
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-03 15:14:01 +00:00
Michael Tremer
77e1061bf9 misc-progs: wirelessctrl: Fix missing whitespace for log prefix
Fixes: #12978
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-11-03 15:13:10 +00:00
Peter Müller
44fc05f634 Core Update 172: Ship rules.pl
This file should have been shipped with Core Update 171, but that was
omitted by mistake. Core Update 172 therefore finally fixes #12934 on
existing installations.

Fixes: #12934
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-29 09:04:07 +00:00
Peter Müller
a6f89e38db Core Update 171: Ship changes related to services.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-29 08:58:00 +00:00
Robin Roevens
8ed997102e services.cgi: add link to addon config if ui exists for it
* If a cgi file exists with the same name as an addon, the
  displayed service will be a link to that cgi file.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-29 08:56:48 +00:00
Robin Roevens
4f205b5442 services.cgi: add restart action and restrict action usage
* Add restart action to services.
* Only display available actions for a service:
  Start when service is stopped or Stop and Restart when a service
  is running.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-29 08:56:48 +00:00
Robin Roevens
207ca1141c services.cgi: minor cosmetics
* Singular 'Service' instead of plural 'Services' as column header of
  services table
* Sort list of services

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-29 08:56:48 +00:00
Robin Roevens
2b9b31b71d services.cgi: Fix status/actions on services with name != addon name
* addonctrl's new functionality to control explicit addon services was
  implemented.
* Change 'Addon' column header to 'Addon Service' to be clear that
  it's not addons but services listed here.
* Services not matching the name of the addon now display the addon
  name between parentheses, so the user knows where the service comes
  from.
* When no valid runlevel symlink is found by addonctrl for a service,
  the 'enable on boot' checkbox is replaced by a small exclamation point
  with alt-text "No valid runlevel symlink was found for the initscript of
  this service." to inform user why a service can't be enabled.
* Added German and Dutch translation for above message.

Fixes: Bug#12935
Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-29 08:56:48 +00:00
Robin Roevens
24168c8898 misc-progs: addonctrl: Add support for 'Services' metadata
* Addonctrl will now check in addon metadata for the exact initscript
  names (Services). If more than one initscript is defined for an addon,
  the requested action will be performed on all listed initscripts.
* Added posibility to perform action on a specific initscript of an
  addon instead of on all initscripts of the addon.
* New action 'list-services' to display a list of services related to
  an addon.
* New action 'boot-status' to display wether service(s) are enabled
  to start on boot or not.
* More error checking and cleaner error reporting to user
* General cleanup and code restructuring to avoid code duplication
* Updated and made usage instructions more verbose.

Fixes: Bug#12935
Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-29 08:56:48 +00:00
Peter Müller
e728fba16f Samba: Update ARM rootfiles
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-29 08:55:58 +00:00
Peter Müller
ca1787b29b libloc: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 12:39:47 +00:00
Matthias Fischer
3e5190f5c7 samba: Update to 4.17.0
For details see:
https://www.samba.org/samba/latest_news.html#4.17.0

This "just came my way" and I found the CVEs listed on
https://www.samba.org/samba/history/security.html which
address "All versions of Samba prior to 4.16.4" or
"All versions of Samba" rather long.

The 'glibc_headers' patch is now included.

Sad to say, due to the lack of hardware I can only include
the rootfile for x86_64.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2022-10-24 09:08:01 +00:00
Peter Müller
77321ff12f Core Update 172: Ship changes related to OpenVPN CRL handling
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 09:07:18 +00:00
Michael Tremer
e420c103de openvpnctrl: Update CRL before starting the client daemon
If the CRL is outdated for some reason (e.g. a backup restored from ISO
where we don't run the migration scripts), this will update it on
reboot/restart of the service.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 09:06:16 +00:00
Michael Tremer
233baacd67 backup: Update OpenVPN CRL
After a backup is restored, the CRL might be out of data and client
won't be able to connect to the server any more.

This will immediately update the CRL should it require an update.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 09:06:16 +00:00
Peter Müller
c965daf6da Core Update 172: Delete orphaned strongSwan files
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 09:05:23 +00:00
Peter Müller
5f1abe0043 Core Update 172: Ship and restart Unbound
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 09:04:29 +00:00
Matthias Fischer
609007e54b unbound: Update to 1.17.0
For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-17-0

"Features

    Merge #753: ACL per interface. (New interface-* configuration options).

    Merge #760: PROXYv2 downstream support. (New proxy-protocol-port configuration option).

Bug Fixes

    Fix #728: alloc_reg_obtain() core dump. Stop double alloc_reg_release
    when serviced_create fails.
    Fix edns subnet so that scope 0 answers only match sourcemask 0 queries
    for answers from cache if from a query with sourcemask 0.
    Fix unittest for edns subnet change.
    Merge #730 from luisdallos: Fix startup failure on Windows 8.1 due to
    unsupported IPV6_USER_MTU socket option being set.
    Fix ratelimit inconsistency, for ip-ratelimits the value is the amount
    allowed, like for ratelimits.
    Fix #734 [FR] enable unbound-checkconf to detect more (basic) errors.
    Fix to log accept error ENFILE and EMFILE errno, but slowly, once per
    10 seconds. Also log accept failures when no slow down is used.
    Fix to avoid process wide fcntl calls mixed with nonblocking operations
    after a blocked write.
    Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive
    operations, so that instruction reordering does not cause mistakenly
    blocking socket operations.
    Fix to wait for blocked write on UDP sockets, with a timeout if it
    takes too long the packet is dropped.
    Fix for wait for udp send to stop when packet is successfully sent.
    Fix #741: systemd socket activation fails on IPv6.
    Fix to update config tests to fix checking if nonblocking sockets work
    on OpenBSD.
    Slow down log frequency of write wait failures.
    Fix to set out of file descriptor warning to operational verbosity.
    Fix to log a verbose message at operational notice level if a thread is
    not responding, to stats requests. It is logged with thread
    identifiers.
    Remove include that was there for debug purposes.
    Fix to check pthread_t size after pthread has been detected.
    Convert tdir tests to use the new skip_test functionality.
    Remove unused testcode/mini_tpkg.sh file.
    Better output for skipped tdir tests.
    Fix doxygen warning in respip.h.
    Fix to remove erroneous TC flag from TCP upstream.
    Fix test tdir skip report printout.
    Fix windows compile, the identifier interface is defined in headers.
    Fix to close errno block in comm_point_tcp_handle_read outside of ifdef.
    Fix static analysis report to remove dead code from the
    rpz_callback_from_iterator_module function.
    Fix to clean up after the acl_interface unit test.
    Merge #764: Leniency for target discovery when under load (for
    NRDelegation changes).
    Use DEBUG_TDIR from environment in mini_tdir.sh for debugging.
    Fix string comparison in mini_tdir.sh.
    Make ede.tdir test more predictable by using static data.
    Fix checkconf test for dnscrypt and proxy port.
    Fix dnscrypt compile for proxy protocol code changes.
    Fix to stop responses with TC flag from resulting in partial responses.
    It retries to fetch the data elsewhere, or fails the query and in depth
    fix removes the TC flag from the cached item.
    Fix proxy length debug output printout typecasts.
    Fix to stop possible loops in the tcp reuse code (write_wait list and
    tcp_wait list). Based on analysis and patch from Prad Seniappan and
    Karthik Umashankar.
    Fix PROXYv2 header read for TCP connections when no proxied addresses
    are provided."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 09:03:34 +00:00
Peter Müller
4ddb1fdac0 Core Update 172: Ship and restart OpenSSH
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 09:03:08 +00:00
Peter Müller
89e47eaca8 OpenSSH: Update to 9.1p1
Please refer to https://www.openssh.com/releasenotes.html#9.1 for the
release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 08:59:27 +00:00
Peter Müller
7fc5e93294 Core Update 172: Ship tzdata
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 08:59:09 +00:00
Peter Müller
367a62f515 tzdata: Update to 2022e
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 08:58:58 +00:00
Peter Müller
024579de58 Core Update 172: Ship libloc
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 08:58:51 +00:00
Peter Müller
0d0bfd0e5c libloc: Update to 0.9.15
Please refer to https://lists.ipfire.org/pipermail/location/2022-September/000579.html
for the release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 08:57:25 +00:00
Peter Müller
f6121180b8 Core Update 172: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 08:57:00 +00:00
Peter Müller
4929efb7d8 strongSwan: Update to 5.9.8
Please refer to https://github.com/strongswan/strongswan/releases/tag/5.9.8
for the release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-24 08:56:08 +00:00
Peter Müller
0f421901dd Start Core Update 172
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-24 08:55:12 +00:00
Peter Müller
ee2e7db90b linux: Add upstream patches for CVE-2022-4{1674,2719-2722}
https://lists.ipfire.org/pipermail/development/2022-October/014562.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-17 16:26:19 +00:00
Michael Tremer
a40977958b core171: Ship dhcp
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-10 18:41:10 +00:00
Matthias Fischer
cdc5f9705a dhcp: Update to 4.4.3-P1
For details see:
https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1-RELNOTES

Changelog since 4.4.1 is rather long...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-10 18:39:31 +00:00
Jon Murphy
437fb4d72b manualpages: add and update help links to Wiki
- add help links for two new ipblocklist WebGUI pages
- update help links to proxy accounting
- add links to OpenVPN Net-to-Net Statistics,
    MD Raid State, Update Accelerator,
    OpenVPN Roadwarrior Connections Log

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-10 09:33:06 +00:00
Michael Tremer
692d18285f glibc: Fix added whitespace in syslog messages
Fixes: #12949
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-10 09:32:56 +00:00
Michael Tremer
dc84e16d4d firewall: Fix missing whitespace for blocklist messages
Fixes: #12934
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-10 09:32:53 +00:00
Michael Tremer
ca4de26318 unbound-dhcp-leases-bridge: Fall back to the default domain
When the bridge cannot detect a domain name for any of the leases, it
uses localdomain which is not always the best choice. So instead, this
patches changes the behaviour that we read the default domain of the
firewall.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2022-10-04 14:48:26 +00:00
Peter Müller
a308f5bcde Core Update 171: Ship setclock initscript
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-10-04 14:48:04 +00:00
Mathew McBride
9745a212d4 initscripts: load RTC module (RX8025) for Ten64 board
For reasons I have not been able to determine, the RTC
module for the Ten64 board (rtc-rx8025) is not automatically
loaded at startup, despite every other relevant modules being
loaded.

modprobe it manually if we are on a Ten64 board.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-04 14:45:19 +00:00
Mathew McBride
6efb611cbc config: u-boot: bypass the u-boot script on Traverse Ten64
The Ten64 board runs a U-Boot which works best directly
booting EFI. Attempting to load your own DTB or other steps
will cause issues.
(see https://ten64doc.traverse.com.au/faq/#common-issues)

The current stable Ten64 firmware unfortunately searches for
boot.scr before bootaa64.efi. So redirect it back to the EFI path.

A future Ten64 firmware package will prefer EFI first before
any boot script avoiding this issue. I will provide a patch
reversing this when that day comes.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-04 14:45:19 +00:00
Mathew McBride
e77ef36395 kernel: add patches for SFP support on NXP Layerscape/DPAA2 (arm64)
These two patches are needed to support SFP's on NXP DPAA2 platforms
(e.g Traverse Ten64).

The deadlock issue patch was submitted upstream a while ago and
rejected, however I am not aware of any better solutions at present.

The 10G mode additions are part of mainline since 5.16.

These two .patches were sourced from our patchset over here:
https://gitlab.com/traversetech/traverse-kernel-patches/-/tree/lts-5-15/patches

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-10-04 14:45:19 +00:00