Commit Graph

11268 Commits

Author SHA1 Message Date
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
Michael Tremer
af183eeb78 IPsec: Allow configuring inactivity timeout when in on-demand mode
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-04 17:31:53 +00:00
Michael Tremer
8c6b02e7f6 IPsec: Drop support for MODP with subgroup
These come from questionable sources and are not considered
to be secure any more: https://eprint.iacr.org/2016/961

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-04 13:12:38 +00:00
Michael Tremer
7da47c3ef9 core117: Ship updated CGI files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:25:09 +00:00
Peter Müller
ea4620fc4a display GeoIP information on active network connections
Display GeoIP information on active network connections in WebUI.
Use newly implemented function in /var/ipfire/geoip-functions.pl .

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:24:29 +00:00
Peter Müller
9b5a17bf94 display GeoIP information on ipinfo.cgi
Display GeoIP information on ipinfo.cgi and use newly implemented
function in /var/ipfire/geoip-functions.pl .

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:24:19 +00:00
Michael Tremer
e5efd99893 core117: Ship updated sudo package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:23:39 +00:00
Matthias Fischer
68a7683a35 mc: Update to 4.8.20
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:23:19 +00:00
Matthias Fischer
3951a1135f sudo: Fix for lfs-file (Typo)
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:23:16 +00:00
Matthias Fischer
c26966bf71 nano: Update to 2.9.1
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:23:02 +00:00
Michael Tremer
421ba804aa Drop separate ffmpeg-libs package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-02 12:22:00 +00:00
Michael Tremer
7b93b62bc8 strip: Explicitely call right binaries
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-01 16:31:25 +00:00
Michael Tremer
63bc6600f8 ffmpeg: Update to 3.4
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-01 15:42:47 +00:00
Michael Tremer
7dede5abef nasm: Update to 2.13.02
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-01 15:42:30 +00:00
Michael Tremer
14d0e151b6 Update strongswan rootfile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-30 16:09:48 +00:00
Michael Tremer
b269686f88 misc-progs: syslogdctrl: Fix data type of protocol variable
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-30 14:36:28 +00:00
Michael Tremer
a679c56367 core117: Regenerate language cache
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:41:16 +00:00
Michael Tremer
3eaba41041 core117: Ship updated strongswan
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:40:53 +00:00
Michael Tremer
87ad0c591b strongswan: Update to 5.6.1
Drop support for Padlock which is not in wide usage
any more and creates some rootfile trouble every time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:39:04 +00:00
Michael Tremer
4406bd1525 English is the reference language
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:15:41 +00:00
Michael Tremer
b429cc66cb captive: Translate times for coupon expiry time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:11:58 +00:00
Michael Tremer
b0b6367633 core117: Ship updated netexternal.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:06:01 +00:00
Peter Müller
297110d460 add GeoIP and rDNS information to used nameservers
Add GeoIP and rDNS information to DNS nameserver list at netexternal.cgi

Use newly implemented GeoIP function in /var/ipfire/geoip-functions.pl

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:05:43 +00:00
Michael Tremer
2aec53386a core117: Ship updated ids.dat
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:04:05 +00:00
Peter Müller
5b4be0f18f show IDS rule names correctly in WebUI log
The WebUI IDS log did not display the rule name for alerts
where a signature with a five digit number was triggered
(some Emerging Threats signatures are using them).

Changing the regular expression so it will match on five
digit SIDs, too.

Fixes #11519.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:03:42 +00:00
Michael Tremer
a7fd6293ef core117: Ship updated index.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:02:50 +00:00
Peter Müller
e15d5f25c6 link to DNS server status page on index.cgi
Show a link to the DNS server status at netexternal.cgi
on index.cgi in WebUI.

For the lazy ones... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:02:13 +00:00
Peter Müller
fb6446d292 correct wrong headline at hardwaregraphs.cgi
The page description (title and headline) should print
"hardware graphs" instead of only mentioning HDDs.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:01:30 +00:00
Michael Tremer
877caaf5c6 core117: Ship updated netother.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:00:33 +00:00
Michael Tremer
f62c07033c Update translations
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 12:00:13 +00:00
Peter Müller
d49f6fdca9 translate 'firewall hits' at netother.cgi
Also translate 'firewall hits' at the network status
(other) page in WebUI.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:59:49 +00:00
Michael Tremer
545ddb9360 core117: Ship updated credits.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:59:08 +00:00
Peter Müller
7f7b7b24b0 update links to www.ipfire.org at credits.cgi
The links to the IPFire homepage in the credits.cgi file should
point to the HTTPS version of the site now.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:58:48 +00:00
Michael Tremer
0545cba708 captive: Escape any special characters in title on PDF vouchers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:57:55 +00:00
Michael Tremer
6bd3a13121 make.sh: Create /tools_${arch} link only when building a toolchain
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-29 11:54:37 +00:00
Michael Tremer
e5af95135b core117: Ship latest updates of syslogging
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:49:25 +00:00
Peter Müller
2e94e04ec0 add language strings
Add language strings for changed config.dat CGI file.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:47:49 +00:00
Peter Müller
817af14fd2 allow changing remote syslog protocol to TCP
Add option to change remote syslog protocol to TCP, which
is more reliable than UDP, but might be unsupported  on
older syslog servers.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:46:01 +00:00
Peter Müller
cbd1f0e719 allow remote syslog via TCP in syslogdctrl.c
Make syslogctrl.c use TCP as remote logging file if specified so.

Thanks to Michael for reviewing this.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:45:52 +00:00
Michael Tremer
e9a57acd12 make.sh: Simplify maths to determine cursor position
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:44:49 +00:00
Michael Tremer
fa8c758efe make.sh: Improve formatting of options
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:36:07 +00:00
Michael Tremer
405ee2b400 make.sh: Fix position of SKIP message when building packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:34:02 +00:00
Michael Tremer
f19f5e2366 ssl: Drop package which isn't maintained any more
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-28 17:30:56 +00:00