8 Commits
Author SHA1 Message Date
fristyagent cf931f457c Merge pull request 'chore(release): 0.3.4' (#25) from chore/release-0.3.4 into main
Development image / Development image (push) Skipped
CI / Docker image (push) Successful in 15s
CI / CLI (push) Successful in 15s
Release / Prepare release (push) Successful in 3s
CI / Server (push) Successful in 26s
CI / CLI (linux-arm64, static) (push) Successful in 50s
CI / CLI (linux-x86-64, static) (push) Successful in 53s
Release / Server (linux-x64) (push) Successful in 54s
CI / CLI (windows) (push) Successful in 51s
Release / Docker image (push) Successful in 1m41s
Release / Server (windows-x64) (push) Successful in 4m30s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / Publish release (push) Successful in 1s
Release / CLI (linux-arm64, static) (push) Successful in 2m49s
Release / CLI (linux-x64) (push) Successful in 7m45s
2026-11-17 18:43:44 +03:00
fristy 320c61346e chore(release): 0.3.4
CI / CLI (pull_request) Successful in 16s
CI / Server (pull_request) Successful in 27s
CI / Docker image (pull_request) Successful in 37s
CI / CLI (linux-arm64, static) (pull_request) Successful in 50s
CI / CLI (windows) (pull_request) Successful in 49s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 58s
Cut 0.3.4 from the Unreleased section: TCP tunnels behind a PROXY protocol
proxy now check the allow list against the real client address.
2026-11-17 18:41:58 +03:00
fristyagent e4df25681a Merge pull request 'fix(control): read the PROXY protocol address for the join check' (#24) from fix/control-proxy-protocol-ip into main
CI / Docker image (push) Successful in 13s
CI / CLI (push) Successful in 17s
CI / CLI (linux-x86-64, static) (push) Successful in 59s
CI / CLI (windows) (push) Successful in 1m17s
CI / Server (push) Successful in 26s
Development image / Development image (push) Successful in 24s
CI / CLI (linux-arm64, static) (push) Successful in 47s
2026-11-17 18:39:48 +03:00
fristy 1e73e96482 fix(control): read the PROXY protocol address for the join check
CI / CLI (pull_request) Successful in 20s
CI / Server (pull_request) Successful in 26s
CI / Docker image (pull_request) Successful in 31s
CI / CLI (linux-arm64, static) (pull_request) Successful in 50s
CI / CLI (windows) (pull_request) Successful in 52s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 1m1s
HTTP requests already prefer socket.frislitIp, which the TLS front fills from
the PROXY protocol. The control socket ignored it, so the TCP join check
compared the allow list against the proxy address and rejected every client.
2026-11-17 18:35:38 +03:00
fristyagent ee4a3a3ace Merge pull request 'chore(release): 0.3.3' (#23) from chore/release-0.3.3 into main
Release / Server (windows-x64) (push) Successful in 4m38s
CI / CLI (windows) (push) Successful in 5m17s
Release / CLI (windows-x64) (push) Successful in 5m54s
Release / CLI (linux-x64) (push) Successful in 7m44s
Release / Publish release (push) Successful in 1s
CI / CLI (push) Successful in 15s
CI / CLI (linux-arm64, static) (push) Successful in 49s
Development image / Development image (push) Skipped
CI / Docker image (push) Successful in 15s
Release / Prepare release (push) Successful in 4s
CI / Server (push) Successful in 25s
CI / CLI (linux-x86-64, static) (push) Successful in 56s
Release / Server (linux-x64) (push) Successful in 54s
Release / Docker image (push) Successful in 1m40s
Release / CLI (linux-arm64, static) (push) Successful in 2m44s
2026-11-17 17:21:33 +03:00
fristy 216bd52e67 chore(release): 0.3.3
CI / CLI (pull_request) Successful in 17s
CI / Server (pull_request) Successful in 30s
CI / Docker image (pull_request) Successful in 38s
CI / CLI (linux-arm64, static) (pull_request) Successful in 47s
CI / CLI (windows) (pull_request) Successful in 1m10s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 59s
Cut 0.3.3 from the Unreleased section: the statically linked Linux binaries
and the CI caching work, plus the version the release binaries read from
package.json.
2026-11-17 17:19:52 +03:00
fristyagent cea885454e Merge pull request 'ci: skip the development image for release commits' (#22) from ci/dev-image-release-guard into main
CI / Docker image (push) Successful in 16s
CI / CLI (push) Successful in 16s
CI / Server (push) Successful in 25s
Development image / Development image (push) Successful in 22s
CI / CLI (linux-arm64, static) (push) Successful in 47s
CI / CLI (windows) (push) Successful in 1m13s
CI / CLI (linux-x86-64, static) (push) Successful in 59s
2026-11-17 17:10:41 +03:00
fristy 936715f993 ci: skip the development image for release commits
CI / Server (pull_request) Successful in 26s
CI / Docker image (pull_request) Successful in 13s
CI / CLI (windows) (pull_request) Successful in 1m15s
CI / CLI (pull_request) Successful in 16s
CI / CLI (linux-arm64, static) (pull_request) Successful in 52s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 3m43s
The guard matched a 'Release ' prefix that no commit uses any more, so every
release rebuilt the development image. Match the (release) scope, which covers
the release commit and its merge commit.
2026-11-17 16:58:05 +03:00
4 changed files with 19 additions and 5 deletions

No files matched your search

+2 -1
View File
@@ -19,7 +19,8 @@ jobs:
permissions:
contents: read
packages: write
if: "!startsWith(github.event.head_commit.message, 'Release ')"
# Releases reach main as a merge commit of the chore(release) branch, so match the scope.
if: "!contains(github.event.head_commit.message, '(release)')"
steps:
- uses: actions/checkout@v7
+12
View File
@@ -7,12 +7,24 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/
## [Unreleased]
## [0.3.4] - 2026-11-17
### Fixed
- TCP tunnels behind a proxy that sends the PROXY protocol now check the allow list against the real
client address. The control connection ignored the address the TLS front already parsed, so
`--allow` rules rejected everyone with the proxy's address instead.
## [0.3.3] - 2026-11-17
### Changed
- The CI caches each static Linux target under its own key, builds them without debug info, and
checks the x86-64 build in a job of its own, so the cross-compile no longer rebuilds from scratch
on every run. The Windows check stops uploading `cli/target` to the cache, which cost more time
than the check itself.
- The development image is skipped for releases again: the guard looked for a `Release ` prefix,
while releases reach `main` as `chore(release): X.Y.Z` commits and their merge commits.
### Fixed
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "frislit",
"version": "0.3.2",
"version": "0.3.4",
"description": "Self-hosted tunnels: subdomain, path and direct TCP/UDP behind one public port",
"main": "server/index.js",
"repository": "https://git.fristy.net/fristy/frislit.git",
+4 -3
View File
@@ -22,8 +22,9 @@ const createControlServer = ({ config, auth, registry, connections, intel, visit
const forwarded = config.trustProxy && req.headers["x-forwarded-for"]
? String(req.headers["x-forwarded-for"]).split(",")[0].trim()
: null;
const session = new MuxSession(ws, { parity: 0, name: `cli ${req.socket.remoteAddress}` });
session.client = { id: randomToken(12), ip: forwarded || req.socket.remoteAddress || "", connectedAt: Date.now() };
const clientIp = req.socket?.frislitIp || forwarded || req.socket.remoteAddress || "";
const session = new MuxSession(ws, { parity: 0, name: `cli ${clientIp}` });
session.client = { id: randomToken(12), ip: clientIp, connectedAt: Date.now() };
const headerToken = auth.bearerFromHeaders(req.headers);
let state = "hello";
let role = null;
@@ -84,7 +85,7 @@ const createControlServer = ({ config, auth, registry, connections, intel, visit
state = "ready";
attachJoiner(tunnel, session, { connections, intel, visitors });
session.sendControl({ type: "joined", id: tunnel.id, port: tunnel.target.port, online: tunnel.online });
logger.info(`Joiner attached to ${tunnel.id}`, { from: req.socket.remoteAddress });
logger.info(`Joiner attached to ${tunnel.id}`, { from: session.client.ip });
}
} catch (err) {
fail(session, err.code || "bad_request", err.message);