61 Commits

Author SHA1 Message Date
Michael Tremer
39f94ee8eb Drop support for armv6l (and armv7hl)
This removes support for building IPFire for 32 bit ARM architectures.

This has been decided in August 2022 with six months notice as there are
not very many users and hardware is generally not available any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-02-10 09:26:37 +00:00
Peter Müller
d574941b90 Merge branch 'temp-stevee-ipblocklist-final' into next 2022-07-10 08:20:15 +00:00
Peter Müller
65630b4a6b Finally get rid of orphaned xt_geoip directories
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-07-09 11:55:29 +00:00
Stefan Schantl
9759d96e1b stage2: Add database directory for ipblocklist feature.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-07-07 17:27:14 +02:00
Peter Müller
cad2ce78dd Core Update 167: Replace /etc/mtab by symlink to /proc/self/mounts
mount, as updated via util-linux, no longer writes /etc/mtab, causing
programs to rely on this file's content (such as the check_disk Nagios
plugin) to stop working.

/proc/self/mounts contains all the necessary information, so it is fine
to replace /etc/mtab by a symlink to it.

Fixes: #12843

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-12 14:10:08 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
0b6d12adae Drop orphaned ovpn-ccd-convert script
This script appeared in the rootfiles for Core Updates 65 and 66, being
released in late 2012 and early 2013. It is not used elsewhere, and
there is no sense in keeping it around on IPFire installations.

Should this patch be accepted, a corresponding 'rm' statement is
necessary in the update.sh script of the Core Update it will go into.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-21 08:50:30 +00:00
Peter Müller
9073b52c77 stage2: Remove forgotten mv command
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-19 09:46:27 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Arne Fitzenreiter
e4a5b22417 stage2: remove wrong curly brackets.
It is not allowed use this with only one parameter.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-02 14:35:07 +00:00
Michael Tremer
2b676f2e42 findutils: Create /var/lib/locate
This is required for updatedb to store its data.

Fixes: #12670
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2021-12-09 21:04:50 +01:00
Arne Fitzenreiter
5a7f7dd587 issue/motd: add architecture warning also to console and ssh logins.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-11-30 09:35:19 +01:00
Michael Tremer
7ae1dcb33e Install sysctl.conf only on those architectures where needed
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-11 12:12:56 +00:00
Michael Tremer
2d5494a8cf riscv64: Move libraries back to /usr/lib64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-06 11:14:49 +00:00
Michael Tremer
6dc206ab69 Drop /usr/lib/sse2
This is now unused

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-16 18:00:16 +00:00
Michael Tremer
708f2b7368 openvpn: Add metrics script
This script is called when an OpenVPN Roadwarrior client
connects or disconnect and logs the start and duration
of the session.

This can be used to monitor session duration and data transfer.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-01 19:18:00 +00:00
Michael Tremer
20253656fc Add /etc/os-release
This file is being read by some packages to find out on what
distribution they are running on.

This file needs to be included in every Core Update.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-04-20 15:27:50 +00:00
Arne Fitzenreiter
06fc566a0a make.sh remove extra PAKFIRE_CORE version for nightly builds
this is useless because the new nightly also copies the core updaters
to the unstable and testing pakfire trees.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-02-15 17:11:42 +00:00
Michael Tremer
6c920b19cd IPsec: Rename ipsec-block script to ipsec-policy
This is a more general name for a script that will be extended
soon to do more than just add blocking rules.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-04 18:20:36 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
6c4cc7ea1b Move toolchain from /tools to /tools_${arch}
This will allow us to run multiple builds on the same
system at the same time (or at least have them on disk).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-23 15:57:28 +00:00
Alexander Marx
4d9002279f Captive-Portal: add crontab and cleanup scripts
The cleanup script is called every hour and deletes expired clients from
the clients file.
every night the captivectrl warpper runs once to flush the chains and
reload rules for active clients

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
2017-09-22 18:54:03 +01:00
Michael Tremer
ec51f20d52 stage2: Make sure to install lib64 symlinks on all 64 bit architectures
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:05:48 +01:00
Michael Tremer
dc7d6b204d make.sh: Cleanup of polluted environment
The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:03 +01:00
Matthias Fischer
057aaf42b6 BUG 11305: Suggested fix for '/var/log/btmp' permissions
Fixes BUG 11305, for details see:
https://bugzilla.ipfire.org/show_bug.cgi?id=11305

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-03 17:05:39 +01: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
Michael Tremer
80fbd89949 ipsec: Add block rules to avoid conntrack entries
If an IPsec VPN connections is not established, there are
rare cases when packets are supposed to be sent through
that said tunnel and incorrectly handled.

Those packets are sent to the default gateway an entry
for this connection is created in the connection tracking
table (usually only happens to UDP). All following packets
are sent the same route even after the tunnel has been
brought up. That leads to SIP phones not being able to
register among other things.

This patch adds firewall rules that these packets are
rejected. That will sent a notification to the client
that the tunnel is not up and avoid the connection to
be added to the connection tracking table.

Apart from a small performance penalty there should
be no other side-effects.

Fixes: #10908

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Cc: tomvend@rymes.com
Cc: daniel.weismueller@ipfire.org
Cc: morlix@morlix.de
Reviewed-by: Timo Eissler <timo.eissler@ipfire.org>
2015-10-15 22:44:47 +01:00
Michael Tremer
fc155193bd Allow building for x86_64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-22 12:24:20 +02:00
Stefan Schantl
e6c4f090b6 Merge branch 'next-geoip' into core-90-geoip 2015-04-15 17:10:49 +02:00
Alexander Marx
462056ad86 vpn-statistic: move collectd converter to the right place
Build of cdrom will fail if the converter script is not moved to the
right place
2015-04-11 08:33:02 +02:00
Stefan Schantl
bc9446c65f Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x into seventeen-geoip
Conflicts:
	make.sh
2015-02-14 12:34:31 +01:00
Arne Fitzenreiter
7e6be0de5b firmwares: add Banana Pro and Wandboard wlan NVRAM files. 2015-01-30 18:09:21 +01:00
Stefan Schantl
58c74d0787 lfs/stage2: Add directory for geoip databases. 2015-01-04 13:36:06 +01:00
Michael Tremer
da840da867 Remove template of /etc/fstab 2014-08-24 16:09:54 +02:00
Michael Tremer
89066697c4 gmp: Ship MMX/SSE/SSE2 enabled version. 2014-07-18 15:21:34 +02:00
Michael Tremer
73372ed4e6 firewall: Move scripts from /var/ipfire/firewall/bin to /usr/lib/firewall. 2014-01-28 20:48:24 +01:00
Arne Fitzenreiter
b8e2d10888 fifteen: move /var/run to /run. 2014-01-12 12:15:44 +01:00
Arne Fitzenreiter
b474c1ca15 stage2: add /run symlink to /var/run. 2013-11-18 23:34:00 +01:00
Michael Tremer
d02853e73c Create /etc/system-release in stage2. 2013-09-30 21:16:03 +02:00
Michael Tremer
065c9931ac Write /opt/pakfire/db/core/mine in stage2. 2013-09-30 21:08:44 +02:00
Arne Fitzenreiter
d7a3254ace Merge remote-tracking branch 'origin/next' into thirteen
Conflicts:
	config/rootfiles/common/stage2
	make.sh
2012-12-06 19:29:29 +01:00
Stefan Schantl
07cdb8f659 Add ovpn-ccd-convert script.
This script is required, to convert existing OpenVPN roadwarrior configurations to
work with the new CCD extension.
2012-11-17 16:35:38 +01:00
Michael Tremer
b21b0df6a6 Import bash startfiles from IPFire 3.x. 2012-11-11 23:28:52 +01:00
Michael Tremer
4a3378526d stage2: Link libstdc++ from toolchain to build chroot. 2012-08-12 16:51:41 -04:00
Jan Paul Tuecking
7274a673f0 Read license agreement out of file. 2010-12-05 19:20:58 +01:00
Arne Fitzenreiter
fb617ff539 Set wlan regulatory domain to "EU". 2010-02-15 20:14:11 +01:00
ms
05402246c9 Made bashrc work.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1057 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-04 16:51:19 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
99f3c72fc2 Ein Alsa-Initscript gebaut, was beim Herunterfahren die Lautstaerke speichert.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@636 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-18 20:20:21 +00:00
ms
83843a1c79 Den Nettraffic Buildprozess bearbeitet.
Ein neues Snort-Initscript, was noch zuende bearbeitet werden muss.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@601 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-01 22:13:16 +00:00