Commit Graph

11326 Commits

Author SHA1 Message Date
Jonatan Schlag
d404b1dba2 Add Intel microcode updates from Jan 2018
Add intel microcode to the distribution and configure dracut in a way
that the microcode is loaded early in the boot process.

Fixes #11590

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Acknowledged-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-14 15:25:08 +00:00
Michael Tremer
c91f74b988 core118: Ship updated urlfilter.dat
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-10 16:55:46 +00:00
Matthias Fischer
1b18943b15 urlfilter.dat: Added Older/Newer links at top of page
Hi,

Triggered by:
https://forum.ipfire.org/viewtopic.php?f=4&t=19998#p112930

Added 'Older'/'Newer'-links for better page browsing.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-10 16:55:23 +00:00
Michael Tremer
7902d679eb core118: Ship modified captive.cgi
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-10 16:44:53 +00:00
Matthias Fischer
bf1db4b28f Forgot to change language strings in captive.cgi
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-10 16:44:04 +00:00
Michael Tremer
bca3f3bdbf mdns-repeater: Stupid me has botched the rootfile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-10 11:31:54 +00:00
Michael Tremer
e7fe1adfce core118: Ship updated hdparm
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Michael Tremer
20367d5f24 Update translations
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Matthias Fischer
80908b44b7 Fixed missing 'Captive' localization string for 'logs.dat'
Added 'Captive' localization string in 'de/en.pl'.

After a fresh install of Core 117, the system log shows a blank line
for 'Captive Portal' entries.

Deleted translation for 'Captive menu' and changed '30-network.menu' accordingly
to avoid duplicate translation strings.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Matthias Fischer
35c4e2a302 hdparm: Update to 9.53
Changes from 9.52 to 9.53:

- Read Drive Capacity fixes from Iestyn Walters.
- SET MAX ADDRESS fixes from Tom Yan <tom.ty89@gmail.com>.
- added --security-prompt-for-password to --security-help output.
- fwdownload changes from Jihoon Lee.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Michael Tremer
24d31a0065 core118: Ship updated gzip
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Matthias Fischer
4d54015eb5 gzip: Update to 1.9
Excerpt from 'NEWS':

"* Noteworthy changes in release 1.9 (2018-01-07) [stable]

** Bug fixes

  gzip -d -S SUFFIX file.SUFFIX would fail for any upper-case byte in SUFFIX.
  E.g., before, this command would fail:
    $ :|gzip > kT && gzip -d -S T kT
    gzip: kT: unknown suffix -- ignored
  [bug present since the beginning]

  When decompressing data in 'pack' format, gzip no longer mishandles
  leading zeros in the end-of-block code.  [bug introduced in gzip-1.6]

  When converting from system-dependent time_t format to the 32-bit
  unsigned MTIME format used in gzip files, if a timestamp does not
  fit gzip now substitutes zero instead of the timestamp's low-order
  32 bits, as per Internet RFC 1952.  When converting from MTIME to
  time_t format, if a timestamp does not fit gzip now warns and
  substitutes the nearest in-range value instead of crashing or
  silently substituting an implementation-defined value (typically,
  the timestamp's low-order bits).  This affects timestamps before
  1970 and after 2106, and timestamps after 2038 on platforms with
  32-bit signed time_t.  [bug present since the beginning]

  Commands implemented via shell scripts are now more consistent about
  failure status.  For example, 'gunzip --help >/dev/full' now
  consistently exits with status 1 (error), instead of with status 2
  (warning) on some platforms.  [bug present since the beginning]

  Support for VMS and Amiga has been removed.  It was not working anyway,
  and it reportedly caused file name glitches on MS-Windowsish platforms."

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Michael Tremer
ddcd60f7dc mdns-repeater: New package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-09 14:14:37 +00:00
Michael Tremer
ab8464f4a2 make.sh: Show correct architecture when in chroot
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-08 21:47:14 +00:00
Michael Tremer
9fda5e9258 core118: Ship update accelerator downloader
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:51:07 +00:00
Justin Luth
e04f86b449 Fix bug 11567 updxlrator: don't prematurely release lock file
With Microsoft's new style of downloading updates,
where portions of a patch are requested multiple times per second,
it has become extremely common for downloads to reach > 100%.
Due to an early unlinking of the "lock" file, there is a big window of
opportunity (between the unlink and wget actually saving some data)
for multiple download/wget threads to start, adding to the same file.
So not only is bandwidth wasted by duplicate downloads running
simultaneously, but the resulting file is corrupt anyway.

The problem is noticed more often by low bandwidth users
(who need the benefits of updxlrator the most)
because then wget's latency is even longer, creating
a very wide window of opportunity.

Ultimately, this needs something like "flock", where the
file is set and tested in one operation. But for now,
settle with the current test / create lock solution, and
just stop unnecessarily releasing the lock.

Since the file already exists as a lock when wget starts,
wget now must ALWAYS run with --continue, which
works fine on a zero-sized file.

Signed-off-by: Justin Luth  <jluth@mail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-07 19:49:53 +00:00
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