-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guacamole instance inaccessible with no Kali and no allowed inbound ports #83
Comments
I think this is just a helpful message that warns you that you need to load the |
Observation: During testing of this case, a functioning Guacamole instance was replaced by another functioning instance, though in this test case the inbound TCP/UDP allowed ports lists were not empty. |
I have seen this sort of hysteresis in Terraform before, most recently in cisagov/openvpn-server-tf-module#45. |
Further testing has revealed that port 443 must be included in the list of This was verified by deleting all resources in an environment ( operations_instance_counts = {
"debiandesktop" : 1,
"kali" : 0
}
operations_subnet_inbound_tcp_ports_allowed = ["443"]
operations_subnet_inbound_udp_ports_allowed = [] After the apply finished, I confirmed that the Guacamole instance had started up correctly and was accessible via SSH. Next task: Figure out why exactly port 443 matters here. This is very strange because the Guacamole instance does not live in the Operations subnet, so I wouldn't expect the inbound Operations ports to make any difference to Guacamole. |
🐛 Bug Report
When an assessment environment is created without a Kali instance and with no
operations_subnet_inbound_tcp_ports_allowed
and nooperations_subnet_inbound_udp_ports_allowed
, the resulting Guacamole instance starts up in a messed-up state and is not accessible via SSH.To Reproduce
Steps to reproduce the behavior:
terraform apply
Expected behavior
The Guacamole instance should start up correctly and be accessible by SSH (via SSM).
Any helpful log output
Here is the section of the log that shows that the Docker bridge fails to come up, which prevents the Guacamole composition from starting successfully:
It is unclear why this would happen based on the lack of a Kali instance or allowing inbound ports. Our current suspicion is that it has something to do with the cloud-init scripts that generate the Guacamole connections:
write-guac-connection-sql-template.tpl.yml
render-guac-connection-sql-template.py
We think that those scripts may be failing in such a way that cloud-init gets hung up and cannot continue, but more research is needed.
It's also worth noting that this message in the log (
bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
) sounds bad, but we have confirmed that it shows up on instances where Guacamole starts up successfully, so we don't believe it is related to this issue.The text was updated successfully, but these errors were encountered: