Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rostislavjadavan/rs-dns-proxy
https://github.com/rostislavjadavan/rs-dns-proxy
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rostislavjadavan/rs-dns-proxy
- Owner: rostislavjadavan
- Created: 2020-10-29T21:40:03.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-25T13:24:09.000Z (over 2 years ago)
- Last Synced: 2024-11-07T16:52:12.955Z (2 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rs-dns-proxy
DNS Proxy with packet inspection PoC.
⚠️ UDP works but TCP resolution is broken. Code is work in progress so it's ugly and contains a lot of weird stuff 😶
## Test queries
```
dig @127.0.0.1 -p 5300 netflix.com
dig @127.0.0.1 +tcp -p 5300 netflix.com
```## UDP packet vs TCP packet
```
data=[ 102, 248, 1, 32, 0, 1, 0, 0, 0, 0, 0, 1, 7, 110, 101, 116, 102, 108, 105, 120, 3, 99, 111, 109, 0, 0, 1, 0, 1, 0, 0, 41, 16, 0, 0, 0, 0, 0, 0, 0]
data=[0, 40, 199, 214, 1, 32, 0, 1, 0, 0, 0, 0, 0, 1, 7, 110, 101, 116, 102, 108, 105, 120, 3, 99, 111, 109, 0, 0, 1, 0, 1, 0, 0, 41, 16, 0, 0, 0, 0, 0, 0, 0]
```