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

Fix dns automode #69

Merged
merged 2 commits into from
May 16, 2020
Merged

Fix dns automode #69

merged 2 commits into from
May 16, 2020

Conversation

funa-tk
Copy link
Contributor

@funa-tk funa-tk commented May 16, 2020

複数IFがあるPCにおいて、DNSの書き換えIPとしてオートモードを選択したとき、DNSクエリを発行したクライアントと同じサブネットに所属するIFのIPを書き換えIP(spoof IP)として設定するようにした。
DNSクエリの宛先アドレスをspoof IPとして設定した方が、より良い実装であるが、調査したところ、現在のJavaのUDP実装では、到着UDPパケットの宛先アドレスを取得するのは簡単ではないことがわかったので、このような実装とする。
(close #65)

@funa-tk funa-tk merged commit 9d110be into master May 16, 2020
@funa-tk funa-tk deleted the fix-dns-automode branch May 16, 2020 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant