]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/log
people/stevee/ipfire-2.x.git
7 weeks agowireguard: Transparently replace 0.0.0.0/0 with 0.0.0.0/1 and 128.0.0.0/1
Michael Tremer [Fri, 6 Dec 2024 15:20:30 +0000 (16:20 +0100)] 
wireguard: Transparently replace 0.0.0.0/0 with 0.0.0.0/1 and 128.0.0.0/1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard-functions.pl: Fix Perl syntax issue
Michael Tremer [Fri, 6 Dec 2024 13:34:38 +0000 (14:34 +0100)] 
wireguard-functions.pl: Fix Perl syntax issue

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix connection status for RW connections
Michael Tremer [Fri, 6 Dec 2024 13:30:20 +0000 (14:30 +0100)] 
wireguard.cgi: Fix connection status for RW connections

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Make it clear what peer is being edited
Michael Tremer [Fri, 22 Nov 2024 13:09:35 +0000 (14:09 +0100)] 
wireguard.cgi: Make it clear what peer is being edited

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Suggest a PSK for new N2N peers
Michael Tremer [Fri, 22 Nov 2024 13:04:40 +0000 (14:04 +0100)] 
wireguard.cgi: Suggest a PSK for new N2N peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show our own public key when creating N2N peers
Michael Tremer [Fri, 22 Nov 2024 12:53:07 +0000 (13:53 +0100)] 
wireguard.cgi: Show our own public key when creating N2N peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Don't show the public key
Michael Tremer [Fri, 22 Nov 2024 12:38:13 +0000 (13:38 +0100)] 
wireguard.cgi: Don't show the public key

There is very little use now since we don't use this key for N2N
connections any more. RW clients will have the public key in their
configuration files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix fetching connection status with multiple interfaces
Michael Tremer [Fri, 22 Nov 2024 12:34:35 +0000 (13:34 +0100)] 
wireguard.cgi: Fix fetching connection status with multiple interfaces

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Store the connection name as an alias
Michael Tremer [Mon, 30 Sep 2024 18:05:48 +0000 (20:05 +0200)] 
wireguard: Store the connection name as an alias

This way it is easier to find the correct interface on the console.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Allow to edit the port and automatically chose one
Michael Tremer [Mon, 30 Sep 2024 18:04:05 +0000 (20:04 +0200)] 
wireguard.cgi: Allow to edit the port and automatically chose one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Add controls to download configuration
Michael Tremer [Mon, 30 Sep 2024 17:40:09 +0000 (19:40 +0200)] 
wireguard.cgi: Add controls to download configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Store the private key for RW peers, too
Michael Tremer [Mon, 30 Sep 2024 17:00:40 +0000 (19:00 +0200)] 
wireguard.cgi: Store the private key for RW peers, too

We have so much key material stored that it does not make much sense to
drop a bit of it when it makes life so much harder.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Implement creating an extra interface per N2N peer
Michael Tremer [Mon, 30 Sep 2024 16:53:45 +0000 (18:53 +0200)] 
wireguard: Implement creating an extra interface per N2N peer

When importing a configuration, we will receive a new private key which
we cannot apply to the original interface. Therefore we need to create a
new one for each peer. RW peers will remain on wg0 which will always
exist.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard-functions.pl: Store networks in CIDR notation only
Michael Tremer [Mon, 30 Sep 2024 16:49:07 +0000 (18:49 +0200)] 
wireguard-functions.pl: Store networks in CIDR notation only

wg(8) does not accept anything else.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement a way to import a connection
Michael Tremer [Sun, 29 Sep 2024 12:17:10 +0000 (14:17 +0200)] 
wireguard.cgi: Implement a way to import a connection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Rename function to check keys
Michael Tremer [Fri, 27 Sep 2024 16:53:51 +0000 (18:53 +0200)] 
wireguard.cgi: Rename function to check keys

This function can check all types of keys and not only the public key.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard-functions.pl: Don't send DNS configuration to n2n peers
Michael Tremer [Fri, 27 Sep 2024 16:03:14 +0000 (18:03 +0200)] 
wireguard-functions.pl: Don't send DNS configuration to n2n peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Rename "generate_client_configuration" to "generate_peer_configuration"
Michael Tremer [Fri, 27 Sep 2024 15:58:36 +0000 (17:58 +0200)] 
wireguard.cgi: Rename "generate_client_configuration" to "generate_peer_configuration"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Normalize filenames
Michael Tremer [Fri, 27 Sep 2024 15:55:46 +0000 (17:55 +0200)] 
wireguard.cgi: Normalize filenames

This is because Windows clients won't import any configurations that
have spaces in the filename. Therefore we replace it and remove anything
else unwanted on the way.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Select the correct source IP address for N2N peers
Michael Tremer [Fri, 27 Sep 2024 15:39:22 +0000 (17:39 +0200)] 
wireguard: Select the correct source IP address for N2N peers

This is so that the firewall chooses the correct IP address when trying
to establish connections to the remote networks.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agomisc-progs: Fix compiling wireguardctrl
Michael Tremer [Sat, 21 Sep 2024 10:12:05 +0000 (12:12 +0200)] 
misc-progs: Fix compiling wireguardctrl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Allow to configure a custom endpoint
Michael Tremer [Fri, 20 Sep 2024 15:12:26 +0000 (17:12 +0200)] 
wireguard.cgi: Allow to configure a custom endpoint

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Permit empty client pool
Michael Tremer [Fri, 20 Sep 2024 14:54:09 +0000 (16:54 +0200)] 
wireguard.cgi: Permit empty client pool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agofirewall: Add WireGuard RW to the UI
Michael Tremer [Thu, 12 Sep 2024 17:39:26 +0000 (19:39 +0200)] 
firewall: Add WireGuard RW to the UI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Move functions into their own file
Michael Tremer [Wed, 11 Sep 2024 00:24:49 +0000 (02:24 +0200)] 
wireguard: Move functions into their own file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agofirewall: Allow WG traffic when the firewall is in permissive mode
Michael Tremer [Fri, 6 Sep 2024 16:20:46 +0000 (18:20 +0200)] 
firewall: Allow WG traffic when the firewall is in permissive mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Only show the location if we have something
Michael Tremer [Fri, 6 Sep 2024 16:10:48 +0000 (18:10 +0200)] 
wireguard.cgi: Only show the location if we have something

Otherwise the text won't be centered in the box which looks a little bit
wrong.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoservices.cgi: Don't always try expand the status column unless asked
Michael Tremer [Fri, 6 Sep 2024 16:02:26 +0000 (18:02 +0200)] 
services.cgi: Don't always try expand the status column unless asked

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Remove the large box to warn people that the configuration will only...
Michael Tremer [Fri, 6 Sep 2024 15:59:58 +0000 (17:59 +0200)] 
wireguard.cgi: Remove the large box to warn people that the configuration will only be shown once

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Add a button to return after creating a new connection
Michael Tremer [Fri, 6 Sep 2024 15:56:15 +0000 (17:56 +0200)] 
wireguard.cgi: Add a button to return after creating a new connection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoAQM: Ignore WireGuard interfaces
Michael Tremer [Wed, 14 Aug 2024 16:49:56 +0000 (18:49 +0200)] 
AQM: Ignore WireGuard interfaces

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoweb UI: Add a menu entry
Michael Tremer [Wed, 14 Aug 2024 16:40:09 +0000 (18:40 +0200)] 
web UI: Add a menu entry

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agomisc-progs: Update rootfile
Michael Tremer [Wed, 14 Aug 2024 16:33:44 +0000 (18:33 +0200)] 
misc-progs: Update rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Don't allow creating RW connections if there is no address space
Michael Tremer [Wed, 14 Aug 2024 16:23:55 +0000 (18:23 +0200)] 
wireguard.cgi: Don't allow creating RW connections if there is no address space

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Don't show an empty table if there are no peers
Michael Tremer [Wed, 14 Aug 2024 16:14:26 +0000 (18:14 +0200)] 
wireguard.cgi: Don't show an empty table if there are no peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Install empty configuration files
Michael Tremer [Wed, 14 Aug 2024 15:55:06 +0000 (15:55 +0000)] 
wireguard: Install empty configuration files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agofirewall: Fix typo in "iptables"
Michael Tremer [Wed, 14 Aug 2024 15:51:19 +0000 (15:51 +0000)] 
firewall: Fix typo in "iptables"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Rename local subnets to allowed subnets
Michael Tremer [Thu, 25 Apr 2024 18:36:42 +0000 (20:36 +0200)] 
wireguard.cgi: Rename local subnets to allowed subnets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agomisc-progs: Add wireguardctrl
Michael Tremer [Wed, 17 Apr 2024 17:13:32 +0000 (17:13 +0000)] 
misc-progs: Add wireguardctrl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard-tools: New package
Michael Tremer [Sun, 14 Apr 2024 13:50:08 +0000 (13:50 +0000)] 
wireguard-tools: New package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Block unauthorized traffic
Michael Tremer [Thu, 25 Apr 2024 18:32:57 +0000 (20:32 +0200)] 
wireguard: Block unauthorized traffic

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Rename routes to remote subnets
Michael Tremer [Thu, 25 Apr 2024 18:20:13 +0000 (20:20 +0200)] 
wireguard: Rename routes to remote subnets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agolang: Add translation for "remarks"
Michael Tremer [Thu, 25 Apr 2024 18:16:38 +0000 (20:16 +0200)] 
lang: Add translation for "remarks"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement toggle enable/disable peers
Michael Tremer [Thu, 25 Apr 2024 18:13:56 +0000 (20:13 +0200)] 
wireguard.cgi: Implement toggle enable/disable peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Make the client configuration downloadable
Michael Tremer [Thu, 25 Apr 2024 18:03:49 +0000 (20:03 +0200)] 
wireguard.cgi: Make the client configuration downloadable

I believe this is much better than copy & paste.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement DNS configuration for clients
Michael Tremer [Thu, 25 Apr 2024 17:50:45 +0000 (19:50 +0200)] 
wireguard.cgi: Implement DNS configuration for clients

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Correctly compose the FQDN
Michael Tremer [Thu, 25 Apr 2024 17:33:21 +0000 (19:33 +0200)] 
wireguard.cgi: Correctly compose the FQDN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agogeneral-functions.pl: Always load the main settings
Michael Tremer [Thu, 25 Apr 2024 17:32:52 +0000 (19:32 +0200)] 
general-functions.pl: Always load the main settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Call start instead of reload
Michael Tremer [Thu, 25 Apr 2024 17:22:01 +0000 (19:22 +0200)] 
wireguard.cgi: Call start instead of reload

I didn't implement reload in the helper.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Dynamically allocate a pool address for clients
Michael Tremer [Thu, 25 Apr 2024 17:15:53 +0000 (19:15 +0200)] 
wireguard.cgi: Dynamically allocate a pool address for clients

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Ensure that AllowedIPs are in CIDR format
Michael Tremer [Thu, 25 Apr 2024 16:48:22 +0000 (18:48 +0200)] 
wireguard.cgi: Ensure that AllowedIPs are in CIDR format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Route the client pool
Michael Tremer [Thu, 25 Apr 2024 16:47:49 +0000 (18:47 +0200)] 
wireguard: Route the client pool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show a QR code that contains the client configuration
Michael Tremer [Thu, 25 Apr 2024 15:32:32 +0000 (17:32 +0200)] 
wireguard.cgi: Show a QR code that contains the client configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show client configuration after creating a client
Michael Tremer [Thu, 25 Apr 2024 15:14:27 +0000 (17:14 +0200)] 
wireguard.cgi: Show client configuration after creating a client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Check if the client pool is in use and prevent editing
Michael Tremer [Thu, 25 Apr 2024 11:04:01 +0000 (13:04 +0200)] 
wireguard.cgi: Check if the client pool is in use and prevent editing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Add client pool config option
Michael Tremer [Thu, 25 Apr 2024 10:57:08 +0000 (12:57 +0200)] 
wireguard.cgi: Add client pool config option

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement creating host-to-net connections
Michael Tremer [Thu, 25 Apr 2024 10:51:46 +0000 (12:51 +0200)] 
wireguard.cgi: Implement creating host-to-net connections

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Move creating private keys into a separate function
Michael Tremer [Thu, 25 Apr 2024 10:18:14 +0000 (12:18 +0200)] 
wireguard.cgi: Move creating private keys into a separate function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Rename editor to edit-net
Michael Tremer [Wed, 24 Apr 2024 22:50:17 +0000 (00:50 +0200)] 
wireguard.cgi: Rename editor to edit-net

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix typo of %checked
Michael Tremer [Wed, 24 Apr 2024 22:44:53 +0000 (00:44 +0200)] 
wireguard.cgi: Fix typo of %checked

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix disabling the service
Michael Tremer [Wed, 24 Apr 2024 22:44:38 +0000 (00:44 +0200)] 
wireguard.cgi: Fix disabling the service

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Allow the endpoint to be empty
Michael Tremer [Wed, 24 Apr 2024 22:34:34 +0000 (00:34 +0200)] 
wireguard.cgi: Allow the endpoint to be empty

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix saving empty PSKs
Michael Tremer [Wed, 24 Apr 2024 22:34:20 +0000 (00:34 +0200)] 
wireguard.cgi: Fix saving empty PSKs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement option to configure keepalive
Michael Tremer [Wed, 24 Apr 2024 22:22:40 +0000 (00:22 +0200)] 
wireguard.cgi: Implement option to configure keepalive

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Group keys together
Michael Tremer [Wed, 24 Apr 2024 22:04:36 +0000 (00:04 +0200)] 
wireguard.cgi: Group keys together

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement helper functions to read/write subnets
Michael Tremer [Wed, 24 Apr 2024 22:02:58 +0000 (00:02 +0200)] 
wireguard.cgi: Implement helper functions to read/write subnets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Implement optional PSK for post-quantum stuff
Michael Tremer [Wed, 24 Apr 2024 21:50:04 +0000 (23:50 +0200)] 
wireguard: Implement optional PSK for post-quantum stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement deleting peers
Michael Tremer [Wed, 24 Apr 2024 21:20:48 +0000 (23:20 +0200)] 
wireguard.cgi: Implement deleting peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Check for duplicate names
Michael Tremer [Wed, 24 Apr 2024 21:14:53 +0000 (23:14 +0200)] 
wireguard.cgi: Check for duplicate names

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Add helper functions to encode/decode remarks
Michael Tremer [Wed, 24 Apr 2024 21:07:52 +0000 (23:07 +0200)] 
wireguard.cgi: Add helper functions to encode/decode remarks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement launching the editor for editing a connection
Michael Tremer [Wed, 24 Apr 2024 21:03:48 +0000 (23:03 +0200)] 
wireguard.cgi: Implement launching the editor for editing a connection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix typo in variable name
Michael Tremer [Wed, 24 Apr 2024 21:02:15 +0000 (23:02 +0200)] 
wireguard.cgi: Fix typo in variable name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Adjust IDs of the peer
Michael Tremer [Wed, 24 Apr 2024 20:49:11 +0000 (22:49 +0200)] 
wireguard.cgi: Adjust IDs of the peer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Store remarks encoded as base64
Michael Tremer [Wed, 24 Apr 2024 20:26:37 +0000 (22:26 +0200)] 
wireguard.cgi: Store remarks encoded as base64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Rename CREATE-PEER-NET action to SAVE-PEER-NET
Michael Tremer [Wed, 24 Apr 2024 20:20:04 +0000 (22:20 +0200)] 
wireguard.cgi: Rename CREATE-PEER-NET action to SAVE-PEER-NET

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Add editor to create a new peer
Michael Tremer [Wed, 24 Apr 2024 20:15:33 +0000 (22:15 +0200)] 
wireguard.cgi: Add editor to create a new peer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Implement choice to create a new connection
Michael Tremer [Wed, 17 Apr 2024 17:56:30 +0000 (19:56 +0200)] 
wireguard.cgi: Implement choice to create a new connection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Remove the extra box around the peers
Michael Tremer [Wed, 17 Apr 2024 17:43:25 +0000 (19:43 +0200)] 
wireguard.cgi: Remove the extra box around the peers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Move the status column more to the left
Michael Tremer [Wed, 17 Apr 2024 17:41:59 +0000 (19:41 +0200)] 
wireguard.cgi: Move the status column more to the left

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show visual status when disconected
Michael Tremer [Wed, 17 Apr 2024 17:41:14 +0000 (19:41 +0200)] 
wireguard.cgi: Show visual status when disconected

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show origin of the connected peer
Michael Tremer [Wed, 17 Apr 2024 17:32:06 +0000 (19:32 +0200)] 
wireguard.cgi: Show origin of the connected peer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix connection detection
Michael Tremer [Wed, 17 Apr 2024 17:19:14 +0000 (19:19 +0200)] 
wireguard.cgi: Fix connection detection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Fix calling wireguardctrl
Michael Tremer [Wed, 17 Apr 2024 17:15:35 +0000 (19:15 +0200)] 
wireguard.cgi: Fix calling wireguardctrl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show status for each peer
Michael Tremer [Wed, 17 Apr 2024 16:58:11 +0000 (18:58 +0200)] 
wireguard.cgi: Show status for each peer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Show peers in a table
Michael Tremer [Tue, 16 Apr 2024 16:21:59 +0000 (18:21 +0200)] 
wireguard.cgi: Show peers in a table

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard.cgi: Add a basic CGI to configure the global settings
Michael Tremer [Tue, 16 Apr 2024 16:06:47 +0000 (18:06 +0200)] 
wireguard.cgi: Add a basic CGI to configure the global settings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agofirewall: Automatically open ports for WireGuard
Michael Tremer [Tue, 16 Apr 2024 14:20:55 +0000 (16:20 +0200)] 
firewall: Automatically open ports for WireGuard

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agowireguard: Add initscript
Michael Tremer [Tue, 16 Apr 2024 14:17:59 +0000 (16:17 +0200)] 
wireguard: Add initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agocore195: Ship pakfire.cgi
Michael Tremer [Tue, 22 Apr 2025 14:20:38 +0000 (14:20 +0000)] 
core195: Ship pakfire.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agopakfire.cgi: Change titles on confirmation pages.
Stephen Cuka [Fri, 18 Apr 2025 21:28:33 +0000 (15:28 -0600)] 
pakfire.cgi: Change titles on confirmation pages.

- Change confirmation page titles from 'Request' to 'Install' and 'Remove'.

Signed-off-by: Stephen Cuka <stephen@firemypi.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoHTTP Client: Change checkip URL to ipfire.org
Michael Tremer [Tue, 22 Apr 2025 14:19:09 +0000 (14:19 +0000)] 
HTTP Client: Change checkip URL to ipfire.org

This is the same service, but I think it makes more sense to use the
ipfire.org domain.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agocore195: Ship downloader changes
Michael Tremer [Tue, 22 Apr 2025 14:18:10 +0000 (14:18 +0000)] 
core195: Ship downloader changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agohttp-client-functions.pl: Allow to user define the timeout value.
Stefan Schantl [Fri, 18 Apr 2025 10:54:46 +0000 (12:54 +0200)] 
http-client-functions.pl: Allow to user define the timeout value.

This allows to specify the the timeout value.
Defaults to to 60 seconds if not set.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoids-functions.pl: Use new downloader function from http-client-functions.pl
Stefan Schantl [Fri, 18 Apr 2025 10:54:45 +0000 (12:54 +0200)] 
ids-functions.pl: Use new downloader function from http-client-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoddns.cgi, wio.cgi: Use GetDyndnsRedIP from http-client-functions.pl file
Stefan Schantl [Fri, 18 Apr 2025 10:54:44 +0000 (12:54 +0200)] 
ddns.cgi, wio.cgi: Use GetDyndnsRedIP from http-client-functions.pl file

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agoMove GetDyndnsRedIP from general-functions.pl to http-client-functions.pl
Stefan Schantl [Fri, 18 Apr 2025 10:54:43 +0000 (12:54 +0200)] 
Move GetDyndnsRedIP from general-functions.pl to http-client-functions.pl

This function depends on the previously FetchPublicIp function
and so also has to be moved.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agogeneral-functions.pl: Drop FetchPublicIp function.
Stefan Schantl [Fri, 18 Apr 2025 10:54:42 +0000 (12:54 +0200)] 
general-functions.pl: Drop FetchPublicIp function.

This function has been reworked and moved into the
http-client-functions library.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agohttp-client-functions.pl: Add FetchPublicIP function.
Stefan Schantl [Fri, 18 Apr 2025 10:54:41 +0000 (12:54 +0200)] 
http-client-functions.pl: Add FetchPublicIP function.

This functions uses the newly introduced downloader to fetch
the pulic IPv4 address on red and will replace the current used one
from the general-functions.pl library.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agohttp-client-functions.pl: Introduce LWP-based flexible downloader function.
Stefan Schantl [Fri, 18 Apr 2025 10:54:40 +0000 (12:54 +0200)] 
http-client-functions.pl: Introduce LWP-based flexible downloader function.

This perl library contains a function which can be used to grab content
and/or store it into files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 weeks agohtop: Update to 3.4.1
Matthias Fischer [Fri, 11 Apr 2025 13:07:36 +0000 (15:07 +0200)] 
htop: Update to 3.4.1

For details see:
https://github.com/htop-dev/htop/blob/main/ChangeLog

"What's new in version 3.4.1

* Support for PMAPI v3 for PCP
* PCP code cleanups
* Proper checks for strchrnul
* Code cleanup in the NetworkIOMeter
* Improved documentation for the --user option
* Display stuck processes on Darwin
* Handle issues when the monotonic clock runs backwards
* Fix builds using native curses on NetBSD"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>