Commit Graph

14154 Commits

Author SHA1 Message Date
Michael Tremer
c835011d6e lvm2: Enable lvmetad
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:22:51 +00:00
Michael Tremer
f9f79c662c lvm2: Build with support for udev
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:22:40 +00:00
Michael Tremer
03d559964c lvm2: Ship with core system
This was requested by some users to mount devices
with LVM.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:22:30 +00:00
Michael Tremer
87bee81c56 Update list of contributors
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:22:14 +00:00
Stéphane Pautrel
bcf318fbd0 Many improvements for the French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:21:53 +00:00
Stefan Schantl
c919b15c34 DNS: Defaults to use the ISP nameservers.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:21:14 +00:00
Stefan Schantl
b48379d5ba configroot: Create /var/ipfire/dns/servers file
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:20:58 +00:00
Arne Fitzenreiter
e4c19cc91c core140: add dns changes to updater.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 15:01:13 +01:00
Arne Fitzenreiter
9662858bd8 Revert "stage2: update rootfile"
This reverts commit a877032915.
2020-01-15 17:15:48 +00:00
Arne Fitzenreiter
3a380f87c7 Revert "Introduce update-location-database script."
This reverts commit 93a985cc05.
2020-01-15 17:15:25 +00:00
Arne Fitzenreiter
834b933ca5 Revert "crontab: Adjust crontab to hourly launch the update-location-database"
This reverts commit f8e7c1c9d0.
2020-01-15 17:14:57 +00:00
Arne Fitzenreiter
cb1c8f108f set version in backupiso and also pakfire core to 140
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-14 21:10:15 +00:00
Stefan Schantl
19602b681f dns.cgi: Fix ID and greater than checks.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-14 21:01:44 +00:00
Stefan Schantl
3a5866ac2b dns.cgi: Set kdig params for timeout and retry back to default.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-14 21:01:42 +00:00
Arne Fitzenreiter
a877032915 stage2: update rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-14 06:54:45 +00:00
Arne Fitzenreiter
61cc563558 Merge remote-tracking branch 'ms/next-dns-ng' into next 2020-01-13 21:42:49 +00:00
Arne Fitzenreiter
23dc6e0b23 Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2020-01-13 21:38:16 +00:00
Daniel Weismüller
1475bc53a4 filesystem-cleanup: Add parameter to show changes
Use --dry-run to only show files that would be deleted, but do
not actually delete them.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-13 21:36:06 +00:00
Michael Tremer
97756e2124 filesystem-cleanup: Automatically remove old libraries
This script runs through /usr/lib and /lib and tries to find
all libraries which are no longer being used and more and
deletes them.

This will help us to free space on root partitions that
are limited to 2GB.

However, the script does not cover 100% of the cases, so that
some files still need to be deleted manually (e.g. boost with
their weird versioning schema).

This script should be executed after a Core Update has been
installed.

Fixes: #12270
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-13 21:35:37 +00:00
Michael Tremer
aab6ec606a amazon-ssm-agent: Move source to GOPATH
Go won't build when this is only symlinked any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-13 21:35:20 +00:00
Michael Tremer
7be4822f3d unbound: Make dhcp-leases.conf readable for everyone
unbound runs as nobody and cannot reload its configuration
when this file is only readable for root.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:43:27 +01:00
Michael Tremer
04b7a78140 unbound: Do not reset safe search again
This is now done in the reload stage and we do not need to
take care about it again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:25:10 +01:00
Michael Tremer
ebc14e8db2 unbound: Drop some unused variables
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:20:32 +01:00
Michael Tremer
24a694d425 unbound: Drop function to reload forwarders on the fly
This is now being done by updating and re-reading forward.conf.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:19:22 +01:00
Michael Tremer
77c454b267 dnsforward.cgi: Reloading unbound is enough to apply changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:13:03 +01:00
Michael Tremer
d37cdb1bf8 hosts.cgi: Hosts can now be imported when reloading unbound
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:12:02 +01:00
Michael Tremer
6137797cb3 unbound: Write hosts to unbound configuration file
This will allow us to read more hosts in a shorter time.

Fixes: #11743
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 21:10:18 +01:00
Michael Tremer
903247fef8 unbound: There is no need to rewrite tuning.conf
The number of CPU cores and memory normally does not change

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 20:55:59 +01:00
Michael Tremer
f59bc0c55d unbound: Reload own hostname, too
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 20:55:32 +01:00
Michael Tremer
a25dcda295 dns.cgi: Fix check for undefined variable
This was positive when zero was returned.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-13 20:44:55 +01:00
Stefan Schantl
39a6219fff dns.cgi: Show error when trying to use ISP nameservers and TLS at the same time.
Because the ISP-assigned nameservers do not have any TLS-hostname
information they cannot be used, when TLS is activated.

They only can be used if they will be added as "regular" DNS servers
with a TLS-hostname.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-13 17:40:29 +01:00
Michael Tremer
6e61f357fb setup: Remove DNS settings
This is no longer required since we have a new CGI script
that takes care of all DNS settings and stores things in
another format.

Fixes: #12235
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-13 17:29:27 +01:00
Stefan Schantl
611587cf29 dns.cgi: Fix id compare when adding a new nameserver.
I do not know why perl when using "le" which means "less-or-equal"
defines a "10" as "1".

This commit fixes the issue that it was not possible to add more than 8
nameservers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-13 10:42:56 +01:00
Arne Fitzenreiter
eba8e481e1 geoip: ship database 20191217
Maxmind has disabled the download so we ship the last free (creative commons)
database with the iso and core until we build an alternative.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-12 12:39:25 +01:00
Arne Fitzenreiter
fec9b4dc09 core140: fix build on armv5tel and i586
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-12 10:48:14 +01:00
Michael Tremer
486112adf8 Go: Move the cache to the ccache directory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-12 08:19:39 +00:00
Michael Tremer
cde41c2e6f Go: Cleanup Go Path after build
Go leaves temporary build files in the directory
which we do not need and we should clean up after
every build.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-12 08:19:17 +00:00
Michael Tremer
44cc9a3d57 amazon-ssm-agent: New package
AWS Systems Manager Agent (SSM Agent) is Amazon software that can be
installed and configured on an Amazon EC2 instance, an on-premises
server, or a virtual machine (VM). SSM Agent makes it possible for
Systems Manager to update, manage, and configure these resources. The
agent processes requests from the Systems Manager service in the AWS
Cloud, and then runs them as specified in the request. SSM Agent then
sends status and execution information back to the Systems Manager
service by using the Amazon Message Delivery Service.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 20:33:36 +00:00
Arne Fitzenreiter
590f879b34 python3: exclude __pycache__ from iso, core and packages
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 21:22:07 +01:00
Stefan Schantl
4caa0efc59 ids.cgi: Do reload instead of restarting unbound
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-11 19:37:50 +01:00
Stefan Schantl
0c1094770a initscripts/unbound: Add support for reload the service
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-11 19:36:29 +01:00
Stefan Schantl
bdb1f38a07 unboundctrl: Add support for calling reload.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-11 19:35:24 +01:00
Stefan Schantl
f03f34298b dns.cgi: Only perform reverse lookup if DNS is working.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-11 19:34:12 +01:00
Michael Tremer
34ae42da0f unbound: No longer try to include safe-search.conf
This file is no longer generated and therefore cannot
be imported any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:18:48 +00:00
Arne Fitzenreiter
22e0e241ce core140: ship updated vpnmain.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:17:50 +00:00
Peter Müller
8e9f096e70 update translation files for vpnmain.cgi changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:15:49 +00:00
Peter Müller
993724b4dd vpnmain.cgi: set SubjectAlternativeName default during root certificate generation
Some IPsec implementations such as OpenIKED require SubjectAlternativeName
data on certificates and refuse to establish connections otherwise.

The StrongSwan project also recommends it (see:
https://wiki.strongswan.org/projects/strongswan/wiki/SimpleCA) although
it is currently not enforced by their IPsec software.

For convenience purposes and to raise awareness, this patch adds a default
SubjectAlternativeName based on the machines hostname or IP address. Existing
certificates remain unchanged for obvious reasons.

The third version of this patch fixes a duplicate DNS query reported by Michael.

Fixes #11594

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:15:28 +00:00
Arne Fitzenreiter
fde4f231a0 Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2020-01-11 14:11:06 +00:00
Arne Fitzenreiter
96e4e8b6f6 suricata: update rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:10:23 +00:00
Arne Fitzenreiter
29ea4ac2c4 elinks: move to core system.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 15:05:49 +01:00