ipfire-2.x.git
2 years agocore117: Ship updated CA bundle
Michael Tremer [Mon, 13 Nov 2017 23:18:00 +0000 (23:18 +0000)] 
core117: Ship updated CA bundle

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoupdate ca-certificate CA bundle
Peter Müller [Sun, 12 Nov 2017 06:49:53 +0000 (07:49 +0100)] 
update ca-certificate CA bundle

Update the CA certificate list to what Mozilla NSS ships currently.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore117: Ship changes in pakfire
Michael Tremer [Mon, 13 Nov 2017 22:41:58 +0000 (22:41 +0000)] 
core117: Ship changes in pakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agovalidate GPG keys by fingerprint
Peter Müller [Sun, 12 Nov 2017 14:40:28 +0000 (15:40 +0100)] 
validate GPG keys by fingerprint

Validate GPG keys by fingerprint and not by 8-bit key-ID.

This makes exploiting bug #11539 harder, but not impossible
and does not affect existing installations.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore117: Ship latest GeoIP changes
Michael Tremer [Mon, 13 Nov 2017 22:39:36 +0000 (22:39 +0000)] 
core117: Ship latest GeoIP changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoGeoIP: Add lookup function for convenience
Michael Tremer [Thu, 9 Nov 2017 22:32:04 +0000 (22:32 +0000)] 
GeoIP: Add lookup function for convenience

Instead of opening the database again for each lookup,
we will read it into memory on first use and every lookup
after that will be coming from cache.

Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agogeoip-functions.pl: Fix typos and formatting
Michael Tremer [Thu, 9 Nov 2017 22:32:03 +0000 (22:32 +0000)] 
geoip-functions.pl: Fix typos and formatting

Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Default to armv5tel on armv7* build hosts
Michael Tremer [Mon, 13 Nov 2017 21:56:27 +0000 (21:56 +0000)] 
make.sh: Default to armv5tel on armv7* build hosts

We won't offer a native port to ARMv7 in the near future
and to default to an architecture that is working on these
machines, we select armv5tel as default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoRevert "make.sh: Use -pipe in CFLAGS when host has >1GB of memory"
Michael Tremer [Mon, 13 Nov 2017 21:49:15 +0000 (21:49 +0000)] 
Revert "make.sh: Use -pipe in CFLAGS when host has >1GB of memory"

This reverts commit 7e1639a4810e5e70db94fdb0a0a98593d50d4290.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive portal: Require authorization before redirecting to proxy
Michael Tremer [Sat, 11 Nov 2017 12:47:37 +0000 (12:47 +0000)] 
captive portal: Require authorization before redirecting to proxy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore117: Ship updated routing.cgi
Michael Tremer [Tue, 7 Nov 2017 16:20:53 +0000 (16:20 +0000)] 
core117: Ship updated routing.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoBUG11466: fix routing.cgi the function call in routing.cgi was fixed to call the...
Alexander Marx [Tue, 7 Nov 2017 14:10:06 +0000 (15:10 +0100)] 
BUG11466: fix routing.cgi the function call in routing.cgi was fixed to call the new "exact" function.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoNetwork-functions: add check if variables are defined
Alexander Marx [Tue, 7 Nov 2017 13:53:27 +0000 (14:53 +0100)] 
Network-functions: add check if variables are defined

in function network_equal and network2bin a check for undefined variables were missing.
added them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore117: Ship updated network-functions.pl
Michael Tremer [Tue, 7 Nov 2017 16:16:50 +0000 (16:16 +0000)] 
core117: Ship updated network-functions.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoBUG11466: Fix network_equal function
Alexander Marx [Tue, 7 Nov 2017 13:17:27 +0000 (14:17 +0100)] 
BUG11466: Fix network_equal function

The network_equal function only tested the subnet addresses of two given networks which lead to
errormessages saying "This is the green network"
The fix tests netwok and subnet IP's to fix this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore117: Ship changed files of the webUI
Michael Tremer [Mon, 6 Nov 2017 18:11:49 +0000 (18:11 +0000)] 
core117: Ship changed files of the webUI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agolink to HTTPS version of www.ipfire.org in WebUI
Peter Müller [Mon, 6 Nov 2017 17:12:48 +0000 (18:12 +0100)] 
link to HTTPS version of www.ipfire.org in WebUI

Change links to www.ipfire.org in WebUI themes since the website
now uses HTTPS.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoTor: Use relay mode as default setting
Peter Müller [Mon, 6 Nov 2017 17:27:04 +0000 (18:27 +0100)] 
Tor: Use relay mode as default setting

Set the default operating mode to "relay" in the Tor WebUI
configuration page.

Running a Tor exit relay may cause legal trouble in some
countries and should not be the default setting to prevent
users from accidentally running an exit router.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoStart Core Update 117
Michael Tremer [Mon, 6 Nov 2017 18:10:02 +0000 (18:10 +0000)] 
Start Core Update 117

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agounbound: Silence error when upstream name servers cannot be read
Michael Tremer [Tue, 7 Nov 2017 15:02:28 +0000 (16:02 +0100)] 
unbound: Silence error when upstream name servers cannot be read

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Calculate MAKETUNING depending on available memory
Michael Tremer [Tue, 7 Nov 2017 14:43:14 +0000 (15:43 +0100)] 
make.sh: Calculate MAKETUNING depending on available memory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Remove setting the EDITOR variable which we don't use
Michael Tremer [Tue, 7 Nov 2017 14:27:31 +0000 (15:27 +0100)] 
make.sh: Remove setting the EDITOR variable which we don't use

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Add function to determine how many CPU cores the build host has
Michael Tremer [Tue, 7 Nov 2017 14:25:11 +0000 (15:25 +0100)] 
make.sh: Add function to determine how many CPU cores the build host has

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Use -pipe in CFLAGS when host has >1GB of memory
Michael Tremer [Tue, 7 Nov 2017 14:26:25 +0000 (15:26 +0100)] 
make.sh: Use -pipe in CFLAGS when host has >1GB of memory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Determine how much memory the build host has
Michael Tremer [Tue, 7 Nov 2017 14:23:59 +0000 (15:23 +0100)] 
make.sh: Determine how much memory the build host has

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: One month is only 30 days instead of 210
Michael Tremer [Mon, 6 Nov 2017 19:07:10 +0000 (19:07 +0000)] 
captive: One month is only 30 days instead of 210

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore116: stop apache before extracting updated files v2.19-core116
Arne Fitzenreiter [Fri, 3 Nov 2017 15:40:23 +0000 (16:40 +0100)] 
core116: stop apache before extracting updated files

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore116: replace apache restart by stop and start
Arne Fitzenreiter [Fri, 3 Nov 2017 13:28:22 +0000 (14:28 +0100)] 
core116: replace apache restart by stop and start

restart seems not work after replace apache...

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore116: ship updated wget
Arne Fitzenreiter [Fri, 3 Nov 2017 13:22:19 +0000 (14:22 +0100)] 
core116: ship updated wget

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agofinish core116
Arne Fitzenreiter [Thu, 2 Nov 2017 21:48:58 +0000 (22:48 +0100)] 
finish core116

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore116: set need_reboot flag
Arne Fitzenreiter [Thu, 2 Nov 2017 21:47:59 +0000 (22:47 +0100)] 
core116: set need_reboot flag

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore116: ship openssh
Arne Fitzenreiter [Thu, 2 Nov 2017 21:46:47 +0000 (22:46 +0100)] 
core116: ship openssh

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore116: fix openssl symlink
Arne Fitzenreiter [Thu, 2 Nov 2017 21:45:25 +0000 (22:45 +0100)] 
core116: fix openssl symlink

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agowget: Update file extension
Michael Tremer [Thu, 2 Nov 2017 15:37:27 +0000 (15:37 +0000)] 
wget: Update file extension

Upstream does not distribute XZ compressed tarballs any more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoopenssl: Update to 1.0.2m
Michael Tremer [Thu, 2 Nov 2017 15:29:01 +0000 (15:29 +0000)] 
openssl: Update to 1.0.2m

* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agowget: Update to 1.19.2
Michael Tremer [Sun, 29 Oct 2017 18:33:03 +0000 (18:33 +0000)] 
wget: Update to 1.19.2

Fixes CVE-2017-13089

A stack-based buffer overflow when processing chunked, encoded HTTP
responses was found in wget. By tricking an unsuspecting user into
connecting to a malicious HTTP server, an attacker could exploit
this flaw to potentially execute arbitrary code.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore116: Ship updated apache
Michael Tremer [Sat, 28 Oct 2017 12:36:27 +0000 (13:36 +0100)] 
core116: Ship updated apache

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoUpdate to Apache 2.4.29
Wolfgang Apolinarski [Sat, 28 Oct 2017 10:52:03 +0000 (12:52 +0200)] 
Update to Apache 2.4.29

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore116: Ship updated proxy.cgi
Michael Tremer [Mon, 23 Oct 2017 15:29:09 +0000 (16:29 +0100)] 
core116: Ship updated proxy.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoproxy.cgi: Even more cosmetics
Matthias Fischer [Fri, 13 Oct 2017 20:29:20 +0000 (22:29 +0200)] 
proxy.cgi: Even more cosmetics

Another clickable link for 'proxy.cgi', this time for 'Cache Manager Interface' - this one opens in a new window.

And: This time - hopefully - with correct '_blank'-attribute (deleted the backslashes) - based on current 'next'.

Plus: Deleted some "blind" tabs - found by chance.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore116: Ship snort
Michael Tremer [Mon, 23 Oct 2017 15:26:39 +0000 (16:26 +0100)] 
core116: Ship snort

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosnort: Update to 2.9.11
Matthias Fischer [Fri, 13 Oct 2017 20:23:25 +0000 (22:23 +0200)] 
snort: Update to 2.9.11

For details see:

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

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

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoStart Core Update 116
Michael Tremer [Mon, 23 Oct 2017 15:24:10 +0000 (16:24 +0100)] 
Start Core Update 116

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoxz: Update to 5.2.3
Matthias Fischer [Thu, 19 Oct 2017 19:16:02 +0000 (21:16 +0200)] 
xz: Update to 5.2.3

For details see:
https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodrop httpscert and merge to apache initskript v2.19-core115
Arne Fitzenreiter [Sun, 22 Oct 2017 13:50:38 +0000 (15:50 +0200)] 
drop httpscert and merge to apache initskript

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore115: Add missing parameter to actually generate new certificates
Michael Tremer [Sat, 21 Oct 2017 10:20:02 +0000 (11:20 +0100)] 
core115: Add missing parameter to actually generate new certificates

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofinish core115
Arne Fitzenreiter [Wed, 18 Oct 2017 19:25:59 +0000 (21:25 +0200)] 
finish core115

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore115: add extrahd.cgi to updater
Arne Fitzenreiter [Wed, 18 Oct 2017 19:24:43 +0000 (21:24 +0200)] 
core115: add extrahd.cgi to updater

this file was missing in early core114 testbuilds so ship it again.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoMerge branch 'master' into core115
Arne Fitzenreiter [Wed, 18 Oct 2017 19:20:23 +0000 (21:20 +0200)] 
Merge branch 'master' into core115

2 years agoredirect to TLS WebUI if authorisation required
Peter Müller [Tue, 17 Oct 2017 17:49:07 +0000 (19:49 +0200)] 
redirect to TLS WebUI if authorisation required

Do not allow credentials being submitted in plaintext to Apache.
Instead, redirect the user with a 301 to the TLS version of IPFire's
web interface.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoRevert "Use best XZ compression for smaller images and packages"
Michael Tremer [Wed, 18 Oct 2017 11:35:19 +0000 (12:35 +0100)] 
Revert "Use best XZ compression for smaller images and packages"

This reverts commit 5fd54721c2275def506ac54cc2e4e810f57fa491.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoRevert "cdrom: Use -8 as compression parameter"
Michael Tremer [Wed, 18 Oct 2017 11:35:04 +0000 (12:35 +0100)] 
Revert "cdrom: Use -8 as compression parameter"

This reverts commit 77ad762c430761bbf2d4be03bf2836d99685359d.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocdrom: Use -8 as compression parameter
Michael Tremer [Tue, 17 Oct 2017 20:16:41 +0000 (21:16 +0100)] 
cdrom: Use -8 as compression parameter

This is a better compromise on memory usage and file size

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoUse best XZ compression for smaller images and packages
Michael Tremer [Tue, 17 Oct 2017 14:23:26 +0000 (15:23 +0100)] 
Use best XZ compression for smaller images and packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocdrom: Change format to XZ and compress in parallel
Michael Tremer [Tue, 17 Oct 2017 13:58:52 +0000 (14:58 +0100)] 
cdrom: Change format to XZ and compress in parallel

This allows us to use all processor cores to compress
the image faster.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agopackages: Compress in parallel
Michael Tremer [Tue, 17 Oct 2017 13:58:28 +0000 (14:58 +0100)] 
packages: Compress in parallel

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Fix localisations
Michael Tremer [Tue, 17 Oct 2017 13:11:14 +0000 (15:11 +0200)] 
captive: Fix localisations

Voucher was used instead of coupon in English, and Coupon
was used instead of Gutschein in German.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Simplify coupon time selection
Michael Tremer [Tue, 17 Oct 2017 13:05:53 +0000 (15:05 +0200)] 
captive: Simplify coupon time selection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Reindent code for better readability
Michael Tremer [Tue, 17 Oct 2017 11:43:42 +0000 (12:43 +0100)] 
captive: Reindent code for better readability

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Localise GREEN/BLUE
Michael Tremer [Tue, 17 Oct 2017 11:41:17 +0000 (12:41 +0100)] 
captive: Localise GREEN/BLUE

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoRootfile update
Michael Tremer [Tue, 17 Oct 2017 11:29:22 +0000 (12:29 +0100)] 
Rootfile update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: Ship logrotate
Michael Tremer [Mon, 16 Oct 2017 18:20:20 +0000 (19:20 +0100)] 
core115: Ship logrotate

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agologrotate: Update to 3.13.0
Matthias Fischer [Sat, 14 Oct 2017 09:14:17 +0000 (11:14 +0200)] 
logrotate: Update to 3.13.0

For details see:
https://github.com/logrotate/logrotate/releases

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoPDF-API2: Add optional dependencies to read TrueType fonts
Michael Tremer [Mon, 16 Oct 2017 16:43:32 +0000 (17:43 +0100)] 
PDF-API2: Add optional dependencies to read TrueType fonts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMake perl-PDF-API2 part of the base system
Michael Tremer [Mon, 16 Oct 2017 16:31:51 +0000 (17:31 +0100)] 
Make perl-PDF-API2 part of the base system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoPDF-API2: Update to 2.033
Michael Tremer [Mon, 16 Oct 2017 16:28:51 +0000 (17:28 +0100)] 
PDF-API2: Update to 2.033

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agowpa_supplicant: Update to 2.6
Matthias Fischer [Fri, 22 Sep 2017 23:34:55 +0000 (01:34 +0200)] 
wpa_supplicant: Update to 2.6

For details see:
https://w1.fi/cgit/hostap/plain/wpa_supplicant/ChangeLog

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoKRACK attack: Patch wpa_supplicant & hostapd
Michael Tremer [Mon, 16 Oct 2017 14:49:35 +0000 (15:49 +0100)] 
KRACK attack: Patch wpa_supplicant & hostapd

A vulnerability was found in how a number of implementations can be
triggered to reconfigure WPA/WPA2/RSN keys (TK, GTK, or IGTK) by
replaying a specific frame that is used to manage the keys. Such
reinstallation of the encryption key can result in two different types
of vulnerabilities: disabling replay protection and significantly
reducing the security of encryption to the point of allowing frames to
be decrypted or some parts of the keys to be determined by an attacker
depending on which cipher is used.

This fixes: CVE-2017-13077, CVE-2017-13078, CVE-2017-13079,
  CVE-2017-13080, CVE-2017-13081, CVE-2017-13082, CVE-2017-13086,
  CVE-2017-13087, CVE-2017-13088

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoKRACK attack: Patch wpa_supplicant & hostapd
Michael Tremer [Mon, 16 Oct 2017 14:49:35 +0000 (15:49 +0100)] 
KRACK attack: Patch wpa_supplicant & hostapd

A vulnerability was found in how a number of implementations can be
triggered to reconfigure WPA/WPA2/RSN keys (TK, GTK, or IGTK) by
replaying a specific frame that is used to manage the keys. Such
reinstallation of the encryption key can result in two different types
of vulnerabilities: disabling replay protection and significantly
reducing the security of encryption to the point of allowing frames to
be decrypted or some parts of the keys to be determined by an attacker
depending on which cipher is used.

This fixes: CVE-2017-13077, CVE-2017-13078, CVE-2017-13079,
  CVE-2017-13080, CVE-2017-13081, CVE-2017-13082, CVE-2017-13086,
  CVE-2017-13087, CVE-2017-13088

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Allow PDF export of coupons
Michael Tremer [Mon, 16 Oct 2017 14:36:24 +0000 (16:36 +0200)] 
captive: Allow PDF export of coupons

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Add headline to T&C box
Michael Tremer [Mon, 16 Oct 2017 13:03:39 +0000 (15:03 +0200)] 
captive: Add headline to T&C box

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDownload sources via HTTPS
Michael Tremer [Thu, 12 Oct 2017 14:56:34 +0000 (15:56 +0100)] 
Download sources via HTTPS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoinstaller: Fix detection if we have the correct ISO image mounted
Michael Tremer [Thu, 12 Oct 2017 14:50:31 +0000 (15:50 +0100)] 
installer: Fix detection if we have the correct ISO image mounted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoinstaller: Allow download of ISO images over HTTPS
Michael Tremer [Thu, 12 Oct 2017 14:32:21 +0000 (15:32 +0100)] 
installer: Allow download of ISO images over HTTPS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoipfire-netboot: Update to v2.0
Michael Tremer [Wed, 11 Oct 2017 20:02:44 +0000 (21:02 +0100)] 
ipfire-netboot: Update to v2.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agounbound: Update to 1.6.7
Matthias Fischer [Wed, 11 Oct 2017 15:37:23 +0000 (17:37 +0200)] 
unbound: Update to 1.6.7

For details see:
http://www.unbound.net/download.html

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoalso force TLS when requiring user authentication in WebUI
Peter Müller [Wed, 11 Oct 2017 16:30:50 +0000 (18:30 +0200)] 
also force TLS when requiring user authentication in WebUI

Force TLS _and_ a valid login when accessing protected directories.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agogenerate ECDSA key on existing installations
Peter Müller [Wed, 11 Oct 2017 17:46:35 +0000 (19:46 +0200)] 
generate ECDSA key on existing installations

This is required since Apache crashes if any of the key/certificate files
does not exist.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoship changed files for Apache and ECDSA
Peter Müller [Wed, 11 Oct 2017 17:47:19 +0000 (19:47 +0200)] 
ship changed files for Apache and ECDSA

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoenable dual-stack ECDSA and RSA certificates in Apache
Peter Müller [Wed, 11 Oct 2017 17:45:19 +0000 (19:45 +0200)] 
enable dual-stack ECDSA and RSA certificates in Apache

Note: Apache crashes if any of these files does not exist. Thereof it
is necessary to generate missing keys on existing installations.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agogenerate ECDSA key on existing installations
Peter Müller [Wed, 11 Oct 2017 17:45:33 +0000 (19:45 +0200)] 
generate ECDSA key on existing installations

Generate ECDSA key (and sign it) in case it does not exist. That way,
httpscert can be ran on existing installations without breaking already
generated (RSA) keys.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoprefer ECDSA over RSA and remove clutter
Peter Müller [Wed, 11 Oct 2017 17:24:10 +0000 (19:24 +0200)] 
prefer ECDSA over RSA and remove clutter

Priorize ECDSA before RSA and remove unused cipher suites.
Remove redundant OpenSSL directives to make SSL configuration more readable.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoweb-user-interface: Removed 'dial.cgi' from lfs-file
Matthias Fischer [Wed, 11 Oct 2017 16:08:30 +0000 (18:08 +0200)] 
web-user-interface: Removed 'dial.cgi' from lfs-file

'dial.cgi' was removed in

https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=dc6ed83537e1bcc1347ad16bee095ef4d641bc69

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetboot: Update to 1.2
Michael Tremer [Wed, 11 Oct 2017 18:59:48 +0000 (19:59 +0100)] 
netboot: Update to 1.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Allow editing terms in coupon mode
Michael Tremer [Wed, 11 Oct 2017 13:52:03 +0000 (14:52 +0100)] 
captive: Allow editing terms in coupon mode

Since the terms are always shown when set, we need a way
to edit them in coupon mode as well.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: Ship updated extrahd.pl
Michael Tremer [Wed, 11 Oct 2017 11:20:44 +0000 (12:20 +0100)] 
core115: Ship updated extrahd.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoRemove PRINT-line in extrahd.pl
Matthias Fischer [Tue, 3 Oct 2017 13:40:25 +0000 (15:40 +0200)] 
Remove PRINT-line in extrahd.pl

As shown in https://forum.ipfire.org/viewtopic.php?f=50&t=19563#p111055
PRINT-output somehow garbles bash-prompt.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: Ship latest OpenVPN changes
Michael Tremer [Wed, 11 Oct 2017 10:56:07 +0000 (11:56 +0100)] 
core115: Ship latest OpenVPN changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoOpenVPN: Fix for '--ns-cert-type server is deprecated' .
Erik Kapfer [Fri, 6 Oct 2017 13:14:48 +0000 (15:14 +0200)] 
OpenVPN: Fix for '--ns-cert-type server is deprecated' .

- Added extended key usage based on RFC3280 TLS rules for OpenVPNs OpenSSL configuration,
so '--remote-cert-tls' can be used instead of the old and deprecated '--ns-cert-type'
if the host certificate are newely generated with this options.
Nevertheless both directives (old and new) will work also with old CAs.

- Automatic detection if the host certificate uses the new options.
If it does, '--remote-cert-tls server' will be automatically set into the client
configuration files for Net-to-Net and Roadwarriors connections.

If it does NOT, the old '--ns-cert-type server' directive will be set in the client
configuration file.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoremove unused dial.cgi directives from Apache vhosts config
Peter Müller [Tue, 10 Oct 2017 13:31:07 +0000 (15:31 +0200)] 
remove unused dial.cgi directives from Apache vhosts config

Remove configuration lines in Apache vhosts files which
are not used anymore (old dial.cgi stuff).

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agodelete unused dial.cgi file
Peter Müller [Mon, 9 Oct 2017 20:06:33 +0000 (22:06 +0200)] 
delete unused dial.cgi file

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: No need to reload apache after it has been restarted
Michael Tremer [Mon, 9 Oct 2017 13:58:41 +0000 (14:58 +0100)] 
core115: No need to reload apache after it has been restarted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: Regenerate IPsec configuration
Michael Tremer [Mon, 9 Oct 2017 13:58:26 +0000 (14:58 +0100)] 
core115: Regenerate IPsec configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoadd missing check for Curve25519 in vpnmain.cgi
Peter Müller [Sun, 8 Oct 2017 18:41:10 +0000 (20:41 +0200)] 
add missing check for Curve25519 in vpnmain.cgi

This fixes bug #11501 which causes IPsec connections to crash if
Curve25519 has been enabled.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: Rebuild language cache during update
Michael Tremer [Mon, 9 Oct 2017 13:50:29 +0000 (14:50 +0100)] 
core115: Rebuild language cache during update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore115: Ship updated apache
Michael Tremer [Mon, 9 Oct 2017 13:49:34 +0000 (14:49 +0100)] 
core115: Ship updated apache

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoapache: Update to 2.4.28
Matthias Fischer [Sun, 8 Oct 2017 14:37:21 +0000 (16:37 +0200)] 
apache: Update to 2.4.28

http://apache.mirror.digionline.de//httpd/CHANGES_2.4.28

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocaptive: Fix saving empty terms
Michael Tremer [Mon, 9 Oct 2017 13:34:21 +0000 (14:34 +0100)] 
captive: Fix saving empty terms

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoDownload ISO images from https://downloads.ipfire.org
Michael Tremer [Fri, 6 Oct 2017 12:03:40 +0000 (13:03 +0100)] 
Download ISO images from https://downloads.ipfire.org

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoPull latest translations for installer & setup from Transifex
Michael Tremer [Fri, 6 Oct 2017 11:15:26 +0000 (12:15 +0100)] 
Pull latest translations for installer & setup from Transifex

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>