Commit Graph

11310 Commits

Author SHA1 Message Date
Justin Luth
e331e22bda updxlrator: show hostaddr in debuglog
There is nowhere in the debuglog any indication of
which client is requesting the file that updxlrator
is providing (or caching). Especially for those
huge Windows 10 downloads, it is valuable to
see which client is requesting them, especially
when the same client requests the same download
multiple times a second.

This only impacts users who turn on debugging.

Signed-off-by: Justin Luth  <jluth@mail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:49:47 +00:00
Justin Luth
329631dee9 Fix bug 11558 updxlrator: use mirror mode for SHA1, filenames
Most Microsoft updates now contain an SHA1 hash in the filename.
Since these files are uniquely identifiable, use mirror mode
(which creates a hash of just the filename instead of the entire URL)
to cache them. (But first check the URL cache to see if it
has been downloaded as a URL already.)

This is a HUGELY needed fix. Windows 10 updates are 5+ GB
per month, and we lose several days of bandwidth downloading
duplicates from different mirrors. Sometimes a single client
will request the same patch from multiple mirrors. That's bad.
This patch will save a ton of bandwidth, and lots of disk space.

The patch limits the SHA1 test to microsoft only, but it
could be easily expanded to other vendors if there is a need.

Signed-off-by: Justin Luth  <jluth@mail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:47:03 +00:00
Michael Tremer
645da4f33d core118: Ship updated update accelerator
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:28:28 +00:00
Justin Luth
39c0b5b3bc Fix bug 10504: match download's sourceurl mangling in, updxlrator
Updatexlrator stores its files in a hash of the URL.

The download utility mangles the URL for [+/~], but
the updxlrator only does it for [/]. Thus, download
stores the result as one hash, and updxlrator looks for it
with a different hash. The result is that the file is
re-downloaded every time by both the client, and updxlrator.

This is fixed by making updxlrator mangle the url in the
same way as the downloader. apt-get install g++ would
be a good test for this.

Signed-off-by: Justin Luth  <jluth@mail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:27:47 +00:00
Michael Tremer
e7bf3de34b core118: Ship updated ids.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:22:27 +00:00
Matthias Fischer
9d79aea24b snort 2.9.11.1: 'ids.cgi' - Update for snort rules download url
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:21:51 +00:00
Michael Tremer
d093117fe4 core118: Ship updated snort
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:21:35 +00:00
Matthias Fischer
74713741e6 snort: Update to 2.9.11.1
For details see:

Release notes:
https://snort.org/downloads/snort/release_notes_2.9.11.1.txt

Changelog:
https://snort.org/downloads/snort/changelog_2.9.11.1.txt

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:20:32 +00:00
Michael Tremer
375c4480d7 core118: Ship updated fireinfo.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:19:12 +00:00
Peter Müller
ff9fdd6388 use HTTPS for links to fireinfo.ipfire.org
Since fireinfo.ipfire.org is now supporting HTTPS, the
links in the WebUI should point to the secure version of the site.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:18:33 +00:00
Peter Müller
15f7b86597 ship updated showrequestfromcountry.cgi file
Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:17:43 +00:00
Peter Müller
d894ef3615 fix GeoIP lookup in showrequestfromcountry.dat
This issue was caused by the rewrite of the perl GeoIP
library.

Fixes #11571.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Tested-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:17:11 +00:00
Michael Tremer
bc6257f490 Update rootfiles
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 18:04:47 +00:00
Michael Tremer
11f0b6923b core118: Drop PHP files in updater
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:45:37 +00:00
Michael Tremer
66b2fabd40 core118: Restart apache to drop PHP module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:41:32 +00:00
Michael Tremer
91bd66d6d1 Drop PHP
This is no longer needed and in the telephone conference
on Dec 4th, it was decided to drop it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:37:25 +00:00
Michael Tremer
333915f5cf Drop owncloud
We are going to remove PHP and owncloud requires it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:28:59 +00:00
Michael Tremer
fbcb5b749a Drop mediatomb
This didn't build and run in ages and has been removed from
the repositories quite a while ago.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:26:33 +00:00
Michael Tremer
6024182b88 Drop openmailadmin config (forgot this last time)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:24:21 +00:00
Michael Tremer
136006b3ae Rootfiles update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-05 13:19:05 +00:00
Arne Fitzenreiter
cbcc135126 make.sh: lowering parallel buildprocesses
higher values raise the system load but not speedup the build

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-12-18 16:48:13 +01:00
Michael Tremer
a412f472d9 Drop tunctl
We don't use this at all

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:39:31 +00:00
Michael Tremer
d7dde64550 Drop phpSANE
The upstream project is dead.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:38:01 +00:00
Michael Tremer
b2d4fa028f Drop cacti
This package was discontinued upstream and seems to be
a bit more lively again. However, nobody of the team
wants to maintain cacti. Therefore this is being dropped
for now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:35:12 +00:00
Michael Tremer
f3ddea42c6 Drop openmailadmin package
This is EOL upstream for over ten years now and therefore
we cannot continue to support this either.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:33:05 +00:00
Michael Tremer
4d86ce7021 Drop nagios
This is no longer maintained and icinga is available.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:31:47 +00:00
Michael Tremer
4ae71b37d4 nagios nrpe: Depend on nagios-plugins package instead of main nagios package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:29:43 +00:00
Michael Tremer
2af354c264 Decouple nagios-plugins from icinga
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:29:06 +00:00
Michael Tremer
097118e567 core118: Reload apache to make configuration changes take effect
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:18:45 +00:00
Peter Müller
eb6d71514a prevent loading resources from external sites
Make Apache transmit a CSP (Content Security Policy) header
for WebUI and Captive Portal contents.

This prevents some XSS and content injection attacks, especially
in case no transport encryption (Captive Portal!) can be used.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:18:39 +00:00
Michael Tremer
7ddfc686e2 core118: Add changed apache configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:16:54 +00:00
Peter Müller
0cabaf35c2 prevent IE from interpreting HTML MIME type
Add X-Content-Type-Options header to prevent Internet Explorer
from interpreting the MIME type of a server answer on its own,
which could lead to security risks.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-16 12:16:12 +00:00
Michael Tremer
f451d465fb Drop nagiosql
This is no longer maintained any more and therefore being dropped

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 17:48:24 +00:00
Peter Müller
6fc0f5eb92 mark 3DES and 1024 bit DH params as weak
These are not considered secure anymore but are unfortunately
still needed in some cases (legacy hardware, ...).

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 17:46:13 +00:00
Michael Tremer
ba03193ba7 fireinfo: Update to 2.1.12
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 17:44:20 +00:00
Michael Tremer
88d04bd159 core118: Ship updated language files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 16:47:01 +00:00
Peter Müller
b62299702b update german translations
Correct some grammar errors and unify spelling of interface names (GREEN vs. GRÜN).

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 16:45:51 +00:00
Michael Tremer
1b5da98231 core118: Ship updated openssh
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 16:44:44 +00:00
Peter Müller
ba7cd7b624 openssh: update to 7.6p1
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 16:43:04 +00:00
Peter Müller
7ebf5dfe4f update tor to 0.3.1.9
Release Notes: https://gitweb.torproject.org/tor.git/plain/ReleaseNotes?id=tor-0.3.1.9

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 15:59:31 +00:00
Michael Tremer
1068c3e755 Start Core Update 118
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-14 15:55:54 +00:00
Arne Fitzenreiter
9559fb0860 finish core117
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-12-12 21:36:25 +01:00
Michael Tremer
396ff12342 pakfire: Properly check if we have our key with our fingerprint
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-12 19:40:01 +00:00
Michael Tremer
73b2988ae4 pakfire: Drop importing CACert's PGP key
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-12 19:28:16 +00:00
Arne Fitzenreiter
979f8700b2 make.sh limit build to 23 parallel threads.
perl will not work with more parallel build processes.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-12-10 08:18:06 +01:00
Arne Fitzenreiter
ce9264a1c1 strip: use toolchain binary inside of chroot to strip
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-12-10 07:59:43 +01:00
Michael Tremer
51d1e9ce4d openssl: Update to 1.0.2n
OpenSSL Security Advisory [07 Dec 2017]
========================================

Read/write after SSL object in error state (CVE-2017-3737)
==========================================================

Severity: Moderate

OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an "error state"
mechanism. The intent was that if a fatal error occurred during a handshake then
OpenSSL would move into the error state and would immediately fail if you
attempted to continue the handshake. This works as designed for the explicit
handshake functions (SSL_do_handshake(), SSL_accept() and SSL_connect()),
however due to a bug it does not work correctly if SSL_read() or SSL_write() is
called directly. In that scenario, if the handshake fails then a fatal error
will be returned in the initial function call. If SSL_read()/SSL_write() is
subsequently called by the application for the same SSL object then it will
succeed and the data is passed without being decrypted/encrypted directly from
the SSL/TLS record layer.

In order to exploit this issue an application bug would have to be present that
resulted in a call to SSL_read()/SSL_write() being issued after having already
received a fatal error.

This issue does not affect OpenSSL 1.1.0.

OpenSSL 1.0.2 users should upgrade to 1.0.2n

This issue was reported to OpenSSL on 10th November 2017 by David Benjamin
(Google). The fix was proposed by David Benjamin and implemented by Matt Caswell
of the OpenSSL development team.

rsaz_1024_mul_avx2 overflow bug on x86_64 (CVE-2017-3738)
=========================================================

Severity: Low

There is an overflow bug in the AVX2 Montgomery multiplication procedure
used in exponentiation with 1024-bit moduli. No EC algorithms are affected.
Analysis suggests that attacks against RSA and DSA as a result of this defect
would be very difficult to perform and are not believed likely. Attacks
against DH1024 are considered just feasible, because most of the work
necessary to deduce information about a private key may be performed offline.
The amount of resources required for such an attack would be significant.
However, for an attack on TLS to be meaningful, the server would have to share
the DH1024 private key among multiple clients, which is no longer an option
since CVE-2016-0701.

This only affects processors that support the AVX2 but not ADX extensions
like Intel Haswell (4th generation).

Note: The impact from this issue is similar to CVE-2017-3736, CVE-2017-3732
and CVE-2015-3193.

Due to the low severity of this issue we are not issuing a new release of
OpenSSL 1.1.0 at this time. The fix will be included in OpenSSL 1.1.0h when it
becomes available. The fix is also available in commit e502cc86d in the OpenSSL
git repository.

OpenSSL 1.0.2 users should upgrade to 1.0.2n

This issue was reported to OpenSSL on 22nd November 2017 by David Benjamin
(Google). The issue was originally found via the OSS-Fuzz project. The fix was
developed by Andy Polyakov of the OpenSSL development team.

Note
====

Support for version 1.0.1 ended on 31st December 2016. Support for versions
0.9.8 and 1.0.0 ended on 31st December 2015. Those versions are no longer
receiving security updates.

References
==========

URL for this Security Advisory:
https://www.openssl.org/news/secadv/20171207.txt

Note: the online version of the advisory may be updated with additional details
over time.

For details of OpenSSL severity classifications please see:
https://www.openssl.org/policies/secpolicy.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-08 13:58:26 +00:00
Matthias Fischer
db9f57143f pakfire - 'functions.pl': fixed typo
Just read this typo in a forum posting. Couldn't resist...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-05 17:03:36 +00:00
Matthias Fischer
8f6e4eaff7 Update for numerous lfs-files: removed deprecated configure options
Also includes some reformatting, but no changes to configuration.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-05 17:02:24 +00:00
Michael Tremer
3a44597467 OpenVPN: Allow to set routes to IPsec networks
This makes hub-and-spoke designs with OpenVPN RW and
IPsec N2N easier to configure

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-04 17:51:53 +00:00