-
Notifications
You must be signed in to change notification settings - Fork 3
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
close 53 #46
base: main
Are you sure you want to change the base?
close 53 #46
Conversation
@andrija, what is this with port 67? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should delete the commented code. if need be replace with a regular comment and submit to security.
now cause of the motherload of the change
@nvazquez @andrijapanicsb @rhtyd @PaulAngus I just removed the entire class from the code as it was not doing anything anymore. But to be sure: BOOTP 67 isn't used ? |
@blueorangutan package |
thb , i don't know, but i'd hope that it was there for a reason.. |
bootp when you have dhcp, does not seem to have a valid use-case? the only thing i can think of is some older component needing support that doesn't speak dhcp. |
What worries more, is the possibility that there are VPC configurations which would no longer be able to use their DNS because they are not instanciated 'properly' but worked because DNS was 'wide-open' |
Agree, extensive testing needed. Should we share on sec@ yet? |
My comment really relates to this possible fix, and is really only valid if we propose simply removing this section of code. I don't know/understand the detailed model being followed to suggest alternatives, I am simply wary that; removing this section of code may well be the correct solution, but 'once bitten, twice shy' |
Need to check why I didn't see any of those comments - ah it went into the subfolder next to other 8500+ emails... right. Whatever ports are needed for the VM on the network to work - those have to be opened in that other file CsAddress.py, next to other ports like 53 and 8080 We aleady briefly tested 10d ago: 10.2.2.216 So yes, testing is required - but considering the wording "self.config.has_dns()" - I'm pretty sure was written by someone "unsecure by default" in mind - Nicolas has traced this to date back to pre-4.6 release and some more ago... - so it's really ancient code. |
i.e.: cloudstack/systemvm/debian/opt/cloud/bin/cs/CsAddress.py Lines 406 to 423 in 08b1267
|
@andrija, we will need to test shared networks as well (and maybe even basic zones) |
Hi @dependabot[bot], your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch? |
close 53 (udp port 53 that is, and tcp ;)