26 Commits

Author SHA1 Message Date
moebiusband 153ecb6dff Bound JWT token cache and document auth model
The per-handler JWT validation cache was never pruned, so a long-running
process accumulated one map entry per distinct rotating token, growing
without bound (a slow memory leak / DoS vector). Evict stale entries on
the cache-miss path and cap the cache at maxTokenCacheSize, clearing it
if eviction of expired tokens cannot free space.

Also document in the README that auth verifies only the token signature
and expiry (claims/roles are not enforced) and that an empty
jwt-public-key disables authentication entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-13 10:44:06 +02:00
moebiusband a116a1ab16 Update dependencies. Synchronize options, cli flags with cc-backend
Entire-Checkpoint: e24929f05ad3
2026-04-01 15:37:33 +02:00
moebiusband 41fb959bf7 Cleanup README 2026-03-06 12:51:14 +01:00
moebiusband 542f8371be Update README
Entire-Checkpoint: dd6b5959d7c6
2026-03-04 11:24:59 +01:00
moebiusband fd8a919c32 Add description of Makefile to README 2024-10-23 17:03:46 +02:00
moebiusband 53cb497e0c Update README and Remove TODO 2024-10-23 13:19:18 +02:00
moebiusband 037b60954f Start to prepare release 2024-10-23 06:41:19 +02:00
moebiusband 7538570bc5 Cleanup 2024-06-18 07:27:27 +02:00
Jan Eitzinger 61e9191d4d Update README.md 2023-10-19 09:22:09 +02:00
Lou Knauer 902fcf9510 Allow multiple nats subscriptions 2022-02-22 14:18:44 +01:00
Lou Knauer 7201251600 Enable basic authentication for NATS 2022-02-04 08:52:53 +01:00
Lou Knauer 83d1cb2a98 Add documentation, change config format 2022-02-04 08:46:14 +01:00
Lou Knauer 407e650745 fix NaN too null conversion and restore duration 2022-01-31 16:34:42 +01:00
Lou Knauer 5c16393e30 Update README.md 2022-01-31 10:53:06 +01:00
Lou Knauer 76c58d7799 Add OpenAPI spec 2022-01-20 10:43:10 +01:00
Lou Knauer 4509a4a355 support subtypes in line protocol 2022-01-07 08:49:13 +01:00
Lou Knauer 024f66f49c Make nats optional; Update README.md 2021-10-12 13:26:54 +02:00
Lou Knauer 3aae1e80fb host to hostname in lp; update README.md 2021-10-11 10:55:36 +02:00
Lou Knauer 3b2ec98ba0 Update README.md, document API endpoints
Fixes #2
2021-09-20 11:25:25 +02:00
Lou Knauer 27a5c0b561 Use JWT authentication for the API
This commit takes care of the API part of issue #6.
2021-09-20 09:27:31 +02:00
Lou Knauer 53339eb8eb Update README.md 2021-09-08 12:26:22 +02:00
Lou Knauer cbe5a0714c Basic stats support 2021-09-01 08:48:35 +02:00
Lou Knauer 63e45960e1 Update README.md 2021-08-31 15:18:06 +02:00
Lou Knauer a125bd5bfd Add API endpoints, update README.md 2021-08-24 10:41:30 +02:00
Jan Eitzinger a85b210096 Initial checkin 2021-06-09 06:03:31 +02:00
Jan Eitzinger a59049d24e Initial commit 2021-06-08 18:15:24 +02:00