Skip to content
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

allowed_interfaces server configuration not respected by cloud node #2256

Closed
jessetane opened this issue Jun 16, 2023 · 4 comments
Closed

allowed_interfaces server configuration not respected by cloud node #2256

jessetane opened this issue Jun 16, 2023 · 4 comments
Labels

Comments

@jessetane
Copy link

When creating a link to a cloud node, the port list includes host interfaces that are disallowed by the server configuration's allowed_interfaces setting. Selecting a port that is not allowed does not generate any error in the ui but crashes a gns3server subprocess called ubridge.

@grossmj grossmj added the Bug label Jun 19, 2023
@grossmj grossmj transferred this issue from GNS3/gns3-web-ui Jul 6, 2023
@grossmj
Copy link
Member

grossmj commented Jul 6, 2023

Please do you have screenshots? thanks.

@grossmj
Copy link
Member

grossmj commented Jul 6, 2023

Also, what is your allowed_interfaces setting?

@jessetane
Copy link
Author

I noticed you transferred this issue from the web_ui, but I think it might be important to note here that I am only using the web_ui and not the native client.

Anyhow, my config looks like this: allowed_interfaces = br0. I went to grab you some screenshots and I noticed that now it appears to be working correctly and only shows br0 in the port list dropdown. That seemed strange so I figured I would just comment the line in my config e.g. ; allowed_interfaces = br0 and restart the server to see if there was any difference, but there was not - none of the other interfaces on the host machine show up as they did before I originally added this config.

So what's happening here? Does the web_ui javascript get rebuilt to take this config into account or something? And that rebuild happens at some time other than server start up? Let me know if there is anything else I can try to help debug.

@grossmj
Copy link
Member

grossmj commented Aug 2, 2023

So what's happening here? Does the web_ui javascript get rebuilt to take this config into account or something? And that rebuild happens at some time other than server start up? Let me know if there is anything else I can try to help debug.

It should work however you have to restart the GNS3 server itself after changing allowed_interfaces.

@grossmj grossmj closed this as completed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants