[jira] [Commented] (GUACAMOLE-340) VNC slow and much of screen is black

2017-11-19 Thread Nick Couchman (JIRA)

[ 
https://issues.apache.org/jira/browse/GUACAMOLE-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258768#comment-16258768
 ] 

Nick Couchman commented on GUACAMOLE-340:
-

[~mobamoba]
What platform are you running guacd on?  What version of guacd, and how did you 
install it?

> VNC slow and much of screen is black
> 
>
> Key: GUACAMOLE-340
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-340
> Project: Guacamole
>  Issue Type: Bug
>Affects Versions: 0.9.12-incubating
> Environment: ChromeOS
>Reporter: Matt Prager
> Attachments: Screenshot 2017-07-06 at 9.33.46 AM.png, Screenshot 
> 2017-07-06 at 9.34.16 AM.png
>
>
> The screenshots below show the issue best. Exact same computer and server. In 
> one screenshot, using RealVNC's viewer, it looks great; using Guacamole, it's 
> covered with black splotches. I'm not sure how to debug this as it's 
> obviously not an issue with the connection or the VNC server (I'm using 
> UltraVNC) since the one viewer works fine, but let me know what information 
> you need to help figure out why this is happening.
> My VNC settings in Guacamole are nothing more that the minimum required 
> (port, username, password).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (GUACAMOLE-296) RDP audio input cause disconnection on Windows Server 2012 / 2016

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman resolved GUACAMOLE-296.
-
Resolution: Fixed

Issue seems to be resolved...even though not entirely sure why at this point.  
It appears that the library is correctly linked, now.

> RDP audio input cause disconnection on Windows Server 2012 / 2016
> -
>
> Key: GUACAMOLE-296
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-296
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacamole
>Affects Versions: 0.9.12-incubating
>Reporter: Hisham
>Assignee: Nick Couchman
>  Labels: audio
> Fix For: 0.9.14
>
>
> I know this problem was discussed in resolved thread, but it is a bit 
> different, please help me, I tried every thing I was able to find about the 
> topic.
>  On Windows Server 2012 R2: Audio playback works, but the minute I start 
> Sound settings in the "Recording" tab the connection gets disconnected 
> immediately. After that it is impossible to connect to the VM with guacamole, 
> because it keeps disconnecting immediately, the only why is using a RDP 
> client, and closing the Audio settings.
> this are the log info:
> May  8 10:19:27 ip-172-31-20-3 guacd[14887]: Loading keymap "base"
> May  8 10:19:27 ip-172-31-20-3 guacd[14887]: Loading keymap "de-de-qwertz"
> May  8 10:19:27 ip-172-31-20-3 guacd[14887]: guacsnd connected.
> May  8 10:19:27 ip-172-31-20-3 guacd[14887]: guacdr connected.
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Connected to RDPDR 1.12 as 
> client 0x0002
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Ignoring server capability set 
> type=0x0001, length=44
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Ignoring server capability set 
> type=0x0002, length=8
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Ignoring server capability set 
> type=0x0003, length=8
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Ignoring server capability set 
> type=0x0004, length=8
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Ignoring server capability set 
> type=0x0005, length=8
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Sending capabilities...
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Capabilities sent.
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Client ID confirmed
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: User logged on
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Sending filesystem
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Registered device 0 (Guacamole 
> Filesystem)
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: All supported devices sent.
> May  8 10:19:28 ip-172-31-20-3 guacd[14887]: Device 0 (Guacamole Filesystem) 
> connected successfully
> May  8 10:19:37 ip-172-31-20-3 guacd[1183]: Connection 
> "$70610038-ba7e-4e1d-9103-1b870c0cb079" removed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-432) Developer Tool in IE Version: 11.674.15063.0 ( with Security updates ) freezes and send requests of app.css multiple times

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-432:

Priority: Minor  (was: Major)

> Developer Tool in IE  Version: 11.674.15063.0 ( with Security updates ) 
> freezes and send requests of   app.css multiple times
> -
>
> Key: GUACAMOLE-432
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-432
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacamole
>Affects Versions: 0.9.13-incubating
> Environment: Internet Explorer , Version : 11.674.15063.0 ( with 
> Security updates )
>Reporter: Amarjeet Singh
>Priority: Minor
> Attachments: add_ons_disabled.PNG, css_loading.PNG, ie_freezes.PNG
>
>
> IE developer tool freezes. Sending multiple requests to app.css from cache.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-433) guacd rdp plugin segfault sometimes

2017-11-19 Thread Nick Couchman (JIRA)

[ 
https://issues.apache.org/jira/browse/GUACAMOLE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258766#comment-16258766
 ] 

Nick Couchman commented on GUACAMOLE-433:
-

Can you provide more detail on the circumstances that lead to this segfault?  
Looks like it has to do with keypress events of some sort, but some further 
context on this would be helpful.

> guacd rdp plugin segfault sometimes
> ---
>
> Key: GUACAMOLE-433
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-433
> Project: Guacamole
>  Issue Type: Bug
>  Components: RDP
>Affects Versions: 0.9.12-incubating
> Environment: GNU Linux x86_64
>Reporter: James He
>
> Observed guacd segfault when using RDP.
> {code:none}
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x2fb6927a in guac_rdp_keyboard_update_keysym 
> (keyboard=0x2aaabbe22010, keysym=65293, pressed=1)
> at keyboard.c:372
> 372 if (!keyboard->synchronized) {
> (gdb) p keyboard->synchronized
> Cannot access memory at address 0x2aaabbe2201c
> (gdb) bt
> #0  0x2fb6927a in guac_rdp_keyboard_update_keysym 
> (keyboard=0x2aaabbe22010, keysym=65293, pressed=1)
> at keyboard.c:372
> #1  0x2fb68b13 in guac_rdp_user_key_handler (user=0x2aaab4004bb0, 
> keysym=65293, pressed=1)
> at input.c:131
> #2  0x2af4dca6 in __guac_handle_key (user=0x2aaab4004bb0, argc=2, 
> argv=0x2aaab400baf0)
> at user-handlers.c:145
> #3  0x2af4d3ea in guac_user_handle_instruction (user=0x2aaab4004bb0, 
> opcode=0x2aaab400cef5 "key",
> argc=2, argv=0x2aaab400baf0) at user.c:178
> #4  0x004055e7 in guacd_user_input_thread (data=0x2eb52d20) at 
> user.c:127
> #5  0x2b8521a4 in start_thread (arg=0x2f354700) at 
> pthread_create.c:309
> #6  0x2bd5965d in clone () from /lib64/libc.so.6
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-435) SSH handshake failing

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-435:

Priority: Minor  (was: Critical)

> SSH handshake failing
> -
>
> Key: GUACAMOLE-435
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-435
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacamole-docker
>Affects Versions: 0.9.13-incubating
>Reporter: Jimmy Chen
>Priority: Minor
>
> After creating SSH connection configuration to a FreeBSD system, when 
> attempting to access it via Guacamole, it fails to connect. Looking further 
> into the errors being logged. This is shown.
> Guacamole
> {noformat}
> Exception in thread "Thread-65" java.lang.IllegalStateException: Message will 
> not be sent because the WebSocket session has been closed
> at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:381)
> at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:338)
> at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:730)
> at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:250)
> at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:193)
> at 
> org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
> at 
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:167)
> {noformat}
> guacd
> {noformat}
> guacd[1]: INFO: Connection ID is "$47806483-cb6f-496a-9a14-89f3843280ee"
> guacd[49]: INFO:Current locale does not use UTF-8. Some characters 
> may not render correctly.
> guacd[49]: INFO:User "@757f0e46-b2c8-4674-8275-0bc184575ece" joined 
> connection "$47806483-cb6f-496a-9a14-89f3843280ee" (1 users now present)
> guacd[49]: ERROR:   SSH handshake failed.
> guacd[49]: INFO:User "@757f0e46-b2c8-4674-8275-0bc184575ece" 
> disconnected (0 users remain)
> {noformat}
> Opening a SSH session to the same system via Putty works perfectly, so it 
> seems like something about guacd is preventing from successful handshake.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-415) Add SQLite module to guacamole-auth-jdbc

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-415:

Fix Version/s: 0.9.15

> Add SQLite module to guacamole-auth-jdbc
> 
>
> Key: GUACAMOLE-415
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-415
> Project: Guacamole
>  Issue Type: Improvement
>  Components: guacamole-auth-jdbc
>Affects Versions: 0.9.13-incubating
>Reporter: Nick Couchman
>Assignee: Nick Couchman
>Priority: Trivial
> Fix For: 0.9.15
>
>
> Implementing a SQLite JDBC module.  Most of the work is done, just working 
> out a few bugs/kinks in the code before doing a PR.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-38) On-Demand connection

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-38:
---
Fix Version/s: 0.9.15

> On-Demand connection
> 
>
> Key: GUACAMOLE-38
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-38
> Project: Guacamole
>  Issue Type: Wish
>  Components: guacamole-client
>Reporter: Zach Bonjour
>Assignee: Nick Couchman
>Priority: Trivial
> Fix For: 0.9.15
>
>
> I would like to see an option for Admin users that allows on-demand access to 
> an unsaved connection.  I'm picturing a simple box at the top of the 
> connections area that accepts a hostname or IP address to connect to. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-197) Implement Support for RADIUS Authentication

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-197:

Fix Version/s: 0.9.15

> Implement Support for RADIUS Authentication
> ---
>
> Key: GUACAMOLE-197
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-197
> Project: Guacamole
>  Issue Type: Improvement
>  Components: guacamole, guacamole-client
>Reporter: Nick Couchman
>Assignee: Nick Couchman
>Priority: Minor
> Fix For: 0.9.15
>
>
> Working on implementing a RADIUS authentication module - 
> guacamole-auth-radius.  The basic implementation is completed - with a basic 
> PAP or CHAP RADIUS server, the authentication succeeds and the user is logged 
> in.
> I'm running into an issue, though, trying to implement Challenge/Response in 
> RADIUS.  I have my RADIUS server configured to talk to LinOTP for MFA/2FA, 
> and RADIUS sends the AccessChallenge package back, asking for the second 
> factor.  My issue is in my continual failure to grasp the connection between 
> the servlet side and the AngularJS web application.  I've copied the Duo 
> authentication code and tried to morph it into something that will present 
> another box for the RADIUS challenge, but I can't get my controller function 
> to actually fire.
> Once that is working, I'd like to support other RADIUS authentication 
> protocols, like EAP-TLS and EAP-TTLS, so there's a little more work to be 
> done, but right now I'm focusing on the basic protocols and the 
> challenge/response.
> Will have a repo posted here in a moment for working on this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-347) IE may lack window.location.origin

2017-11-19 Thread Nick Couchman (JIRA)

[ 
https://issues.apache.org/jira/browse/GUACAMOLE-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258675#comment-16258675
 ] 

Nick Couchman commented on GUACAMOLE-347:
-

PR submitted for this.

> IE may lack window.location.origin
> --
>
> Key: GUACAMOLE-347
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-347
> Project: Guacamole
>  Issue Type: Bug
>Affects Versions: 0.9.10-incubating, 0.9.11-incubating, 0.9.12-incubating, 
> 0.9.13-incubating
>Reporter: Michael Jumper
>Assignee: Nick Couchman
> Fix For: 0.9.15
>
>
> From GUACAMOLE-327:
> {quote}
> Internet Explorer, including 11, doesn't have support for location.origin so 
> when trying to build the URL for the XMLHttpRequests in 
> tunnelService.downloadStream and tunnelService.uploadToStream, the string 
> "undefined" gets prepended onto the URL, rendering that functionality 
> unusable.
> The workaround/polyfill for this is pretty simple and well documented on the 
> web and is basically:
> {code:javascript}
> if (!window.location.origin) {
>   window.location.origin = window.location.protocol + '//' + 
> window.location.hostname + (window.location.port ? (':' + 
> window.location.port) : '');
> }
> {code}
> {quote}
> In addition to the above, there are other locations within the Guacamole web 
> application which use {{window.location.origin}} which will need to be 
> corrected. In particular:
> * Reformatting of query parameters for AngularJS
> * Generation of share links
> * Generation of download/upload URLs for streams



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-347) IE may lack window.location.origin

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman updated GUACAMOLE-347:

Affects Version/s: 0.9.13-incubating
Fix Version/s: 0.9.15

> IE may lack window.location.origin
> --
>
> Key: GUACAMOLE-347
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-347
> Project: Guacamole
>  Issue Type: Bug
>Affects Versions: 0.9.10-incubating, 0.9.11-incubating, 0.9.12-incubating, 
> 0.9.13-incubating
>Reporter: Michael Jumper
>Assignee: Nick Couchman
> Fix For: 0.9.15
>
>
> From GUACAMOLE-327:
> {quote}
> Internet Explorer, including 11, doesn't have support for location.origin so 
> when trying to build the URL for the XMLHttpRequests in 
> tunnelService.downloadStream and tunnelService.uploadToStream, the string 
> "undefined" gets prepended onto the URL, rendering that functionality 
> unusable.
> The workaround/polyfill for this is pretty simple and well documented on the 
> web and is basically:
> {code:javascript}
> if (!window.location.origin) {
>   window.location.origin = window.location.protocol + '//' + 
> window.location.hostname + (window.location.port ? (':' + 
> window.location.port) : '');
> }
> {code}
> {quote}
> In addition to the above, there are other locations within the Guacamole web 
> application which use {{window.location.origin}} which will need to be 
> corrected. In particular:
> * Reformatting of query parameters for AngularJS
> * Generation of share links
> * Generation of download/upload URLs for streams



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (GUACAMOLE-347) IE may lack window.location.origin

2017-11-19 Thread Nick Couchman (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman reassigned GUACAMOLE-347:
---

Assignee: Nick Couchman

> IE may lack window.location.origin
> --
>
> Key: GUACAMOLE-347
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-347
> Project: Guacamole
>  Issue Type: Bug
>Affects Versions: 0.9.10-incubating, 0.9.11-incubating, 0.9.12-incubating
>Reporter: Michael Jumper
>Assignee: Nick Couchman
>
> From GUACAMOLE-327:
> {quote}
> Internet Explorer, including 11, doesn't have support for location.origin so 
> when trying to build the URL for the XMLHttpRequests in 
> tunnelService.downloadStream and tunnelService.uploadToStream, the string 
> "undefined" gets prepended onto the URL, rendering that functionality 
> unusable.
> The workaround/polyfill for this is pretty simple and well documented on the 
> web and is basically:
> {code:javascript}
> if (!window.location.origin) {
>   window.location.origin = window.location.protocol + '//' + 
> window.location.hostname + (window.location.port ? (':' + 
> window.location.port) : '');
> }
> {code}
> {quote}
> In addition to the above, there are other locations within the Guacamole web 
> application which use {{window.location.origin}} which will need to be 
> corrected. In particular:
> * Reformatting of query parameters for AngularJS
> * Generation of share links
> * Generation of download/upload URLs for streams



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (GUACAMOLE-437) Allow to configure custom headers for Guacamole tunnels

2017-11-19 Thread Michael Jumper (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper resolved GUACAMOLE-437.
--
   Resolution: Done
Fix Version/s: 0.9.15

> Allow to configure custom headers for Guacamole tunnels
> ---
>
> Key: GUACAMOLE-437
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-437
> Project: Guacamole
>  Issue Type: Improvement
>  Components: guacamole-common-js
>Reporter: Ignasi Barrera
> Fix For: 0.9.15
>
>
> When establishing a Guacamole tunnel to an endpoint that requires (for 
> example) authentication, it is often needed to send custom headers. The 
> existing withCredentials option works well for session cookies in 
> cross-domain environments, but when there are no sessions or authentication 
> relies on headers, there is no way to have an authenticated tunnel request.
> A mechanism to configure custom headers for Guacamole tunnels would allow 
> users to configure custom headers that might be needed for their systems, 
> such as authentication headers, distributed tracing correlation headers, 
> request signatures, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-437) Allow to configure custom headers for Guacamole tunnels

2017-11-19 Thread Michael Jumper (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper updated GUACAMOLE-437:
-
Issue Type: Improvement  (was: Bug)

> Allow to configure custom headers for Guacamole tunnels
> ---
>
> Key: GUACAMOLE-437
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-437
> Project: Guacamole
>  Issue Type: Improvement
>  Components: guacamole-common-js
>Reporter: Ignasi Barrera
>
> When establishing a Guacamole tunnel to an endpoint that requires (for 
> example) authentication, it is often needed to send custom headers. The 
> existing withCredentials option works well for session cookies in 
> cross-domain environments, but when there are no sessions or authentication 
> relies on headers, there is no way to have an authenticated tunnel request.
> A mechanism to configure custom headers for Guacamole tunnels would allow 
> users to configure custom headers that might be needed for their systems, 
> such as authentication headers, distributed tracing correlation headers, 
> request signatures, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[2/2] incubator-guacamole-client git commit: GUACAMOLE-437: Merge support for including custom headers within HTTP tunnel requests.

2017-11-19 Thread mjumper
GUACAMOLE-437: Merge support for including custom headers within HTTP tunnel 
requests.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/ff2bd3d4
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/ff2bd3d4
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/ff2bd3d4

Branch: refs/heads/master
Commit: ff2bd3d4f8c24dda68ada899ea52288cb432e15d
Parents: e2c8594 948b4e8
Author: Michael Jumper 
Authored: Sun Nov 19 14:25:17 2017 -0800
Committer: Michael Jumper 
Committed: Sun Nov 19 14:25:17 2017 -0800

--
 .../src/main/webapp/modules/Tunnel.js   | 34 +++-
 1 file changed, 33 insertions(+), 1 deletion(-)
--




[1/2] incubator-guacamole-client git commit: GUACAMOLE-437: Custom headers for Guacamole tunnel

2017-11-19 Thread mjumper
Repository: incubator-guacamole-client
Updated Branches:
  refs/heads/master e2c8594b3 -> ff2bd3d4f


GUACAMOLE-437: Custom headers for Guacamole tunnel


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/948b4e80
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/948b4e80
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/948b4e80

Branch: refs/heads/master
Commit: 948b4e804cd58bcaf1f2f01914ef1f90950f43e6
Parents: e2c8594
Author: Ignasi Barrera 
Authored: Thu Nov 16 13:03:17 2017 +0100
Committer: Ignasi Barrera 
Committed: Sun Nov 19 03:45:39 2017 +0100

--
 .../src/main/webapp/modules/Tunnel.js   | 34 +++-
 1 file changed, 33 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/948b4e80/guacamole-common-js/src/main/webapp/modules/Tunnel.js
--
diff --git a/guacamole-common-js/src/main/webapp/modules/Tunnel.js 
b/guacamole-common-js/src/main/webapp/modules/Tunnel.js
index 2b1826d..a4e399d 100644
--- a/guacamole-common-js/src/main/webapp/modules/Tunnel.js
+++ b/guacamole-common-js/src/main/webapp/modules/Tunnel.js
@@ -182,8 +182,13 @@ Guacamole.Tunnel.State = {
  * Whether tunnel requests will be cross-domain, and thus must use CORS
  * mechanisms and headers. By default, it is assumed that tunnel requests
  * will be made to the same domain.
+ *
+ * @param {Object} [extraTunnelHeaders={}]
+ * Key value pairs containing the header names and values of any additional
+ * headers to be sent in tunnel requests. By default, no extra headers will
+ * be added.
  */
-Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
+Guacamole.HTTPTunnel = function(tunnelURL, crossDomain, extraTunnelHeaders) {
 
 /**
  * Reference to this HTTP tunnel.
@@ -215,6 +220,29 @@ Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
 var receive_timeout = null;
 
 /**
+ * Additional headers to be sent in tunnel requests. This dictionary can be
+ * populated with key/value header pairs to pass information such as 
authentication
+ * tokens, etc.
+ *
+ * @private
+ */
+var extraHeaders = extraTunnelHeaders || {}
+
+/**
+ * Adds the configured additional headers to the given request.
+ *
+ * @params {XMLHttpRequest} request
+ * The request where the configured extra headers will be added.
+ *
+ * @private
+ */
+function addExtraHeaders(request) {
+for (var name in tunnel.extraHeaders) {
+request.setRequestHeader(name, tunnel.extraHeaders[name]);
+}
+}
+
+/**
  * Initiates a timeout which, if data is not received, causes the tunnel
  * to close with an error.
  * 
@@ -322,6 +350,7 @@ Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
 var message_xmlhttprequest = new XMLHttpRequest();
 message_xmlhttprequest.open("POST", TUNNEL_WRITE + tunnel.uuid);
 message_xmlhttprequest.withCredentials = withCredentials;
+addExtraHeaders(message_xmlhttprequest);
 message_xmlhttprequest.setRequestHeader("Content-type", 
"application/octet-stream");
 
 // Once response received, send next queued event.
@@ -553,6 +582,7 @@ Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
 var xmlhttprequest = new XMLHttpRequest();
 xmlhttprequest.open("GET", TUNNEL_READ + tunnel.uuid + ":" + 
(request_id++));
 xmlhttprequest.withCredentials = withCredentials;
+addExtraHeaders(xmlhttprequest);
 xmlhttprequest.send(null);
 
 return xmlhttprequest;
@@ -595,6 +625,7 @@ Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
 
 connect_xmlhttprequest.open("POST", TUNNEL_CONNECT, true);
 connect_xmlhttprequest.withCredentials = withCredentials;
+addExtraHeaders(connect_xmlhttprequest);
 connect_xmlhttprequest.setRequestHeader("Content-type", 
"application/x-www-form-urlencoded; charset=UTF-8");
 connect_xmlhttprequest.send(data);
 
@@ -1137,6 +1168,7 @@ Guacamole.StaticHTTPTunnel = function 
StaticHTTPTunnel(url, crossDomain) {
 xhr = new XMLHttpRequest();
 xhr.open('GET', url);
 xhr.withCredentials = !!crossDomain;
+addExtraHeaders(xhr);
 xhr.responseType = 'text';
 xhr.send(null);
 



[jira] [Updated] (GUACAMOLE-437) Allow to configure custom headers for Guacamole tunnels

2017-11-19 Thread Michael Jumper (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper updated GUACAMOLE-437:
-
Affects Version/s: (was: 0.9.13-incubating)

> Allow to configure custom headers for Guacamole tunnels
> ---
>
> Key: GUACAMOLE-437
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-437
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacamole-common-js
>Reporter: Ignasi Barrera
>
> When establishing a Guacamole tunnel to an endpoint that requires (for 
> example) authentication, it is often needed to send custom headers. The 
> existing withCredentials option works well for session cookies in 
> cross-domain environments, but when there are no sessions or authentication 
> relies on headers, there is no way to have an authenticated tunnel request.
> A mechanism to configure custom headers for Guacamole tunnels would allow 
> users to configure custom headers that might be needed for their systems, 
> such as authentication headers, distributed tracing correlation headers, 
> request signatures, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-437) Allow to configure custom headers for Guacamole tunnels

2017-11-19 Thread Michael Jumper (JIRA)

[ 
https://issues.apache.org/jira/browse/GUACAMOLE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258645#comment-16258645
 ] 

Michael Jumper commented on GUACAMOLE-437:
--

The subsequent {{read}} and {{write}} calls are authenticated through 
specifying the tunnel UUID (which is how the read/write calls reach the proper 
tunnel in the first place), which cannot exist unless the {{connect}} call has 
succeeded. Read/write calls without a correct tunnel UUID will inherently fail.

> Allow to configure custom headers for Guacamole tunnels
> ---
>
> Key: GUACAMOLE-437
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-437
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacamole-common-js
>Affects Versions: 0.9.13-incubating
>Reporter: Ignasi Barrera
>
> When establishing a Guacamole tunnel to an endpoint that requires (for 
> example) authentication, it is often needed to send custom headers. The 
> existing withCredentials option works well for session cookies in 
> cross-domain environments, but when there are no sessions or authentication 
> relies on headers, there is no way to have an authenticated tunnel request.
> A mechanism to configure custom headers for Guacamole tunnels would allow 
> users to configure custom headers that might be needed for their systems, 
> such as authentication headers, distributed tracing correlation headers, 
> request signatures, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


incubator-guacamole-website git commit: GUACAMOLE-436: Deploy project DOAP file (doap.rdf).

2017-11-19 Thread mjumper
Repository: incubator-guacamole-website
Updated Branches:
  refs/heads/asf-site 1727f228d -> 063e1423a


GUACAMOLE-436: Deploy project DOAP file (doap.rdf).


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/063e1423
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/063e1423
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/063e1423

Branch: refs/heads/asf-site
Commit: 063e1423aece3d4c040df4f41c3bde086f9e596b
Parents: 1727f22
Author: Michael Jumper 
Authored: Sun Nov 19 14:14:47 2017 -0800
Committer: Michael Jumper 
Committed: Sun Nov 19 14:14:47 2017 -0800

--
 content/doap.rdf | 128 ++
 1 file changed, 128 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/063e1423/content/doap.rdf
--
diff --git a/content/doap.rdf b/content/doap.rdf
new file mode 100644
index 000..16dcc09
--- /dev/null
+++ b/content/doap.rdf
@@ -0,0 +1,128 @@
+
+
+
+http://usefulinc.com/ns/doap#";
+xmlns:asfext="http://projects.apache.org/ns/asfext#";
+xmlns:foaf="http://xmlns.com/foaf/0.1/";
+xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
+
+http://guacamole.apache.org";>
+
+Apache Guacamole
+2017-11-15
+http://www.apache.org/licenses/LICENSE-2.0"/>
+http://guacamole.apache.org"/>
+
+
+
+Clientless remote desktop gateway.
+
+Apache Guacamole is a clientless remote desktop gateway
+which supports standard protocols like VNC, RDP, and SSH. We call
+it "clientless" because no plugins or client software are required.
+Once Guacamole is installed on a server, all you need to access
+your desktops is a web browser.
+
+
+
+https://issues.apache.org/jira/browse/GUACAMOLE"/>
+http://guacamole.apache.org/releases/"/>
+http://guacamole.apache.org"/>
+http://guacamole.apache.org/support/#mailing-lists"/>
+
+
+
+C
+Java
+JavaScript
+
+
+
+http://projects.apache.org/category/network-client"/>
+http://projects.apache.org/category/network-server"/>
+
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-client.git"/>
+https://github.com/apache/incubator-guacamole-client"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual.git"/>
+https://github.com/apache/incubator-guacamole-manual"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-server.git"/>
+https://github.com/apache/incubator-guacamole-server"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-website.git"/>
+https://github.com/apache/incubator-guacamole-website"/>
+
+
+
+
+
+
+
+Apache Guacamole Community
+mailto:d...@guacamole.apache.org"/>
+
+
+
+
+
+
+
+Apache Guacamole
+2017-07-30
+0.9.13-incubating
+
+
+
+
+Apache Guacamole
+2017-04-01
+0.9.12-incubating
+
+
+
+
+Apache Guacamole
+2017-02-02
+0.9.11-incubating
+
+
+
+
+Apache Guacamole
+2016-12-29
+0.9.10-incubating
+
+
+
+
+



[3/4] incubator-guacamole-website git commit: GUACAMOLE-436: Avoid redundant naming for DOAP file.

2017-11-19 Thread vnick
GUACAMOLE-436: Avoid redundant naming for DOAP file.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/468a769b
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/468a769b
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/468a769b

Branch: refs/heads/master
Commit: 468a769b405b1f4447f5c57a7d44e9693efee5ec
Parents: 424f0d6
Author: Michael Jumper 
Authored: Fri Nov 17 13:32:59 2017 -0800
Committer: Michael Jumper 
Committed: Fri Nov 17 13:32:59 2017 -0800

--
 doap.rdf   | 116 
 doap_guacamole.rdf | 116 
 2 files changed, 116 insertions(+), 116 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/468a769b/doap.rdf
--
diff --git a/doap.rdf b/doap.rdf
new file mode 100644
index 000..f345596
--- /dev/null
+++ b/doap.rdf
@@ -0,0 +1,116 @@
+---
+# NOTE: Jekyll requires YAML front matter, even if empty, if Liquid filtering
+# is to take place. Such filtering is necessary for the DOAP file to
+# automatically list all current releases.
+---
+
+
+
+http://usefulinc.com/ns/doap#";
+xmlns:asfext="http://projects.apache.org/ns/asfext#";
+xmlns:foaf="http://xmlns.com/foaf/0.1/";
+xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
+
+http://guacamole.apache.org";>
+
+Apache Guacamole
+2017-11-15
+http://www.apache.org/licenses/LICENSE-2.0"/>
+http://guacamole.apache.org"/>
+
+
+
+Clientless remote desktop gateway.
+
+Apache Guacamole is a clientless remote desktop gateway
+which supports standard protocols like VNC, RDP, and SSH. We call
+it "clientless" because no plugins or client software are required.
+Once Guacamole is installed on a server, all you need to access
+your desktops is a web browser.
+
+
+
+https://issues.apache.org/jira/browse/GUACAMOLE"/>
+http://guacamole.apache.org/releases/"/>
+http://guacamole.apache.org"/>
+http://guacamole.apache.org/support/#mailing-lists"/>
+
+
+
+C
+Java
+JavaScript
+
+
+
+http://projects.apache.org/category/network-client"/>
+http://projects.apache.org/category/network-server"/>
+
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-client.git"/>
+https://github.com/apache/incubator-guacamole-client"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual.git"/>
+https://github.com/apache/incubator-guacamole-manual"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-server.git"/>
+https://github.com/apache/incubator-guacamole-server"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-website.git"/>
+https://github.com/apache/incubator-guacamole-website"/>
+
+
+
+
+
+
+
+Apache Guacamole Community
+mailto:d...@guacamole.apache.org"/>
+
+
+
+
+{% assign releases = site.releases  | where: 'released', 'true' | sort: 'date' 
-%}
+{%- for release in releases reversed -%}
+{%- if release.title %}
+
+
+Apache Guacamole
+{{ release.date | date: "%Y-%m-%d" }}
+{{ release.title }}
+
+
+{%- endif -%}
+{%- endfor %}
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/468a769b/doap_guacamole.rdf
--
diff --git a/doap_guacamole.rdf b/doap_guacamole.rdf
deleted file mode 100644
index f345596..000
--- a/doap_guacamole.rdf
+++ /dev/null
@@ -1,116 +0,0 @@

-# NOTE: Jekyll requires YAML front matter, even if empty, if Liquid filtering
-# is to take place. Such filtering is necessary for the DOAP file to
-# automatically list all current releases.

-
-
-
-http://usefulinc.com/ns/doap#";
-xmlns:asfext="http://projects.apache.org/ns/asfext#";
-xmlns:foaf="http://xmlns.com/foaf/0.1/";
-xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
-
-http://guacamole.apache.org";>
-
-Apache Guacamole
-2017-11-15
-http://www.apache.org/licenses/LICENSE-2.0"/>
-http://guac

[4/4] incubator-guacamole-website git commit: GUACAMOLE-436: Merge add DOAP file describing the project.

2017-11-19 Thread vnick
GUACAMOLE-436: Merge add DOAP file describing the project.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/35a93ad8
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/35a93ad8
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/35a93ad8

Branch: refs/heads/master
Commit: 35a93ad8ca4af84e6453f459746d748a32de2167
Parents: be79fdc 468a769
Author: Nick Couchman 
Authored: Sun Nov 19 15:18:21 2017 -0500
Committer: Nick Couchman 
Committed: Sun Nov 19 15:18:21 2017 -0500

--
 doap.rdf | 116 ++
 1 file changed, 116 insertions(+)
--




[1/4] incubator-guacamole-website git commit: GUACAMOLE-436: Add DOAP file describing the project, releases, and all repositories.

2017-11-19 Thread vnick
Repository: incubator-guacamole-website
Updated Branches:
  refs/heads/master be79fdc04 -> 35a93ad8c


GUACAMOLE-436: Add DOAP file describing the project, releases, and all 
repositories.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/9c74a7a8
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/9c74a7a8
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/9c74a7a8

Branch: refs/heads/master
Commit: 9c74a7a87257c4d84035590c16b4f46d43423a8d
Parents: be79fdc
Author: Michael Jumper 
Authored: Fri Nov 17 13:03:32 2017 -0800
Committer: Michael Jumper 
Committed: Fri Nov 17 13:11:29 2017 -0800

--
 doap_guacamole.rdf | 128 
 1 file changed, 128 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/9c74a7a8/doap_guacamole.rdf
--
diff --git a/doap_guacamole.rdf b/doap_guacamole.rdf
new file mode 100644
index 000..16dcc09
--- /dev/null
+++ b/doap_guacamole.rdf
@@ -0,0 +1,128 @@
+
+
+
+http://usefulinc.com/ns/doap#";
+xmlns:asfext="http://projects.apache.org/ns/asfext#";
+xmlns:foaf="http://xmlns.com/foaf/0.1/";
+xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
+
+http://guacamole.apache.org";>
+
+Apache Guacamole
+2017-11-15
+http://www.apache.org/licenses/LICENSE-2.0"/>
+http://guacamole.apache.org"/>
+
+
+
+Clientless remote desktop gateway.
+
+Apache Guacamole is a clientless remote desktop gateway
+which supports standard protocols like VNC, RDP, and SSH. We call
+it "clientless" because no plugins or client software are required.
+Once Guacamole is installed on a server, all you need to access
+your desktops is a web browser.
+
+
+
+https://issues.apache.org/jira/browse/GUACAMOLE"/>
+http://guacamole.apache.org/releases/"/>
+http://guacamole.apache.org"/>
+http://guacamole.apache.org/support/#mailing-lists"/>
+
+
+
+C
+Java
+JavaScript
+
+
+
+http://projects.apache.org/category/network-client"/>
+http://projects.apache.org/category/network-server"/>
+
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-client.git"/>
+https://github.com/apache/incubator-guacamole-client"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual.git"/>
+https://github.com/apache/incubator-guacamole-manual"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-server.git"/>
+https://github.com/apache/incubator-guacamole-server"/>
+
+
+
+
+https://git-wip-us.apache.org/repos/asf/incubator-guacamole-website.git"/>
+https://github.com/apache/incubator-guacamole-website"/>
+
+
+
+
+
+
+
+Apache Guacamole Community
+mailto:d...@guacamole.apache.org"/>
+
+
+
+
+
+
+
+Apache Guacamole
+2017-07-30
+0.9.13-incubating
+
+
+
+
+Apache Guacamole
+2017-04-01
+0.9.12-incubating
+
+
+
+
+Apache Guacamole
+2017-02-02
+0.9.11-incubating
+
+
+
+
+Apache Guacamole
+2016-12-29
+0.9.10-incubating
+
+
+
+
+



[2/4] incubator-guacamole-website git commit: GUACAMOLE-436: List releases within RDP automatically.

2017-11-19 Thread vnick
GUACAMOLE-436: List releases within RDP automatically.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/424f0d6a
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/424f0d6a
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/424f0d6a

Branch: refs/heads/master
Commit: 424f0d6a6b91813b5caae9b854d0589b377b76d2
Parents: 9c74a7a
Author: Michael Jumper 
Authored: Fri Nov 17 13:25:03 2017 -0800
Committer: Michael Jumper 
Committed: Fri Nov 17 13:27:52 2017 -0800

--
 doap_guacamole.rdf | 36 
 1 file changed, 12 insertions(+), 24 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/424f0d6a/doap_guacamole.rdf
--
diff --git a/doap_guacamole.rdf b/doap_guacamole.rdf
index 16dcc09..f345596 100644
--- a/doap_guacamole.rdf
+++ b/doap_guacamole.rdf
@@ -1,3 +1,8 @@
+---
+# NOTE: Jekyll requires YAML front matter, even if empty, if Liquid filtering
+# is to take place. Such filtering is necessary for the DOAP file to
+# automatically list all current releases.
+---
 
 
 
-
-
-
-Apache Guacamole
-2017-07-30
-0.9.13-incubating
-
-
-
-
-Apache Guacamole
-2017-04-01
-0.9.12-incubating
-
-
-
-
-Apache Guacamole
-2017-02-02
-0.9.11-incubating
-
-
+{% assign releases = site.releases  | where: 'released', 'true' | sort: 'date' 
-%}
+{%- for release in releases reversed -%}
+{%- if release.title %}
 
 
 Apache Guacamole
-2016-12-29
-0.9.10-incubating
+{{ release.date | date: "%Y-%m-%d" }}
+{{ release.title }}
 
 
+{%- endif -%}
+{%- endfor %}