Commit Graph

68 Commits

Author SHA1 Message Date
Matthew Lopez
293ece3dde
Enable local server redirection by default 2024-01-04 08:09:29 -05:00
Matthew Lopez
4803b3a097
Add 3DS instructions and fix a few typos 2024-01-02 22:56:06 -05:00
Matthew Lopez
a10fa93bdb
Fix formatting issues caused by bad Prettier config 2023-12-26 21:13:51 -05:00
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
adeacbb57e
Reformat YAML 2023-12-16 18:38:11 -05:00
Matthew Lopez
2cc396b8bb
Delete the temporary container when compiling custom patches 2023-12-16 16:41:01 -05:00
Matthew Lopez
57e18cf0fb
Set up a configuration that works on Wii U 2023-12-16 16:35:30 -05:00
Matthew Lopez
85b7d1e4a8
Update information on custom Pretendo patches 2023-12-16 16:17:12 -05:00
Matthew Lopez
25ff8d1cb2
Name the container 2023-12-16 15:58:00 -05:00
Matthew Lopez
ceab5c54b7
Update the readme with instructions for the published image 2023-12-16 15:43:11 -05:00
Matthew Lopez
f9b7505165
Enable Docker latest tag 2023-12-16 15:10:25 -05:00
Matthew Lopez
653acb3d01
Create .dockerignore 2023-12-16 15:05:30 -05:00
Matthew Lopez
a2d6a34d5a
Create dependabot.yml 2023-12-16 14:55:45 -05:00
Matthew Lopez
6f7453a173
Set up Docker publish to GHCR 2023-12-16 14:51:10 -05:00
Matthew Lopez
2968519411
Add detailed usage instructions to the readme 2023-12-15 22:49:48 -05:00
Matthew Lopez
1d253796b1
Set up the mitmproxy config as a symlink
This allows the mitmproxy configuration directory to be saved as a Docker volume so that its certificates are not regenerated every time the container is run. If the config file is directly included in the volume, then new changes to it will not be copied over during the image build because the volume mount (which is using the old config version) overwrites the whole directory. Using a symlink allows modifying the config without modifying anything in the configuration directory.
2023-12-15 22:16:52 -05:00
Matthew Lopez
d1f48199ba
Create Docker image build action 2023-12-15 16:40:20 -05:00
Matthew Lopez
bfb5d01353
Reconfigure mitmproxy for Docker 2023-12-15 16:25:56 -05:00
Matthew Lopez
a44495f59c
Merge branch 'reverse-proxy'
* reverse-proxy:
  Also disable insecure SSL settings
  Configuration updates for HTTP/2 and caching
  Add support for rverse redirection
  Also redirect nintendowifi.net for 3DS
  Replace request host header instead of host
  Update addon script to work with reverse proxy
  Set up reverse proxy config
2023-12-15 16:03:56 -05:00
Matthew Lopez
33fde8aee2
Use recommended apt order 2023-12-14 20:43:27 -05:00
Matthew Lopez
d2affc3f8b
Update Dockerfile to be functional 2023-12-14 19:05:35 -05:00
Matthew Lopez
d427939dd4
Create WIP mitmproxy-pretendo Dockerfile
It doesn't quite work yet.
2023-12-14 19:26:53 +00:00
Matthew Lopez
2269085e70
Also disable insecure SSL settings 2022-08-29 18:09:56 -04:00
Matthew Lopez
13a4b54eb0
Configuration updates for HTTP/2 and caching
This removes the anticache option because the server behind the reverse proxy can control caching, and it also disables the somewhat buggy and unnecessary HTTP/2 support.
2022-08-28 23:41:55 -04: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
29aa07cf4e
Set up reverse proxy config
This reverse proxy listens on port 8888 and forwards all traffic to a local server running on port 81. TCP ports 80 and 443 should be forwarded to port 8888. This local server should be running a reverse proxy like nginx that will proxy requests based on the host header.
2022-07-20 21:09:52 -04:00
Matthew Lopez
675754d68c
Delete setup-pretendo.sh 2022-06-28 19:10:51 -04:00
Matthew Lopez
6d16a7ae21
Add instructions for compiling OpenSSL
This is necessary for distributions that install OpenSSL 3.x.x by default, which is too new for connecting to Nintendo's servers.
2022-06-28 19:10:38 -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
183df7c0b1
Add section on replacing certificates 2022-06-22 20:25:34 -04:00
Matthew Lopez
07e5000822
Remove outdated known issues section 2022-06-22 20:14:30 -04:00
Matthew Lopez
43c33d777e
Use new Pretendo SSL patch repo 2022-06-22 20:13:44 -04:00
Matthew Lopez
3c09da628d
Remove unneeded comments and options from config 2022-06-22 20:10:36 -04:00
Matthew Lopez
5d58cce58d
Simplify client certificates 2022-06-22 20:03:46 -04:00
Matthew Lopez
5c12c7f756
Add client certificates needed for eshop 2022-06-22 18:46:52 -04:00
Matthew Lopez
1d7b14daf8
mitmproxy 8.0 updates
Recent versions of mitmproxy deprecated these options or made them unnecessary.
2022-06-18 21:23:46 -04:00
Matthew Lopez
6f506b8cbc
I forgot to remove the test code
*facepalm*
Also, I improved the formatting a little.
2021-12-05 10:31:43 -05:00
Matthew Lopez
1f4c0a1b09
Fix a string type error 2021-12-03 16:49:16 -05:00
Matthew Lopez
36cf683207
Add the MarioKart 7 and 8 repositories 2021-11-24 15:23:38 -05:00
Matthew Lopez
9254076deb
Add the Wii U Chat repositories 2021-11-24 15:20:44 -05:00
Matthew Lopez
0e745461df
Use a loop for cloning the repositories 2021-11-24 15:18:04 -05:00
Matthew Lopez
a4aef308dd
Update the client certificates
Downloaded from https://github.com/larsenv/NintendoCerts
2021-09-02 11:58:17 -04:00
Matthew Lopez
3870d96628
Make the setup script executable 2021-09-02 11:28:13 -04:00