Commit Graph

9 Commits

Author SHA1 Message Date
Matthew Lopez
a884ccec30
Add support for rverse redirection 2022-07-22 23:34:51 -04:00
Matthew Lopez
802eb15c4d
Also redirect nintendowifi.net for 3DS 2022-07-21 21:25:31 -04:00
Matthew Lopez
26764b4d1c
Replace request host header instead of host 2022-07-20 22:08:06 -04:00
Matthew Lopez
c4120b7781
Update addon script to work with reverse proxy
Use `pretty_host` instead of `host` because `pretty_host` takes the HTTP host header into account, not just the destination.
2022-07-20 21:11:46 -04:00
Matthew Lopez
bd676b372b
Revert changes to pretendo_addon.py
It's better to use an actual reverse proxy like nginx instead of using mitmproxy.
2022-06-22 20:32:14 -04:00
Matthew Lopez
c0821b546e
Change the account server to listen on port 8080
This makes more sense than listening on port 7070 because the account server is the most important.
2021-09-01 16:38:00 -04:00
Matthew Lopez
827f6a0af6
Allow redirecting traffic from multiple servers in the addon
This replaces the simple "nintendo.net => pretendo.cc" substitution with a customized redirection for each Pretendo server.

This is necessary for several reasons:
 - The Grove server expects `eshop.pretendo.cc`, not `geisha-wup`...
 - Each server must be run on a different port. The port numbers must be configured manually for each Pretendo server.
2021-08-30 19:43:26 -04:00
Matthew Lopez
9b6da24512
Format the Pretendo addon script 2021-08-30 19:29:24 -04:00
Jonathan Barrow
fbfaa98852 Create pretendo_addon.py
Added Pretendo addon for easier redirection to Pretendo servers
2021-03-07 19:28:29 -05:00