Commit Graph

14866 Commits

Author SHA1 Message Date
Arne Fitzenreiter
d9c1908f64 stage2: update aarch64 rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-21 19:41:39 +02:00
Stefan Schantl
99f8980dec libloc: Add upstream patch to fix a buffer issue.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-21 11:09:54 +00:00
Stefan Schantl
cb4860794b libloc: Apply patch to compile the perl module without stack protector.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-21 11:09:51 +00:00
Stefan Schantl
bbaf9bdf21 convert-to-location: Regenerate firewall chains.
The firewall chain for location based rules has been renamed to
LOCATIONBLOCK and therefore the fiewall needs to be restarted and
the chains regenerated.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-12 05:31:41 +00:00
Stefan Schantl
d047b493aa convert-to-location: Fix double patch declaration
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-12 05:31:39 +00:00
Stefan Schantl
d0cbdd6363 libloc: Update to 0.9.3
* Also bump the shipped database to 2020-07-10 for a more recent version

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-10 20:14:12 +00:00
Arne Fitzenreiter
b9b3fe6739 core148: add libloc changes
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-10 22:07:56 +02:00
Stefan Schantl
4979ba0aaf ipinfo.cgi: Fix calling get_continent_code().
This function is provided by the Location perl module and directly can
be called.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-07-08 19:28:36 +02:00
Stefan Schantl
af7f9fc43d :xMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-switch-to-libloc
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-07-03 18:48:30 +02:00
Arne Fitzenreiter
96253783d4 update credits.cgi and langs doku
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-02 11:22:17 +00:00
Stephan Feddersen
cc864e3d12 WIO - shutdown function removed, adjustments to IPsec status display
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:22:12 +00:00
Stephan Feddersen
9755fdf9d2 WIO - shutdown function removed, adjustments to IPsec status display
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:22:08 +00:00
Stephan Feddersen
cf07214a9c WIO - shutdown function removed, adjustments to IPsec status display
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:22:07 +00:00
Stephan Feddersen
b3f7628a9f WIO - hutdown function removed, adjustments to IPsec status display
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:22:03 +00:00
Stephan Feddersen
9c5dbb24e0 WIO - shutdown function removed, adjustments to IPsec status display
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:21:56 +00:00
Stephan Feddersen
391a24591e WIO - shutdown function removed, adjustments to IPsec status display
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:21:51 +00:00
Stephan Feddersen
445c4ccd1e WIO - cleaned up language files
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:21:49 +00:00
Stephan Feddersen
ccf13cc9db WIO - new version 1.3.2-9
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:21:20 +00:00
Arne Fitzenreiter
a920fdc343 remove nf_log_ipv4 from sysctl.conf
the revert commit has failed and sysctl.conf should still shipped to fix
machines in next tree.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:17:11 +00:00
Michael Tremer
78b65ea7e3 firewall: Configure TRACE target to log to syslog
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:12:59 +00:00
Arne Fitzenreiter
dcbdc8f587 core147: add ntp
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:11:51 +00:00
Matthias Fischer
ab88da11a6 ntp: Update to 4.2.8p15
For details see:
http://support.ntp.org/bin/view/Main/SecurityNotice#June_2020_ntp_4_2_8p15_NTP_Relea

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:10:38 +00:00
Arne Fitzenreiter
429f48bd38 core147: add proxy.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:09:45 +00:00
Peter Müller
0f8251fe64 Revert "proxy: Remove AUTH_IPCACHE_TTL"
This reverts commit dc637f087f.

Rationale: "authenticate_ip_ttl" can be safely used as it does not
introduces an authentication bypass, but saves relationships between
successfully authenticated users and their IP addresses.

"max_user_ip" depends on such an authentication cache, so credential
sharing between several IPs (on purpose or by chance) can be detected
properly. This is useful in case of crompromised machines and/or
attackers in internal networks having stolen proxy authentication
credentials.

Quoted from squid.conf.documented or man 5 squid.conf:

>       acl aclname max_user_ip [-s] number
>         # This will be matched when the user attempts to log in from more
>         # than <number> different ip addresses. The authenticate_ip_ttl
>         # parameter controls the timeout on the ip entries. [fast]
>         # If -s is specified the limit is strict, denying browsing
>         # from any further IP addresses until the ttl has expired. Without
>         # -s Squid will just annoy the user by "randomly" denying requests.
>         # (the counter is reset each time the limit is reached and a
>         # request is denied)
>         # NOTE: in acceleration mode or where there is mesh of child proxies,
>         # clients may appear to come from multiple addresses if they are
>         # going through proxy farms, so a limit of 1 may cause user problems.

Fixes: #11994

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:08:10 +00:00
Peter Müller
abbec6069a proxy.cgi: remove old CVS licence clutter
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-07-01 12:08:08 +00:00
Arne Fitzenreiter
822d70e102 core147: add openssh
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 14:34:22 +00:00
Peter Müller
421d057fd4 OpenSSH: update to 8.3p1
Fixes: #12418

Cc: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 14:29:34 +00:00
Arne Fitzenreiter
bbdfbd5036 core147: add ca-certificates
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 14:28:18 +00:00
Peter Müller
7241878861 update ca-certificates CA bundle
Update the CA certificates list to what Mozilla NSS ships currently.

The original file can be retrieved from:
https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 14:26:39 +00:00
Arne Fitzenreiter
19672b81cd core147: add bind
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 14:24:44 +00:00
Matthias Fischer
ba036c14cb bind: Update to 9.11.20
For details see:
https://downloads.isc.org/isc/bind9/9.11.20/RELEASE-NOTES-bind-9.11.20.html

"Security Fixes

    It was possible to trigger an INSIST failure when a zone with
    an interior wildcard label was queried in a certain pattern. This
    was disclosed in CVE-2020-8619. [GL #1111] [GL #1718]

New Features

    dig and other tools can now print the Extended DNS Error (EDE)
    option when it appears in a request or a response. [GL #1835]

Bug Fixes

    When fully updating the NSEC3 chain for a large zone via IXFR,
    a temporary loss of performance could be experienced on the
    secondary server when answering queries for nonexistent data that
    required DNSSEC proof of non-existence (in other words, queries that
    required the server to find and to return NSEC3 data). The
    unnecessary processing step that was causing this delay has now been
    removed. [GL #1834]

    A data race in lib/dns/resolver.c:log_formerr() that could lead
    to an assertion failure was fixed. [GL #1808]

    Previously, provide-ixfr no; failed to return up-to-date responses
    when the serial number was greater than or equal to the current
    serial number. [GL #1714]

    named-checkconf -p could include spurious text in server-addresses
    statements due to an uninitialized DSCP value. This has been fixed.
    [GL #1812]

    The ARM has been updated to indicate that the TSIG session key is
    generated when named starts, regardless of whether it is needed. [GL
    #1842]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 14:23:57 +00:00
Arne Fitzenreiter
5f34a67205 installer: update filecount
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 12:27:10 +02:00
Arne Fitzenreiter
673a453b69 gmp: update arm rootfiles
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 07:47:43 +02:00
Arne Fitzenreiter
e21c068f33 linux-firmware: update to 20200519
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-20 08:55:06 +02:00
Arne Fitzenreiter
1952d39844 remove old core146 openvpn symlink that break build.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-20 08:53:31 +02:00
Michael Tremer
0a0738618f core174: Ship updated files from gcloud branch
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Adolf Belka
3b887740e8 bacula: Update to 9.6.5
- Update bacula from version 9.0.6 to 9.6.5
  Version 9.0.6 is over two and a half years old.
- Update config options in lfs to include bacula recommended smartalloc option.
  "This enables the inclusion of the Smartalloc orphaned buffer detection
  code. This option is highly recommended. Because we never build without this option,
  you may experience problems if it is not enabled. In this case, simply re-enable the
  option. We strongly recommend keeping this option enabled as it helps detect memory
  leaks. This configuration parameter is used while building Bacula"
- Add install, uninstall and update files in src/paks/bacula
- Updated backup/includes to backup the config file and the File Daemon state file.

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
aadd7678b5 core147: Ship dhcpcd
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Matthias Fischer
f84b8d7aae dhcpcd: Update to 9.1.2
For details see:
https://roy.marples.name/blog/dhcpcd-9-1-2-released.html

    "Fix installing dhcpcd-definitions.conf rather than embedding it
    NetBSD: free ARP state once IPv4LL address announced
    Linux: fix compile for older distros
    udev: disable plugin for non Linux OS's
    BSD: Mark RA dervied addresses as AUTOCONF on NetBSD-current
    BSD: Only mark static routes from dhcpcd.conf as static
    DHCP6: Ensure requested addresses are requested
    DHCP6: Fix prefix length calculation when no prefix specified
    privsep: Implement a resource limited sandbox [1]
    privsep: Remove inet and dns pledges from master process
    privsep: call getifaddrs when the BSD lacks SIOCGIFALIAS
    privsep: free getifaddrs the right way if from privsep or not

[1] You will see a control proxy process now. This is for the resource
limited sandbox so that we can isolate requests over the control socket.
For NetBSD, FreeBSD and derivatives such as DragonFlyBSD this is
a massive win as these OS now enjoy a similar level of protection
as Capsicum or Pledge, but without the syscall filtering."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
224adebdc4 sysctl: Load nf_log_ipv4 as default logging module for TRACE target
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
a5a0c8a530 firewall: Always enable connection tracking for GRE
If this module is not being loaded, the kernel will mark any
GRE connection as INVALID in connection tracking, which will
be then silently dropped by a firewall rule.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
736c3b182d squidGuard: Update to 1.6.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
82db9e5945 squidGuard: Update to 1.6.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
9909ac8e80 core147: Ship squidguard
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Matthias Fischer
b2742aebf1 squidguard: Update to 1.5-beta
Changelog:

"Release 1.5

2010-09-09 Fixed inconsistent blocking (bug 59).  Replaced defined routine
in sgDB.c

2010-09-08 Added Russian translation from Vladimir Ipatov to squidGuard.cgi.in.

2009-10-19 Fixed two bypass problems with URLs which length is close to the limit
defined by MAX_BUF. The resulting proxy line exceeds this limit and causes
either squid or squidGuard to properly block a site.

2009-10-15 Fixed a problem with very long URLs. SquidGuard will go into
emergency mode when a overlong URLs are encountered. The emergency mode causes an
entire stop of blocking. This is not appropriate in this situation.

2009-09-30 Added patch by beber and gentoo (thank you!) to fix a problem when cross
compiling (bug 56).

2009-09-27 Added patch by gentoo to fix alocal warnings (bug 57).

2009-09-15 Added a feature to send log messages to syslog based on the patch from
Jun Jiang (thank you). (bug 42) In order to use syslog you have to run
configure with the new option "--with-syslog". In the configuration file you need to add a
line "syslog enable". If any other value but "enable" is used syslog is disabled and logging
to squidGuard.log takes place as usual. The following log level are used: DEBUG, NOTICE,
WARN, ERROR and EMERG. The local4 syslog facility is used by default. If you want to change
this, use the configure option "--with-syslog-facility=<facility>".

2009-09-12 Anonymized passwords (for connecting to the ldap or mysql server) written
to logfiles when squidGuard is starting. Added two configure options for choosing
different location for the LDAP include and library files.

2009-08-25 Added patch to check IP addresses against LDAP. Patch by Denis Bonnenfant
(bug 41) - thank you.

2009-08-23 Added patch to allow quoted strings in the configuration file (bug 53).
For more information see README.QuotedStrings. Thanks to Iain Fothergill for providing
the patch. Removed the fix for usernames starting with a number because it breaks the
time declarations.

2009-05-08 Added patch by INL to enable blocking against DNS based blacklists (bug 55).
Fixed re-opened bug 12: a problem with regular expressions. An entry like "www\.google\.de"
did not block www.google.de which it was supposed to do.
Solving this issue solved bug 46 as well.

2009-03-08 Fixed bug 52: Sometimes squidGuard crashes with an overflow
error message for vsprintf. Thanks to Dirk Schoebel for suggesting the proper fix.
Fixed bug 49: Using numeric username made squidGuard goes into emergency mode. This
has been fixed. Usernames can now start with a number, be numeric and can additionally
contain the following characters: @,à,é,è,ñ,á,ì,í,ò,ó,ù,ú."

Signed-off-by: Matthias Fischer <matthias.fischer at ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
8365bd1aaa strace: This package now links against elfutils
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
38736148c7 core147: Ship iproute2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Matthias Fischer
d289d6fb5c iproute2: Update to 5.7.0
For details see:
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/?h=v5.7.0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Matthias Fischer
8b245523e5 joe: Update to 4.6
For details see:
https://joe-editor.sourceforge.io/NEWS.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Michael Tremer
aee4a61ad3 core147: Ship updated crypto libraries
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:58 +00:00