Commit Graph

7121 Commits

Author SHA1 Message Date
Arne Fitzenreiter
8961fd0852 core141: run convert-dns-settings at update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-25 19:44:18 +00:00
Arne Fitzenreiter
87dfe754a2 core141: check free space on root
also force fsck at next boot to free the journal on xfs partitions.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-25 15:28:06 +00:00
Arne Fitzenreiter
efc4a15600 core140: don't system-release and co
This files contain version 141 because there is no extra build
so don't pak it into the updater to prevent wrong display in webgui
if core141 fails because there is not enough diskspace.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-25 15:16:12 +00:00
Arne Fitzenreiter
ac924baf92 core141: cleanup go-8.3.0 and run filesystem-cleanup
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-25 15:13:51 +00:00
Stefan Schantl
612bb2dff9 ids-functions.pl: Introduce file for local rules.
This file is to be used, to store customized IDS rules.

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-25 15:04:39 +00:00
Arne Fitzenreiter
140707831b core140: remove /usr/lib/libboost*1.55.0 at cleanup
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-24 19:20:36 +01:00
Arne Fitzenreiter
69c529972a core140: insert a core upgrade that only cleans the rootfs
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-24 19:14:02 +01:00
Arne Fitzenreiter
d3bf851bf8 rename core140 to core141
we need to insert a core that cleanup root to free some diskspace.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-24 08:55:40 +01:00
Arne Fitzenreiter
30fcfc4cd5 core140: ship glibc built with new gcc
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-23 17:53:23 +00:00
Arne Fitzenreiter
fa886f2561 core140: add gui.cgi
this cgi was forgotten in core139

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-23 17:47:42 +00:00
Arne Fitzenreiter
b3e3c81895 core140: add changed cloudsetup helper tu updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-19 17:28:24 +00:00
Arne Fitzenreiter
dc08d74d95 core140: fix typo
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-19 12:23:54 +00:00
Arne Fitzenreiter
97f4b51474 partresize: NanoPi R1: copy also a0 config of Ampac AP6212
there is a second hardware version of the AP6212 in some NanoPi R1
boards.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-17 11:26:10 +01:00
Arne Fitzenreiter
7fd560d81f core140: add lvm2 to core updater
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:28:26 +00:00
Michael Tremer
8893881160 lvm2: Add initscript for lvmetad
This daemon needs to be launched in order to use LVM
devices in IPFire.

It will run on all installations after this patch has been
merged but only consumes very little memory.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-16 18:23:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
Arne Fitzenreiter
6ede197501 pathon: update to 3.8 and move pyhton to core
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:35:11 +01:00
Arne Fitzenreiter
2f767b7b21 make.sh: update IPFire and Toolchain verion
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-11 14:15:45 +01:00
Arne Fitzenreiter
62a1f5199c gcc: update armv5tel rootfile 2020-01-11 14:11:12 +01:00
Stefan Schantl
12c49915d8 ids-functions.pl: Update generate_dns_servers_file() function.
The function now uses the newly introduced get_nameservers() function
while generating the DNS servers file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-09 16:25:01 +01:00
Stefan Schantl
c8dcd46537 general-functions.pl: Add get_nameservers().
This function simply return an array of all used nameservers.

It also takes care if the usage of ISP assigned nameservers
is enabled or not and if user-added nameservers are enabled or not.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-09 16:08:13 +01:00
Stefan Schantl
9702252470 dns.cgi: Move grab_address_from_file function to general-functions.pl
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-08 18:44:41 +01:00
Michael Tremer
beebf925c3 unbound: Implement setting qname minimisation into strict mode
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-07 16:32:35 +00:00
Michael Tremer
ffc46751f2 unbound: Add path to TLS CA bundle
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-07 12:59:24 +00:00
Michael Tremer
372576e0ab unbound: Set EDNS buffer size to 1232 bytes
Fixes: #12240
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-07 11:12:33 +00:00
Michael Tremer
cdfc93cb7a webif: Show menu entry for DNS all the time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-07 10:48:01 +00:00
Michael Tremer
ecbf66761f DNS: Add converter to migrate settings
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-01-07 10:43:19 +00:00
Stefan Schantl
0bb159bbfc Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next 2020-01-05 12:15:00 +01:00