Commit Graph

14 Commits

Author SHA1 Message Date
Matthew Lopez
40c73218c9
Add Pretendo's hard-coded CDN to redirects 2023-12-21 15:08:15 -05:00
Matthew Lopez
2d05ef8c66
Add support for pretendo.network and reformat
(they hardcoded the website cookie domains)
2023-12-18 17:42:43 -05:00
Matthew Lopez
b0789f111f
Fix the host redirection
Apparently, changing the port also changes the Host header.
2023-12-18 16:59:37 -05:00
Matthew Lopez
d8ec9c9ea5
Fix usage without a custom host 2023-12-17 20:35:16 -05:00
Matthew Lopez
7a20b5e6d9
Set up script for custom Pretendo hosts 2023-12-17 14:24:42 -05:00
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