]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
3 years agorules.pl: apply location filter to ppp0 if configured
Peter Müller [Tue, 3 Nov 2020 10:48:09 +0000 (11:48 +0100)] 
rules.pl: apply location filter to ppp0 if configured

In order to prevent collateral damage to internal traffic, commit
c69c820025c21713cdb77eae3dd4fa61ca71b5fb introduced applying location
block on red0 as a sanity check.

On systems configured to use PPPoE, however, traffic appears on the ppp0
interface instead. This patch checks if a system is configured to use
this connection method, and applies the location filter to this
interface. red0 is used otherwise.

Fixes: #12519
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agospectre-meltdown-checker: update to 0.44
Peter Müller [Wed, 11 Nov 2020 13:45:06 +0000 (14:45 +0100)] 
spectre-meltdown-checker: update to 0.44

Full changelog as per https://github.com/speed47/spectre-meltdown-checker/releases/tag/v0.44 :

    feat: add support for SRBDS related vulnerabilities
    feat: add zstd kernel decompression (#370)
    enh: arm: add experimental support for binary arm images
    enh: rsb filling: no longer need the 'strings' tool to check for kernel support in live mode
    fix: fwdb: remove Intel extract tempdir on exit
    fix: has_vmm: ignore kernel threads when looking for a hypervisor (fixes #278)
    fix: fwdb: use the commit date as the intel fwdb version
    fix: fwdb: update Intel's repository URL
    fix: arm64: cve-2017-5753: kernels 4.19+ use a different nospec macro
    fix: on CPU parse info under FreeBSD
    chore: github: add check run on pull requests
    chore: fwdb: update to v165.20201021+i20200616

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship unbound initscript
Michael Tremer [Wed, 11 Nov 2020 12:08:57 +0000 (12:08 +0000)] 
core153: Ship unbound initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoDNS: Make YouTube configurable for Safe Search
Michael Tremer [Sat, 7 Nov 2020 12:59:08 +0000 (12:59 +0000)] 
DNS: Make YouTube configurable for Safe Search

When safe search is enabled, it is being enabled on YouTube, too.

This creates problems in some scenarios like schools where politics
is being tought as well as other subjects that might be censored by
YouTube (i.e. election TV spots).

Therefore it is now possible to exclude YouTube from Safe Search
but keep it enabled for the search engines.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Update language cache
Michael Tremer [Wed, 11 Nov 2020 11:53:34 +0000 (11:53 +0000)] 
core153: Update language cache

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship Intel mircocode and ask for reboot
Michael Tremer [Wed, 11 Nov 2020 11:52:13 +0000 (11:52 +0000)] 
core153: Ship Intel mircocode and ask for reboot

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agointel-microcode: update to 20201110
Arne Fitzenreiter [Wed, 11 Nov 2020 10:21:05 +0000 (11:21 +0100)] 
intel-microcode: update to 20201110

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agokernel: aarch64: enable ahci
Arne Fitzenreiter [Wed, 11 Nov 2020 08:11:55 +0000 (09:11 +0100)] 
kernel: aarch64: enable ahci

this is needed to boot on ESXi on arm.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agogit: Bump package version
Michael Tremer [Tue, 10 Nov 2020 11:17:46 +0000 (11:17 +0000)] 
git: Bump package version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agogit: Add missing Error.pm and LoadCPAN submodules
ummeegge [Tue, 10 Nov 2020 09:28:56 +0000 (09:28 +0000)] 
git: Add missing Error.pm and LoadCPAN submodules

Fixes #12511

Signed-off-by: ummeegge <erik.kapfer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship location changes
Michael Tremer [Mon, 9 Nov 2020 14:11:16 +0000 (14:11 +0000)] 
core153: Ship location changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoAdjust CGI files to work with latest location-function.pl changes.
Stefan Schantl [Sat, 7 Nov 2020 18:47:24 +0000 (19:47 +0100)] 
Adjust CGI files to work with latest location-function.pl changes.

Fixes #12515.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolocations-functions.pl: Allow get_locations() function to skip special locations.
Stefan Schantl [Sat, 7 Nov 2020 18:47:23 +0000 (19:47 +0100)] 
locations-functions.pl: Allow get_locations() function to skip special locations.

When adding "no_special_locations" to the function call as argument
the special locations liks "A1, A2, A3 etc" will not be added to the
returned array as available locations.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolocation-functions.pl: Add get_continent_code() function.
Stefan Schantl [Sat, 7 Nov 2020 18:47:22 +0000 (19:47 +0100)] 
location-functions.pl: Add get_continent_code() function.

This tiny function is used to get the continent code for a given
country code.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolocation-functions.pl: Add END block to release the database handle.
Stefan Schantl [Sat, 7 Nov 2020 18:47:21 +0000 (19:47 +0100)] 
location-functions.pl: Add END block to release the database handle.

Reference #12515.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolocation-functions.pl: Use a single script-wide db_handle.
Stefan Schantl [Sat, 7 Nov 2020 18:47:20 +0000 (19:47 +0100)] 
location-functions.pl: Use a single script-wide db_handle.

Create and use a single script-wide database handle for libloc to
prevent from creating multiple ones.

This helps saving memory, especially on small systems.

Reference #12515.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship dns.cgi
Michael Tremer [Sat, 7 Nov 2020 13:28:44 +0000 (13:28 +0000)] 
core153: Ship dns.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoRun "./make.sh lang"
Michael Tremer [Sat, 7 Nov 2020 13:27:43 +0000 (13:27 +0000)] 
Run "./make.sh lang"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodns.cgi: Cosmetics and customized translations
Matthias Fischer [Fri, 6 Nov 2020 16:35:59 +0000 (17:35 +0100)] 
dns.cgi: Cosmetics and customized translations

Updated/deleted redundant, unused or missing translation strings for dns.cgi

Affected:  'dns', 'dns title', 'dns server', 'dns servers'

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agousb-modeswitch: Update rootfile
Michael Tremer [Fri, 6 Nov 2020 10:13:19 +0000 (10:13 +0000)] 
usb-modeswitch: Update rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosocat-1.7.3.4 added missing entry to make.sh
smooky@v16.de [Thu, 5 Nov 2020 20:38:06 +0000 (21:38 +0100)] 
socat-1.7.3.4 added missing entry to make.sh

Entry to make.sh for socat added.
Was forgotten before and thus Pakfire distributed an empty addon.
Thanks to Matthias Fischer for clarifying why the distributed addon was empty.

Signed-off-by: Marcel Follert (Smooky) <smooky@v16.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship and apply changes to sysctl.conf
Michael Tremer [Thu, 5 Nov 2020 23:39:06 +0000 (23:39 +0000)] 
core153: Ship and apply changes to sysctl.conf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosysctl.conf: include PID in file names of generated core dumps
Peter Müller [Tue, 3 Nov 2020 15:14:17 +0000 (16:14 +0100)] 
sysctl.conf: include PID in file names of generated core dumps

This is recommended by various Linux hardening guides in order to
prevent accidential overwriting of existing core dumps. While it has
probably little to no relevance to the average IPFire user, enabling it
won't harm and fixes a Lynis warning. :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibseccomp: update to 2.4.4
Peter Müller [Tue, 3 Nov 2020 14:38:26 +0000 (15:38 +0100)] 
libseccomp: update to 2.4.4

Full changelog obtained from: https://github.com/seccomp/libseccomp/releases/tag/v2.4.4

Version 2.4.4 - August 21, 2020

    Update the syscall table for Linux v5.8-rc7
    Fix double free when BPF generation fails
    Add aarch64 support for clone3, getrlimit, and setrlimit

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship curl
Michael Tremer [Thu, 5 Nov 2020 23:33:45 +0000 (23:33 +0000)] 
core153: Ship curl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocurl: update to 7.73.0
Peter Müller [Tue, 3 Nov 2020 14:36:18 +0000 (15:36 +0100)] 
curl: update to 7.73.0

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolynis: update to 3.0.1
Peter Müller [Tue, 3 Nov 2020 14:33:52 +0000 (15:33 +0100)] 
lynis: update to 3.0.1

Full changelog obtained from: https://cisofy.com/changelog/lynis/#301

- Detection of Alpine Linux
- Detection of CloudLinux
- Detection of Kali Linux
- Detection of Linux Mint
- Detection of macOS Big Sur (11.0)
- Detection of Pop!_OS
- Detection of PHP 7.4
- Malware detection tool: Microsoft Defender ATP
- New flag: --slow-warning to allow tests more time before showing a
warning
- Test TIME-3185 to check systemd-timesyncd synchronized time
- rsh host file permissions

- AUTH-9229 - Added option for LOCKED accounts and bugfix for older bash
versions
- BOOT-5122 - Presence check for grub.d added
- CRYP-7902 - Added support for certificates in DER format
- CRYP-7931 - Added data to report
- CRYP-7931 - Redirect errors (e.g. when swap is not encrypted)
- FILE-6430 - Don't grep nonexistant modprobe.d files
- FIRE-4535 - Set initial firewall state
- INSE-8312 - Corrected text on screen
- KRNL-5728 - Handle zipped kernel configuration correctly
- KRNL-5830 - Improved version detection for non-symlinked kernel
- MALW-3280 - Extended detection of BitDefender
- TIME-3104 - Find more time synchronization commands
- TIME-3182 - Corrected detection of time peers
- Fix: hostid generation routine would sometimes show too short IDs
- Fix: language detection
- Generic improvements for macOS
- German translation updated
- End-of-life database updated
- Several minor code enhancements

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship location-block.cgi
Michael Tremer [Thu, 5 Nov 2020 23:32:29 +0000 (23:32 +0000)] 
core153: Ship location-block.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolocation-block.cgi: avoid unnecessary line break
Peter Müller [Tue, 3 Nov 2020 10:59:02 +0000 (11:59 +0100)] 
location-block.cgi: avoid unnecessary line break

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agotor: Bump package version
Michael Tremer [Thu, 5 Nov 2020 23:31:26 +0000 (23:31 +0000)] 
tor: Bump package version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agotor.cgi: look up Tor relay country codes using libloc
Peter Müller [Tue, 3 Nov 2020 11:50:18 +0000 (12:50 +0100)] 
tor.cgi: look up Tor relay country codes using libloc

Tor provides a function to resolve a relay's IP address into a country
code by taking advantage of a (heavily outdated) GeoIP database shipped
with it.

We should consequently use libloc for doing this, since it can be
confusing if those results differ from active connections in the
connection tracking CGI (where we _use_ libloc) and such tasks are why
we invented libloc in the first place. :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship tzdata
Michael Tremer [Thu, 5 Nov 2020 23:30:58 +0000 (23:30 +0000)] 
core153: Ship tzdata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agotzdata: update to 2020d
Peter Müller [Tue, 3 Nov 2020 11:26:42 +0000 (12:26 +0100)] 
tzdata: update to 2020d

The pacificnew file has been dropped by IANA. Adding the "factory" file
makes sense to have a reasonable default in case the time zone is
unknown, which, however, should not happen in case of IPFire 2.x - just
trying to be consistent here.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore152: Ship file
Michael Tremer [Thu, 5 Nov 2020 23:29:44 +0000 (23:29 +0000)] 
core152: Ship file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofile: update to 5.39
Peter Müller [Tue, 3 Nov 2020 11:21:16 +0000 (12:21 +0100)] 
file: update to 5.39

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship bash
Michael Tremer [Tue, 3 Nov 2020 10:39:08 +0000 (10:39 +0000)] 
core153: Ship bash

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoBash: apply patches 12 through 18 as well
Peter Müller [Tue, 3 Nov 2020 09:52:27 +0000 (10:52 +0100)] 
Bash: apply patches 12 through 18 as well

Those fix some unintentional behaviour regarding autocompletion I
stumbled across the other day. While there seems nothing security
relevant in this, it irons out a few bugs.

The full and up-to-date list of all Bash 5.0 patches can be obtained
from https://ftp.gnu.org/gnu/bash/bash-5.0-patches/ .

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship hwdata
Michael Tremer [Tue, 3 Nov 2020 10:37:56 +0000 (10:37 +0000)] 
core153: Ship hwdata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohwdata: update PCI/USB databases
Peter Müller [Tue, 3 Nov 2020 09:44:03 +0000 (10:44 +0100)] 
hwdata: update PCI/USB databases

PCI IDs: 2020-10-25 03:15:01
USB IDs: 2020-08-26 20:34:09

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: remove pid at killproc in initscript
Arne Fitzenreiter [Sun, 1 Nov 2020 17:06:08 +0000 (18:06 +0100)] 
samba: remove pid at killproc in initscript

sometime a stale nmbd or smbd process prevent start of samba.
this change should kill all processes.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship libarchive
Michael Tremer [Fri, 30 Oct 2020 16:29:39 +0000 (16:29 +0000)] 
core153: Ship libarchive

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibarchive: Ship on core system
Michael Tremer [Fri, 30 Oct 2020 16:29:02 +0000 (16:29 +0000)] 
libarchive: Ship on core system

Some tools link against this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship usb_modeswitch
Michael Tremer [Fri, 30 Oct 2020 15:20:33 +0000 (15:20 +0000)] 
core153: Ship usb_modeswitch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agousb_modeswitch_data: update to 20191128
Ramax Lo [Fri, 30 Oct 2020 03:32:10 +0000 (11:32 +0800)] 
usb_modeswitch_data: update to 20191128

Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agousb_modeswitch: update to 2.6.1
Ramax Lo [Fri, 30 Oct 2020 03:32:09 +0000 (11:32 +0800)] 
usb_modeswitch: update to 2.6.1

Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship NTP changes
Michael Tremer [Fri, 30 Oct 2020 15:11:05 +0000 (15:11 +0000)] 
core153: Ship NTP changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agontp: Allow CLI tools to talk to ntpd
Michael Tremer [Fri, 30 Oct 2020 15:09:50 +0000 (15:09 +0000)] 
ntp: Allow CLI tools to talk to ntpd

Fixes: #12518
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agontp: Make /etc/ntp owned by root
Michael Tremer [Fri, 30 Oct 2020 15:08:55 +0000 (15:08 +0000)] 
ntp: Make /etc/ntp owned by root

This is required for ntpd being able to write its own drift file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agontp: Move configuration into an own file
Michael Tremer [Fri, 30 Oct 2020 15:07:26 +0000 (15:07 +0000)] 
ntp: Move configuration into an own file

We should not write files like that in the LFS scripts.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: update to 4.13.1
Arne Fitzenreiter [Fri, 30 Oct 2020 06:35:23 +0000 (07:35 +0100)] 
samba: update to 4.13.1

This is a security release in order to address
CVE-2020-14318 (Missing handle permissions check in SMB1/2/3 ChangeNotify),
CVE-2020-14323 (Unprivileged user can crash winbind) and
CVE-2020-14383 (An authenticated user can crash the DCE/RPC DNS with easily
crafted records).

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore153: Ship language files
Michael Tremer [Thu, 29 Oct 2020 13:49:40 +0000 (13:49 +0000)] 
core153: Ship language files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Proper use confgured LDFLAGS.
Stefan Schantl [Thu, 29 Oct 2020 11:20:07 +0000 (12:20 +0100)] 
suricata: Proper use confgured LDFLAGS.

Fixes #12513.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoUpdate French translation
Stéphane Pautrel [Thu, 29 Oct 2020 10:38:09 +0000 (10:38 +0000)] 
Update French translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship logwatch
Michael Tremer [Wed, 28 Oct 2020 11:55:48 +0000 (11:55 +0000)] 
core153: Ship logwatch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agologwatch: Added upstream patch for Bug #12242
Matthias Fischer [Wed, 16 Sep 2020 18:44:45 +0000 (20:44 +0200)] 
logwatch: Added upstream patch for Bug #12242

Added upstream patch from:

https://sourceforge.net/p/logwatch/mailman/message/37106642/

and

https://sourceforge.net/p/logwatch/mailman/message/37106883/

Fixes the display of "Unknown Entries: reuse_lease: ... " in dhpcd-logs.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship updated index.cgi and vpnmain.cgi
Michael Tremer [Tue, 27 Oct 2020 18:38:35 +0000 (18:38 +0000)] 
core153: Ship updated index.cgi and vpnmain.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoIPsec: Fix showing tunnels as connecting when they are established
Michael Tremer [Tue, 31 Mar 2020 09:54:42 +0000 (09:54 +0000)] 
IPsec: Fix showing tunnels as connecting when they are established

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Link against libatomic on armv5tel
Michael Tremer [Tue, 27 Oct 2020 18:22:05 +0000 (18:22 +0000)] 
suricata: Link against libatomic on armv5tel

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomake.sh: no longer build Amavis, SpamAssassin and perl-Net-LibIDN
Peter Müller [Fri, 23 Oct 2020 19:27:59 +0000 (21:27 +0200)] 
make.sh: no longer build Amavis, SpamAssassin and perl-Net-LibIDN

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodrop perl-Net-LibIDN
Peter Müller [Fri, 23 Oct 2020 19:27:33 +0000 (21:27 +0200)] 
drop perl-Net-LibIDN

This add-on was solely needed as a dependency for Amavis and is
therefore no longer needed.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodrop SpamAssassin add-on
Peter Müller [Fri, 23 Oct 2020 19:27:07 +0000 (21:27 +0200)] 
drop SpamAssassin add-on

This package has not been maintained well and is thereof outdated. At
the time of writing, we neither
(a) have a maintainer for this nor
(b) believe it is wise to run a full-featured content scanner on a
    firewall for security purposes. (We can make do with Postfix, as it
    is known for being a very robust MTA and providess less attack
    surface than something actually inspecting transferred messages.)

Thereof, this patch drops the SpamAssassin add-on. In case it is desired
in future versions of IPFire, it can be easily reverted, restoring the
functionality and behaviour before.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodrop Amavis add-on
Peter Müller [Fri, 23 Oct 2020 19:26:43 +0000 (21:26 +0200)] 
drop Amavis add-on

This package has not been maintained well and is thereof outdated. At
the time of writing, we neither
(a) have a maintainer for this nor
(b) believe it is wise to run a full-featured content scanner on a
    firewall for security purposes. (We can make do with Postfix, as it
    is known for being a very robust MTA and providess less attack
    surface than something actually inspecting transferred messages.)

Thereof, this patch drops the Amavis add-on. In case it is desired in
future versions of IPFire, it can be easily reverted, restoring the
functionality and behaviour before.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Allow to make Management Frame Protection optional
Michael Tremer [Tue, 20 Oct 2020 09:15:03 +0000 (09:15 +0000)] 
hostapd: Allow to make Management Frame Protection optional

WPA3 mandates MFP, but many clients do not support it at all.

Therefore this can now be set to optional and clients will
fall back to WPA2.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Bump package version
Michael Tremer [Mon, 19 Oct 2020 14:48:57 +0000 (14:48 +0000)] 
hostapd: Bump package version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Import default configuration from hostapd 2.9
Michael Tremer [Mon, 19 Oct 2020 14:48:56 +0000 (14:48 +0000)] 
hostapd: Import default configuration from hostapd 2.9

This change removes a couple of removed options and adds
new ones. Notable changes are:

* Enable SAE (for WPA3)
* Enable Airtime Policy
* Enable Client Taxonomy
* Enable using the new getrandom() syscall
* Enable using epoll instead of select

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohostapd: Add WPA3 authentication to the web UI
Michael Tremer [Mon, 19 Oct 2020 14:48:55 +0000 (14:48 +0000)] 
hostapd: Add WPA3 authentication to the web UI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore153: Ship suricata
Michael Tremer [Tue, 27 Oct 2020 11:52:39 +0000 (11:52 +0000)] 
core153: Ship suricata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoruleset-sources: Update snort dl urls.
Stefan Schantl [Tue, 27 Oct 2020 09:52:47 +0000 (10:52 +0100)] 
ruleset-sources: Update snort dl urls.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Automatically enable JA3 fingerprinting.
Stefan Schantl [Tue, 27 Oct 2020 09:49:31 +0000 (10:49 +0100)] 
suricata: Automatically enable JA3 fingerprinting.

Enable JA3 fingerprinting if any rules are enabled which are using this
kind of feature.

Fixes #12507.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Update to 6.0.0.
Stefan Schantl [Wed, 21 Oct 2020 18:20:10 +0000 (20:20 +0200)] 
suricata: Update to 6.0.0.

* Enable RDP and SIP parsers.
* Enable new introduced parsers for RFB and DCERPC.

Because HTTP2 support and parser currently is experimental the suricata
developers decided to disable it at default - we keep this default
setting for now.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoStart Core Update 153
Michael Tremer [Tue, 27 Oct 2020 11:50:10 +0000 (11:50 +0000)] 
Start Core Update 153

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Bump package release
Michael Tremer [Tue, 27 Oct 2020 11:44:34 +0000 (11:44 +0000)] 
samba: Bump package release

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Make changing shares taking effect immediately
Michael Tremer [Tue, 27 Oct 2020 11:37:03 +0000 (11:37 +0000)] 
samba: Make changing shares taking effect immediately

The action was performed after the table has already been
rendered which required reloading the page to show a new
share.

This has now been moved to the top so that new changes
will be shown immediately.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomtr: update to 0.94
Peter Müller [Fri, 23 Oct 2020 17:26:24 +0000 (19:26 +0200)] 
mtr: update to 0.94

Complete changelog since version 0.93:

V0.94
   Aaron Lipinski (10):
         gtk_menu_append -> gtk_menu_shell_append
         GTK_OBJECT -> G_OBJECT
         gtk_button_new_from_stock -> gtk_button_new_with_label
         gtk3
         hbox/vbox -> gtk_box_new
         gtk_menu_popup -> gtk_menu_popup_at_pointer
         show resolved hostname in raw dnsline
         rely on final return NULL
         introduce libasan
         avoid stack use after scope

   Alejandro Leal (2):
         few updates to manual page and README.md
         Updating some comments

   Chongyu Zhu (1):
         probe: fix find_source_addr

   Konrad Bucheli (1):
         fix segmentation fault if there is no IP address on an interface (fixes #320)

   Kulemin Alexander (1):
         report: json: reworked with libjansson

   Mark Egan-Fuller (1):
         Add display of destination.

   Markus Kötter (6):
         simplification - remove sockaddrtop
         simplification - remove addrcpy
         simplification - remove rsa{4,6}
         simplification - address addrcmp
         simplification - improve readability
         ip6 udp - fix probes with local or remote port

   R.E. Wolff (29):
         fix warning on recent compilers.
         Merge branch 'master' of github.com:traviscross/mtr
         net find local address fix by meingtsla
         proposed patch for bsd compile error
         fix closing brace
         Added include errno --obouizi
         Merge branch 'master' of github.com:traviscross/mtr
         More compilation warning fixes from obouizi
         Added extra help text to configure --yvs
         Changed MAXPATH to MAX_PATH for AIX compatibility. -- aixtools
         make the code for gtk2/3 a bit nicer.
         Merge branch 'gtk3_with_fallback' of https://github.com/krisl/mtr
         Merge branch 'master' of github.com:traviscross/mtr
         in hindsight my previous patch wasn't so nice. And nobody told me.

   Sean Wei (1):
         Fix parameter in ui/net.c

   Siyuan Miao (1):
         show mpls information in raw output

   atib (1):
         Added code to print multiple addresses regitered on the same hop count

   atibdialpad (2):
         Change TTL dynamically to adjust for path changes
         TODO list changes

   meingtsla (2):
         asn_{open,close}: Always initialize ipinfo hash table
         Merge branch 'master' of https://github.com/traviscross/mtr into asn-open-always-hcreate

In addition, the "bootstrap.sh" script no longer exists and has
therefore been removed from the LFS file.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoTor: update to 0.4.4.5
Peter Müller [Fri, 23 Oct 2020 17:18:04 +0000 (19:18 +0200)] 
Tor: update to 0.4.4.5

Please refer to
https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.4.4.5 for
the changelog of this release.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore152: Ship CA certificates
Michael Tremer [Fri, 23 Oct 2020 15:52:18 +0000 (15:52 +0000)] 
core152: Ship CA certificates

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoupdate ca-certificates CA bundle
Peter Müller [Fri, 23 Oct 2020 15:35:06 +0000 (17:35 +0200)] 
update ca-certificates CA bundle

Update the CA certificates list to what Mozilla NSS ships currently.

The original file can be retrieved from:
https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoUpdate credits.cgi
Michael Tremer [Fri, 23 Oct 2020 10:08:07 +0000 (10:08 +0000)] 
Update credits.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoUpdate languages
Michael Tremer [Fri, 23 Oct 2020 10:07:37 +0000 (10:07 +0000)] 
Update languages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoImprove DHCP dynamic leases list usability. Active and expired leases are now grouped...
Leo-Andres Hofmann [Wed, 21 Oct 2020 11:48:33 +0000 (12:48 +0100)] 
Improve DHCP dynamic leases list usability. Active and expired leases are now grouped and the list is divided by a horizontal line. Sorting and creating static leases remains unchanged.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoImprove indentation and HTML output of PrintActualLeases & leasesort
Leo-Andres Hofmann [Wed, 21 Oct 2020 11:48:30 +0000 (12:48 +0100)] 
Improve indentation and HTML output of PrintActualLeases & leasesort

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore152: Ship proxy.cgi
Michael Tremer [Mon, 19 Oct 2020 09:26:17 +0000 (09:26 +0000)] 
core152: Ship proxy.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomodified proxy.cgi to make it possible that all subnets declared in "network access...
Steffen Klammer [Fri, 16 Oct 2020 08:08:52 +0000 (10:08 +0200)] 
modified proxy.cgi to make it possible that all subnets declared in "network access control" will be translated from cidr to subnet notation in proxy.pac

Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore152: Ship suricata
Michael Tremer [Thu, 15 Oct 2020 15:35:13 +0000 (15:35 +0000)] 
core152: Ship suricata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Update to 5.0.4
Stefan Schantl [Thu, 15 Oct 2020 15:31:54 +0000 (17:31 +0200)] 
suricata: Update to 5.0.4

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore152: Ship libhtp
Michael Tremer [Thu, 15 Oct 2020 15:34:25 +0000 (15:34 +0000)] 
core152: Ship libhtp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibhtp: Update to 0.5.35
Stefan Schantl [Thu, 15 Oct 2020 15:31:21 +0000 (17:31 +0200)] 
libhtp: Update to 0.5.35

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore152: Ship yaml
Michael Tremer [Thu, 15 Oct 2020 15:33:59 +0000 (15:33 +0000)] 
core152: Ship yaml

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoyaml: Update to 0.2.5
Stefan Schantl [Thu, 15 Oct 2020 15:30:46 +0000 (17:30 +0200)] 
yaml: Update to 0.2.5

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoMerge branch 'master' into next
Michael Tremer [Wed, 14 Oct 2020 10:35:41 +0000 (10:35 +0000)] 
Merge branch 'master' into next

3 years agofirewall: Filter only on RED and exclude any private address space
Michael Tremer [Wed, 14 Oct 2020 10:32:05 +0000 (11:32 +0100)] 
firewall: Filter only on RED and exclude any private address space

Since libloc is built as a tree we cannot simply exclude any address
space in the middle of it. Therefore we create some firewall rules
which simply avoid checking non-globally routable address space.

Fixes: #12499
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Update rootfiles
Michael Tremer [Wed, 14 Oct 2020 09:53:30 +0000 (09:53 +0000)] 
samba: Update rootfiles

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Drop default printer configuration
Michael Tremer [Wed, 14 Oct 2020 09:51:27 +0000 (09:51 +0000)] 
samba: Drop default printer configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Bump package version
Michael Tremer [Tue, 13 Oct 2020 16:07:07 +0000 (17:07 +0100)] 
samba: Bump package version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Allow rewriting configuration from CLI
Michael Tremer [Tue, 13 Oct 2020 16:04:46 +0000 (17:04 +0100)] 
samba: Allow rewriting configuration from CLI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Remove unused INTERFACES setting
Michael Tremer [Tue, 13 Oct 2020 15:49:33 +0000 (16:49 +0100)] 
samba: Remove unused INTERFACES setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Use the same delete icon as everywhere else
Michael Tremer [Tue, 13 Oct 2020 15:41:04 +0000 (16:41 +0100)] 
samba: Use the same delete icon as everywhere else

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Refactor user management
Michael Tremer [Tue, 13 Oct 2020 15:36:05 +0000 (16:36 +0100)] 
samba: Refactor user management

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Set a useful default workgroup
Michael Tremer [Tue, 13 Oct 2020 15:12:57 +0000 (16:12 +0100)] 
samba: Set a useful default workgroup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosamba: Remove tbl class from join form
Michael Tremer [Tue, 13 Oct 2020 15:10:20 +0000 (16:10 +0100)] 
samba: Remove tbl class from join form

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>