mirror of
https://github.com/itiligent/Easy-Guacamole-Installer.git
synced 2025-12-13 18:02:32 +00:00
useful setup and admin knowledge
This commit is contained in:
parent
ecf4f1d8cf
commit
6860e5ef4d
1 changed files with 33 additions and 32 deletions
|
|
@ -1,26 +1,41 @@
|
||||||
#########################
|
#########################
|
||||||
Connection setup tips:
|
Connection setup tips:
|
||||||
#########################
|
#########################
|
||||||
|
|
||||||
# Quick connection syntax (Windows 10 RDP)
|
# Quick connection syntax (Windows 10 RDP)
|
||||||
rdp://user@xxx.xxx.xxx.xxx/?security=nla&ignore-cert=true
|
rdp://user@xxx.xxx.xxx.xxx/?security=nla&ignore-cert=true
|
||||||
|
|
||||||
# To make recorded sessions available from the login page
|
# To view links to recorded sessions from within the connection history page:
|
||||||
Install the history-recording-storage option, then set recording paths in connection profiles to:
|
1. Install the history-recording-storage option
|
||||||
${HISTORY_PATH}/${HISTORY_UUID}
|
2. For each connection configuration profile, in the Screen Recording section set:
|
||||||
tick "automatically create recording path"
|
Recording Path = ${HISTORY_PATH}/${HISTORY_UUID}
|
||||||
|
Automatically create recording path = tick
|
||||||
|
|
||||||
# To create a quasi SSO pass through for LDAP and others..
|
# To create a quasi SSO pass through for LDAP and others, for each connection configuration profile:
|
||||||
Add the parameter token ${GUAC_USERNAME} to the Username field for each connection profile
|
Add ${GUAC_USERNAME} to the Username field for each connection profile
|
||||||
Add the parameter token ${GUAC_PASSWORD} to the Password field for each connection profile
|
Add ${GUAC_PASSWORD} to the Password field for each connection profile
|
||||||
|
|
||||||
|
|
||||||
|
####################
|
||||||
|
Guacamole Debug mode
|
||||||
|
####################
|
||||||
|
sudo systemctl stop guacd && sudo /usr/local/sbin/guacd -L debug -f #Verbose logs will start in the console.
|
||||||
|
|
||||||
|
|
||||||
|
################################################
|
||||||
|
Switch to Debian Testing repo
|
||||||
|
(upgrade/bugfix beyond a current stable package)
|
||||||
|
################################################
|
||||||
|
sudo apt update && sudo apt upgrade -y # Update first
|
||||||
|
sudo cp /etc/apt/sources.list sources.list.backup # Backup sources list
|
||||||
|
sudo sed -i 's/bullseye/testing/g' /etc/apt/sources.list # Switch to testing
|
||||||
|
|
||||||
|
sudo nano /etc/apt/sources.list # Now manually edit
|
||||||
|
comment out all lines having "security.debian.org"
|
||||||
|
comment out all lines that end with "updates"
|
||||||
|
add this line: deb http://security.debian.org testing-security main
|
||||||
|
|
||||||
|
sudo apt update && sudo apt-get install --only-upgrade libssh2-1-dev # update an individual package
|
||||||
|
|
||||||
#########################
|
|
||||||
Nginx load / DoS testing
|
|
||||||
#########################
|
|
||||||
https://ourcodeworld.com/articles/read/949/how-to-perform-a-dos-attack-slow-http-with-slowhttptest-test-your-server-slowloris-protection-in-kali-linux
|
|
||||||
slowhttptest -c 10000 -H -g -o ./output_file -i 3 -r 500 -t GET -u http://jumpbox.domain.com -x 24 -p 2
|
|
||||||
|
|
||||||
|
|
||||||
###############################################
|
###############################################
|
||||||
|
|
@ -52,23 +67,9 @@ UPDATE guacamole_user_attribute SET attribute_value='false' WHERE attribute_name
|
||||||
quit;
|
quit;
|
||||||
|
|
||||||
|
|
||||||
####################
|
#########################
|
||||||
Guacamole Debug mode
|
Nginx load / DoS testing
|
||||||
####################
|
#########################
|
||||||
sudo systemctl stop guacd && sudo /usr/local/sbin/guacd -L debug -f
|
https://ourcodeworld.com/articles/read/949/how-to-perform-a-dos-attack-slow-http-with-slowhttptest-test-your-server-slowloris-protection-in-kali-linux
|
||||||
Verbose logs will start in the console.
|
slowhttptest -c 10000 -H -g -o ./output_file -i 3 -r 500 -t GET -u http://jumpbox.domain.com -x 24 -p 2
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
Switch to Debian Testing repo
|
|
||||||
##############################
|
|
||||||
sudo apt update && sudo apt upgrade -y # Update first
|
|
||||||
sudo cp /etc/apt/sources.list sources.list.backup # Backup sources list
|
|
||||||
sudo sed -i 's/bullseye/testing/g' /etc/apt/sources.list # Switch to testing
|
|
||||||
|
|
||||||
sudo nano /etc/apt/sources.list # Now manually edit
|
|
||||||
comment out all lines having "security.debian.org"
|
|
||||||
comment out all lines that end with "updates"
|
|
||||||
add this line: deb http://security.debian.org testing-security main
|
|
||||||
|
|
||||||
sudo apt update && sudo apt-get install --only-upgrade libssh2-1-dev # update an individual package
|
|
||||||
Loading…
Add table
Reference in a new issue