]> git.ipfire.org Git - people/ms/ipfire-2.x.git/log
people/ms/ipfire-2.x.git
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 months agonetwork-functions.pl: Add function to get netmask in dotted format
Michael Tremer [Wed, 20 Mar 2024 16:19:50 +0000 (17:19 +0100)] 
network-functions.pl: Add function to get netmask in dotted format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 months agonetwork-functions.pl: Fix return code check
Michael Tremer [Wed, 20 Mar 2024 11:10:50 +0000 (12:10 +0100)] 
network-functions.pl: Fix return code check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agonetwork-functions.pl: Fix whitespace issues
Michael Tremer [Wed, 20 Mar 2024 11:10:37 +0000 (12:10 +0100)] 
network-functions.pl: Fix whitespace issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agonetwork-functions.pl: Add function to extract prefix
Michael Tremer [Wed, 20 Mar 2024 11:09:58 +0000 (12:09 +0100)] 
network-functions.pl: Add function to extract prefix

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 months agowsdd: Remove dropped initscript
Michael Tremer [Tue, 19 Mar 2024 11:14:42 +0000 (11:14 +0000)] 
wsdd: Remove dropped initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agowsdd: Update install and uninstall pak files
Adolf Belka [Mon, 18 Mar 2024 18:43:14 +0000 (19:43 +0100)] 
wsdd: Update install and uninstall pak files

- As wsdd is now started by samba when it is started then the wsdd install and uninstall
   paks no longer need to create the symlinks for starting and stopping wsdd and no longer
   need the start_service and stop_service commands in the paks.

Fixes: bug#13445
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agowsdd: Update of lfs file - fixes bug#13445
Adolf Belka [Mon, 18 Mar 2024 18:43:13 +0000 (19:43 +0100)] 
wsdd: Update of lfs file - fixes bug#13445

- Removal of services line as wsdd will now be started by the samba option in the addon
   services wui page
- Removal of installing separate wsdd initscript as it is nowe integrated into the samba
   initscript.

Fixes: bug#13445
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agowsdd: remove wsdd initscript as now covered by samba - fixes bug#13445
Adolf Belka [Mon, 18 Mar 2024 18:43:12 +0000 (19:43 +0100)] 
wsdd: remove wsdd initscript as now covered by samba - fixes bug#13445

Fixes: bug#13445
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agosamba: Integrate wsdd initscript into samba initscript - bug#13445
Adolf Belka [Mon, 18 Mar 2024 18:43:11 +0000 (19:43 +0100)] 
samba: Integrate wsdd initscript into samba initscript - bug#13445

- This integrates the wsdd initscript functions into the samba initscript. When samba is
   started or stopped or the status requested then wsdd is part of that process.
- Tested in my vm testbed and confirmed to work for start, stop and status. Confirmed
   pid's shown with status command are in the appropriate pid files.

Fixes: bug#13445
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agocore185: Ship ppp
Michael Tremer [Tue, 19 Mar 2024 11:10:19 +0000 (11:10 +0000)] 
core185: Ship ppp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agoppp: Update to include bug fixes that should be in 2.5.1 but not yet released
Adolf Belka [Fri, 15 Mar 2024 12:38:06 +0000 (13:38 +0100)] 
ppp: Update to include bug fixes that should be in 2.5.1 but not yet released

- Update from version 2.5.0 to commit e1266c7
- Update of rootfile
- When ppp-2.5.0 was released it had a bug bin it that the lock and run directories
   had non standard defaults but also that if the directory did not exist ppp just
   ignored it and continued to start but would then have error messages in the logs about
   not being able to cretae the lock file
- This issue was raised in the ppp github issues and a set of patches merged into ppp.
- The plan was written in Nov 2023 that this would be released as 2.5.1, however nearly
   three months later there is no sight of 2.5.1 being released and people continue to
   flag up the lock directory issues and have to apply a workaround to create the directory
   in local.rc
- This patch has taken the zip source tarball of master at the commit e1266c7. The zip
   tarball was then extracted and then tar'd back up as a tar.gz file with the version set
   at e1266c7 rather than master. I could not find any other way to get a source tarball\
   created at a certain commit stage.
- The patch ppp-2.5.0-2-everywhere-O_CLOEXEC-harder.patch had to be updated due to some
   changes in the source files.
- The patch ppp-2.5.0-7-add-configure-check-to-see-if-we-have-struct-sockaddr_ll.patch
   was removed as the changes are now built into the source tarball.
- This will need to be tested thoroughly by people with ppp to confirm that the lock
   directory is created if it doesn't exist on the system. I can't test that as I have
   no access to a ppp connection system.
- For a view of the changelog between 2.5.0 and e1266c7 the github commits list needs to
   be reviewed. https://github.com/ppp-project/ppp/commits/master/?before=e1266c76d1ad39f98f11676e34f180f78c5a510c+35

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agomake.sh: Update contributors
Michael Tremer [Mon, 18 Mar 2024 16:17:53 +0000 (16:17 +0000)] 
make.sh: Update contributors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agounbound: Update to 1.19.3
Matthias Fischer [Sat, 16 Mar 2024 15:31:43 +0000 (16:31 +0100)] 
unbound: Update to 1.19.3

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-19-3

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
14 months agoMerge branch 'master' into next
Michael Tremer [Mon, 18 Mar 2024 10:14:50 +0000 (10:14 +0000)] 
Merge branch 'master' into next

14 months agoCU184-update.sh: Add drop hostile in & out logging entries
Adolf Belka [Sat, 16 Mar 2024 09:32:54 +0000 (10:32 +0100)] 
CU184-update.sh: Add drop hostile in & out logging entries

- My drop hostile patch set updated the WUI entries to include in and out logging options
   but the values need to be added to the optionsfw entries for existing systems being
   upgraded.
- After the existing CU184 update the LOGDROPHOSTILEIN and LOGDROPHO)STILEOUT entries
   are not in the settings file which trewats them as being set to off, even though they
   are enabled in the WUI update.
- This patch adds the LOGDROPHOSTILEIN and LOGDROPHOSTILEOUT entries into the settings
   file and then runs the firewallctrl command to apply to the firewall.
- Ran a CU184 update on a CU183 vm system and then ran the comands added into the update.sh
   script and then did a reboot. Entries include and DROP_HOSTILE entries start to be
   logged again.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agomympd: update to 14.1.0
Arne Fitzenreiter [Fri, 15 Mar 2024 11:12:34 +0000 (12:12 +0100)] 
mympd: update to 14.1.0

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
15 months agotools: Rewrite checkrootfiles
Michael Tremer [Fri, 15 Mar 2024 10:49:12 +0000 (10:49 +0000)] 
tools: Rewrite checkrootfiles

This is a clean rewrite that makes the script a little bit more modular
and easier to use. It should also show clearer error messages.

Finally, it removes the exclusion of various files that are no longer a
hit any more. The only legitimate exception is qemu.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship time.cgi
Michael Tremer [Thu, 14 Mar 2024 19:17:04 +0000 (19:17 +0000)] 
core185: Ship time.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agotime.cgi: Add German translation
Michael Tremer [Thu, 14 Mar 2024 18:49:51 +0000 (18:49 +0000)] 
time.cgi: Add German translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agotime.cgi: add current date-time to this WebGUI page
Jon Murphy [Mon, 11 Mar 2024 23:45:00 +0000 (18:45 -0500)] 
time.cgi: add current date-time to this WebGUI page

- added words and date-time format to english (en.pl)
- other languages are needed
- seconds included since time is accurate to < .1s
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=2234e8aacac2e0d0b06dac4513585c15c2b3b440

Code-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agoexpat: Update to version 2.6.2
Adolf Belka [Thu, 14 Mar 2024 16:52:08 +0000 (17:52 +0100)] 
expat: Update to version 2.6.2

- Update from version 2.6.1 to 2.6.2
- Update of rootfile
- Changelog
    2.6.2
       Security fixes:
       #839 #842  CVE-2024-28757 -- Prevent billion laughs attacks with
                    isolated use of external parsers.  Please see the commit
                    message of commit 1d50b80cf31de87750103656f6eb693746854aa8
                    for details.
       Bug fixes:
       #839 #841  Reject direct parameter entity recursion
                    and avoid the related undefined behavior
       Other changes:
            #847  Autotools: Fix build for DOCBOOK_TO_MAN containing spaces
            #837  Add missing #821 and #824 to 2.6.1 change log
       #838 #843  Version info bumped from 10:1:9 (libexpat*.so.1.9.1)
                    to 10:2:9 (libexpat*.so.1.9.2); see https://verbump.de/
                    for what these numbers do

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agodnsdist: Update to 1.9.1
Michael Tremer [Thu, 14 Mar 2024 14:17:54 +0000 (14:17 +0000)] 
dnsdist: Update to 1.9.1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agoxz: Update to version 5.6.1
Adolf Belka [Thu, 14 Mar 2024 13:32:58 +0000 (14:32 +0100)] 
xz: Update to version 5.6.1

- Update from version 5.6.0 to 5.6.1
- Update of rootfile
- Changelog
    5.6.1
    * liblzma: Fixed two bugs relating to GNU indirect function (IFUNC)
      with GCC. The more serious bug caused a program linked with
      liblzma to crash on start up if the flag -fprofile-generate was
      used to build liblzma. The second bug caused liblzma to falsely
      report an invalid write to Valgrind when loading liblzma.
    * xz: Changed the messages for thread reduction due to memory
      constraints to only appear under the highest verbosity level.
    * Build:
        - Fixed a build issue when the header file <linux/landlock.h>
          was present on the system but the Landlock system calls were
          not defined in <sys/syscall.h>.
        - The CMake build now warns and disables NLS if both gettext
          tools and pre-created .gmo files are missing. Previously,
          this caused the CMake build to fail.
    * Minor improvements to man pages.
    * Minor improvements to tests.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship wget
Michael Tremer [Thu, 14 Mar 2024 14:15:16 +0000 (14:15 +0000)] 
core185: Ship wget

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agowget: Update to version 1.24.5
Adolf Belka [Thu, 14 Mar 2024 13:32:57 +0000 (14:32 +0100)] 
wget: Update to version 1.24.5

- Update from version 1.21.4 to 1.24.5
- Update of rootfile not required
- Changelog
    1.24.5
** Fix how subdomain matches are checked for HSTS.
   Fixes a minor issue where cookies may be leaked to the wrong domain
** Wget will now also parse the srcset attribute in <source> HTML tags
** Support reading fetchmail style "user" and "passwd" fields from netrc
** In some cases, prevent the confusing "Cannot write to... (success)" error messages
** Support extremely fast download speeds (TB/s).
   Previously this would cause Wget to crash when printing the speed
** Improve portability on OpenBSD to run the test suite
** Ensure that CSS URLs are corectly quoted (Bug: 64082)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship SQLite3
Michael Tremer [Thu, 14 Mar 2024 14:14:08 +0000 (14:14 +0000)] 
core185: Ship SQLite3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agosqlite: Update to version 3450200
Adolf Belka [Thu, 14 Mar 2024 13:32:55 +0000 (14:32 +0100)] 
sqlite: Update to version 3450200

- Update from version 3450100 to 3450200
- Update of rootfile not required
- Changelog
    3450200 (3.45.2)
Fix an error in UPSERT, introduced by enhancement 3a in version 3.35.0
 (2021-03-12), that could cause an index to get out-of-sync with its table. Forum
 thread 919c6579c8.
Reduce the scope of the NOT NULL strength reduction optimization that was added as
 item 8e in version 3.35.0 (2021-03-12). The optimization was being attempted in
 some contexts where it did not work, resulting in incorrect query results. Forum
 thread 440f2a2f17.
Other trifling corrections and compiler warning fixes that have come up since the
 previous patch release.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship tcl
Michael Tremer [Thu, 14 Mar 2024 14:12:23 +0000 (14:12 +0000)] 
core185: Ship tcl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agotcl: Update to version 8.6.14
Adolf Belka [Thu, 14 Mar 2024 13:32:56 +0000 (14:32 +0100)] 
tcl: Update to version 8.6.14

- Update from version 8.6.13 to 8.6.14
- Update of rootfile
- Changelog
    8.6.14
This is a patch release, so it primarily includes bug fixes and corrections
to erratic behavior.  Highlighted changes are noted below.  The changes file
at the root of the source tree contains a more complete list.  The Timelines
of all changes are online.
http://core.tcl-lang.org/tcl/timeline
http://core.tcl-lang.org/tk/timeline
   * [TIP 402] revise path normalization for x-platform UNC path support
        *** POTENTIAL INCOMPATIBILITY ***
   * Harmonize Tk's parse of numbers (screen distance, etc) with Tcl
        *** POTENTIAL INCOMPATIBILITY ***
   * Iconlist ignores options db for fg text color; affects dialogs
        *** POTENTIAL INCOMPATIBILITY ***
   * Aqua: XPutImage() swaps red and blue channels
        *** POTENTIAL INCOMPATIBILITY ***
   * [encoding convertfrom] handling of incomplete code sequences
        *** POTENTIAL INCOMPATIBILITY ***
   * Harmonize handling of ~ in paths across platforms.
        *** POTENTIAL INCOMPATIBILITY ***
   * Fix menu clone binding misbehavior, menu-20.1[2-6].
        *** POTENTIAL INCOMPATIBILITY ***
   * Improved performance of [exec] and [open |$cmd] on unix-lke
     systems, especially with large memory footprints.
   * Improve performance of large treeview destruction.
   * Improve performance of large image insertions into text.
   * Improve widget creation performance due to poor font caching.
   * Fix notebook tab appearances when placed on edge other than top.
   * Enable treeview display of partial final line.
   * Win: restore [exec %var%] that was dropped in 8.6.13.
   * Allow [chan create {} $cmd].  Enables simulation of server channels.
   * Allow return from [tk scaling] in safe interps.
   * Prevent navigation by word exposing clues to masked entry contents.
   * Fix crashes or hangs in...
      - [chan pop] with pending input
      - thread finalization of reflected channels
      - [label .l -bitmap floppy]
      - [set tcl_precision 15; expr 6.4623485355705287e-27]
      - [tk busy forget] and [tk busy hold]
      - channel read into "string" Tcl_Obj can BO, and perform poorly
      - KVO crash after destroying Aqua's first root toplevel
      - Test treeview-6ee162c3f9
      - Test tailcall-bug-784befb0ba
      - Tests menu-40.[12]
   * Repair memory leaks and errors
      - Eliminate undefined realloc() calls
      - Silence many warnings from -fsanitize=function
      - Flawed interfacing with XIM
      - Tcl_UtfToExternal writing to one-byte buffer
      - Tcl_UtfToUniChar() handling of 0xC1.
      - Tk_ConfigureValue could call wrong free() routine.
      - tests getuncichar-1.* in utf.test
      - ...and many more
   * No more support for 32-bit Cygwin
   * ::tcl_platform(osVersion) updated to report Windows 11
   * Accommodate macOS deprecation of sprintf()
   * Silence macOS 14 warnings about secure restorable state.
   * Code changes to support ASan use-after-return detection
   * Revise Tcl_MakeFileChannel() to better partner with pledge()
   * Prevent false [clock format] error reports on FreeBSD
   * Region clip & copy make better use of OS facilities.
   * Update handling of Apple FourCC creator codes.
   * Text selection omits first character, text-38.1
   * Windows: improved support of non-BMP pathnames
   * Fixed some Y2038 limitations
   * Fix photo color drawing on X11 32-bit visuals.
   * Fix <<MenuSelect>> regression on menus with -tearoff
   * Correct rounding of [nsFont pointSize].
   * zlib comment/filename error handling (zlib-8.19, zlib-8.2[012])
   * Prevent theme change attempts after Tk finalize.
   * Make dialogs robust against parent destruction.
   * Make [tk_chooseColor] robust against failed grab.
   * Fix menu parsing of @x,y indices.  menu-22.[6-9]
   * Fix inconsistent results from [font measure].
   * Fixed [clock scan|add] handling of abbreviated options
   * Avoid endless loops replacing [unknown] or [history].
   * Fix polluted error messages from [send -option].
   * PNG photo image decoder missed a 0xFF entry.
   * Fix failing winTime-2.1 on Windows
   * test string-2.20.1 failed on big endian platforms
   * Updated bundled packages, libraries, standards, data
      - Itcl 4.2.4
      - sqlite3 3.44.2
      - Thread 2.8.9
      - TDBC* 1.1.7
      - tcltest 2.5.7
      - libtommath 1.2.1
      - zlib 1.3.1
      - Unicode 15.1
      - tzdata 2024a

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agoshadow: Update to version 4.15.0
Adolf Belka [Thu, 14 Mar 2024 13:32:54 +0000 (14:32 +0100)] 
shadow: Update to version 4.15.0

- Update from 4.14.5 to 4.15.0
- Update of rootfile not required
- Changelog
    4.15.0
    libshadow:
        Fix build error (parameter name omitted).
    Build system:
        Link correctly with libdl.
        Install pam configs for chpasswd(8) and newusers(8) when using
        ./configure --with-libpam --disable-account-tools-setuid.
        Merge libshadow and libmisc into a single libshadow. This fixes
        problems in the linker, which were reported at least in Gentoo.
        Fix build with musl libc.
        Support out of tree builds
    useradd(8):
        Set proper SELinux labels for def_usrtemplate
    4.14.6
    login(1):
        Fix off-by-one bugs.
    passwd(1):
        Don't silently truncate passwords of length >= 200 characters.
        Instead, accept a length of PASS_MAX, and reject longer ones.
    libshadow:
        Fix calculation in strtoday(), which caused a wrong half-day
        offset in some cases.
        Fix parsing of dates in get_date().
        Use utmpx instead of utmp. This fixes a regression introduced in 4.14.0.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agosdl2: Update to version 2.30.1
Adolf Belka [Thu, 14 Mar 2024 13:32:53 +0000 (14:32 +0100)] 
sdl2: Update to version 2.30.1

- Update from version 2.28.5 to 2.30.1
- Update of rootfile
- Changelog
    2.30.1
    Fixed a regression causing SDL_WaitEvent() to return spurious failures
    Fixed X11 cursors on the latest release of GNOME
    Wayland windows automatically have OpenGL enabled again
    Fixed memory corruption when converting signed 16-bit audio to float
    Fixed audio artifacts when converting signed 8-bit audio to float
    Fixed the clip rectangle not being updated when the viewport changes in the SDL renderer
    Convert mouse wheel coordinates to the rendering view in the SDL renderer
    Fixed a crash handling controllers on macOS
    Fixed a crash setting a window fullscreen with Emscripten
    Fixed the keyboard automatically popping up when resuming an application on Android
    2.30.0
In addition to lots of bug fixes, here are the major changes in this release:
General:
    Added support for 2 bits-per-pixel indexed surface formats
    Added the function SDL_GameControllerGetSteamHandle() to get the Steam API handle for a controller, if available
    Added the event SDL_CONTROLLERSTEAMHANDLEUPDATED which is sent when the Steam API handle for a controller changes. This could also change the name, VID, and PID of the controller.
    Added the environment variable SDL_LOGGING to control default log output
macOS:
    Added the hint SDL_HINT_JOYSTICK_IOKIT to control whether the IOKit controller driver should be used
    Added the hint SDL_HINT_JOYSTICK_MFI to control whether the GCController controller driver should be used
    Added the hint SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE to choose whether high or low power GPU should be used for rendering, in the case where there are multiple GPUs available
Xbox:
    Added the function SDL_GDKGetDefaultUser()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship poppler
Michael Tremer [Thu, 14 Mar 2024 14:10:30 +0000 (14:10 +0000)] 
core185: Ship poppler

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agopoppler: Update to version 24.03.0
Adolf Belka [Thu, 14 Mar 2024 13:32:52 +0000 (14:32 +0100)] 
poppler: Update to version 24.03.0

- Update from version 24.01.0 to 24.03.0
- Update of rootfile
- find-dependencies run due to sobump. No issues found
- Changelog
    24.03.0:
        core:
         * Fix opening some malformed files. Issue #1447
         * Skip drawing image when it has singular matrix. Issue #1114
         * Fix crash on malformed files
         * Small internal code cleanup
        utils:
         * pdfdetach: Fix potential directory traversal
         * pdfimages: Enable to print filenames to stdout.
         * pdfsig: Add visible name/date when signing an existing form signature field
    24.02.0:
        core:
         * Fix reading some JBIG2 streams. Issue #1319
         * Fix saving some annotation interior color when it's empty
         * Make searching for fonts when adding annotations a bit faster
         * Make sure images are compressed when adding them
         * Small internal code cleanup
        utils:
         * pdfimages: return exit code 2 when error opening output files

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agoopus: Update to version 1.5.1
Adolf Belka [Thu, 14 Mar 2024 13:32:51 +0000 (14:32 +0100)] 
opus: Update to version 1.5.1

- Update from version 1.4 to 1.5.1
- Update of rootfile
- Changelog
    1.5.1
 Opus 1.5.1 fixes the meson build that was broken in 1.5.
    1.5
        Opus 1.5 is the first release to make extended use of ML in the encoder and
         decoder. You can read all the details in the release demo page. In summary, major
         changes since 1.4 include:
            Significant improvement to packet loss robustness using Deep Redundancy (DRED)
            Improved packet loss concealment through Deep PLC
            Low-bitrate speech quality enhancement down to 6 kb/s wideband
            Improved x86 (AVX2) and Arm (Neon) optimizations
            Support for 4th and 5th order ambisonics
        In addition to the improvements above, this release includes many minor bug fixes.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agomeson: Update to version 1.4.0
Adolf Belka [Thu, 14 Mar 2024 13:32:50 +0000 (14:32 +0100)] 
meson: Update to version 1.4.0

- Update from version 1.3.1 to 1.4.0
- Update of rootfile
- Changelog is available on meson website https://mesonbuild.com/Release-notes-for-1-4-0.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agoiproute2: Update to version 6.8.0
Adolf Belka [Thu, 14 Mar 2024 13:32:49 +0000 (14:32 +0100)] 
iproute2: Update to version 6.8.0

- Update from version 6.7.0 to 6.8.0
- Update of rootfile
- Changelog is only available from the git commits.
   https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship intel-microcode
Michael Tremer [Thu, 14 Mar 2024 09:34:17 +0000 (09:34 +0000)] 
core185: Ship intel-microcode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agointel-microcode: Update to version 20240312
Adolf Belka [Wed, 13 Mar 2024 21:47:18 +0000 (22:47 +0100)] 
intel-microcode: Update to version 20240312

- Update from version 20231114 to 20240312
- Update of rootfile
- For the changelog details see the releasenote.md file in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship manualpages
Michael Tremer [Thu, 14 Mar 2024 09:28:24 +0000 (09:28 +0000)] 
core185: Ship manualpages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agomanualpages: update wiki url
Jon Murphy [Tue, 12 Mar 2024 17:14:07 +0000 (12:14 -0500)] 
manualpages: update wiki url

Suggested-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agodns.cgi: Remove excess whitespace
Michael Tremer [Thu, 14 Mar 2024 09:26:19 +0000 (09:26 +0000)] 
dns.cgi: Remove excess whitespace

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agodns.cgi: Add use Encode + encode back to UTF-8
Adolf Belka [Wed, 13 Mar 2024 22:12:12 +0000 (23:12 +0100)] 
dns.cgi: Add use Encode + encode back to UTF-8

- use Encode was missed out in the previous patch for dns.cgi This would mean that the
   decode from UTF-8 would fail. I had tested the previous change but forgot to copy across
   the use Encode line when I created the patch.
- This patch adds an encode back to UTF-8 after running the cleanhtml command. This way
   the text is decoded from UTF-8 so that the cleanhtml command works correctly on
   umlauted characters and then is encoded back to UTF-8 so that all text in the cgi page
   is UTF-8.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: update.sh: fix typo
Arne Fitzenreiter [Wed, 13 Mar 2024 05:54:37 +0000 (06:54 +0100)] 
core185: update.sh: fix typo

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
15 months agoRemove excess newlines in rootfiles
Michael Tremer [Tue, 12 Mar 2024 10:15:49 +0000 (10:15 +0000)] 
Remove excess newlines in rootfiles

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship openjpeg
Michael Tremer [Tue, 12 Mar 2024 10:13:47 +0000 (10:13 +0000)] 
core185: Ship openjpeg

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agoopenjpeg: Update to version 2.5.2
Adolf Belka [Tue, 12 Mar 2024 10:07:10 +0000 (11:07 +0100)] 
openjpeg: Update to version 2.5.2

- Update from version 2.5.0 to 2.5.2
- Update of rootfile
- Changelog
    2.5.2 (Feb 2024)
No API/ABI break compared to v2.5.1
* Make sure openjpeg.h includes opj_config.h [\#1514](https://github.com/uclouvain/openjpeg/issues/1514)
    2.5.1 (Feb 2024)
No API/ABI break compared to v2.5.0
* CMake: drop support for cmake < 3.5
* Several bugfixes, including [\#1509](https://github.com/uclouvain/openjpeg/pull/1509) for CVE-2021-3575
* Significant speed-up rate allocation by rate/distoratio ratio [\#1440](https://github.com/uclouvain/openjpeg/pull/1440)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agocore185: Ship newt
Michael Tremer [Tue, 12 Mar 2024 10:13:17 +0000 (10:13 +0000)] 
core185: Ship newt

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 months agonewt: Update to version 0.52.24
Adolf Belka [Tue, 12 Mar 2024 10:07:09 +0000 (11:07 +0100)] 
newt: Update to version 0.52.24

- Update from version 0.52.23 to 0.52.24
- Update of rootfile
- Changelog
    0.52.24
- add support for python3.13
- fix compiler warnings

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>