]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
3 years agofirewall.cgi: Rework to use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 17:31:41 +0000 (19:31 +0200)] 
firewall.cgi: Rework to use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agofirewall-lib.pl: Rework code to use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 17:21:27 +0000 (19:21 +0200)] 
firewall-lib.pl: Rework code to use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years ago50-firewall.menu: Rename geoipblock to locationblock
Stefan Schantl [Fri, 12 Jun 2020 17:12:00 +0000 (19:12 +0200)] 
50-firewall.menu: Rename geoipblock to locationblock

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoTransform geoipblock into locationblock settings file.
Stefan Schantl [Fri, 12 Jun 2020 17:09:29 +0000 (19:09 +0200)] 
Transform geoipblock into locationblock settings file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agofirewall/rules.pl: Rework code to use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 17:06:01 +0000 (19:06 +0200)] 
firewall/rules.pl: Rework code to use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoremote.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:52:19 +0000 (18:52 +0200)] 
remote.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoovpnmain.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:51:03 +0000 (18:51 +0200)] 
ovpnmain.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agotor.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:48:24 +0000 (18:48 +0200)] 
tor.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agonetexternal.cgi: Remove GeoIP related code.
Stefan Schantl [Fri, 12 Jun 2020 16:45:56 +0000 (18:45 +0200)] 
netexternal.cgi: Remove GeoIP related code.

The CGI only loaded geoip-functions.pl and initiated libloc but did no
further actions. So we are safe to completely remove this code.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agologs.cgi/showrequestfromcountry.dat: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:44:29 +0000 (18:44 +0200)] 
logs.cgi/showrequestfromcountry.dat: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agologs.cgi/firewalllogip.dat: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:42:23 +0000 (18:42 +0200)] 
logs.cgi/firewalllogip.dat: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agologs.cgi/firewalllogcountry.dat: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:09:46 +0000 (18:09 +0200)] 
logs.cgi/firewalllogcountry.dat: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agologs.cgi/firewalllog.dat: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:07:55 +0000 (18:07 +0200)] 
logs.cgi/firewalllog.dat: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoipinfo.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 16:02:51 +0000 (18:02 +0200)] 
ipinfo.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agodns.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 15:59:43 +0000 (17:59 +0200)] 
dns.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agocountry.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 15:53:29 +0000 (17:53 +0200)] 
country.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoconnections.cgi: Use location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 15:51:00 +0000 (17:51 +0200)] 
connections.cgi: Use location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoTransform geoip-block.cgi into location-block.cgi
Stefan Schantl [Fri, 12 Jun 2020 15:44:48 +0000 (17:44 +0200)] 
Transform geoip-block.cgi into location-block.cgi

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoTransform geoip-functions.pl into location-functions.pl
Stefan Schantl [Fri, 12 Jun 2020 15:42:41 +0000 (17:42 +0200)] 
Transform geoip-functions.pl into location-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agolocation: Remove "GeoIP" from crontab
Michael Tremer [Fri, 12 Jun 2020 14:12:49 +0000 (16:12 +0200)] 
location: Remove "GeoIP" from crontab

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolocation: Remove "GeoIP" from the UI
Michael Tremer [Fri, 12 Jun 2020 14:10:24 +0000 (16:10 +0200)] 
location: Remove "GeoIP" from the UI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofirewall: Rename GEOIPBLOCK table to LOCATIONBLOCK
Michael Tremer [Fri, 12 Jun 2020 14:00:34 +0000 (16:00 +0200)] 
firewall: Rename GEOIPBLOCK table to LOCATIONBLOCK

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibloc: Rootfile update.
Stefan Schantl [Thu, 11 Jun 2020 06:19:07 +0000 (08:19 +0200)] 
libloc: Rootfile update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoRevert "firewall/rules.pl: Add code to collect and export all required country"
Stefan Schantl [Wed, 10 Jun 2020 19:29:04 +0000 (21:29 +0200)] 
Revert "firewall/rules.pl: Add code to collect and export all required country"

This reverts commit ad47d2ae80708a3418557ca1ec75a03ae94aac41.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoRevert "firewall/rules.pl: Only try to export locations if needed."
Stefan Schantl [Wed, 10 Jun 2020 19:28:16 +0000 (21:28 +0200)] 
Revert "firewall/rules.pl: Only try to export locations if needed."

This reverts commit 693b8513df290cbe4ee2fe3927ee029081fd2323.

3 years agoRevert "geoip-functions.pl: Add functions to export locations and to flush them."
Stefan Schantl [Wed, 10 Jun 2020 19:27:06 +0000 (21:27 +0200)] 
Revert "geoip-functions.pl: Add functions to export locations and to flush them."

This reverts commit e758c7638491eee86720a6b9be097124cbeb9d80.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoupdate-location-database: Automatically export database after update.
Stefan Schantl [Wed, 10 Jun 2020 19:24:58 +0000 (21:24 +0200)] 
update-location-database: Automatically export database after update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agolibloc: Install and export database.
Stefan Schantl [Wed, 10 Jun 2020 19:24:32 +0000 (21:24 +0200)] 
libloc: Install and export database.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agolibloc: Import upstream patches.
Stefan Schantl [Wed, 10 Jun 2020 16:01:57 +0000 (18:01 +0200)] 
libloc: Import upstream patches.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-switch-to...
Stefan Schantl [Wed, 10 Jun 2020 16:01:14 +0000 (18:01 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-switch-to-libloc

3 years agokernel: disable CONFIG_UPROBES
Peter Müller [Tue, 9 Jun 2020 18:51:12 +0000 (18:51 +0000)] 
kernel: disable CONFIG_UPROBES

Quoted from #12433:
> Uprobes is the user-space counterpart to kprobes: they enable instrumentation
> applications (such as 'perf probe') to establish unintrusive probes in
> user-space binaries and libraries, by executing handler functions when the
> probes are hit by user-space applications.
>
> ( These probes come in the form of single-byte breakpoints, managed by the
> kernel and kept transparent to the probed application. )

IMHO this can be safely disabled, as there is little if any need to debug
userspace programs _that_ deeply on an IPFire machine.

Fixes: #12433
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_FORTIFY_SOURCE on armv5tel
Peter Müller [Tue, 9 Jun 2020 17:57:51 +0000 (17:57 +0000)] 
kernel: enable CONFIG_FORTIFY_SOURCE on armv5tel

Partially fixes: #12369

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_FORTIFY_SOUCRE on aarch64
Peter Müller [Tue, 9 Jun 2020 17:55:58 +0000 (17:55 +0000)] 
kernel: enable CONFIG_FORTIFY_SOUCRE on aarch64

Partially fixes: #12369

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_SLUB_DEBUG on aarch64 and armv5tel
Peter Müller [Tue, 9 Jun 2020 17:50:14 +0000 (17:50 +0000)] 
kernel: enable CONFIG_SLUB_DEBUG on aarch64 and armv5tel

Fixes: #12377
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: fix diabling CONFIG_MODFIFY_LDT_SYSCALL
Arne Fitzenreiter [Wed, 10 Jun 2020 14:21:49 +0000 (16:21 +0200)] 
kernel: fix diabling CONFIG_MODFIFY_LDT_SYSCALL

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoRevert "kernel: enable CONFIG_RANDOMIZE_BASE on aarch64"
Arne Fitzenreiter [Wed, 10 Jun 2020 14:20:34 +0000 (16:20 +0200)] 
Revert "kernel: enable CONFIG_RANDOMIZE_BASE on aarch64"

with enabled CONFIG_RAMDOIZE_BASE the linking of xtables
and maybee other external kernel modules fail on aarch64

This reverts commit 8379ab44b8b0d7efd24101dbfe32913d4cebcb2e.

3 years agokernel: enable CONFIG_RANDOMIZE_BASE on armv5tel
Peter Müller [Tue, 9 Jun 2020 17:18:49 +0000 (17:18 +0000)] 
kernel: enable CONFIG_RANDOMIZE_BASE on armv5tel

Partially fixes: #12363

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_RANDOMIZE_BASE on aarch64
Peter Müller [Sun, 7 Jun 2020 16:49:01 +0000 (16:49 +0000)] 
kernel: enable CONFIG_RANDOMIZE_BASE on aarch64

Partially fixes: #12363

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_HARDENED_USERCOPY on aarch64 and armv5tel
Peter Müller [Sun, 7 Jun 2020 16:37:04 +0000 (16:37 +0000)] 
kernel: enable CONFIG_HARDENED_USERCOPY on aarch64 and armv5tel

Fixes: #12365
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_SECCOMP on aarch64 and armv5tel
Peter Müller [Sun, 7 Jun 2020 16:57:59 +0000 (16:57 +0000)] 
kernel: enable CONFIG_SECCOMP on aarch64 and armv5tel

Fixes: #12366
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: disable CONFIG_ACPI_CUSTOM_METHOD on x86_64 and i586
Peter Müller [Sun, 7 Jun 2020 16:40:35 +0000 (16:40 +0000)] 
kernel: disable CONFIG_ACPI_CUSTOM_METHOD on x86_64 and i586

This is dangerous as it allows replacing the running kernel without
rebooting. Kernel Self Protection Project people recommend to keep it
disabled.

Fixes: #12372
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: disable CONFIG_MODIFY_LDT_SYSCALL on i586 and x86_64
Peter Müller [Sun, 7 Jun 2020 16:32:26 +0000 (16:32 +0000)] 
kernel: disable CONFIG_MODIFY_LDT_SYSCALL on i586 and x86_64

Fixes: #12382
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agored.up: Do not download/update location database.
Stefan Schantl [Mon, 8 Jun 2020 19:20:17 +0000 (21:20 +0200)] 
red.up: Do not download/update location database.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agosquid-accounting: remove deps that are moved to core
Arne Fitzenreiter [Fri, 5 Jun 2020 20:43:58 +0000 (20:43 +0000)] 
squid-accounting: remove deps that are moved to core

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoMerge branch 'master' into next
Arne Fitzenreiter [Thu, 4 Jun 2020 15:16:39 +0000 (15:16 +0000)] 
Merge branch 'master' into next

3 years agocore145: Remove double-added configuration lines for OpenVPN core145
Michael Tremer [Thu, 4 Jun 2020 14:32:22 +0000 (14:32 +0000)] 
core145: Remove double-added configuration lines for OpenVPN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoMerge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
Arne Fitzenreiter [Thu, 4 Jun 2020 06:59:28 +0000 (08:59 +0200)] 
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next

3 years agostart core146 and add the kernel
Arne Fitzenreiter [Thu, 4 Jun 2020 06:49:28 +0000 (08:49 +0200)] 
start core146 and add the kernel

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 4.14.183
Arne Fitzenreiter [Thu, 4 Jun 2020 06:37:00 +0000 (08:37 +0200)] 
kernel: update to 4.14.183

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agogeoip-functions.pl: Provide the available locations in upper case.
Stefan Schantl [Wed, 3 Jun 2020 17:29:55 +0000 (19:29 +0200)] 
geoip-functions.pl: Provide the available locations in upper case.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agogeoip-functions.pl: Remove non existing country codes.
Stefan Schantl [Wed, 3 Jun 2020 17:15:43 +0000 (19:15 +0200)] 
geoip-functions.pl: Remove non existing country codes.

o1 (Other country) and yu (Yugoslavia) have been used in the past
and are not part of libloc and therefore cannot be used anymore.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agocore145: Update OpenVPN server configuration only when necessary v2.25-core145
Michael Tremer [Wed, 3 Jun 2020 14:41:12 +0000 (14:41 +0000)] 
core145: Update OpenVPN server configuration only when necessary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: Update OpenVPN server configuration only when necessary
Michael Tremer [Wed, 3 Jun 2020 14:41:12 +0000 (14:41 +0000)] 
core145: Update OpenVPN server configuration only when necessary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: backport "random: try to actively add entropy"
Arne Fitzenreiter [Fri, 1 May 2020 08:33:02 +0000 (10:33 +0200)] 
kernel: backport "random: try to actively add entropy"

this backports https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/char/random.c?id=50ee7529ec4500c88f8664560770a7a1b65db72b
to gather enough entropy for initialise the crng faster.
Of some machines like the APU it will need forever if
the machine only wait for entropy without doing anything else.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agodrop xen-inage-builder
Arne Fitzenreiter [Tue, 2 Jun 2020 16:37:22 +0000 (18:37 +0200)] 
drop xen-inage-builder

this depends on linux-pae and has failed to boot
since a while.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: drop extra i586-pae kernel
Arne Fitzenreiter [Tue, 2 Jun 2020 16:34:44 +0000 (18:34 +0200)] 
kernel: drop extra i586-pae kernel

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: disable CONFIG_DEBUG_LIST on i586(-pae)
Peter Müller [Sat, 18 Apr 2020 08:48:24 +0000 (10:48 +0200)] 
kernel: disable CONFIG_DEBUG_LIST on i586(-pae)

Fixes: #12378
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_SCHED_STACK_END_CHECK on x86_64, armv5tel and aarch64
Peter Müller [Sat, 18 Apr 2020 08:42:19 +0000 (10:42 +0200)] 
kernel: enable CONFIG_SCHED_STACK_END_CHECK on x86_64, armv5tel and aarch64

> This option checks for a stack overrun on calls to schedule(). If the stack
> end location is found to be over written always panic as the content of the
> corrupted region can no longer be trusted. This is to ensure no erroneous
> behaviour occurs which could result in data corruption or a sporadic crash at a
> later stage once the region is examined. The runtime overhead introduced is
> minimal.

Fixes: #12376
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: disable CONFIG_USELIB on x86_64 and i586(-pae)
Peter Müller [Sat, 18 Apr 2020 08:24:08 +0000 (10:24 +0200)] 
kernel: disable CONFIG_USELIB on x86_64 and i586(-pae)

> This option enables the uselib syscall a system call used in the dynamic
> linker from libc5 and earlier. glibc does not use this system call. If you
> intend to run programs built on libc5 or earlier you may need to enable this
> syscall. Current systems running glibc can safely disable this.

In my point of view, the last sentence matches our situation.

Fixes: #12379
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable CONFIG_DEBUG_WX on aarch64
Peter Müller [Sat, 18 Apr 2020 08:16:23 +0000 (10:16 +0200)] 
kernel: enable CONFIG_DEBUG_WX on aarch64

Since this is described as 'Generate a warning if any W+X mappings are
found at boot.', it most likely does not break anything and can be
safely enabled.

Fixes: #12373
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: enable page poisoning on x86_64
Peter Müller [Tue, 14 Apr 2020 14:32:47 +0000 (16:32 +0200)] 
kernel: enable page poisoning on x86_64

This is already active on i586 and prevents information leaks from freed
data.

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoKernel: drop Memstick support
Peter Müller [Wed, 1 Apr 2020 15:25:00 +0000 (15:25 +0000)] 
Kernel: drop Memstick support

These are not needed anymore since Sony announced EOL in 2010 and there
is no legitimate use case for such hardware on a firewall system.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoKernel: drop bluetooth support
Peter Müller [Wed, 1 Apr 2020 15:23:00 +0000 (15:23 +0000)] 
Kernel: drop bluetooth support

The bluetooth addon was recently removed by commit
592be1d206e45ad42736b352d96e42ebca50123a, which is why we do not need to
carry the corresponding kernel modules around anymore.

The second version of this patch correctly updates kernel configuration
files via "make oldconfig" as requested by Arne.

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agolibloc: Rootfile update.
Stefan Schantl [Mon, 1 Jun 2020 19:13:19 +0000 (21:13 +0200)] 
libloc: Rootfile update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agolibloc: Import latest upstream patches.
Stefan Schantl [Mon, 1 Jun 2020 19:13:03 +0000 (21:13 +0200)] 
libloc: Import latest upstream patches.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoxtables-addons: Create directory for geoip databases (kernel module).
Stefan Schantl [Mon, 1 Jun 2020 19:11:58 +0000 (21:11 +0200)] 
xtables-addons: Create directory for geoip databases (kernel module).

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agocore145: found more urlfilter db files to cleanup
Arne Fitzenreiter [Sat, 30 May 2020 18:04:33 +0000 (18:04 +0000)] 
core145: found more urlfilter db files to cleanup

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: remove converted urlfilter database
Arne Fitzenreiter [Sat, 30 May 2020 17:33:40 +0000 (17:33 +0000)] 
core145: remove converted urlfilter database

to force rebuilt with new db.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agonetatalk: Add krb5 as a dependency
Michael Tremer [Thu, 28 May 2020 19:00:47 +0000 (19:00 +0000)] 
netatalk: Add krb5 as a dependency

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoknot: Update to 2.9.5
Matthias Fischer [Tue, 26 May 2020 18:46:29 +0000 (20:46 +0200)] 
knot: Update to 2.9.5

For details see:
https://www.knot-dns.cz/2020-05-25-version-295.html

"Bugfixes:

 Old ZSK can be withdrawn too early during a ZSK rollover if maximum
 zone TTL is computed automatically
 Server responds SERVFAIL to ANY queries on empty non-terminal nodes

Improvements:

 Also module onlinesign returns minimized responses to ANY queries
 Linking against libcap-ng can be disabled via a configure option"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-switch-to...
Stefan Schantl [Tue, 26 May 2020 17:02:48 +0000 (19:02 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-switch-to-libloc

3 years agoLocale-Country: Fix rootfile
Stefan Schantl [Tue, 26 May 2020 17:01:39 +0000 (19:01 +0200)] 
Locale-Country: Fix rootfile

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agolibloc: Update to 0.9.1
Stefan Schantl [Tue, 26 May 2020 17:01:18 +0000 (19:01 +0200)] 
libloc: Update to 0.9.1

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agogeoip-database: Drop package
Stefan Schantl [Tue, 26 May 2020 17:00:40 +0000 (19:00 +0200)] 
geoip-database: Drop package

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agominidlna: Update to 1.2.1
Matthias Fischer [Mon, 25 May 2020 12:54:56 +0000 (14:54 +0200)] 
minidlna: Update to 1.2.1

For details see:
https://sourceforge.net/projects/minidlna/files/minidlna/1.2.1/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoffmpeg: Update to 4.2.3
Matthias Fischer [Mon, 25 May 2020 11:23:57 +0000 (13:23 +0200)] 
ffmpeg: Update to 4.2.3

For details see:
http://ffmpeg.org/download.html#release_4.2

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: Enable OpenVPN metrics collection
Michael Tremer [Mon, 25 May 2020 09:17:30 +0000 (10:17 +0100)] 
core145: Enable OpenVPN metrics collection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoopenvpn: Create database schema if not exists
Michael Tremer [Mon, 25 May 2020 09:17:29 +0000 (10:17 +0100)] 
openvpn: Create database schema if not exists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agomake.sh: Suppress 'ls :cannot access *.bz2'-message
Matthias Fischer [Sun, 24 May 2020 22:13:50 +0000 (00:13 +0200)] 
make.sh: Suppress 'ls :cannot access *.bz2'-message

The message "ls: cannot access '*.bz2': No such file or directory" comes
from the 'ls' command prior to creating the *.md5-files for *.bz2, *.img.xz
and *.iso files.

But on most builds we have especially no more bzip2 compressed images anymore.

This message can usually be ignored and is just irritating.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agonano: Update to 4.9.3
Matthias Fischer [Sun, 24 May 2020 18:03:52 +0000 (20:03 +0200)] 
nano: Update to 4.9.3

For details see:
https://www.nano-editor.org/news.php

"One more bug introduced in version 4.9 is fixed: a crash when
the terminal screen is resized while at a lock-file prompt."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoMerge branch 'switch-to-libloc' into next-switch-to-libloc
Stefan Schantl [Mon, 25 May 2020 17:55:54 +0000 (19:55 +0200)] 
Merge branch 'switch-to-libloc' into next-switch-to-libloc

3 years agosquidGuard: Fix generating databases with libdb >= 5
Michael Tremer [Fri, 22 May 2020 11:49:03 +0000 (11:49 +0000)] 
squidGuard: Fix generating databases with libdb >= 5

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoids-functions.pl: Quote array of subnets
Michael Tremer [Wed, 20 May 2020 12:29:48 +0000 (12:29 +0000)] 
ids-functions.pl: Quote array of subnets

Reported-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agomove perl-DBI and perl-DBD-SQLite to core system
Arne Fitzenreiter [Wed, 20 May 2020 09:47:25 +0000 (09:47 +0000)] 
move perl-DBI and perl-DBD-SQLite to core system

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoupdate credits.cgi
Arne Fitzenreiter [Wed, 20 May 2020 09:15:36 +0000 (09:15 +0000)] 
update credits.cgi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: add bind
Arne Fitzenreiter [Tue, 19 May 2020 19:45:29 +0000 (19:45 +0000)] 
core145: add bind

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agobind: Update to 9.11.19
Matthias Fischer [Tue, 19 May 2020 12:38:11 +0000 (14:38 +0200)] 
bind: Update to 9.11.19

For details see:
https://downloads.isc.org/isc/bind9/9.11.19/RELEASE-NOTES-bind-9.11.19.html

"Security Fixes

    To prevent exhaustion of server resources by a maliciously
    configured domain, the number of recursive queries that can be
    triggered by a request before aborting recursion has been further
    limited. Root and top-level domain servers are no longer exempt from
    the max-recursion-queries limit. Fetches for missing name server
    address records are limited to 4 for any domain. This issue was
    disclosed in CVE-2020-8616. [GL #1388]

    Replaying a TSIG BADTIME response as a request could trigger
    an assertion failure. This was disclosed in CVE-2020-8617. [GL
    #1703]

Feature Changes

    Message IDs in inbound AXFR transfers are now checked for
    consistency. Log messages are emitted for streams with inconsistent
    message IDs. [GL #1674]

Bug Fixes

    When running on a system with support for Linux capabilities, named
    drops root privileges very soon after system startup. This was
    causing a spurious log message, "unable to set effective uid to 0:
    Operation not permitted", which has now been silenced. [GL #1042]
    [GL #1090]

    When named-checkconf -z was run, it would sometimes incorrectly set
    its exit code. It reflected the status of the last view found;
    if zone-loading errors were found in earlier configured views but
    not in the last one, the exit code indicated success. Thanks
    to Graham Clinch. [GL #1807]

    When built without LMDB support, named failed to restart after
    a zone with a double quote (") in its name was added with rndc
    addzone. Thanks to Alberto Fernández. [GL #1695]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: stop/start suricata and squid
Arne Fitzenreiter [Tue, 19 May 2020 19:43:39 +0000 (19:43 +0000)] 
core145: stop/start suricata and squid

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: restart squid
Arne Fitzenreiter [Tue, 19 May 2020 19:41:22 +0000 (19:41 +0000)] 
core145: restart squid

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: add unbound
Arne Fitzenreiter [Tue, 19 May 2020 19:39:30 +0000 (19:39 +0000)] 
core145: add unbound

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agounbound: Update to 1.10.1
Matthias Fischer [Tue, 19 May 2020 12:17:58 +0000 (14:17 +0200)] 
unbound: Update to 1.10.1

For details see:
https://lists.nlnetlabs.nl/pipermail/unbound-users/2020-May/006833.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoTor: update to 0.4.3.5
Peter Müller [Tue, 19 May 2020 10:46:59 +0000 (10:46 +0000)] 
Tor: update to 0.4.3.5

Please refer to https://blog.torproject.org/node/1872 for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: add knot
Arne Fitzenreiter [Mon, 18 May 2020 20:21:21 +0000 (20:21 +0000)] 
core145: add knot

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoknot: Update to 2.9.4
Matthias Fischer [Sat, 16 May 2020 08:38:58 +0000 (10:38 +0200)] 
knot: Update to 2.9.4

For details see:
https://www.knot-dns.cz/2020-05-05-version-294.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore145: add ids-functions.pl
Arne Fitzenreiter [Mon, 18 May 2020 20:19:16 +0000 (20:19 +0000)] 
core145: add ids-functions.pl

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoids-functions.pl: Fix generating of HOME_NET declaration
Stefan Schantl [Mon, 18 May 2020 19:15:54 +0000 (21:15 +0200)] 
ids-functions.pl: Fix generating of HOME_NET declaration

Fixes #12407.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agode: Fix typo in "received"
Michael Tremer [Mon, 18 May 2020 11:04:54 +0000 (11:04 +0000)] 
de: Fix typo in "received"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agofr: Add missing strings
Stéphane Pautrel [Mon, 18 May 2020 11:04:53 +0000 (11:04 +0000)] 
fr: Add missing strings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agomake.sh: Add command to find dependencies
Michael Tremer [Wed, 13 May 2020 10:52:59 +0000 (11:52 +0100)] 
make.sh: Add command to find dependencies

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoclamav: Update to 0.102.3
Matthias Fischer [Tue, 12 May 2020 19:29:32 +0000 (21:29 +0200)] 
clamav: Update to 0.102.3

For details see:
https://blog.clamav.net/2020/05/clamav-01023-security-patch-released.html

"ClamAV 0.102.3 is a bug patch release to address the following issues.

- CVE-2020-3327: Fix a vulnerability in the ARJ archive parsing module
in ClamAV 0.102.2 that could cause a Denial-of-Service (DoS) condition.
Improper bounds checking of an unsigned variable results in an
out-of-bounds read which causes a crash.

- CVE-2020-3341: Fix a vulnerability in the PDF parsing module in ClamAV
0.101 - 0.102.2 that could cause a Denial-of-Service (DoS) condition.
Improper size checking of a buffer used to initialize AES decryption
routines results in an out-of-bounds read which may cause a crash. Bug
found by OSS-Fuzz.

- Fix "Attempt to allocate 0 bytes" error when parsing some PDF
documents.

- Fix a couple of minor memory leaks.

- Updated libclamunrar to UnRAR 5.9.2."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>