92 Commits

Author SHA1 Message Date
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
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
d5c1a80a06 NAS: Loosen .gs. host regex
Some checks failed
Build CI / build (push) Has been cancelled
2026-04-01 15:44:20 -04:00
Jonathan Barrow
f32c507a90 fix(nas): use wordsEncoding for UTF16 strings profanity words
made a mistake using the unitcd instead of wordsEncoding due to a bad copy-paste, my bad
2026-01-12 22:34:37 -05:00
Jonathan Barrow
ca8c9f1931 feat(nas): handle wenc/wregion in the profanity check endpoint 2026-01-12 13:53:09 -05:00
Jonathan Barrow
42a3a362a6 chore(nas): remove redundant switch-case break statements
linter go-staticcheck S1023
2026-01-11 17:13:17 -05:00
Palapeli
e6172fa941 NAS: Support multiple Stage1 versions 2026-01-04 01:14:19 -05:00
Palapeli
9aba0bbeae NAS: Forward payload requests to external server
Some checks failed
Build CI / build (push) Has been cancelled
2025-06-03 19:46:20 -04:00
ppeb
3722170a18 Make all time.Now() usage UTC 2025-03-23 20:42:54 -05:00
Lilia
0d2b3016f4 Profanity update
Mii names now get normalised, and the bad word list's cache gets cleared if the profanity.txt file has been updated.
2024-12-15 14:08:59 -05:00
MikeIsAStar
1665977524 RACE: Create a foundation for the 'RACE' server 2024-07-10 23:44:44 -04:00
mkwcat
c21e55b364 NAS: Expand deadline for real TLS requests 2024-05-08 03:09:57 -04:00
mkwcat
c6927a3cb6 NAS: Add read and idle timeouts 2024-05-07 22:36:27 -04:00
mkwcat
d3198757bf NAS,NHTTP: Graceful shutdown of HTTP server 2024-05-07 05:02:11 -04:00
mkwcat
94c03d5693 Add silent reload feature to GPCM and QR2 2024-05-06 23:58:40 -04:00
mkwcat
22a3e1d98b Wait for backend to start before accepting connections 2024-05-05 20:56:27 -04:00
mkwcat
5ff355f9d0 NAS: Allow empty gsbr code in login 2024-04-27 20:44:19 -04:00
mkwcat
bad2ae2ed7 Calculate friend codes for other games 2024-03-09 06:24:07 -05:00
MikeIsAStar
4dd85ddae4 [NAS] Do not consider a string of length zero as profane 2024-02-23 02:05:00 -05:00
mkwcat
db5d6f4f2f NAS: Don't require unitcd in all requests 2024-02-18 07:22:16 -05:00
MikeIsAStar
bea2bb8886 NAS: Add a profanity filter 2024-02-12 03:00:50 -05:00
mkwcat
496f918f7f GameStats: Handle /web/client/get2.asp 2024-02-05 22:43:35 -05:00
mkwcat
c9bd3ec2a8 Add gamestats package 2024-02-05 20:03:30 -05:00
mkwcat
241ae4894b NAS: General request and logging improvements 2024-02-04 21:58:07 -05:00
mkwcat
1eaece3f54 NAS: Support uppercase actions 2024-02-03 16:23:16 -05:00
mkwcat
8f91ac874c QR2: Send QR2 exploit immediately for Mario Kart DS 2024-01-28 16:35:04 -05:00
mkwcat
c57364964c Revert "NAS: Use devname in place of ingamesn when available"
This reverts commit 73b29c6a92.
2024-01-28 15:27:49 -05:00
mkwcat
73b29c6a92 NAS: Use devname in place of ingamesn when available 2024-01-24 14:49:33 -05:00
mkwcat
10de082278 Fix general compatibility with DS games 2024-01-24 11:42:04 -05:00