Duosion / starpoint

Server emulator for a mobile pinball game.
GNU General Public License v3.0
47 stars 5 forks source link

Remove dependency on CoreDNS to redirect mitmproxy dns traffic #39

Closed 121GWJolt closed 2 months ago

121GWJolt commented 3 months ago

MITM proxy is capable of working with DNS requests, so I removed CoreDNS to simplify the runtime requirements. I also removed the CoreDNS instructions section from documentation, and changed affected documentation to reflect this. Also removed it from the start.bat and added an extra search method to find mitmproxy for android devices.

Since start-ios.bat doesn't have any CoreDNS in there anyway, it has been currently left as-is.

121GWJolt commented 3 months ago

I added a hotfix here for NGINX proxy to allow underscores in headers through, as apparently the pinball game has some of these (notably, during onboarding)

121GWJolt commented 3 months ago

Also... I made the TTL for the dns entries smol on purpose cuz I figured it's just local to MITMproxy and it'll probably be fine, but I am well-aware it should be greater than that by a LARGE amount normally LOL

Just makes it easier in case things need to change.