]> git.ipfire.org Git - people/ms/ipfire-2.x.git/log
people/ms/ipfire-2.x.git
6 months agoopenvpn: Add an initscript for N2N connections
Michael Tremer [Sat, 23 Mar 2024 13:39:30 +0000 (14:39 +0100)] 
openvpn: Add an initscript for N2N connections

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoopenvpnctrl: Remove the stuff we no longer need
Michael Tremer [Thu, 21 Mar 2024 17:08:31 +0000 (18:08 +0100)] 
openvpnctrl: Remove the stuff we no longer need

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoinitscripts: Start the OpenVPN Authenticator, too
Michael Tremer [Thu, 21 Mar 2024 17:05:51 +0000 (18:05 +0100)] 
initscripts: Start the OpenVPN Authenticator, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoinitscripts: Add an initscript for OpenVPN RW
Michael Tremer [Thu, 21 Mar 2024 16:58:46 +0000 (17:58 +0100)] 
initscripts: Add an initscript for OpenVPN RW

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agofirewall: Split OpenVPN INPUT chains for RW & N2N
Michael Tremer [Thu, 21 Mar 2024 15:51:39 +0000 (16:51 +0100)] 
firewall: Split OpenVPN INPUT chains for RW & N2N

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove option to enable on ORANGE/BLUE
Michael Tremer [Thu, 21 Mar 2024 15:47:21 +0000 (16:47 +0100)] 
ovpnmain.cgi: Remove option to enable on ORANGE/BLUE

There is no point in not making this service available to any local
networks when it always has to be reachable from the Internet.

This still has to be reflected in the initscripts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Migrate to subnet topology
Michael Tremer [Wed, 20 Mar 2024 19:38:52 +0000 (20:38 +0100)] 
ovpnmain.cgi: Migrate to subnet topology

For dynamic pools, this change is easy and does not require any extra
steps. For CCD clients however, we need to update the configuration to
replace the server IP address with the subnet mask.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Create functions to read CCD client/server routes
Michael Tremer [Wed, 20 Mar 2024 16:34:00 +0000 (17:34 +0100)] 
ovpnmain.cgi: Create functions to read CCD client/server routes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove comment that a restart is required
Michael Tremer [Wed, 20 Mar 2024 16:33:14 +0000 (17:33 +0100)] 
ovpnmain.cgi: Remove comment that a restart is required

This is incorrect as we can change CCD data without restarting the
server.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Refactor writing CCD files
Michael Tremer [Wed, 20 Mar 2024 16:20:16 +0000 (17:20 +0100)] 
ovpnmain.cgi: Refactor writing CCD files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Drop validdotmask()
Michael Tremer [Wed, 20 Mar 2024 13:56:20 +0000 (14:56 +0100)] 
ovpnmain.cgi: Drop validdotmask()

This is a totally braindead function that prevented some basic usability
by using the more modern prefix notation. It simply checks if there is a
freaking dot. Great!

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Drop hostsinnet
Michael Tremer [Wed, 20 Mar 2024 13:45:14 +0000 (14:45 +0100)] 
ovpnmain.cgi: Drop hostsinnet

This is no longer needed as we can use the function that lists all
addresses that are in use and count them.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Refactor listing CCD addresses
Michael Tremer [Wed, 20 Mar 2024 13:42:27 +0000 (14:42 +0100)] 
ovpnmain.cgi: Refactor listing CCD addresses

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Refactor ccdmaxclients()
Michael Tremer [Wed, 20 Mar 2024 11:32:22 +0000 (12:32 +0100)] 
ovpnmain.cgi: Refactor ccdmaxclients()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Refactor modccnet()
Michael Tremer [Wed, 20 Mar 2024 11:25:58 +0000 (12:25 +0100)] 
ovpnmain.cgi: Refactor modccnet()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Refactor addccdnet()
Michael Tremer [Wed, 20 Mar 2024 11:12:00 +0000 (12:12 +0100)] 
ovpnmain.cgi: Refactor addccdnet()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Move function to check CCD names here
Michael Tremer [Wed, 20 Mar 2024 10:36:23 +0000 (11:36 +0100)] 
ovpnmain.cgi: Move function to check CCD names here

This was in general-functions.pl for some reason.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Refactor function to remove a static pool
Michael Tremer [Wed, 20 Mar 2024 10:33:16 +0000 (11:33 +0100)] 
ovpnmain.cgi: Refactor function to remove a static pool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove enabled marker files
Michael Tremer [Wed, 20 Mar 2024 10:21:58 +0000 (11:21 +0100)] 
ovpnmain.cgi: Remove enabled marker files

Nothing is using these any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove any left-over traces of DH replacement
Michael Tremer [Wed, 20 Mar 2024 10:15:18 +0000 (11:15 +0100)] 
ovpnmain.cgi: Remove any left-over traces of DH replacement

Since there is no way for the user to manipulate this any more, there is
no point in checking and showing the DH parameters.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove excess whitespace
Michael Tremer [Wed, 20 Mar 2024 10:12:37 +0000 (11:12 +0100)] 
ovpnmain.cgi: Remove excess whitespace

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove more dead code
Michael Tremer [Wed, 20 Mar 2024 10:09:39 +0000 (11:09 +0100)] 
ovpnmain.cgi: Remove more dead code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Force NCP on clients
Michael Tremer [Tue, 19 Mar 2024 19:44:18 +0000 (20:44 +0100)] 
ovpnmain.cgi: Force NCP on clients

This change requires that all clients support NCP if they are set up
with a new connection. Existing clients remain supported using the
fallback cipher option.

This will result that connections with OpenVPN <= 2.3 cannot be set up
any more which is totally fine since that version is EOL.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoopenvpn: Update to 2.6.9
Michael Tremer [Tue, 19 Mar 2024 19:14:26 +0000 (19:14 +0000)] 
openvpn: Update to 2.6.9

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Completely remove compression for RW clients
Michael Tremer [Tue, 19 Mar 2024 19:11:31 +0000 (20:11 +0100)] 
ovpnmain.cgi: Completely remove compression for RW clients

We will use the "compress migrate" option which disables compression by
default. If a client has been found that wants to use compression, the
server will push "stub-v2" to disable it. If that does not work, the
server might fall back to compression.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Implement cipher negotiation for RW clients
Michael Tremer [Tue, 19 Mar 2024 18:32:50 +0000 (19:32 +0100)] 
ovpnmain.cgi: Implement cipher negotiation for RW clients

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove presetting removed options
Michael Tremer [Tue, 19 Mar 2024 17:38:34 +0000 (18:38 +0100)] 
ovpnmain.cgi: Remove presetting removed options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove dead code
Michael Tremer [Tue, 19 Mar 2024 17:37:45 +0000 (18:37 +0100)] 
ovpnmain.cgi: Remove dead code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Use SHA512 for hashing by default
Michael Tremer [Tue, 19 Mar 2024 17:37:24 +0000 (18:37 +0100)] 
ovpnmain.cgi: Use SHA512 for hashing by default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Keep the fallback cipher disabled by default
Michael Tremer [Tue, 19 Mar 2024 17:36:42 +0000 (18:36 +0100)] 
ovpnmain.cgi: Keep the fallback cipher disabled by default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Allow to disable the fallback cipher
Michael Tremer [Tue, 19 Mar 2024 17:32:25 +0000 (18:32 +0100)] 
ovpnmain.cgi: Allow to disable the fallback cipher

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Rename cipher selection to fallback cipher
Michael Tremer [Tue, 19 Mar 2024 17:26:27 +0000 (18:26 +0100)] 
ovpnmain.cgi: Rename cipher selection to fallback cipher

This is to keep ancient clients and clients that have NCP disabled
happy.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolang: Update because of OpenVPN changes
Michael Tremer [Tue, 19 Mar 2024 17:04:20 +0000 (18:04 +0100)] 
lang: Update because of OpenVPN changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoCSS: Make all <select> and <textarea> use all available space
Michael Tremer [Tue, 19 Mar 2024 17:02:17 +0000 (18:02 +0100)] 
CSS: Make all <select> and <textarea> use all available space

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Fix the completely fucked table layout
Michael Tremer [Tue, 19 Mar 2024 16:57:39 +0000 (17:57 +0100)] 
ovpnmain.cgi: Fix the completely fucked table layout

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Move the cryptographic options to the advanced page
Michael Tremer [Tue, 19 Mar 2024 16:49:59 +0000 (17:49 +0100)] 
ovpnmain.cgi: Move the cryptographic options to the advanced page

Since we don't want people play too much with these, we move them to the
advanced settings page.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Fix resetting compression setting
Michael Tremer [Tue, 19 Mar 2024 16:14:03 +0000 (17:14 +0100)] 
ovpnmain.cgi: Fix resetting compression setting

The compression option was reset (disabled) when the Save button on the
main was being clicked.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove crypto error/warning boxes
Michael Tremer [Tue, 19 Mar 2024 16:11:00 +0000 (17:11 +0100)] 
ovpnmain.cgi: Remove crypto error/warning boxes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove authorship comments
Michael Tremer [Tue, 19 Mar 2024 15:58:30 +0000 (16:58 +0100)] 
ovpnmain.cgi: Remove authorship comments

These are not very useful.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Don't mess with the OpenVPN status file
Michael Tremer [Tue, 19 Mar 2024 15:51:29 +0000 (16:51 +0100)] 
ovpnmain.cgi: Don't mess with the OpenVPN status file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Move things that belong together together
Michael Tremer [Tue, 19 Mar 2024 15:44:02 +0000 (16:44 +0100)] 
ovpnmain.cgi: Move things that belong together together

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Don't create CCD configuration files on every call
Michael Tremer [Tue, 19 Mar 2024 15:41:53 +0000 (16:41 +0100)] 
ovpnmain.cgi: Don't create CCD configuration files on every call

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Reorganise loading external modules
Michael Tremer [Tue, 19 Mar 2024 15:39:21 +0000 (16:39 +0100)] 
ovpnmain.cgi: Reorganise loading external modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Don't include lang.pl again when its already loaded in header.pl
Michael Tremer [Tue, 19 Mar 2024 15:38:54 +0000 (16:38 +0100)] 
ovpnmain.cgi: Don't include lang.pl again when its already loaded in header.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Don't load colours when they are already loaded in header.pl
Michael Tremer [Tue, 19 Mar 2024 15:38:19 +0000 (16:38 +0100)] 
ovpnmain.cgi: Don't load colours when they are already loaded in header.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove unused variable hack
Michael Tremer [Tue, 19 Mar 2024 15:34:51 +0000 (16:34 +0100)] 
ovpnmain.cgi: Remove unused variable hack

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Drop newcleanssldatabase()
Michael Tremer [Tue, 19 Mar 2024 15:32:33 +0000 (16:32 +0100)] 
ovpnmain.cgi: Drop newcleanssldatabase()

I have no idea why this was added when there is a function that does the
same already. The remove function also had typos in the path which
probably resulted in it not working very well.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Use the formatting function we already have
Michael Tremer [Tue, 19 Mar 2024 15:29:30 +0000 (16:29 +0100)] 
ovpnmain.cgi: Use the formatting function we already have

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Drop unused refresh code
Michael Tremer [Tue, 19 Mar 2024 15:19:37 +0000 (16:19 +0100)] 
ovpnmain.cgi: Drop unused refresh code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Tidy up starting/restarting the RW server
Michael Tremer [Tue, 19 Mar 2024 15:18:44 +0000 (16:18 +0100)] 
ovpnmain.cgi: Tidy up starting/restarting the RW server

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Use default functions to check what subnets exist
Michael Tremer [Tue, 19 Mar 2024 15:10:40 +0000 (16:10 +0100)] 
ovpnmain.cgi: Use default functions to check what subnets exist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Remove certificate warnings
Michael Tremer [Tue, 19 Mar 2024 15:02:34 +0000 (16:02 +0100)] 
ovpnmain.cgi: Remove certificate warnings

I believe that these don't really work and are always shown.
Please see #13634.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Fix some whitespace issues
Michael Tremer [Tue, 19 Mar 2024 14:54:07 +0000 (15:54 +0100)] 
ovpnmain.cgi: Fix some whitespace issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoovpnmain.cgi: Enable debugging
Michael Tremer [Tue, 19 Mar 2024 14:53:46 +0000 (15:53 +0100)] 
ovpnmain.cgi: Enable debugging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolinux-firmware: ship needed config txt files.
Arne Fitzenreiter [Tue, 26 Nov 2024 11:02:50 +0000 (12:02 +0100)] 
linux-firmware: ship needed config txt files.

these files are parsed by the kernel at firmware load and are needed!
don't remove it again.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
6 months agokernel: update to 6.6.63
Arne Fitzenreiter [Mon, 25 Nov 2024 17:32:27 +0000 (18:32 +0100)] 
kernel: update to 6.6.63

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
6 months agokernel: rootfile update aarch64
Arne Fitzenreiter [Wed, 20 Nov 2024 14:51:39 +0000 (15:51 +0100)] 
kernel: rootfile update aarch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
6 months agokernel: rebase aarch64 patchset and add nanopi r2s plus oc devicetree
Arne Fitzenreiter [Wed, 20 Nov 2024 08:47:59 +0000 (09:47 +0100)] 
kernel: rebase aarch64 patchset and add nanopi r2s plus oc devicetree

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
6 months agotransmission: add minipnpc as dependency
Arne Fitzenreiter [Tue, 19 Nov 2024 19:32:47 +0000 (20:32 +0100)] 
transmission: add minipnpc as dependency

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
6 months agominiupnpc: change to addon pak
Arne Fitzenreiter [Tue, 19 Nov 2024 19:27:42 +0000 (20:27 +0100)] 
miniupnpc: change to addon pak

transmission need the lib at runtime.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
6 months agokernel: update to 6.6.62
Arne Fitzenreiter [Tue, 19 Nov 2024 18:19:28 +0000 (19:19 +0100)] 
kernel: update to 6.6.62

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocollectd: fix errormessage on fresh installations
Arne Fitzenreiter [Sat, 9 Nov 2024 08:46:53 +0000 (09:46 +0100)] 
collectd: fix errormessage on fresh installations

the /etc/collectd.d/ folder must have at least one file in it
so this add an file with a comment that custom configs should placed
there.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agokernel: update to 6.6.60
Arne Fitzenreiter [Sat, 9 Nov 2024 08:46:24 +0000 (09:46 +0100)] 
kernel: update to 6.6.60

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agonetworking/red: remove leftover debugging messages.
Arne Fitzenreiter [Fri, 8 Nov 2024 17:49:52 +0000 (18:49 +0100)] 
networking/red: remove leftover debugging messages.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agohostapd: fix start/stop buttons
Arne Fitzenreiter [Wed, 6 Nov 2024 10:49:11 +0000 (11:49 +0100)] 
hostapd: fix start/stop buttons

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agonetwork-functions: fix add newline in $wireless_status
Arne Fitzenreiter [Tue, 5 Nov 2024 16:48:17 +0000 (17:48 +0100)] 
network-functions: fix add newline in $wireless_status

with the other syntax perl suggest this change.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore190: ship intel-microcode
Arne Fitzenreiter [Tue, 5 Nov 2024 13:34:35 +0000 (14:34 +0100)] 
core190: ship intel-microcode

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agointel-microcode: Update to version 20241029
Adolf Belka [Wed, 30 Oct 2024 13:28:38 +0000 (14:28 +0100)] 
intel-microcode: Update to version 20241029

- Update from version 20240910 to 20241029
- Update of rootfile not required
- Changelog
    20241029
Update for functional issues. Refer to 14th/13th Generation Intel® Core™
 Processor Specification Update for details at
 https://cdrdv2.intel.com/v1/dl/getContent/740518
Updated Platforms
 Processor   Stepping  F-M-S/PI     Old Ver   New Ver   Products
 RPL-E/HX/S  B0        06-b7-01/32  00000129  0000012b  Core Gen13/Gen14

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agosuricata: Explicitly ignore IPsec traffic unless enabled
Michael Tremer [Mon, 21 Oct 2024 17:03:06 +0000 (17:03 +0000)] 
suricata: Explicitly ignore IPsec traffic unless enabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore190: ship bind
Arne Fitzenreiter [Tue, 5 Nov 2024 08:19:23 +0000 (09:19 +0100)] 
core190: ship bind

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agobind: Update to 9.20.3
Matthias Fischer [Fri, 18 Oct 2024 16:46:18 +0000 (18:46 +0200)] 
bind: Update to 9.20.3

For details see:
https://downloads.isc.org/isc/bind9/9.20.3/doc/arm/html/notes.html#notes-for-bind-9-20-3

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agounbound: Update to 1.22.0
Matthias Fischer [Fri, 18 Oct 2024 16:37:22 +0000 (18:37 +0200)] 
unbound: Update to 1.22.0

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-22-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore190: ship unbound-dhcp-leases-bridge
Arne Fitzenreiter [Tue, 5 Nov 2024 08:13:56 +0000 (09:13 +0100)] 
core190: ship unbound-dhcp-leases-bridge

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agounbound-dhcp-leases-bridge: Fix expiry check on leases
Michael Tremer [Mon, 21 Oct 2024 16:38:49 +0000 (16:38 +0000)] 
unbound-dhcp-leases-bridge: Fix expiry check on leases

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agounbound-dhcp-leases-bridge: Don't overwrite static leases
Michael Tremer [Mon, 21 Oct 2024 16:38:48 +0000 (16:38 +0000)] 
unbound-dhcp-leases-bridge: Don't overwrite static leases

When we import all static leases, their remark will be used as hostname
(because WTF?) and might be overwritten if the device is not sending any
or even the same hostname.

This patch avoids that static leases will be modified.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agounbound-dhcp-leases-bridge: Fix typo
Michael Tremer [Mon, 21 Oct 2024 16:38:47 +0000 (16:38 +0000)] 
unbound-dhcp-leases-bridge: Fix typo

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agounbound-dhcp-leases-bridge: Don't export expired leases to Unbound
Michael Tremer [Mon, 21 Oct 2024 16:38:46 +0000 (16:38 +0000)] 
unbound-dhcp-leases-bridge: Don't export expired leases to Unbound

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore190: ship dhcp client changes
Arne Fitzenreiter [Tue, 5 Nov 2024 08:10:01 +0000 (09:10 +0100)] 
core190: ship dhcp client changes

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agonetworking: Allow changing DHCP Option Rapid Commit
Michael Tremer [Wed, 16 Oct 2024 10:47:17 +0000 (10:47 +0000)] 
networking: Allow changing DHCP Option Rapid Commit

This option needs to be configurable since some (braindead) ISPs have
started running broken DHCP servers to be bug-compatible with cheap
broken plastic routers.

By default we keep this option enabled, but it can now be turned off
whenever needed.

Suggested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore190: ship files with fixed chown syntax
Arne Fitzenreiter [Tue, 5 Nov 2024 07:57:59 +0000 (08:57 +0100)] 
core190: ship files with fixed chown syntax

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agochown: Replace . with : on all shipped scripts
Michael Tremer [Thu, 17 Oct 2024 14:54:16 +0000 (14:54 +0000)] 
chown: Replace . with : on all shipped scripts

I don't like this messy bootup screen that we have with all sorts of
warnings that actually don't cause any problems, but make the boot
messy and send the wrong message to users.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocore190: ship network-hotplug-bridges
Arne Fitzenreiter [Tue, 5 Nov 2024 07:50:01 +0000 (08:50 +0100)] 
core190: ship network-hotplug-bridges

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agoudev: network-hotplug-bridges: Silence a warning when interfaces have gone away
Michael Tremer [Thu, 17 Oct 2024 14:54:15 +0000 (14:54 +0000)] 
udev: network-hotplug-bridges: Silence a warning when interfaces have gone away

It can happen that udev has an event for an interface in the queue that
has already gone away - or even just being renamed.

Then reading the MAC address fails. Because the shell expands the
"$(<...)" statement before running the whole line, the read check is
useless.

Because the code would get too complicated otherwise, I decided to use
cat. Not cool, but this does the job.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agowlanap.cgi: Use the correct array to fetch the current interface
Michael Tremer [Thu, 17 Oct 2024 14:54:14 +0000 (14:54 +0000)] 
wlanap.cgi: Use the correct array to fetch the current interface

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agohostapd: Enable logging to syslog
Michael Tremer [Thu, 17 Oct 2024 14:54:13 +0000 (14:54 +0000)] 
hostapd: Enable logging to syslog

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agokernel: update to 6.6.59
Arne Fitzenreiter [Mon, 4 Nov 2024 17:00:11 +0000 (18:00 +0100)] 
kernel: update to 6.6.59

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agogdb: rootfile update
Arne Fitzenreiter [Tue, 29 Oct 2024 12:03:16 +0000 (13:03 +0100)] 
gdb: rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agoConfig: add ROOTFILE_APPEND variable to select rootfile
Arne Fitzenreiter [Sun, 27 Oct 2024 12:47:57 +0000 (13:47 +0100)] 
Config: add ROOTFILE_APPEND variable to select rootfile

also gcc on riscv64 has to different rootfile at build so make
the selection of an additional rootfile univarsal.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agokernel: fix riscv64 rootfile
Arne Fitzenreiter [Sun, 27 Oct 2024 08:48:23 +0000 (09:48 +0100)] 
kernel: fix riscv64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agokernel: update riscv64 config and rootfile
Arne Fitzenreiter [Sat, 26 Oct 2024 08:06:12 +0000 (10:06 +0200)] 
kernel: update riscv64 config and rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agogdb: update rootfile
Arne Fitzenreiter [Sat, 26 Oct 2024 08:01:08 +0000 (10:01 +0200)] 
gdb: update rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agoruby: make rootfile arch independend
Arne Fitzenreiter [Sat, 26 Oct 2024 07:54:31 +0000 (09:54 +0200)] 
ruby: make rootfile arch independend

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agogdb: update aarch64 rootfile
Arne Fitzenreiter [Thu, 24 Oct 2024 06:22:54 +0000 (08:22 +0200)] 
gdb: update aarch64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agokernel: update to 6.6.58
Arne Fitzenreiter [Thu, 24 Oct 2024 06:22:21 +0000 (08:22 +0200)] 
kernel: update to 6.6.58

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agocdrom: add serial console to uEFI menu
Arne Fitzenreiter [Thu, 24 Oct 2024 06:20:17 +0000 (08:20 +0200)] 
cdrom: add serial console to uEFI menu

this is only needed on systems that support both video out and serial
console to force serial.

7 months agoflash-images: move sleep 1 to a better place
Arne Fitzenreiter [Thu, 24 Oct 2024 06:18:07 +0000 (08:18 +0200)] 
flash-images: move sleep 1 to a better place

kpartx trigger the automount feature of some desktop environments
which result in a mounted filesystem if it was created to fast after
kpartx.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agoflash-images: add sleep 1 after umount the images
Arne Fitzenreiter [Wed, 16 Oct 2024 19:37:19 +0000 (21:37 +0200)] 
flash-images: add sleep 1 after umount the images

sometime zerofree will not able to write without this delay.
I have no idea why?

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agovdr: update to version 2.6.9
Arne Fitzenreiter [Wed, 16 Oct 2024 19:35:00 +0000 (21:35 +0200)] 
vdr: update to version 2.6.9

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agolfs/Config: fix used rootfile for linux headers
Arne Fitzenreiter [Wed, 16 Oct 2024 19:33:58 +0000 (21:33 +0200)] 
lfs/Config: fix used rootfile for linux headers

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 months agonmap: rootfile update
Arne Fitzenreiter [Wed, 16 Oct 2024 19:32:40 +0000 (21:32 +0200)] 
nmap: rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>