From c3812b52ee2e4fe10abf12280463e3ee3a060505 Mon Sep 17 00:00:00 2001 From: Virtually Nick Date: Mon, 28 Dec 2020 12:09:25 -0500 Subject: [PATCH] GUACAMOLE-1245: Add client parameters for specifying WoL port. --- .../main/resources/org/apache/guacamole/protocols/rdp.json | 4 ++++ .../main/resources/org/apache/guacamole/protocols/ssh.json | 4 ++++ .../main/resources/org/apache/guacamole/protocols/telnet.json | 4 ++++ .../main/resources/org/apache/guacamole/protocols/vnc.json | 4 ++++ guacamole/src/main/webapp/translations/en.json | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json index 039c35aca..168068477 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json @@ -452,6 +452,10 @@ "name" : "wol-broadcast-addr", "type" : "TEXT" }, + { + "name" : "wol-udp-port", + "type" : "NUMERIC" + }, { "name" : "wol-wait-time", "type" : "NUMERIC" diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json index 2f12074e5..54727581d 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json @@ -219,6 +219,10 @@ "name" : "wol-broadcast-addr", "type" : "TEXT" }, + { + "name" : "wol-udp-port", + "type" : "NUMERIC" + }, { "name" : "wol-wait-time", "type" : "NUMERIC" diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json index 6effe32e1..5a9746e85 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json @@ -176,6 +176,10 @@ "name" : "wol-broadcast-addr", "type" : "TEXT" }, + { + "name" : "wol-udp-port", + "type" : "NUMERIC" + }, { "name" : "wol-wait-time", "type" : "NUMERIC" diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json index 9ffb3a5a9..a14b3dd26 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json @@ -222,6 +222,10 @@ "name" : "wol-broadcast-addr", "type" : "TEXT" }, + { + "name" : "wol-udp-port", + "type" : "NUMERIC" + }, { "name" : "wol-wait-time", "type" : "NUMERIC" diff --git a/guacamole/src/main/webapp/translations/en.json b/guacamole/src/main/webapp/translations/en.json index 4cdf2d16f..f75914973 100644 --- a/guacamole/src/main/webapp/translations/en.json +++ b/guacamole/src/main/webapp/translations/en.json @@ -531,6 +531,7 @@ "FIELD_HEADER_WOL_BROADCAST_ADDR" : "Broadcast address for WoL packet:", "FIELD_HEADER_WOL_MAC_ADDR" : "MAC address of the remote host:", "FIELD_HEADER_WOL_SEND_PACKET" : "Send WoL packet:", + "FIELD_HEADER_WOL_UDP_PORT" : "UDP port for WoL packet: ", "FIELD_HEADER_WOL_WAIT_TIME" : "Host boot wait time:", @@ -627,6 +628,7 @@ "FIELD_HEADER_WOL_BROADCAST_ADDR" : "Broadcast address for WoL packet:", "FIELD_HEADER_WOL_MAC_ADDR" : "MAC address of the remote host:", "FIELD_HEADER_WOL_SEND_PACKET" : "Send WoL packet:", + "FIELD_HEADER_WOL_UDP_PORT" : "UDP port for WoL packet:", "FIELD_HEADER_WOL_WAIT_TIME" : "Host boot wait time:", "FIELD_OPTION_BACKSPACE_EMPTY" : "", @@ -709,6 +711,7 @@ "FIELD_HEADER_WOL_BROADCAST_ADDR" : "Broadcast address for WoL packet:", "FIELD_HEADER_WOL_MAC_ADDR" : "MAC address of the remote host:", "FIELD_HEADER_WOL_SEND_PACKET" : "Send WoL packet:", + "FIELD_HEADER_WOL_UDP_PORT" : "UDP port for WoL packet:", "FIELD_HEADER_WOL_WAIT_TIME" : "Host boot wait time:", "FIELD_OPTION_BACKSPACE_EMPTY" : "", @@ -798,6 +801,7 @@ "FIELD_HEADER_WOL_BROADCAST_ADDR" : "Broadcast address for WoL packet:", "FIELD_HEADER_WOL_MAC_ADDR" : "MAC address of the remote host:", "FIELD_HEADER_WOL_SEND_PACKET" : "Send WoL packet:", + "FIELD_HEADER_WOL_UDP_PORT" : "UDP port for WoL packet:", "FIELD_HEADER_WOL_WAIT_TIME" : "Host boot wait time:", "FIELD_OPTION_COLOR_DEPTH_8" : "256 color",