Commit Graph

7793 Commits

Author SHA1 Message Date
Michael Tremer
731fc207de core153: Ship and apply changes to sysctl.conf
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-05 23:39:06 +00:00
Peter Müller
b474e87bb8 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>
2020-11-05 23:37:53 +00:00
Peter Müller
02489761db 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>
2020-11-05 23:34:22 +00:00
Michael Tremer
dcd0bcef7e core153: Ship curl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-05 23:33:45 +00:00
Peter Müller
a30f94ac4a 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>
2020-11-05 23:33:29 +00:00
Peter Müller
1cd27f38e6 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>
2020-11-05 23:33:14 +00:00
Michael Tremer
7f235b5b01 core153: Ship location-block.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-05 23:32:29 +00:00
Michael Tremer
f717db9172 core153: Ship tzdata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-05 23:30:58 +00:00
Peter Müller
699c61109a 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>
2020-11-05 23:30:38 +00:00
Michael Tremer
3bd2e64eb2 core152: Ship file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-05 23:29:44 +00:00
Peter Müller
f55a00fea3 file: update to 5.39
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-05 23:29:18 +00:00
Michael Tremer
0f2d70a313 core153: Ship bash
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-03 10:39:08 +00:00
Michael Tremer
1b2ddfa449 core153: Ship hwdata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-03 10:37:56 +00:00
Michael Tremer
9c6fd77927 core153: Ship libarchive
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-30 16:29:39 +00:00
Michael Tremer
62efd2e9d2 libarchive: Ship on core system
Some tools link against this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-30 16:29:02 +00:00
Michael Tremer
7f5d63c9e6 core153: Ship usb_modeswitch
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-30 15:20:33 +00:00
Ramax Lo
5cbc22ffa6 usb_modeswitch_data: update to 20191128
Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-30 15:18:04 +00:00
Michael Tremer
9d29a52d7d core153: Ship NTP changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-30 15:11:05 +00:00
Michael Tremer
ef7b7b1af8 ntp: Allow CLI tools to talk to ntpd
Fixes: #12518
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-30 15:09:50 +00:00
Michael Tremer
4e49d67990 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>
2020-10-30 15:08:44 +00:00
Michael Tremer
ae432a5f39 core153: Ship language files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-29 13:49:40 +00:00
Michael Tremer
af94be24fe core153: Ship logwatch
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-28 11:55:48 +00:00
Michael Tremer
8a2105b284 core153: Ship updated index.cgi and vpnmain.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-27 18:38:35 +00:00
Peter Müller
3e19f681a1 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>
2020-10-27 11:58:35 +00:00
Peter Müller
6483ec30b9 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>
2020-10-27 11:58:20 +00:00
Michael Tremer
4744e4f00a 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>
2020-10-27 11:55:59 +00:00
Michael Tremer
c472a30f30 core153: Ship suricata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-27 11:52:48 +00:00
Stefan Schantl
aa90ed9c20 ruleset-sources: Update snort dl urls.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-27 11:51:05 +00:00
Stefan Schantl
0937bd9c01 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>
2020-10-27 11:51:00 +00:00
Stefan Schantl
0cdb151831 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>
2020-10-27 11:50:56 +00:00
Michael Tremer
150378eae9 Start Core Update 153
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-27 11:50:10 +00:00
Michael Tremer
d4afeb5250 core152: Ship CA certificates
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-23 15:52:18 +00:00
Peter Müller
b3d8161b88 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>
2020-10-23 15:51:54 +00:00
Leo-Andres Hofmann
c27b8825be 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>
2020-10-23 10:07:08 +00:00
Leo-Andres Hofmann
934a376918 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>
2020-10-23 10:07:03 +00:00
Michael Tremer
449b1aeea7 core152: Ship proxy.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-19 09:26:17 +00:00
Michael Tremer
7ad39d931a core152: Ship suricata
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-15 15:35:13 +00:00
Michael Tremer
488f36e446 core152: Ship libhtp
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-15 15:34:25 +00:00
Michael Tremer
43e1c88ea4 core152: Ship yaml
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-15 15:33:59 +00:00
Stefan Schantl
d95cc821e7 yaml: Update to 0.2.5
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-15 15:33:44 +00:00
Michael Tremer
cbd0df20ed Merge branch 'master' into next 2020-10-14 10:35:41 +00:00
Michael Tremer
c69c820025 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>
2020-10-14 11:32:05 +01:00
Michael Tremer
64c8811dee samba: Update rootfiles
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-14 09:53:30 +00:00
Michael Tremer
0ccb2c1d15 samba: Drop default printer configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-14 09:51:27 +00:00
Michael Tremer
7dea42ae84 samba: Drop PDC default configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
be1554336d samba: Export all printers from CUPS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
97722ab69d samba: Remove printer management
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
a88ea3463c samba: Remove help popup
This is outdated and should be put into the wiki.

It is also some very ugly JS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
5aa5f6777a samba: Remove reset options
This only requires that we have to change multiple files with
the same settings.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
13e455aec7 samba: Log to syslog
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00