01-10-2024, 09:43
0
(30-09-2024, 20:35)mati75 napisał(a): Pierwsza sprawa zrób firewall dobijają się boty z całego świata do twojego systemu.A myślisz że komuś uda wbić? Oby nie. Jak już uda się odpalić to zmienię port na jakiś wysoki.
Sprawdziłbym to rozwiązanie: https://askubuntu.com/a/1493943
Wpisałem anybody i zresetowałem XRDP.
To samo:
Log z tego połączenia:
Na końcu jest niby OK ale nic się nie zmienia. Po wpisaniu hasła pare sekund czarny ekran i wraca do apki Zdalnego pultitu
Kod:
[20241001-09:40:08] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:153.19.102.13 port 49699
[20241001-09:40:08] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20241001-09:40:08] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20241001-09:40:08] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20241001-09:40:08] [ERROR] SSL_read: Failure in SSL library (protocol error?)
[20241001-09:40:08] [ERROR] SSL: error:0A000126:SSL routines::unexpected eof while reading
[20241001-09:40:08] [ERROR] libxrdp_force_read: header read error
[20241001-09:40:08] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20241001-09:40:08] [ERROR] [MCS Connection Sequence] receive connection request failed
[20241001-09:40:08] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20241001-09:40:08] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20241001-09:40:08] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20241001-09:40:08] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20241001-09:40:08] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20241001-09:40:08] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:153.19.102.13 port 49700
[20241001-09:40:08] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20241001-09:40:08] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20241001-09:40:08] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20241001-09:40:08] [INFO ] Connected client computer name: DESKTOP-MALCERZ
[20241001-09:40:08] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20241001-09:40:08] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20241001-09:40:09] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000415]
[20241001-09:40:09] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [pl] options []
[20241001-09:40:09] [INFO ] TLS connection established from ::ffff:153.19.102.13 port 49700: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[20241001-09:40:09] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20241001-09:40:09] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
[20241001-09:40:09] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20241001-09:40:09] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20241001-09:40:09] [INFO ] Loading keymap file /etc/xrdp/km-00000415.ini
[20241001-09:40:09] [WARN ] local keymap file for 0x00000415 found and doesn't match built in keymap, using local keymap file
[20241001-09:40:13] [INFO ] connecting to sesman on 127.0.0.1:3350
[20241001-09:40:13] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20241001-09:40:13] [INFO ] sesman connect ok
[20241001-09:40:13] [INFO ] sending login info to session manager. Please wait...
[20241001-09:40:14] [INFO ] xrdp_wm_log_msg: login successful for user malcerz on display 10
[20241001-09:40:14] [INFO ] login successful for user malcerz on display 10
[20241001-09:40:14] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20241001-09:40:14] [INFO ] started connecting
[20241001-09:40:14] [INFO ] lib_mod_connect: connecting via UNIX socket
[20241001-09:40:15] [INFO ] lib_mod_log_peer: xrdp_pid=130167 connected to X11rdp_pid=130180 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:153.19.102.13 client_port=49700
[20241001-09:40:15] [INFO ] connected ok