Commit Graph

488 Commits

Author SHA1 Message Date
Palapeli
b28d5fe693 Common: Don't encrypt NAS auth token 2026-12-02 17:24:16 -05:00
Palapeli
784de7805c filter: Fix runtime panic on negative shift amount 2026-12-02 17:00:53 -05:00
Palapeli
6676c2ece4 GPCM: Don't panic if CloseConnection errors
Fixed #97
2026-12-02 16:51:23 -05:00
Palapeli
4f15ea0db5 NAS: Log proper IP address of forwarded request
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2026-12-02 15:25:06 -05:00
Palapeli
4d297a75d3 NATNEG: Add length check to handleConnectReply 2026-12-02 15:02:20 -05:00
dependabot[bot]
f0825bf89a Bump golang.org/x/crypto from 0.51.0 to 0.52.0 (#99)
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.51.0 to 0.52.0.
- [Commits](https://github.com/golang/crypto/compare/v0.51.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.52.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 03:15:17 -04:00
dependabot[bot]
cb9303558b Bump golang.org/x/net from 0.47.0 to 0.55.0 (#98)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.47.0 to 0.55.0.
- [Commits](https://github.com/golang/net/compare/v0.47.0...v0.55.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.55.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 03:13:25 -04:00
Palapeli
57b892e7ea Fix serverbrowser crash on malformed packet (#102)
Co-Authored-By: ppeb <36719558+ppebb@users.noreply.github.com>
2026-09-29 03:07:13 -04:00
ppeb
ec9f2f3647 Validate QR2 AVAILABLE requests (#103)
* QR2: Require well-formed AVAILABLE packets
* QR2: Prevent crashing on AVAILABLE packet of exactly length 5
2026-09-29 02:48:51 -04:00
Palapeli
f23a6bf8af Don't panic if closing a listener errors
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2026-05-02 14:56:06 -04:00
Palapeli
b70c693d26 API: Reformat API error responses
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2026-04-24 12:15:57 -04:00
Palapeli
51610cb3b7 API: Migrated other endpoints to use new utility functions 2026-04-22 16:45:21 -04:00
Palapeli
4d92f7bf0c API: Add baninfo endpoint
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2026-04-22 13:34:21 -04:00
Palapeli
9005b4795d GPCM: Don't panic if close connection fails after logout
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2026-04-12 10:58:17 -04:00
Palapeli
0b5041663a NAS: Oops fix payload download requests haha
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-11 18:07:56 -04:00
Palapeli
128935f186 NAS: Forward payload subpaths to payload-server 2026-04-11 18:04:55 -04:00
Palapeli
d543917ab4 Database: Add support for SUBSTRING in Sake filter query
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-11 03:36:36 -04:00
Palapeli
fdfa5ea352 NAS: Fix out of bounds slice in TLS read
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-10 10:52:14 -04:00
Palapeli
70bec8f241 NAS: Case-insensitive form actions
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-09 13:46:21 -04:00
Palapeli
c00420facb NAS: Use errors.Is for os instead of == operator 2026-04-09 13:11:04 -04:00
Palapeli
6205224358 NAS: Don't panic on invalid stage 1 version 2026-04-09 13:07:06 -04:00
Palapeli
3ae29417aa NAS: Log DS devname and gsbr code as string 2026-04-09 12:44:38 -04:00
Palapeli
72cbdb55a3 Merge branch 'feat/nas-refactor'
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-09 10:07:27 -04:00
Palapeli
b3ef500fce NAS: Rename dlc.go to dls.go
Some checks failed
golangci-lint / lint (push) Has been cancelled
2026-04-09 10:07:06 -04:00
Palapeli
db453ee4c9 NAS: Fix a few issues with TLS 1.0 for Wii
Some checks failed
golangci-lint / lint (push) Has been cancelled
2026-04-09 10:04:03 -04:00
Palapeli
dbed54993e NAS: Use specialized TLS connection instead of piping data 2026-04-09 07:58:20 -04:00
Palapeli
1fcb4da3a3 NAS: Optimize client hello parsing 2026-04-09 07:17:01 -04:00
Palapeli
08bc107529 NAS: Fix issue with proxyConsoleTLS read 2026-04-09 06:36:06 -04:00
Palapeli
00ee95a042 NAS: Rework TLS proxy to use io.Copy 2026-04-09 05:19:07 -04:00
Palapeli
24d2a40634 NAS: Directly feed data from TLS to HTTP server
Some checks failed
golangci-lint / lint (push) Has been cancelled
2026-04-07 23:22:38 -04:00
Palapeli
8c6c3a268d NAS: Fix index check in proxyConsoleTLS
Some checks failed
Build CI / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2026-04-07 23:17:44 -04:00
Palapeli
cf40cf2b3e NAS: Fix /download endpoint
Some checks failed
golangci-lint / lint (push) Has been cancelled
2026-04-07 22:43:01 -04:00
Palapeli
10765a1764 NAS: Refactor auth requests and auth token 2026-04-07 15:49:05 -04:00
Palapeli
3d713a20dc NAS: Close pipe if error on filtering headers
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-07 08:18:00 -04:00
Palapeli
63204868eb NAS: Run HTTP header filters in a detached goroutine 2026-04-07 08:12:28 -04:00
Palapeli
c002bb81a6 Rework HTTP request handling entirely
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-06 11:35:02 -04:00
Palapeli
9a1e0a21cf Replace nhttp with a custom listener
Some checks are pending
Build CI / build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
2026-04-06 10:06:01 -04:00
Palapeli
49e9f824a9 NAS: Apply lint suggestions 2026-04-06 07:09:25 -04:00
Palapeli
1056114534 API: Apply lint suggestions 2026-04-06 07:08:57 -04:00
Palapeli
f940b594b6 Race: Apply lint suggestions 2026-04-06 07:08:44 -04:00
Palapeli
a4a7fb43ce Sake: Apply lint suggestions 2026-04-06 07:08:36 -04:00
Palapeli
277cee6e57 ServerBrowser: Apply lint suggestions 2026-04-06 07:08:12 -04:00
Palapeli
7ca8f4777a Natneg: Apply lint suggestions 2026-04-06 07:07:53 -04:00
Palapeli
5258702a04 QR2: Apply lint suggestions 2026-04-06 07:07:38 -04:00
Palapeli
0ea3d33158 GameStats: Apply lint suggestions 2026-04-06 07:07:23 -04:00
Palapeli
5dee992b47 GPSP: Apply lint suggestions 2026-04-06 07:07:13 -04:00
Palapeli
a700af444e Filter: Apply lint suggestions 2026-04-06 07:06:18 -04:00
Palapeli
32e7c6a3f8 GPCM: Apply lint suggestions 2026-04-06 07:05:59 -04:00
Palapeli
2157575483 Database: Apply lint suggestions 2026-04-06 07:05:28 -04:00
Palapeli
ca525e9f61 Common: Apply lint suggestions 2026-04-06 07:05:08 -04:00