From 6602cf26a5910e81008c6c8139b5175c3f5c73e7 Mon Sep 17 00:00:00 2001 From: crschnick Date: Sat, 7 Sep 2024 12:38:37 +0000 Subject: [PATCH] Fixes --- .../app/beacon/BeaconRequestHandler.java | 4 +++- dist/changelogs/11.2_incremental.md | 21 ++++++++++++++----- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/beacon/BeaconRequestHandler.java b/app/src/main/java/io/xpipe/app/beacon/BeaconRequestHandler.java index f754de24e..ab2467d4e 100644 --- a/app/src/main/java/io/xpipe/app/beacon/BeaconRequestHandler.java +++ b/app/src/main/java/io/xpipe/app/beacon/BeaconRequestHandler.java @@ -40,7 +40,9 @@ public class BeaconRequestHandler implements HttpHandler { } if (beaconInterface.requiresEnabledApi() && !AppPrefs.get().enableHttpApi().get()) { - throw ErrorEvent.expected(new IllegalStateException("HTTP API is not enabled in the settings menu")); + var ex = new BeaconServerException("HTTP API is not enabled in the settings menu"); + writeError(exchange, ex, 403); + return; } if (!AppPrefs.get().disableApiAuthentication().get() && beaconInterface.requiresAuthentication()) { diff --git a/dist/changelogs/11.2_incremental.md b/dist/changelogs/11.2_incremental.md index 62183eb75..3eb3d6420 100644 --- a/dist/changelogs/11.2_incremental.md +++ b/dist/changelogs/11.2_incremental.md @@ -4,11 +4,19 @@ This release comes with an integration for Hyper-V. Searching for connections on XPipe can connect to a VM via PSSession or SSH. PSSession is used by default for Windows guests if no SSH server is available on the guest. In all other cases, it will try to connect via SSH. Since Hyper-V cannot run guest commands on non-Windows systems from the outside, you have to make sure that an SSH server is already running in the VM in that case. +I'm looking into integrating this feature with RDP next. + +The Hyper-V integration is available starting from the homelab plan. It is also available in the new feature preview for two weeks after release. + +## PSSession improvements + +In conjunction with Hyper-V, the PSSession support has also been reworked. Several broken things have been fixed, so it functions properly now. There's also now support to use gateways, similar to SSH connections. Any specified ComputerName also does not have to be already added to the trusted hosts anymore, XPipe now asks automatically whether to add an entry to the PowerShell remote trusted hosts. + ## SSH identity sources -With XPipe 11, it was implemented that selecting `None` for an SSH identity would prevent any SSH keys from being offered, including from external sources like agents and password managers. This however broke some connections where a more exotic type of agent was used that was not explicitly supported by XPipe. One example would be password managers that offer SSH key integration as they come with their own agent. +With XPipe 11, it was implemented that selecting `None` for an SSH identity would prevent any SSH keys from being offered, including from external sources like agents and password managers. This however broke some connections where a more exotic type of agent was used that was not explicitly supported by XPipe. One example would be password managers that offer SSH key integration, as they come with their own agent. -You can now select the new identity option `Other external source` to allow these external programs offering their keys to the SSH client automatically. +You can now select the new identity option `Other external source` to allow these external programs offering their keys to the SSH client automatically again. ## VNC improvements @@ -16,8 +24,11 @@ The VNC integration has been reworked. It now supports more encrypted authentica ## Other -- Fix PSSession connections being broken -- Fix Exception when not allowing XPipe access to certain directories on macOS +- Automatically select correct connection category if filter string has an unambiguous match +- Connections being cloned are now added relatively to the original connection instead of at the bottom +- Newly added connections are now added on the top instead of on the bottom +- The HTTP API now has to be enabled explicitly in the settings menu to strengthen security +- There is now a new context menu action to copy the current IP of any VM +- Fix exception when not allowing XPipe access to certain directories on macOS - Fix file browser failing when passwd or groups file was corrupt - Fix various errors when trying to shut down application while it is still starting up -- Automatically select correct connection category if filter string has an unambiguous match