96 Commits

Author SHA1 Message Date
silver_volt4
c074b6bd66 Update config-local.yaml to use connection_strategy: lazy (#9)
Some checks failed
Build and Publish Docker Image / build-publish (3ds) (push) Has been cancelled
Build and Publish Docker Image / build-publish (local) (push) Has been cancelled
Build and Publish Docker Image / build-publish (wiiu) (push) Has been cancelled
This allows pretendo-docker clients to connect to URLs that do not exist as upstream servers. Previously, this would cause an error because mitmproxy would attempt to connect to the nonexistent upstream server before processing the redirection script that changes the request's destination to the local server.
2025-04-04 16:44:14 -04:00
Matthew Lopez
c03c3a0ff7 chore: define OPENSSL_STATIC using ENV 2024-08-04 11:47:23 -04:00
dependabot[bot]
8d331fcfda Bump mitmproxy/mitmproxy from 10.4.1 to 10.4.2 (#5)
Bumps mitmproxy/mitmproxy from 10.4.1 to 10.4.2.

---
updated-dependencies:
- dependency-name: mitmproxy/mitmproxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:39:25 -04:00
dependabot[bot]
a548fe1366 Bump mitmproxy/mitmproxy from 10.4.0 to 10.4.1 (#4)
Bumps mitmproxy/mitmproxy from 10.4.0 to 10.4.1.

---
updated-dependencies:
- dependency-name: mitmproxy/mitmproxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 09:19:39 -04:00
dependabot[bot]
9387a49114 Bump mitmproxy/mitmproxy from 10.3.1 to 10.4.0 (#3)
Bumps mitmproxy/mitmproxy from 10.3.1 to 10.4.0.

---
updated-dependencies:
- dependency-name: mitmproxy/mitmproxy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 11:18:50 -04:00
Matthew Lopez
f2e7042ac3 Fix downloads by allowing curl to follow redirects 2024-07-26 10:32:33 -04:00
Matthew Lopez
b7b6e19879 Fix cryptography by statically linking OpenSSL 2024-06-27 12:59:22 -04:00
Matthew Lopez
bf23e9e3ea Add Docker to Dependabot 2024-06-27 11:51:48 -04:00
Matthew Lopez
8bc0fd1727 Quick fix: downgrade mitmproxy and cryptography to fix errors 2024-06-27 11:15:02 -04:00
Matthew Lopez
ad45c7cb20 Merge pull request #1 from MatthewL246/dependabot/github_actions/docker/build-push-action-6
Bump docker/build-push-action from 5 to 6
2024-06-26 22:48:08 +02:00
dependabot[bot]
271d00c4c4 Bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 12:01:22 +00:00
Matthew Lopez
43cbe68587 Add pretendo-docker note 2024-01-10 11:17:47 -05:00
Matthew Lopez
b1023c467c Restore pretendo-docker support for this fork 2024-01-05 13:32:05 -05:00
Jonathan Barrow
04828c4c30 Merge pull request #2 from MatthewL246/upstream-merge
Upkeep and Docker config from @MatthewL246
2024-01-05 13:23:53 -05:00
Matthew Lopez
41853f1988 Address review comments 2024-01-05 13:20:41 -05:00
Matthew Lopez
994250f7df Add the NoSSL patches and instructions for them 2024-01-05 12:04:41 -05:00
Matthew Lopez
4d27c67c82 Update some wording in the readme 2024-01-05 10:16:03 -05:00
Matthew Lopez
5d756540c1 Add a warning about overwriting dumps 2024-01-05 09:42:11 -05:00
Matthew Lopez
7e66dfead9 Prepare for merge to upstream 2024-01-04 20:00:59 -05:00
Matthew Lopez
72dec8bd33 Update the network dumping docs 2024-01-04 19:28:17 -05:00
Matthew Lopez
57fe3cb683 Fix the symlink target 2024-01-04 19:13:34 -05:00
Matthew Lopez
d9c20972ee Minor config updates 2024-01-04 18:58:27 -05:00
Matthew Lopez
a8ed7db323 Add ARM64 builds 2024-01-04 13:02:01 -05:00
Matthew Lopez
a8a687a7b3 Add docs for the network dumps 2024-01-04 09:18:46 -05:00
Matthew Lopez
b3ceb8f8cd Add web_host to network dump configs
This is required when running in Docker.
2024-01-04 08:55:03 -05:00
Matthew Lopez
4ec0a26110 Remove the unneeded type=sha 2024-01-04 08:39:16 -05:00
Matthew Lopez
de65777024 Set up the Docker publish workflow for multiple configs 2024-01-04 08:34:40 -05:00
Matthew Lopez
6f9aa93ffb Set up the network dump configurations 2024-01-04 08:16:27 -05:00
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