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

Add reject for unknown server_name to prevent malicious DNS #418

Closed
wants to merge 1 commit into from

Conversation

leic4u
Copy link
Contributor

@leic4u leic4u commented Jun 15, 2024

Add reject for unknown server_name to prevent malicious DNS

Add reject for unknown server_name to prevent malicious DNS
@0xJacky 0xJacky requested a review from Hintay June 17, 2024 04:24
@0xJacky 0xJacky removed the request for review from Hintay July 21, 2024 10:11
@Hintay Hintay force-pushed the dev branch 6 times, most recently from 6c465ea to 8da309b Compare July 29, 2024 17:24
@0xJacky 0xJacky force-pushed the dev branch 2 times, most recently from e91ea6b to 013d810 Compare July 30, 2024 07:07
@Hintay Hintay force-pushed the dev branch 10 times, most recently from 646b44b to eb89065 Compare August 20, 2024 16:09
@Hintay Hintay force-pushed the dev branch 4 times, most recently from 9bf7370 to 8c72156 Compare November 15, 2024 14:29
@0xJacky
Copy link
Owner

0xJacky commented Jan 31, 2025

As your PR made a breaking change for existing users. Some users may visit IP directly to manage their server. After a few months decision, I decided not to merge this PR.

However, for users who have the same requirement as you, I added a config template in 76ea178 called "Reject Empty Host", they can add this directive to their config manually. By the way, if we don't want to be visited via malicious DNS, we don't need to listen the 443 ports for the default server.

image

@0xJacky 0xJacky closed this Jan 31, 2025
@leic4u leic4u deleted the patch-1 branch January 31, 2025 15:54
@leic4u
Copy link
Contributor Author

leic4u commented Jan 31, 2025

Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants