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

Improve DNS modifier to use a pool of forged IP addresses #137

Open
eddc005 opened this issue May 8, 2024 · 0 comments
Open

Improve DNS modifier to use a pool of forged IP addresses #137

eddc005 opened this issue May 8, 2024 · 0 comments

Comments

@eddc005
Copy link
Contributor

eddc005 commented May 8, 2024

Relevant Research

https://www.usenix.org/system/files/sec21-hoang.pdf
https://gfwatch.org/overview

Description

The real GFW employs a pool of globally routable IP addresses for DNS poisoning. To mimic that, I'd like to add functionality that allows for specifying a list of forged IP addresses in the rule file. The DNS modifier should then either randomly or deterministically (by hashing) select an IP address from this pool when constructing the forged DNS response.

Users could then mimic the authentic behavior of the GFW (in terms of DNS) by downloading the GFWatch open dataset and compiling a rule file which includes all the forged IP addresses and blocked domain names.

I also wonder if it's worthwhile to implement parsing rules (i.e., domain names) from a separate file. There are thousands of domain names and IP addresses in the GFWatch dataset, so the rule file would become gigantic.

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

No branches or pull requests

1 participant