]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
4 years agocore138: insert emergency core update for new intel vulnarabilities. core138 v2.23-core138
Arne Fitzenreiter [Fri, 15 Nov 2019 06:10:37 +0000 (06:10 +0000)] 
core138: insert emergency core update for new intel vulnarabilities.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agointel-microcode: update to 20191112
Peter Müller [Wed, 13 Nov 2019 19:18:00 +0000 (19:18 +0000)] 
intel-microcode: update to 20191112

For release notes, refer to:
- https://blogs.intel.com/technology/2019/11/ipas-november-2019-intel-platform-update-ipu/
- https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20191112

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agokernel: update to 4.14.154
Arne Fitzenreiter [Thu, 14 Nov 2019 21:12:12 +0000 (22:12 +0100)] 
kernel: update to 4.14.154

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agovulnearabilities.cgi: add tsx async abort and itlb_multihit
Arne Fitzenreiter [Thu, 14 Nov 2019 21:10:04 +0000 (22:10 +0100)] 
vulnearabilities.cgi: add tsx async abort and itlb_multihit

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agorename core138 -> core139 to insert a emergency core update
Arne Fitzenreiter [Thu, 14 Nov 2019 17:28:38 +0000 (17:28 +0000)] 
rename core138 -> core139 to insert a emergency core update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agointel-microcode: fix rootfile
Arne Fitzenreiter [Thu, 14 Nov 2019 01:55:46 +0000 (01:55 +0000)] 
intel-microcode: fix rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoTor: fix permissions of /var/ipfire/tor/torrc after installation
peter.mueller@ipfire.org [Tue, 29 Oct 2019 18:37:00 +0000 (18:37 +0000)] 
Tor: fix permissions of /var/ipfire/tor/torrc after installation

Fixes #12220

Reported-by: 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>
4 years agospeedtest-cli: Use Python 3 instead of Python 2
Michael Tremer [Mon, 28 Oct 2019 16:51:29 +0000 (16:51 +0000)] 
speedtest-cli: Use Python 3 instead of Python 2

This seems to be required although the documentation says
that Python 2 is supported.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agopython3: Bump release version to redistribute package
Michael Tremer [Mon, 28 Oct 2019 16:49:54 +0000 (16:49 +0000)] 
python3: Bump release version to redistribute package

Python 3 was linked against an old version of OpenSSL on my
system and to avoid this, we need to ship it again being built
against the current version of it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Do no classify as default when L7 filter isn't done core137 v2.23-core137
Michael Tremer [Tue, 22 Oct 2019 15:48:14 +0000 (17:48 +0200)] 
QoS: Do no classify as default when L7 filter isn't done

We need to allow some more packets to pass through the
mangle chains so that the layer 7 filter can determine
what protocol it finds.

If L7 filter decides that a connection is of type "unknown",
we mark it as default, or it is marked with the correct class.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "Revert "Revert "core137: Remove imq0 and unload imq module after QoS has...
Arne Fitzenreiter [Tue, 22 Oct 2019 15:54:37 +0000 (15:54 +0000)] 
Revert "Revert "Revert "core137: Remove imq0 and unload imq module after QoS has been stopped"""

This reverts commit e4d242da4ae1074b75d5d45eeb16061ba178f6c4.

this fails because we let QoS running and it doesn't like if the imq0
device was removed. (why imq0 can removed when it is up?)

4 years agobind: Update to 9.11.12
Matthias Fischer [Thu, 17 Oct 2019 11:29:57 +0000 (13:29 +0200)] 
bind: Update to 9.11.12

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

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agogrub: Build after Python is available
Michael Tremer [Thu, 17 Oct 2019 16:01:10 +0000 (16:01 +0000)] 
grub: Build after Python is available

The build sometimes aborted because python was not found
when Grub was being built for EFI.

Fixes: #12209
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "Revert "core137: Remove imq0 and unload imq module after QoS has been stopped""
Arne Fitzenreiter [Mon, 21 Oct 2019 19:00:19 +0000 (19:00 +0000)] 
Revert "Revert "core137: Remove imq0 and unload imq module after QoS has been stopped""

This reverts commit 39c4ed442714451e380d45c9837547a081a80f6f.

4 years agoQoS: Delete more unused iptables commands
Michael Tremer [Mon, 21 Oct 2019 18:45:39 +0000 (20:45 +0200)] 
QoS: Delete more unused iptables commands

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Drop support for setting TOS bits per class
Michael Tremer [Mon, 21 Oct 2019 18:45:37 +0000 (20:45 +0200)] 
QoS: Drop support for setting TOS bits per class

This is useless since no ISP will evaluate those settings
any more and it has a rather large impact on throughput.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: No longer set TOS bits for ACK packets
Michael Tremer [Mon, 21 Oct 2019 18:45:38 +0000 (20:45 +0200)] 
QoS: No longer set TOS bits for ACK packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Remove some IPsec rules which never worked
Michael Tremer [Mon, 21 Oct 2019 18:45:36 +0000 (20:45 +0200)] 
QoS: Remove some IPsec rules which never worked

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Classify incoming traffic in PREROUTING
Michael Tremer [Mon, 21 Oct 2019 18:45:35 +0000 (20:45 +0200)] 
QoS: Classify incoming traffic in PREROUTING

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Use CONNMARK to mark connections in connection tracking
Daniel Weismüller [Mon, 21 Oct 2019 18:45:34 +0000 (20:45 +0200)] 
QoS: Use CONNMARK to mark connections in connection tracking

This patch modifies the connection tracking in that ways that
it sets a connection mark which will be retrieved when a packet
is being redirected to the IFB interface.

This way, we can use classification without having the packet
being sent through iptables first.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "Make IMQ Switchable between PREROUTING and POSTROUTING"
Michael Tremer [Mon, 21 Oct 2019 18:45:33 +0000 (20:45 +0200)] 
Revert "Make IMQ Switchable between PREROUTING and POSTROUTING"

This reverts commit 88b8ffac6b258e7b7687eb26111134bf435e23ca.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Drop support for subclasses
Michael Tremer [Mon, 21 Oct 2019 18:45:32 +0000 (20:45 +0200)] 
QoS: Drop support for subclasses

This feature was never properly implemented and the UI was dead

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Suppress an error message when cleaning up from previous runs
Michael Tremer [Mon, 21 Oct 2019 18:45:31 +0000 (20:45 +0200)] 
QoS: Suppress an error message when cleaning up from previous runs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agolinux+iptables: Drop support for IMQ
Michael Tremer [Mon, 21 Oct 2019 18:45:30 +0000 (20:45 +0200)] 
linux+iptables: Drop support for IMQ

This is no longer needed since we are using IFB now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Do not delete egress qdisc after classes have been created
Michael Tremer [Mon, 21 Oct 2019 18:45:29 +0000 (20:45 +0200)] 
QoS: Do not delete egress qdisc after classes have been created

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Start qosd immediately
Michael Tremer [Mon, 21 Oct 2019 18:45:28 +0000 (20:45 +0200)] 
QoS: Start qosd immediately

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Tidy up qdiscs after QoS is being stopped
Michael Tremer [Mon, 21 Oct 2019 18:45:27 +0000 (20:45 +0200)] 
QoS: Tidy up qdiscs after QoS is being stopped

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Use Intermediate Functional Block
Michael Tremer [Mon, 21 Oct 2019 18:45:26 +0000 (20:45 +0200)] 
QoS: Use Intermediate Functional Block

This is an alternative implementation to the Intermediate Queuing
Device (IMQ) which is an out-of-tree kernel patch and has been
criticised for being slow, especially with mutliple processors.

IFB is part of the mainline kernel and a lot less code.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Do not manually load iptables modules
Michael Tremer [Mon, 21 Oct 2019 18:45:25 +0000 (20:45 +0200)] 
QoS: Do not manually load iptables modules

This should not be necessary and causes the script to
wait for two seconds.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: remove QoS stop at update
Arne Fitzenreiter [Sun, 20 Oct 2019 20:29:50 +0000 (20:29 +0000)] 
core137: remove QoS stop at update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "core137: Remove imq0 and unload imq module after QoS has been stopped"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:28:10 +0000 (20:28 +0000)] 
Revert "core137: Remove imq0 and unload imq module after QoS has been stopped"

This reverts commit f48920d84f72235c5141e32772d5c8a447f9900e.

4 years agoRevert "QoS: Do not manually load iptables modules"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:25:24 +0000 (20:25 +0000)] 
Revert "QoS: Do not manually load iptables modules"

This reverts commit cae6916d598b08d79d91e92733f676be4a4bb10c.

4 years agoRevert "QoS: Use Intermediate Functional Block"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:24:43 +0000 (20:24 +0000)] 
Revert "QoS: Use Intermediate Functional Block"

This reverts commit 3c33d9d8545c46d2446244e7d20eb25f3d2f2d90.

4 years agoRevert "Revert "Make IMQ Switchable between PREROUTING and POSTROUTING""
Arne Fitzenreiter [Sun, 20 Oct 2019 20:24:16 +0000 (20:24 +0000)] 
Revert "Revert "Make IMQ Switchable between PREROUTING and POSTROUTING""

This reverts commit ec01ebe246072cae77bc53d3c1fc09ad8277a89f.

4 years agoRevert "QoS: Tidy up qdiscs after QoS is being stopped"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:23:54 +0000 (20:23 +0000)] 
Revert "QoS: Tidy up qdiscs after QoS is being stopped"

This reverts commit eedf7b06c0c4a598b78dd87edb0f49a7f2bb061c.

4 years agoRevert "QoS: Process incoming packets in PREROUTING only"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:23:13 +0000 (20:23 +0000)] 
Revert "QoS: Process incoming packets in PREROUTING only"

This reverts commit e6341c5856ad6d7ed390d1a9ffbfadf449daebd8.

4 years agoRevert "QoS: Do not delete egress qdisc after classes have been created"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:21:53 +0000 (20:21 +0000)] 
Revert "QoS: Do not delete egress qdisc after classes have been created"

This reverts commit 39ff91ecf8d22a4752e3eeef8ae5cf60e497cb44.

4 years agoRevert "QoS: Start qosd immediately"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:21:23 +0000 (20:21 +0000)] 
Revert "QoS: Start qosd immediately"

This reverts commit 6a9bcd6c1d7ac0f8f4926a886beb8b3989227874.

4 years agoRevert "linux+iptables: Drop support for IMQ"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:20:26 +0000 (20:20 +0000)] 
Revert "linux+iptables: Drop support for IMQ"

This reverts commit 59b9a6bd22c0a5236b291ad7a50395032d600739.

4 years agoRevert "QoS: Suppress an error message when cleaning up from previous runs"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:19:58 +0000 (20:19 +0000)] 
Revert "QoS: Suppress an error message when cleaning up from previous runs"

This reverts commit cebad6e2b938071e1da2bea9dfa3fe09169ee5a0.

4 years agoRevert "QoS: Move packet classification to FORWARD chain for ingress"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:19:21 +0000 (20:19 +0000)] 
Revert "QoS: Move packet classification to FORWARD chain for ingress"

This reverts commit 424a332fd38ab844094d3e978cf5e159ead64b6c.

4 years agoRevert "QoS: Use CLASSIFY iptables target instead of MARK"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:18:56 +0000 (20:18 +0000)] 
Revert "QoS: Use CLASSIFY iptables target instead of MARK"

This reverts commit 3e151d19f9b813206e36da6b66fdc8cc99cdd26f.

4 years agoRevert "QoS: Drop tc filter rules to move marked packets into the correct class"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:18:34 +0000 (20:18 +0000)] 
Revert "QoS: Drop tc filter rules to move marked packets into the correct class"

This reverts commit 63f7d7475e97d74d4bcd23bd739b6b1721e55e14.

4 years agoRevert "QoS: Drop support for subclasses"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:18:00 +0000 (20:18 +0000)] 
Revert "QoS: Drop support for subclasses"

This reverts commit bc4d4da87009ebffcd93d30dcbfffff797b92588.

4 years agoRevert "QoS: Drop support for setting TOS bits per class"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:17:18 +0000 (20:17 +0000)] 
Revert "QoS: Drop support for setting TOS bits per class"

This reverts commit 3174d9c6b610c1f1ce1e7a8828a4575def2e2392.

4 years agoRevert "QoS: No longer set TOS bits for ACK packets"
Arne Fitzenreiter [Sun, 20 Oct 2019 20:16:05 +0000 (20:16 +0000)] 
Revert "QoS: No longer set TOS bits for ACK packets"

This reverts commit b1c695e872f0b1968dadee7fc38cf3258423c3ac.

4 years agocore137: don't start QoS
Arne Fitzenreiter [Sun, 20 Oct 2019 09:51:04 +0000 (09:51 +0000)] 
core137: don't start QoS

QoS need to load kernel modules but the currect kernel
was removed so it cannot correct start without a reboot.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: Remove imq0 and unload imq module after QoS has been stopped
Daniel Weismüller [Fri, 18 Oct 2019 14:59:49 +0000 (16:59 +0200)] 
core137: Remove imq0 and unload imq module after QoS has been stopped

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agokernel: update to 4.14.150
Arne Fitzenreiter [Fri, 18 Oct 2019 21:07:44 +0000 (23:07 +0200)] 
kernel: update to 4.14.150

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "suricata: Enable rust support"
Arne Fitzenreiter [Fri, 18 Oct 2019 18:39:47 +0000 (20:39 +0200)] 
Revert "suricata: Enable rust support"

This reverts commit 5b87687cb1d37d81dbc701706e40f40f2cb16348.

4 years agorust: disabled build
Arne Fitzenreiter [Fri, 18 Oct 2019 18:37:50 +0000 (20:37 +0200)] 
rust: disabled build

rust build code with illegal instructions on armv5tel
so this need more checking

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add path of qosctrl
Arne Fitzenreiter [Fri, 18 Oct 2019 14:19:59 +0000 (16:19 +0200)] 
core137: add path of qosctrl

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: erase lm_sensors config after collectd start
Arne Fitzenreiter [Fri, 18 Oct 2019 14:16:35 +0000 (16:16 +0200)] 
core137: erase lm_sensors config after collectd start

this is needed to research the sensors with updated kernel
after next reboot.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "firewall: always allow outgoing DNS traffic to root servers"
Arne Fitzenreiter [Fri, 18 Oct 2019 14:13:49 +0000 (16:13 +0200)] 
Revert "firewall: always allow outgoing DNS traffic to root servers"

This reverts commit 70cd5c42f003292bd1ecb9e38018782679dbd01e.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "dhcpcd: Update to 8.0.2"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:50:12 +0000 (07:50 +0000)] 
Revert "dhcpcd: Update to 8.0.2"

This reverts commit 0184e5806da57226bbe24dbcbf11b093299cb9f4.

4 years agoRevert "dhcpcd: Update to 8.0.3"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:49:31 +0000 (07:49 +0000)] 
Revert "dhcpcd: Update to 8.0.3"

This reverts commit 8a001e556c02af3f34eacead4e8a44f482a67509.

4 years agoRevert "dhcpcd: Update to 8.0.6"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:48:56 +0000 (07:48 +0000)] 
Revert "dhcpcd: Update to 8.0.6"

This reverts commit a4bb11243f0d43b7e95ec0195879aa0dd6a94b9e.

4 years agoRevert "dhcpcd: Update to 8.1.0"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:48:12 +0000 (07:48 +0000)] 
Revert "dhcpcd: Update to 8.1.0"

This reverts commit 4863f2096cde6fd93618d1f774c6d16499ee3f63.

4 years agoRevert "bash: update to 5.0"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:38:21 +0000 (07:38 +0000)] 
Revert "bash: update to 5.0"

This reverts commit 700f11b305e941bb42b0a0b4e451af962b1bc23d.

4 years agoRevert "readline: update to 8.0"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:37:54 +0000 (07:37 +0000)] 
Revert "readline: update to 8.0"

This reverts commit 6e8e8ee41cfcec7338a5674c21c0e8aa62a59a04.

4 years agoRevert "update rootfiles for bash and readline"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:37:23 +0000 (07:37 +0000)] 
Revert "update rootfiles for bash and readline"

This reverts commit f41d936026b576ef7207754fa1d667d983fded06.

4 years agoRevert "bash: add patches 001 - 011 for 5.0 version"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:36:47 +0000 (07:36 +0000)] 
Revert "bash: add patches 001 - 011 for 5.0 version"

This reverts commit 2c0ee2b9624c4c7c3b3ce7b1deadae9df6ca9a32.

4 years agoRevert "readline: add patch 001 for version 8.0"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:36:00 +0000 (07:36 +0000)] 
Revert "readline: add patch 001 for version 8.0"

This reverts commit c5f0c44451737c543021e4ba958404a019ed7562.

4 years agoRevert "bash/readline: drop orphaned patches"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:35:22 +0000 (07:35 +0000)] 
Revert "bash/readline: drop orphaned patches"

This reverts commit 95f1c332d8c63896b540c3a07335236ef08cee01.

4 years agoRevert "ship updated bash and readline"
Arne Fitzenreiter [Tue, 15 Oct 2019 07:31:56 +0000 (07:31 +0000)] 
Revert "ship updated bash and readline"

there are missing files libs/bash/* in the rootfiles and there
are addons linked against readline-6.3 so we still need this
as readline-compat

This reverts commit 5c0345f5c1c247c8fc33c9447221caa134f27d86.

4 years agovpnmain.cgi+ovpnmain.cgi: Fix file upload with new versions of Perl
Michael Tremer [Mon, 14 Oct 2019 17:11:37 +0000 (19:11 +0200)] 
vpnmain.cgi+ovpnmain.cgi: Fix file upload with new versions of Perl

File uploads did not work since Perl was upgraded. This patch
fixes that problem by only checking if an object was returned
instead of performing a string comparison.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add qos changes to updater
Arne Fitzenreiter [Mon, 14 Oct 2019 18:09:39 +0000 (18:09 +0000)] 
core137: add qos changes to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Increase queue size and quantum for fq_codel
Michael Tremer [Mon, 14 Oct 2019 16:46:27 +0000 (16:46 +0000)] 
QoS: Increase queue size and quantum for fq_codel

This optimises the QoS to process more bandwidth.

The limit variable sets the maximum number of packets in the
queue which was regularly exceeded on fast connections with
the old setting. This now allows up to 10G of data transfer
and is set to the default of fq_codel.

Quantum sets how many bytes can be read from the queue per
iteration. This is now set to the default again, which is
the size of an Ethernet frame including its header.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: No longer set TOS bits for ACK packets
Michael Tremer [Mon, 14 Oct 2019 16:46:26 +0000 (16:46 +0000)] 
QoS: No longer set TOS bits for ACK packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Drop support for setting TOS bits per class
Michael Tremer [Mon, 14 Oct 2019 16:46:25 +0000 (16:46 +0000)] 
QoS: Drop support for setting TOS bits per class

This is useless since no ISP will evaluate those settings
any more and it has a rather large impact on throughput.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Drop support for subclasses
Michael Tremer [Mon, 14 Oct 2019 16:46:24 +0000 (16:46 +0000)] 
QoS: Drop support for subclasses

This feature was never properly implemented and the UI was dead

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Drop tc filter rules to move marked packets into the correct class
Michael Tremer [Mon, 14 Oct 2019 16:46:23 +0000 (16:46 +0000)] 
QoS: Drop tc filter rules to move marked packets into the correct class

This is no longer necessary since we are now using CLASSIFY

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Use CLASSIFY iptables target instead of MARK
Michael Tremer [Mon, 14 Oct 2019 16:46:22 +0000 (16:46 +0000)] 
QoS: Use CLASSIFY iptables target instead of MARK

We have been running into loads of conflicts by using MARK for
various components on the OS (suricata, IPsec, QoS, ...) which
was sometimes hard to resolve.

iptables comes with a target which directly sorts packets into
the correct class which results in less code and not using the
mark.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Move packet classification to FORWARD chain for ingress
Michael Tremer [Mon, 14 Oct 2019 16:46:21 +0000 (16:46 +0000)] 
QoS: Move packet classification to FORWARD chain for ingress

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Suppress an error message when cleaning up from previous runs
Michael Tremer [Mon, 14 Oct 2019 16:46:20 +0000 (16:46 +0000)] 
QoS: Suppress an error message when cleaning up from previous runs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agolinux+iptables: Drop support for IMQ
Michael Tremer [Mon, 14 Oct 2019 16:46:19 +0000 (16:46 +0000)] 
linux+iptables: Drop support for IMQ

This is no longer needed since we are using IFB now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Start qosd immediately
Michael Tremer [Mon, 14 Oct 2019 16:46:17 +0000 (16:46 +0000)] 
QoS: Start qosd immediately

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Do not delete egress qdisc after classes have been created
Michael Tremer [Mon, 14 Oct 2019 16:46:18 +0000 (16:46 +0000)] 
QoS: Do not delete egress qdisc after classes have been created

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Silence RRD tool warnings
Michael Tremer [Mon, 14 Oct 2019 16:46:16 +0000 (16:46 +0000)] 
QoS: Silence RRD tool warnings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Process incoming packets in PREROUTING only
Michael Tremer [Mon, 14 Oct 2019 16:46:15 +0000 (16:46 +0000)] 
QoS: Process incoming packets in PREROUTING only

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Tidy up qdiscs after QoS is being stopped
Michael Tremer [Mon, 14 Oct 2019 16:46:14 +0000 (16:46 +0000)] 
QoS: Tidy up qdiscs after QoS is being stopped

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "Make IMQ Switchable between PREROUTING and POSTROUTING"
Michael Tremer [Mon, 14 Oct 2019 16:46:13 +0000 (16:46 +0000)] 
Revert "Make IMQ Switchable between PREROUTING and POSTROUTING"

This reverts commit 88b8ffac6b258e7b7687eb26111134bf435e23ca.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Use Intermediate Functional Block
Michael Tremer [Mon, 14 Oct 2019 16:46:12 +0000 (16:46 +0000)] 
QoS: Use Intermediate Functional Block

This is an alternative implementation to the Intermediate Queuing
Device (IMQ) which is an out-of-tree kernel patch and has been
criticised for being slow, especially with mutliple processors.

IFB is part of the mainline kernel and a lot less code.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoQoS: Do not manually load iptables modules
Michael Tremer [Mon, 14 Oct 2019 16:46:11 +0000 (16:46 +0000)] 
QoS: Do not manually load iptables modules

This should not be necessary and causes the script to
wait for two seconds.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add updated sysctl.conf
Arne Fitzenreiter [Mon, 14 Oct 2019 17:57:58 +0000 (17:57 +0000)] 
core137: add updated sysctl.conf

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agosysctl: Adopt more settings from the IBM HPC guidelines
Michael Tremer [Mon, 14 Oct 2019 16:44:54 +0000 (16:44 +0000)] 
sysctl: Adopt more settings from the IBM HPC guidelines

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Welcome%20to%20High%20Performance%20Computing%20%28HPC%29%20Central/page/Linux%20System%20Tuning%20Recommendations

Since we have already configured most of our IP/TCP stack
for low latency and fast throughput, these settings complete
those efforts.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add updated 99-geoip-database
Arne Fitzenreiter [Mon, 14 Oct 2019 17:49:32 +0000 (17:49 +0000)] 
core137: add updated 99-geoip-database

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years ago99-geoip-database: Fix download
Michael Tremer [Mon, 14 Oct 2019 16:43:58 +0000 (16:43 +0000)] 
99-geoip-database: Fix download

This script started a fresh download every time it was called,
which is unnecessary.

The check to skip the download did not work because it was
looking for the old data format.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add updated xt_geoip_update
Arne Fitzenreiter [Mon, 14 Oct 2019 17:46:27 +0000 (17:46 +0000)] 
core137: add updated xt_geoip_update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoxt_geoip_update: Always call the cleanup function when some step fails
Daniel Weismüller [Mon, 14 Oct 2019 14:47:56 +0000 (16:47 +0200)] 
xt_geoip_update: Always call the cleanup function when some step fails

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoxt_geoip_update: Do not create temporary directories again
Daniel Weismüller [Mon, 14 Oct 2019 14:47:55 +0000 (16:47 +0200)] 
xt_geoip_update: Do not create temporary directories again

These already exist

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoxt_geoip_update: Use /var/tmp for temporary data
Daniel Weismüller [Mon, 14 Oct 2019 14:47:54 +0000 (16:47 +0200)] 
xt_geoip_update: Use /var/tmp for temporary data

Since we have some systems that are restricted to only 2GB of
space on /, we need to move this to where we have enough space.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoxt_geoip_update: Perform cleanup after successful operation
Daniel Weismüller [Mon, 14 Oct 2019 14:47:53 +0000 (16:47 +0200)] 
xt_geoip_update: Perform cleanup after successful operation

The temporary files were never being cleaned up after the script
has finished compiling the database.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add dns.cgi to update
Arne Fitzenreiter [Mon, 14 Oct 2019 17:42:35 +0000 (17:42 +0000)] 
core137: add dns.cgi to update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agofix link to public DNS server list in dns.cgi
peter.mueller@ipfire.org [Sun, 13 Oct 2019 11:13:00 +0000 (11:13 +0000)] 
fix link to public DNS server list in dns.cgi

Fixes: #11851
Reported-by: Dani W <assgex@gmail.com>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agofix typo in hostapd initscript
peter.mueller@ipfire.org [Sun, 13 Oct 2019 11:09:00 +0000 (11:09 +0000)] 
fix typo in hostapd initscript

Fixes: #11237
Reported-by: Tom Rymes <tomvend@rymes.com>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agorust: fix year in LFS file
peter.mueller@ipfire.org [Sun, 13 Oct 2019 09:39:00 +0000 (09:39 +0000)] 
rust: fix year in LFS file

Tempus fugit, I know... :-)

Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add updated ruleset-sources
Arne Fitzenreiter [Mon, 14 Oct 2019 17:36:36 +0000 (17:36 +0000)] 
core137: add updated ruleset-sources

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoruleset-sources: Update snort dl urls.
Stefan Schantl [Fri, 11 Oct 2019 18:44:00 +0000 (20:44 +0200)] 
ruleset-sources: Update snort dl urls.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore137: add updated backup.pl
Arne Fitzenreiter [Mon, 14 Oct 2019 17:30:37 +0000 (17:30 +0000)] 
core137: add updated backup.pl

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>