Commit Graph

1792 Commits

Author SHA1 Message Date
Michael Tremer
73b3a1264f core110: Ship updated ntp package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-28 17:20:50 +01:00
Michael Tremer
2170bad5b9 setup: Allow setting netmask to 255.255.255.255
Some hosters require that the subnet mask of the RED network
is set to 255.255.255.255. This was not possible to save before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-28 17:17:03 +01:00
Michael Tremer
cda384a280 ipsec: Do not reject connections in on-demand mode
When an on-demand VPN connection is not up, the packets will
traverse the firewall and be rejected by the IPSECBLOCK chain
which will cause that an ICMP error message will be sent to
the client. If that does not happen and the packet is being
silently dropped, the client will retransmit and by then
the VPN connection will hopefully be up.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-24 13:24:42 +01:00
Michael Tremer
65c3b7c913 Revert "BUG11278: enable creation from subnets of internal networks"
This reverts commit ff6cc71107.

This patch causes that no new networks can be created and
an error message is shown that the created network is the GREEN
network which is incorrect.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-22 11:15:44 +00:00
Michael Tremer
a249ccd2e4 Improve graphs
The graphs are using an iframe and PNG images where the resolution
did often not fit and the browser had to resize the image. That
led to blurred fonts and hard to read graphs.

This patch increases the size of the box and the image. With that
higher resolution resizing should not be too much of an issue, but
since the sizes of the iframe and image have been aligned should
not even be necessary.

Reported-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-15 13:45:05 +00:00
Michael Tremer
d38ed86f8b strongswan: Disable IPv6 by default
IPFire 2 does not have IPv6 connectivity with exception of a
few systems for testing where IPsec connections become a little
bit unstable when trying to connect over IPv6.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-15 12:56:05 +00:00
Jonatan Schlag
0f1cda211c Disable netfilter on all bridges per default
Fixes: #11301

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-11 10:08:16 +00:00
Michael Tremer
2bfd31a261 core110: Ship updated conntrack-tools
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-05 18:14:50 +00:00
Michael Tremer
6006aa84d7 core110: Ship updated nettle
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-05 18:14:33 +00:00
Michael Tremer
f809bfb967 core110: Ship updated lm_sensors
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-28 14:03:40 +00:00
Michael Tremer
c016773b98 apache: Allow more processes/connections as the same time
In large networks, when ever multiple clients connect at the
same time and request the proxy.pac configuration file, apache
rate-limited requests so that some clients did not get a response
and therefore could not connect to the Internet.

This allows apache to handle more connections at the same time.

Suggested-by: Thoralf Söldenwagner <soeldenwagner@brecht-schule.hamburg>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-28 11:32:08 +00:00
Michael Tremer
e432689aa9 DNS: Fall back to permissive mode if recursor mode is unavailable
The tests when assigning DNS name servers has been extended so that
if no working forwarder can be found, we will test if the local recursor
mode is an option.

If not, we will configure unbound's validator module into permissive
mode so that at least some DNS functionality is available.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-27 21:38:03 +00:00
Michael Tremer
63de1e482a Start Core Update 110
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-27 15:00:46 +00:00
Arne Fitzenreiter
f7a48dd39f core109: finish update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-02-01 22:34:53 +01:00
Michael Tremer
fc5fc95f9a core109: Ship updated sysklogd
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-29 19:33:29 +00:00
Michael Tremer
a8f9804a76 core109: Ship updated libpcap
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-29 19:28:39 +00:00
Michael Tremer
83d225dd43 openssl: Update to 1.0.2k
https://www.openssl.org/news/secadv/20170126.txt

Truncated packet could crash via OOB read (CVE-2017-3731)
=========================================================

Severity: Moderate

If an SSL/TLS server or client is running on a 32-bit host, and a specific
cipher is being used, then a truncated packet can cause that server or client
to perform an out-of-bounds read, usually resulting in a crash.

For OpenSSL 1.1.0, the crash can be triggered when using CHACHA20/POLY1305;
users should upgrade to 1.1.0d

For Openssl 1.0.2, the crash can be triggered when using RC4-MD5; users who have
not disabled that algorithm should update to 1.0.2k

This issue was reported to OpenSSL on 13th November 2016 by Robert Święcki of
Google. The fix was developed by Andy Polyakov of the OpenSSL development team.

Bad (EC)DHE parameters cause a client crash (CVE-2017-3730)
===========================================================

Severity: Moderate

If a malicious server supplies bad parameters for a DHE or ECDHE key exchange
then this can result in the client attempting to dereference a NULL pointer
leading to a client crash. This could be exploited in a Denial of Service
attack.

OpenSSL 1.1.0 users should upgrade to 1.1.0d

This issue does not affect OpenSSL version 1.0.2.

Note that this issue was fixed prior to it being recognised as a security
concern. This means the git commit with the fix does not contain the CVE
identifier. The relevant fix commit can be identified by commit hash efbe126e3.

This issue was reported to OpenSSL on 14th January 2017 by Guido Vranken. The
fix was developed by Matt Caswell of the OpenSSL development team.

BN_mod_exp may produce incorrect results on x86_64 (CVE-2017-3732)
==================================================================

Severity: Moderate

There is a carry propagating bug in the x86_64 Montgomery squaring procedure. 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 DH are considered just feasible (although very
difficult) 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 very significant and likely only
accessible to a limited number of attackers. An attacker would
additionally need online access to an unpatched system using the target
private key in a scenario with persistent DH parameters and a private
key that is shared between multiple clients. For example this can occur by
default in OpenSSL DHE based SSL/TLS ciphersuites. Note: This issue is very
similar to CVE-2015-3193 but must be treated as a separate problem.

OpenSSL 1.1.0 users should upgrade to 1.1.0d
OpenSSL 1.0.2 users should upgrade to 1.0.2k

This issue was reported to OpenSSL on 15th January 2017 by the OSS-Fuzz project.
The fix was developed by Andy Polyakov of the OpenSSL development team.

Montgomery multiplication may produce incorrect results (CVE-2016-7055)
=======================================================================

Severity: Low

This issue was previously fixed in 1.1.0c and covered in security advisory
https://www.openssl.org/news/secadv/20161110.txt

OpenSSL 1.0.2 users should upgrade to 1.0.2k

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-26 15:21:58 +00:00
Michael Tremer
d7e4445e8d core109: Ship updated perl GeoIP module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-16 16:56:55 +00:00
Michael Tremer
3bbe85a500 core109: Ship bind security update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-16 16:50:42 +00:00
Michael Tremer
ed91d763e6 core109: Ship recently updated perl files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-11 17:21:46 +00:00
Michael Tremer
9a657e9b3b core109: Ship updated backupiso script
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-04 11:22:02 +00:00
Jonatan Schlag
18b6da69b6 core109: Ship network bridge changes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-12-29 20:34:23 +00:00
Michael Tremer
8fa523e028 libpng: Update to version 1.2.57
These all fix a potential "NULL dereference" bug that has existed in libpng
since version 0.71 of June 26, 1995.  To be vulnerable, an application
has to load a text chunk into the png structure, then delete all text, then
add another text chunk to the same png structure, which seems to be
an unlikely sequence, but it has happened.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-12-29 16:04:29 +00:00
Arne Fitzenreiter
7ba5691854 start core109 updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-12-22 20:39:38 +01:00
Michael Tremer
6426c4066f core108: Ship updated squid
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-12-06 14:20:16 +00:00
Michael Tremer
67214dc2eb core108: Ship updated NTP
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-12-06 14:17:05 +00:00
Michael Tremer
2aa15dee66 unbound: Fix DNS forwarder test
The previous version aborted when the validation test
suceeded, but this is not always sufficient in case a
provider filters any DNSKEY, DS or RRSIG records.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-12-01 17:13:07 +00:00
Michael Tremer
adb11e90df Always enable asynchronous logging
This patch always enables asynchronous logging which slows
down the system a lot on slow storage and some virtual environments.

It also removes the configuration options in the web
user interface, since this is not configurable any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-11-29 12:18:41 +00:00
Michael Tremer
b7f2fe819b core108: Ship updated ddns
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-11-28 21:51:13 +00:00
Michael Tremer
49750f72de Start Core Update 108
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-11-28 21:48:21 +00:00
Arne Fitzenreiter
2d646e9838 ntp: init with hardcoded ip if dns not work
DNSSec need the correct time to validate the zones so we need
a workaround to init the time without dns.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-11-04 19:31:07 +01:00
Michael Tremer
08fc1aa43b core107: Restart unbound to activate configuration changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-11-04 17:46:24 +00:00
Michael Tremer
3ddad158cd unbound: Allow recursion from everywhere
Users use the IPFire DNS service from VPNs and other
routed networks.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-11-04 17:08:13 +00:00
Michael Tremer
a6dcc5bb77 unbound: Fix for DNS forwarding of .local zones
These are traditionally used for Windows domains and should not
be used for that. However if they are used like this, DNSSEC
validation cannot be used.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-11-02 15:51:49 +00:00
Arne Fitzenreiter
38183e52dd start core107 updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-27 21:07:55 +02:00
Michael Tremer
96473f525d Revert "setup: Store passwords in SHA format"
This reverts commit eef9b2529c.

It appears that htpasswd is not salting any passwords that are
stored with the SHA (-s) algorithm. MD5 passwords however are
salted.

That leads us to the conclusion that the "MD5 algorithm" in htpasswd
is more secure than the "SHA algorithm" although the hash function
itself should be stronger.

With a rainbow table, cracking "SHA" is easily done.

A rainbow table for "MD5" + salt would be way too large to be
efficiently stored.

Hence this commit is reverted to old behaviour to avoid the clear
failure of design in SHA.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
2016-10-15 22:38:01 +01:00
Arne Fitzenreiter
693928d781 unbound: start prior network
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-12 23:01:51 +02:00
Arne Fitzenreiter
11ecfb92a0 backup: add unbound config
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-12 22:51:35 +02:00
Michael Tremer
3a52755b97 core106: Ship changed pakfire.cgi
This was actually changed over a year ago, but was
never shipped in an update.

Commit 212fd689a3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-10 12:05:01 +01:00
Michael Tremer
b32a8aefa2 core106: Ship updated iptables.cgi file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-10 12:04:24 +01:00
Arne Fitzenreiter
0807ce69ee setclock: prevent time bacjump by empty rtc batteries
This is a work around to prevent not working dns
resolution if the time jumps before the DNSSec signing key.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-08 15:43:54 +02:00
Michael Tremer
71cf56fe53 core106: Restart DHCP server to import leases into DNS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-06 10:41:54 +01:00
Michael Tremer
eef9b2529c setup: Store passwords in SHA format
htpasswd doesn't protect passwords very well. MD5 was used
before and now any newly created passwords will use the
SHA format.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-04 22:41:48 +01:00
Arne Fitzenreiter
e3a90a5736 Revert "core106: Add DNS root key to exclude list"
This reverts commit f58002a83f.
2016-10-04 22:05:26 +02:00
Michael Tremer
52587edac4 core106: Ship updated libidn
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-03 11:45:36 +01:00
Arne Fitzenreiter
642b831b72 Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2016-10-02 16:36:57 +02:00
Arne Fitzenreiter
e24d6112bb index.cgi: display unbound dns servers
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-02 16:35:50 +02:00
Michael Tremer
5edc06b701 Remove IPAC stuff
This is unused for a very very very long time and serves
no purpose any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-02 15:13:55 +01:00
Arne Fitzenreiter
cc60329d88 Add search domain to /etc/resolv.conf at boot time
unbound does not append the local domain to the request
any more (like dnsmasq did). Therefore, the client needs
to do that if desired.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-02 15:32:14 +02:00
Arne Fitzenreiter
f58002a83f core106: Add DNS root key to exclude list
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-02 13:36:07 +02:00