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 TCP listener to the DNS filtering proxy #2470

Closed
ameshkov opened this issue Jan 25, 2019 · 1 comment
Closed

Add TCP listener to the DNS filtering proxy #2470

ameshkov opened this issue Jan 25, 2019 · 1 comment
Assignees
Milestone

Comments

@ameshkov
Copy link
Member

ameshkov commented Jan 25, 2019

Intercept tcp://xxx:153, read the incoming DNS requests, reroute to the upstream, get the answer and write it back.

IMPORTANT: when you work with DNS over TCP, you need to encode the packet length in the first 2 bytes of every packet.

In order to debug return truncated responses to UDP requests, it will send the same request over TCP after that.

@ameshkov ameshkov added this to the 3.0 milestone Jan 25, 2019
@ameshkov ameshkov assigned admitrevskiy and unassigned nkartyshov Feb 11, 2019
@ameshkov ameshkov assigned Revertron and unassigned admitrevskiy Feb 26, 2019
@ameshkov ameshkov modified the milestones: 3.0, 3.1 Feb 28, 2019
@ameshkov ameshkov assigned admitrevskiy and unassigned Revertron Mar 19, 2019
@ameshkov ameshkov modified the milestones: 3.1, 3.2 Mar 19, 2019
@ameshkov
Copy link
Member Author

Waiting for newer dnsproxy version with blocking support.

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

No branches or pull requests

5 participants