You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I decided to use an older version of emscripten (3.1.29):
sreda@kamelusz-desktop:~/dev/redemption/projects/jsclient$ em++ --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.29 (43074846f216abad2a1c35b5a631f2a9481d9e07)
Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
jsclient compiled, albeit with warnings:
sreda@kamelusz-desktop:~/dev/redemption/projects/jsclient$ bjam -j7 toolset=clang-16 js_client
redemption-src: /home/sreda/dev/redemption
...patience...
...found 990 targets...
...updating 65 targets...
emscripten.objjs bin/clang-linux-16/release/_log_level.bc
em++: warning: linker setting ignored during compilation: 'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
em++: warning: linker setting ignored during compilation: 'EVAL_CTORS' [-Wunused-command-line-argument]
em++: warning: DISABLE_EXCEPTION_CATCHING=X is no longer needed when specifying EXCEPTION_CATCHING_ALLOWED [-Wdeprecated]
************************************
building:INFO: ctor_evaller: trying to eval global ctors (--ctors=__wasm_call_ctors)
building:INFO:
trying to eval __wasm_call_ctors
...partial evalling successful, but stopping since could not eval: call import: env._embind_register_class
...stopping
...updated 65 targets...
sreda@kamelusz-desktop:~/dev/redemption/projects/jsclient$ bjam -j7 toolset=clang-16 -s copy_application_mode=symbolic rdpclient
redemption-src: /home/sreda/dev/redemption
...patience...
...found 1007 targets...
...updating 9 targets...
emscripten.objjs bin/clang-linux-16/release/src/main/_dummy.bc
em++: warning: linker setting ignored during compilation: 'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
em++: warning: linker setting ignored during compilation: 'EVAL_CTORS' [-Wunused-command-line-argument]
em++: warning: DISABLE_EXCEPTION_CATCHING=X is no longer needed when specifying EXCEPTION_CATCHING_ALLOWED [-Wdeprecated]
emscripten.exejs bin/clang-linux-16/release/_dummy.em
em++: warning: DISABLE_EXCEPTION_CATCHING=X is no longer needed when specifying EXCEPTION_CATCHING_ALLOWED [-Wdeprecated]
building:INFO: ctor_evaller: trying to eval global ctors (--ctors=__wasm_call_ctors)
building:INFO:
trying to eval __wasm_call_ctors
...partial evalling successful, but stopping since could not eval: call import: env.emscripten_asm_const_int
...stopping
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/rdp_graphics.js
src/application/rdp_graphics.js
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/scancodes.js
src/application/scancodes.js
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/clipboard.js
src/application/clipboard.js
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/out_stream.js
src/application/out_stream.js
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/reversed_layouts.js
src/application/reversed_layouts.js
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/keyboard.js
src/application/keyboard.js
Jamfile</home/sreda/dev/redemption/projects/jsclient>.copy_client bin/clang-linux-16/release/client.html
src/application/client.html
...updated 9 targets...
For debugging purposes, I slightly changed the Transport::do_send function. It looks like this in my case:
But when I tried to launch jsclient, I got an error:
Error logs (from Firefox developer console)
12:50:27.007 Graphics implementation: 2d client.html:290:13
12:50:27.013 console.table() client.html:604:17
(index) Values
width 800
height 600
bpp 16
disabledGraphicOrders 0
username sreda
password <empty string>
verbosity 0
keylayout 1036
12:50:27.014 INFO (42/42) -- ModRDPParams target_user="sreda" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams target_password="<hidden>" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams target_host="0.0.0.0" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams client_address="0.0.0.0" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams krb_armoring_user="<null>" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams krb_armoring_password="<null>" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams krb_armoring_keytab_path="<null>" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.primary_user_id="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.target_application="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams disabled_orders.as_uint()=0 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams allow_nla_ntlm=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams allow_tls_only=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams allow_rdp_legacy=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_nla=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_krb=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_fastpath=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_remotefx=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_restricted_admin_mode=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams persistent_key_list_transport=<0> client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams key_locks=00 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams ignore_auth_channel=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams auth_channel="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams checkout_channel="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.alternate_shell="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.shell_arguments="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.shell_working_dir="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.use_client_provided_alternate_shell=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.target_application_account="" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams application_params.target_application_password="<hidden>" client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams rdp_compression=4 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams disconnect_on_logon_user_change=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams open_session_timeout=20 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_cert_store=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_cert_check=3 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_access_allowed_message=1 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_cert_create_message=1 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_cert_success_message=1 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_cert_failure_message=1 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams server_cert_error_message=1 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams hide_client_name=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_persistent_disk_bitmap_cache=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams enable_cache_waiting_list=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams persist_bitmap_cache_on_disk=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams password_printing_mode=0 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams bogus_freerdp_clipboard=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams bogus_refresh_rect=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_drives= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_prefix= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams lang=EN client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams allow_using_multiple_monitors=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams bogus_monitor_layout_treatment=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams allow_scale_factor=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams adjust_performance_flags_for_recording=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.rail_client_execute=<0> client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.flags=0x0000 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.exe_or_file= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.working_dir= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.arguments= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.use_client_provided_remoteapp=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.should_ignore_first_client_execute=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.enable_remote_program=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.remote_program_enhanced=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.convert_remoteapp_to_desktop=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams clean_up_32_bpp_cursor=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams large_pointer_support=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams load_balance_info= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.rail_disconnect_message_delay=0 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams file_system_params.bogus_ios_rdpdr_virtual_channel=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams file_system_params.enable_rdpdr_data_analysis=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams file_system_params.smartcard_passthrough=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_delay=0 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_timeout=0 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams support_connection_redirection_during_recording=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams clipboard_params.log_only_relevant_activities=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams use_license_store=yes client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams dynamic_channels_params.allowed_channels=* client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams dynamic_channels_params.denied_channels= client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams save_session_info_pdu=1 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams allow_session_reconnection_by_shortcut=no client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams verbose=0x00000007 client.html:263:11
12:50:27.015 INFO (42/42) -- ModRDPParams cache_verbose=0x00000000 client.html:263:11
12:50:27.015 INFO (42/42) -- Remote RDP Server domain="" login="sreda" host="" client.html:263:11
12:50:27.016 INFO (42/42) -- mod_rdp::verbosity=0x7 client.html:263:11
12:50:27.016 INFO (42/42) -- Creation of new mod 'RDP' client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams target_user="sreda" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams target_password="<hidden>" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams target_host="0.0.0.0" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams client_address="0.0.0.0" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams krb_armoring_user="<null>" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams krb_armoring_password="<null>" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams krb_armoring_keytab_path="<null>" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.primary_user_id="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.target_application="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams disabled_orders.as_uint()=0 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams allow_nla_ntlm=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams allow_tls_only=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams allow_rdp_legacy=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_nla=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_krb=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_fastpath=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_remotefx=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_restricted_admin_mode=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams persistent_key_list_transport=<0> client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams key_locks=00 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams ignore_auth_channel=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams auth_channel="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams checkout_channel="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.alternate_shell="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.shell_arguments="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.shell_working_dir="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.use_client_provided_alternate_shell=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.target_application_account="" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams application_params.target_application_password="<hidden>" client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams rdp_compression=4 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams disconnect_on_logon_user_change=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams open_session_timeout=20 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_cert_store=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_cert_check=3 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_access_allowed_message=1 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_cert_create_message=1 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_cert_success_message=1 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_cert_failure_message=1 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams server_cert_error_message=1 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams hide_client_name=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_persistent_disk_bitmap_cache=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams enable_cache_waiting_list=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams persist_bitmap_cache_on_disk=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams password_printing_mode=0 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams bogus_freerdp_clipboard=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams bogus_refresh_rect=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_drives= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_prefix= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams lang=EN client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams allow_using_multiple_monitors=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams bogus_monitor_layout_treatment=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams allow_scale_factor=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams adjust_performance_flags_for_recording=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.rail_client_execute=<0> client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.flags=0x0000 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.exe_or_file= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.working_dir= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.arguments= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.use_client_provided_remoteapp=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.should_ignore_first_client_execute=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.enable_remote_program=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.remote_program_enhanced=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.convert_remoteapp_to_desktop=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams clean_up_32_bpp_cursor=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams large_pointer_support=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams load_balance_info= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.rail_disconnect_message_delay=0 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams file_system_params.bogus_ios_rdpdr_virtual_channel=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams file_system_params.enable_rdpdr_data_analysis=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams file_system_params.smartcard_passthrough=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_delay=0 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_timeout=0 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams support_connection_redirection_during_recording=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams clipboard_params.log_only_relevant_activities=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams use_license_store=yes client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams dynamic_channels_params.allowed_channels=* client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams dynamic_channels_params.denied_channels= client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams save_session_info_pdu=1 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams allow_session_reconnection_by_shortcut=no client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams verbose=0x00000007 client.html:263:11
12:50:27.016 INFO (42/42) -- ModRDPParams cache_verbose=0x00000000 client.html:263:11
12:50:27.017 INFO (42/42) -- RdpNego: TLS=Enabled NLA=Disabled Legacy=Enabled adminMode=Disabled client.html:263:11
12:50:27.017 INFO (42/42) -- RdpNegociation: enable_session_probe=no client.html:263:11
12:50:27.017 INFO (42/42) -- Server key layout is 0x40c client.html:263:11
12:50:27.017 INFO (42/42) -- Init with Redir_info: RedirectionInfo(valid=false, session_id=0, host='', username='', password_or_cookie='<null>', domain='', LoadBalanceInfoLength=0, dont_store_username=false, server_tsv_capable=false, smart_card_logon=false) client.html:263:11
12:50:27.017 INFO (42/42) -- **** Start Negociation client.html:263:11
12:50:27.017 DEBUG (42/42) -- Transport::send 43 bytes (total 43) client.html:260:29
12:50:27.017 INFO (42/42) -- 0000 03 00 00 2b 26 e0 00 00 00 00 00 43 6f 6f 6b 69 ...+&......Cooki client.html:263:11
12:50:27.017 INFO (42/42) -- 0010 65 3a 20 6d 73 74 73 68 61 73 68 3d 73 72 65 64 e: mstshash=sred client.html:263:11
12:50:27.017 INFO (42/42) -- 0020 61 0d 0a 01 00 08 00 01 00 00 00 a.......... client.html:263:11
12:50:27.017 DEBUG (42/42) -- Transport::send complete client.html:260:29
12:50:27.018 INFO (42/42) -- RdpNego::NEGO_STATE_TLS client.html:263:11
12:50:27.018 INFO (42/42) -- RdpNego::recv_connection_confirm done (legacy, no TLS) client.html:263:11
12:50:27.018 INFO (42/42) -- Sending CS_CORE to server: color_depth 16 client.html:263:11
12:50:27.018 INFO (42/42) -- Sending to Server GCC User Data CS_CORE (216 bytes) client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::length [00 ] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::version [ ���0] RDP 5.0, 5.1, 5.2, and 6.0 clients) client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::desktopWidth = 800 client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::desktopHeight = 600 client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::colorDepth = [ ��] [RNS_UD_COLOR_8BPP] superseded by postBeta2ColorDepth client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::SASSequence = [ ��] [RNS_UD_SAS_DEL] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::keyboardLayout= 00� client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::clientBuild = 420 client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::clientName = client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::keyboardType = [0000] IBM enhanced (101-key or 102-key) keyboard client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::keyboardSubType = [0000] OEM code client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::keyboardFunctionKey = 12 function keys client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::imeFileName = client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::postBeta2ColorDepth = [ ��] [8 bpp] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::clientProductId = 1 client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::serialNumber = 0 client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::highColorDepth = [00��] [16-bit 565 RGB mask] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::supportedColorDepths = [000 ] [24/16/15/] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::earlyCapabilityFlags = [00'�] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::earlyCapabilityFlags:RNS_UD_CS_SUPPORT_ERRINFO_PDU client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::earlyCapabilityFlags:RNS_UD_CS_VALID_CONNECTION_TYPE client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::earlyCapabilityFlags:RNS_UD_CS_SUPPORT_MONITOR_LAYOUT_PDU client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::clientDigProductId=[00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::connectionType = LAN client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::pad1octet = 0 client.html:263:11
12:50:27.018 INFO (42/42) -- cs_core::serverSelectedProtocol = 0 client.html:263:11
12:50:27.018 INFO (42/42) -- CS_Cluster: Server Redirection Supported client.html:263:11
12:50:27.018 INFO (42/42) -- Sending to server GCC User Data CS_CLUSTER (12 bytes) client.html:263:11
12:50:27.018 INFO (42/42) -- cs_cluster::flags [000 ] client.html:263:11
12:50:27.018 INFO (42/42) -- cs_cluster::flags::REDIRECTION_SUPPORTED client.html:263:11
12:50:27.018 INFO (42/42) -- cs_cluster::flags::redirectionVersion = 4 client.html:263:11
12:50:27.018 INFO (42/42) -- Sending to server GCC User Data CS_SECURITY (12 bytes) client.html:263:11
12:50:27.018 INFO (42/42) -- CSSecGccUserData::encryptionMethods 3 client.html:263:11
12:50:27.018 INFO (42/42) -- CSSecGccUserData::extEncryptionMethods 0 client.html:263:11
12:50:27.018 INFO (42/42) -- ChannelDef[0]::(name = cliprdr, flags = 0x 0, chanid = 1) client.html:263:11
12:50:27.018 client.html:260:29
12:50:27.018 INFO (42/42) -- 0000 03 00 01 8c 02 f0 80 7f 65 82 01 80 04 01 01 04 ........e....... client.html:263:11
12:50:27.018 INFO (42/42) -- 0010 01 01 01 01 ff 30 1a 02 01 22 02 01 02 02 01 00 .....0..."...... client.html:263:11
12:50:27.018 INFO (42/42) -- 0020 02 01 01 02 01 00 02 01 01 02 03 00 ff ff 02 01 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0030 02 30 19 02 01 01 02 01 01 02 01 01 02 01 01 02 .0.............. client.html:263:11
12:50:27.018 INFO (42/42) -- 0040 01 00 02 01 01 02 02 04 20 02 01 02 30 1f 02 03 ........ ...0... client.html:263:11
12:50:27.018 INFO (42/42) -- 0050 00 ff ff 02 02 fc 17 02 03 00 ff ff 02 01 01 02 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0060 01 00 02 01 01 02 03 00 ff ff 02 01 02 04 82 01 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0070 1b 00 05 00 14 7c 00 01 81 12 00 08 00 10 00 01 .....|.......... client.html:263:11
12:50:27.018 INFO (42/42) -- 0080 c0 00 44 75 63 61 81 04 01 c0 d8 00 04 00 08 00 ..Duca.......... client.html:263:11
12:50:27.018 INFO (42/42) -- 0090 20 03 58 02 01 ca 03 aa 0c 04 00 00 a4 01 00 00 .X............. client.html:263:11
12:50:27.018 INFO (42/42) -- 00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 00c0 04 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0100 00 00 00 00 00 00 00 00 00 00 00 00 01 ca 01 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0110 00 00 00 00 10 00 07 00 61 00 00 00 00 00 00 00 ........a....... client.html:263:11
12:50:27.018 INFO (42/42) -- 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0150 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0160 04 c0 0c 00 0d 00 00 00 00 00 00 00 02 c0 0c 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0170 03 00 00 00 00 00 00 00 03 c0 14 00 01 00 00 00 ................ client.html:263:11
12:50:27.018 INFO (42/42) -- 0180 63 6c 69 70 72 64 72 00 00 00 00 00 cliprdr..... client.html:263:11
12:50:27.018 DEBUG (42/42) -- Transport::send complete client.html:260:29
12:50:27.019 INFO (42/42) -- RdpNegociation: Basic Settings Exchange client.html:263:11
12:50:27.019 INFO (42/42) -- GCC::UserData tag=0 �� length=8 client.html:263:11
12:50:27.019 INFO (42/42) -- Received from server GCC User Data SC_CORE (8 bytes) client.html:263:11
12:50:27.019 INFO (42/42) -- sc_core::version [ ���0] RDP 5.0, 5.1, 5.2, 6.0, 6.1, 7.0, 7.1 and 8.0 servers) client.html:263:11
12:50:27.019 INFO (42/42) -- GCC::UserData tag=0 �� length=12 client.html:263:11
12:50:27.019 INFO (42/42) -- GCC::UserData tag=0 �� length=236 client.html:263:11
12:50:27.019 INFO (42/42) -- =================== SC_SECURITY ============= client.html:263:11
12:50:27.019 INFO (42/42) -- RSA Key blob len in certificate is 92 client.html:263:11
12:50:27.019 INFO (42/42) -- Received from server GCC User Data SC_SECURITY (236 bytes) client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::encryptionMethod = 1 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::encryptionLevel = 1 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::serverRandomLen = 32 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::serverCertLen = 184 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::dwVersion = � client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::temporary = false client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::RDP4-style encryption client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::dwSigAlgId = 1 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::dwKeyAlgId = 1 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::wPublicKeyBlobType = 6 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::wPublicKeyBlobLen = 92 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::RSAPK::magic = 826364754 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::RSAPK::keylen = 72 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::RSAPK::bitlen = 512 client.html:263:11
12:50:27.019 INFO (42/42) -- sc_security::proprietaryCertificate::RSAPK::datalen = 63 client.html:263:11
12:50:27.019 INFO (42/42) -- RdpNegociation: Generate client random client.html:263:11
12:50:27.019 INFO (42/42) -- RdpNegociation: Channel Connection client.html:263:11
12:50:27.019 INFO (42/42) -- Send MCS::ErectDomainRequest client.html:263:11
12:50:27.019 <empty string> 55 client.html:263:11
12:50:27.020 Uncaught RuntimeError: index out of bounds
RdpClient$processInputData http://localhost:7543/js_client.js line 9 > Function:9
onmessage http://localhost:7543/client.html?ws=&user=sreda&pass=:635
js_client.wasm:78652:1
12:50:37.024 RdpClient close client.html:645:21
12:50:37.024 Uncaught RuntimeError: index out of bounds
runDestructor http://localhost:7543/js_client.js:9
releaseClassHandle http://localhost:7543/js_client.js:9
ClassHandle_delete http://localhost:7543/js_client.js:9
onclose http://localhost:7543/client.html?ws=&user=sreda&pass=:646
js_client.wasm:2355:1
<anonymous> http://localhost:7543/js_client.wasm:2355
<anonymous> http://localhost:7543/js_client.wasm:342365
runDestructor http://localhost:7543/js_client.js:9
releaseClassHandle http://localhost:7543/js_client.js:9
ClassHandle_delete http://localhost:7543/js_client.js:9
onclose http://localhost:7543/client.html?ws=&user=sreda&pass=:646
Corresponding screenshot of the latest lines
Also I noticed that the error location may be affected by the compiler optimization level. For example, below is log output when the same code compiled with O2 (changed optimiztion level in the Jamroot):
Error logs for O2 (from Firefox developer console)
12:55:37.805 Graphics implementation: 2d client.html:290:13
12:55:37.809 console.table() client.html:604:17
(index) Values
width 800
height 600
bpp 16
disabledGraphicOrders 0
username sreda
password <empty string>
verbosity 0
keylayout 1036
12:55:37.809 INFO (42/42) -- ModRDPParams target_user="sreda" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams target_password="<hidden>" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams target_host="0.0.0.0" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams client_address="0.0.0.0" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams krb_armoring_user="<null>" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams krb_armoring_password="<null>" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams krb_armoring_keytab_path="<null>" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.primary_user_id="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.target_application="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams disabled_orders.as_uint()=0 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams allow_nla_ntlm=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams allow_tls_only=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams allow_rdp_legacy=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_nla=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_krb=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_fastpath=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_remotefx=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_restricted_admin_mode=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams persistent_key_list_transport=<0> client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams key_locks=00 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams ignore_auth_channel=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams auth_channel="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams checkout_channel="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.alternate_shell="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.shell_arguments="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.shell_working_dir="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.use_client_provided_alternate_shell=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.target_application_account="" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams application_params.target_application_password="<hidden>" client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams rdp_compression=4 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams disconnect_on_logon_user_change=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams open_session_timeout=20 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_cert_store=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_cert_check=3 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_access_allowed_message=1 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_cert_create_message=1 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_cert_success_message=1 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_cert_failure_message=1 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams server_cert_error_message=1 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams hide_client_name=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_persistent_disk_bitmap_cache=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams enable_cache_waiting_list=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams persist_bitmap_cache_on_disk=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams password_printing_mode=0 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams bogus_freerdp_clipboard=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams bogus_refresh_rect=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_drives= client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_prefix= client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams lang=EN client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams allow_using_multiple_monitors=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams bogus_monitor_layout_treatment=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams allow_scale_factor=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams adjust_performance_flags_for_recording=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.rail_client_execute=<0> client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.flags=0x0000 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.exe_or_file= client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.working_dir= client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.arguments= client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.use_client_provided_remoteapp=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.should_ignore_first_client_execute=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.enable_remote_program=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.remote_program_enhanced=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.convert_remoteapp_to_desktop=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams clean_up_32_bpp_cursor=no client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams large_pointer_support=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams load_balance_info= client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams remote_app_params.rail_disconnect_message_delay=0 client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams file_system_params.bogus_ios_rdpdr_virtual_channel=yes client.html:263:11
12:55:37.810 INFO (42/42) -- ModRDPParams file_system_params.enable_rdpdr_data_analysis=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams file_system_params.smartcard_passthrough=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_delay=0 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_timeout=0 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams support_connection_redirection_during_recording=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams clipboard_params.log_only_relevant_activities=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams use_license_store=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams dynamic_channels_params.allowed_channels=* client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams dynamic_channels_params.denied_channels= client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams save_session_info_pdu=1 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams allow_session_reconnection_by_shortcut=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams verbose=0x00000007 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams cache_verbose=0x00000000 client.html:263:11
12:55:37.811 INFO (42/42) -- Remote RDP Server domain="" login="sreda" host="" client.html:263:11
12:55:37.811 INFO (42/42) -- mod_rdp::verbosity=0x7 client.html:263:11
12:55:37.811 INFO (42/42) -- Creation of new mod 'RDP' client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams target_user="sreda" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams target_password="<hidden>" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams target_host="0.0.0.0" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams client_address="0.0.0.0" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams krb_armoring_user="<null>" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams krb_armoring_password="<null>" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams krb_armoring_keytab_path="<null>" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.primary_user_id="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.target_application="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams disabled_orders.as_uint()=0 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams allow_nla_ntlm=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams allow_tls_only=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams allow_rdp_legacy=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_nla=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_krb=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_fastpath=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_remotefx=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_restricted_admin_mode=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams persistent_key_list_transport=<0> client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams key_locks=00 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams ignore_auth_channel=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams auth_channel="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams checkout_channel="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.alternate_shell="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.shell_arguments="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.shell_working_dir="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.use_client_provided_alternate_shell=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.target_application_account="" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams application_params.target_application_password="<hidden>" client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams rdp_compression=4 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams disconnect_on_logon_user_change=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams open_session_timeout=20 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_cert_store=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_cert_check=3 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_access_allowed_message=1 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_cert_create_message=1 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_cert_success_message=1 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_cert_failure_message=1 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams server_cert_error_message=1 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams hide_client_name=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_persistent_disk_bitmap_cache=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams enable_cache_waiting_list=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams persist_bitmap_cache_on_disk=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams password_printing_mode=0 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams bogus_freerdp_clipboard=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams bogus_refresh_rect=yes client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_drives= client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams drive_params.proxy_managed_prefix= client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams lang=EN client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams allow_using_multiple_monitors=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams bogus_monitor_layout_treatment=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams allow_scale_factor=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams adjust_performance_flags_for_recording=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.rail_client_execute=<0> client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.flags=0x0000 client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.exe_or_file= client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.working_dir= client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.windows_execute_shell_params.arguments= client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.use_client_provided_remoteapp=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.should_ignore_first_client_execute=no client.html:263:11
12:55:37.811 INFO (42/42) -- ModRDPParams remote_app_params.enable_remote_program=no client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams remote_app_params.remote_program_enhanced=no client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams remote_app_params.convert_remoteapp_to_desktop=no client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams clean_up_32_bpp_cursor=no client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams large_pointer_support=yes client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams load_balance_info= client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams remote_app_params.rail_disconnect_message_delay=0 client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams file_system_params.bogus_ios_rdpdr_virtual_channel=yes client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams file_system_params.enable_rdpdr_data_analysis=yes client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams file_system_params.smartcard_passthrough=no client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_delay=0 client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams remote_app_params.bypass_legal_notice_timeout=0 client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams support_connection_redirection_during_recording=yes client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams clipboard_params.log_only_relevant_activities=yes client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams use_license_store=yes client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams dynamic_channels_params.allowed_channels=* client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams dynamic_channels_params.denied_channels= client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams save_session_info_pdu=1 client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams allow_session_reconnection_by_shortcut=no client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams verbose=0x00000007 client.html:263:11
12:55:37.812 INFO (42/42) -- ModRDPParams cache_verbose=0x00000000 client.html:263:11
12:55:37.812 INFO (42/42) -- RdpNego: TLS=Enabled NLA=Disabled Legacy=Enabled adminMode=Disabled client.html:263:11
12:55:37.812 INFO (42/42) -- RdpNegociation: enable_session_probe=no client.html:263:11
12:55:37.812 INFO (42/42) -- Server key layout is 0x40c client.html:263:11
12:55:37.812 INFO (42/42) -- Init with Redir_info: RedirectionInfo(valid=false, session_id=0, host='', username='', password_or_cookie='<null>', domain='', LoadBalanceInfoLength=0, dont_store_username=false, server_tsv_capable=false, smart_card_logon=false) client.html:263:11
12:55:37.812 INFO (42/42) -- **** Start Negociation client.html:263:11
12:55:37.812 DEBUG (42/42) -- Transport::send 43 bytes (total 43) client.html:260:29
12:55:37.812 <empty string> 3 client.html:263:11
12:55:37.812 client.html:260:29
12:55:37.813 <empty string> 39 client.html:263:11
12:55:37.813 client.html:260:29
12:55:37.813 <empty string> 25 client.html:263:11
12:55:37.813 client.html:260:29
12:55:37.814 <empty string> 27 client.html:263:11
12:55:37.814 client.html:260:29
12:55:37.814 <empty string> 54 client.html:263:11
12:55:37.815 Uncaught RuntimeError: index out of bounds
RdpClient$processInputData http://localhost:7543/js_client.js line 9 > Function:9
onmessage http://localhost:7543/client.html?ws=&user=sreda&pass=:635
js_client.wasm:4767:1
12:55:47.819 RdpClient close client.html:645:21
12:55:47.820 Uncaught RuntimeError: index out of bounds
runDestructor http://localhost:7543/js_client.js:9
releaseClassHandle http://localhost:7543/js_client.js:9
ClassHandle_delete http://localhost:7543/js_client.js:9
onclose http://localhost:7543/client.html?ws=&user=sreda&pass=:646
js_client.wasm:9612:1
Corresponding screenshot of the latest lines
Note that there is no debug output after adding bytes to output_buffer inside modified Transport::do_send function.
Please tell me how to get workable jsclient? I suspect that this behavior occurs due to unsuitable versions of emscripten and clang:
sreda@kamelusz-desktop:~/dev/redemption/projects/jsclient$ clang++-16 --version
Ubuntu clang version 16.0.6 (23ubuntu4)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
sreda@kamelusz-desktop:~/dev/redemption/projects/jsclient$ em++ --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.29 (43074846f216abad2a1c35b5a631f2a9481d9e07)
Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Which versions of emscripten and clang are you using to build the client? How do you assess the stability of this approach of using RDP in a web browser?
The text was updated successfully, but these errors were encountered:
Hello.
I tried to compile and run jsclient, but I ran into a number of problems. Please help me solve them.
First, I performed the actions described in the corresponding README.md. But jsclient did not compile with the latest version of emscripten (3.1.64):
So I decided to use an older version of emscripten (3.1.29):
jsclient compiled, albeit with warnings:
For debugging purposes, I slightly changed the Transport::do_send function. It looks like this in my case:
But when I tried to launch jsclient, I got an error:
Error logs (from Firefox developer console)
Corresponding screenshot of the latest lines
Also I noticed that the error location may be affected by the compiler optimization level. For example, below is log output when the same code compiled with
O2
(changed optimiztion level in the Jamroot):Error logs for O2 (from Firefox developer console)
Corresponding screenshot of the latest lines
Note that there is no debug output after adding bytes to
output_buffer
inside modifiedTransport::do_send
function.Please tell me how to get workable jsclient? I suspect that this behavior occurs due to unsuitable versions of emscripten and clang:
Which versions of emscripten and clang are you using to build the client? How do you assess the stability of this approach of using RDP in a web browser?
The text was updated successfully, but these errors were encountered: