Commit Graph

16706 Commits

Author SHA1 Message Date
Michael Tremer
17f0494bf2 core158: Fix name of vnstat initscript
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-07-01 10:09:40 +00:00
Michael Tremer
0a48e5694b core158: Actually drop motion instead of monit
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-28 19:29:27 +00:00
Michael Tremer
c304035042 core158: Uninstall all dropped add-ons
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-28 17:32:52 +00:00
Stéphane Pautrel
f38464e9fd Update French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-28 16:12:21 +00:00
Michael Tremer
10f012edff Revert "OpenSSH: restrict file permissions for sshd_config to 0600"
This reverts commit a9fb87809e.

This prevents the SSH configuration being parsed by the web user
interface.

Reported-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-24 17:45:17 +00:00
Michael Tremer
addeeb1f79 Revert "ncat: Update to 7.91"
This reverts commit ee3b6ba0c7.

ncat segfaults straight away (#12647)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-24 09:19:28 +00:00
Stefan Schantl
274ca65bc5 ovpnmain.cgi: Fix typos.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-22 13:36:40 +00:00
Stefan Schantl
b959b9f5a6 ovpnmain.cgi: Call correct system_output() function.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-22 13:36:37 +00:00
Michael Tremer
27ca856f72 Merge branch 'core157' 2021-06-21 19:41:25 +00:00
Michael Tremer
05de8ec3c8 core157: Ship lua
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-21 19:39:30 +00:00
Stefan Schantl
f560408053 ovpnmain.cgi: Fix detection of used DH key lenght.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-21 17:18:26 +00:00
Stefan Schantl
016859ffe4 vpnmain.cgi: Fix typo.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-21 17:16:41 +00:00
Stefan Schantl
8f73d902e3 pppsetup.cgi: Fix typos.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-21 17:16:00 +00:00
Michael Tremer
556edb5adc Merge remote-tracking branch 'origin/next' 2021-06-21 10:04:11 +00:00
Matthias Fischer
4b25f1d86d nano: Update to 5.8
For details see:
https://www.nano-editor.org/news.php

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-20 12:37:59 +00:00
Matthias Fischer
9e1f2150df knot: Update to 3.0.7
For details see:
https://www.knot-dns.cz/2021-06-16-version-307.html

Features:

        knotd: new configuration policy option for CDS digest algorithm setting #738
        keymgr: new command for primary SOA serial manipulation in on-secondary signing mode

Improvements:

        knotd: improved algorithm rollover to shorten the last step of old RRSIG publication

Bugfixes:

        knotd: zone is flushed upon server start, despite DNSSEC signing is up-to-date
        knotd: wildcard nonexistence is proved on empty-non-terminal query
        knotd: redundant wildcard proof for non-authoritative data in a reply
        knotd: missing wildcard proofs in a wildcard-cname loop reply
        knotd: incorrectly synthesized CNAME owner from a wildcard record #715
        knotd: zone-in-journal changeset ignores journal-max-usage limit #736
        knotd: incorrect processing of zone-in-journal changeset with SOA serial 0
        knotd: broken initialization of processing workers if SO_REUSEPORT(_LB) not available
        kjournalprint: reported journal usage is incorrect #736
        keymgr: cannot parse algorithm name ed448 #739
        keymgr: default key size not set properly
        kdig: failed to process huge DoH responses
        libknot/probe: some corner-case bugs

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-20 12:37:48 +00:00
Peter Müller
d3d2261c65 Tor: update to 0.4.6.5
Please refer to the .tar.gz's ReleaseNote file for the full changelog
since version 0.4.5.8; it is too large to include it here.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-20 12:37:42 +00:00
Stefan Schantl
5e99660d7d speed.cgi: Add requirement for general-functions.pl.
The CGI now requires the general-functions library, because the
get_red_interface() function is used.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-20 12:37:33 +00:00
Stefan Schantl
6239e587f0 memory.cgi: Fix missing qoutes.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-20 12:37:29 +00:00
Michael Tremer
de6fd0881f Drop obsolete files from bluetooth package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-18 16:17:27 +00:00
Michael Tremer
2a52353f3c general-functions.pl: Explicitely call new system function
Perl seems to just "guess" that someone no longer wants to use the
builtin "system" command when there is a function with the same name.

I have no idea what kind of liquid they are drinking, but because of the
side effects of that stuff, we explicitely call our system() function.

Not that that would be necessary, but why not waste a couple more CPU
cycles?

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-18 15:12:53 +00:00
Michael Tremer
f1fc2193a7 Bump release of all packages with CGI files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-18 15:08:57 +00:00
Peter Müller
e981b751d1 proxy.cgi: Suppress Squid version by default
While hiding version information does not come with any _actual_
security improvements, it is generally a good thing to do so by default:
Attackers will still be able to reasonably guess or enumerate the
software version running, but need to conduct additional effort to do
so, hence more likely raising alerts and drawing attention on their
operation.

In addition, we suppress version details somewhere else in IPFire 2.x by
default, too (e. g. Unbound and Apache), so we can justify this patch by
aiming to stay consistent, I guess. :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-18 08:47:36 +00:00
Michael Tremer
270d7c0d37 core158: Ship web-user-interface
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:12:32 +00:00
Michael Tremer
46443100e0 Merge branch 'perl-system' into next 2021-06-17 20:11:47 +00:00
Stefan Schantl
508547f98d hardwaregraphs.cgi: Perform all sensor lookups in pure perl.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
f6340997aa services.cgi: Redesign isautorun() because shell globbing cannot used anymore.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
e2839b1a2c remote.cgi: Fix splitting output from ssh-keygen.
The split function requires an string as input.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
5410fcbc45 dhcp.cgi: Fix typo and displaying advanced options syntax.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
5153fcc9f1 fireinfo.cgi: Fix read-in profile data.
To read-in the whole file content the data type needs to be an array.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
276f938b09 time.cgi: Get and manipuate date and time in pure perl
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
82215f2d5f netexternal.cgi: Grab DNS servers in pure perl
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
8163192065 ids-functions.pl: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
f3e3cb371d network-functions.pl: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
17ee1f135f mdstat.cgi: Print mdstat status in pure perl
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
2ccb63bce8 fireinfo.cgi: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
a81cbf6127 vpnmain.cgi: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:11:37 +00:00
Stefan Schantl
1366526c0b pppsetup.cgi: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:10:58 +00:00
Stefan Schantl
4abd5cd00e wireless.cgi: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-06-17 20:10:24 +00:00
Michael Tremer
fa7f2e219a core158: Ship xfsprogs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:06:52 +00:00
Adolf Belka
2763aeecf8 xfsprogs: Update to 5.12.0
- Update from 5.11.0 to 5.12.0
- Update of rootfile not required
- Changelog
    xfsprogs-5.12.0 (21 May 2021)
	- No further changes
    xfsprogs-5.12.0-rc1 (07 May 2021)
	- mkfs: don't default to too-large physical sector size (Jeff Moyer)
	- repair: phase 6 speedups (Dave Chinner, Gao Xiang)
	- man: Add dax mount option to man xfs(5) (Carlos Maiolino)
	- xfs_admin: pick up log arguments correctly (Darrick Wong)
	- xfs_growfs: support shrinking unused space (Gao Xiang)
	- libfrog: report inobtcount in geometry (Darrick Wong)
	- xfs_logprint: Fix buffer overflow printing quotaoff (Carlos Maiolino)
	- xfsprogs: include <signal.h> for platform_crash (Leah Neukirchen)
	- xfsprogs: remove BMV_IF_NO_DMAPI_READ flag (Anthony Iliopoulos)
	- workqueue: bound maximum queue depth (Dave Chinner)
    xfsprogs-5.12.0-rc0 (12 Apr 2021)
	- libxfs changes merged from kernel 5.12

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:06:40 +00:00
Adolf Belka
4f388b7e71 cups-filters: Update to 1.28.9
- Update from 1.28.8 to 1.28.9
- Update of rootfile not required
- Changelog
     CHANGES IN V1.28.9
	- libcupsfilters: Silenced compiler warnings
	- libcupsfilters: Removed duplicate code in the
	  apply_filters() function.
	- driverless: If there are no driverless IPP printers
	  available let "driverless" terminate with exit code 0 and
	  not 1, to follow CUPS' standard of backends in discovery
	  mode terminating with 0 if there are no appropriate printers
	  found (Issue #375).
	- gstoraster, foomatic-rip: Fixed Ghostscript command line for
	  counting pages as it took too long on PDFs from evince when
	  printing DjVu files (Issue #354, Pull request #371, Ubuntu
	  bug #1920730).
	- cups-browsed: Renamed ldap_connect() due to conflict in
	  new openldap (Issue #367, Pull request #370).
	- pdftoraster: Free color data after processing of each page
	  (Pull request #363).
	- cups-browsed: Always save "...-default" option entries
	  from printers.conf, regardless of presence or absense
	  of PPD file (Pull request #359).
	- cups-browsed: Start after network-online.target (Pull
	  request #360).
	- texttopdf: Set default margins when no PPD file is used
	  (Pull request #356).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:06:36 +00:00
Peter Müller
6323e9086f proxy.cgi: drop options for faking Referer and User-Agent HTTP headers
While maintaining privacy when accessing web sites probably has never
been more important than it is today, faking Referer and User-Agent
headers is both obsolete and counterproductive:

(a) Most web sites require HTTPS, thwarting manipulation attempts to
    HTTP headers in transit. Given todays' internet landscape, faking
    these headers is unlikely to work for the vast majority of web
    sites.

(b) It is trivial to detect faked HTTP User-Agent headers by obtaining
    corresponding browser information via JavaScript. Any difference
    most likely indicates (trivial) header manipulation attempts, hence
    rendering this feature useless if browsers do not behave in the same
    manner, which we cannot control on IPFire.

(c) Especially static Referer headers make users stick out like a sore
    thumb, as nobody else in the world is likely to have the same
    Referer set _all the time_.

    Modern browsers attempt to strip sensitive information from Referer
    headers, or ditch them completely, particularly to 3rd party sites.

Given the state of the web ecosystem as we know it today, enforcing
privacy in a centralised manner does not even come close to being
sufficient. Without gaining control over users' browsers, their
settings, and their infrastructure (such as setting up terminal
environments for accessing the web, preventing hardware
fingerprinting), a centralised attempt will at best fail, if not making
things worse, as highlighted in (c).

Therefore, removing these features from the Squid GUI is the least worse
option we have. We should not give our users a false sense of privacy.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:06:26 +00:00
Michael Tremer
7d72dba39d core158: Ship smartmontools
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:04:31 +00:00
Peter Müller
cbc2e87dba smartmontools: update to 7.2
Release announcement of this version as per
https://www.smartmontools.org/browser/tags/RELEASE_7_2/smartmontools/NEWS:

Date 2020-12-30
Summary: smartmontools release 7.2
-----------------------------------------------------------
- smartctl: New option '--json=y[c]' selects YAML output.
- smartctl '-i': Prints ATA TRIM and Zoned Device capabilities.
- smartctl '-j': Fixed 'scsi_grown_defect_list' value.
- smartctl '-a': Prints SCSI 'Accumulated power on time'.
- smartctl '-n POWERMODE': SCSI support.
- smartctl '-s standby,now' and '-s standby,off': SCSI support.
- smartctl '-c': NVMe 1.4 additions.
- smartd: Support for staggered self-tests.
- smartd: No longer writes attribute log if no attributes were read
  due to standby mode or other error.
- smartd: Now resolves symlinks before device names are checked for
  duplicates.
- smartd: Fixed SMARTD_DEVICETYPE environment variable if DEVICESCAN is
  used without '-d TYPE'.
- ATA: Device type '-d jmb39x-q,N' for JMB39x protocol variant used by
  some QNAP NAS devices.
- ATA: Device type '-d jms56x,N' for JMS562 USB to SATA RAID bridges.
- SCSI: Improved heuristics for log subpages of new and very old disks.
- NVMe: Log transfer size limited to avoid device or kernel crashes.
- NVMe/USB: Device type '-d sntrealtek' for Realtek RTL9210 USB to
  NVMe bridges.
- update-smart-drivedb: New option '--branch X.Y'.
- HDD, SSD and USB additions to drive database.
- Dropped support for pre-C99 snprintf().
- configure: Dropped option '--without-working-snprintf'.
- configure: Fixed '-fstack-protector*' detection.
- Linux: Various fixes of smartd.service file.
- Darwin: NVMe log support.
- FreeBSD: Device scan does no longer include T_ENCLOSURE devices.
- NetBSD: Fixed timeout handling.
- NetBSD big endian: Fixed ATA register handling.
- OpenBSD: Fixed timeout handling.
- Windows: Dropped backward compatibility fixes for very old compilers.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:04:14 +00:00
Michael Tremer
30b8e6a1bd core158: Ship hwdata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:03:58 +00:00
Peter Müller
63c0ec8f68 hwdata: update PCI/USB databases
PCI IDs: 2021-05-16 03:15:02
USB IDs: 2021-06-06 20:34:10

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:03:48 +00:00
Peter Müller
f034b95156 Postfix: update to 3.6.1
This versions' release announcement can be retrieved here:
http://www.postfix.org/announcements/postfix-3.6.1.html

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:03:38 +00:00
Adolf Belka
3514a0bc0f glib: Update to 2.68.3
- Update from 2.68.2 to 2.68.3
- Update rootfile
- Changelog
   Overview of changes in GLib 2.68.3
    * Bugs fixed:
      - #2311 testfilemonitor test leaks ip_watched_file_t struct
      - #2417 GFile: `g_file_replace_contents()` reports `G_IO_ERROR_WRONG_ETAG` when saving from a symlink
      - !2133 Backport !2128 “inotify: Fix a memory leak” to glib-2-68
      - !2137 Backport !2136 “tlscertificate: Avoid possible invalid read” to glib-2-68
      - !2141 Backport !2138 “glocalfileoutputstream: Fix ETag check when replacing through a symlink” to glib-2-68

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:02:53 +00:00
Michael Tremer
e4104affc4 core158: Ship fuse
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:02:35 +00:00