Skip to content

feat: add an optional abuse guard module - #11

Merged
m1ngsama merged 2 commits into
mainfrom
feat/guard-module-10
Nov 17, 2026
Merged

m1ngsama merged 2 commits into
mainfrom
feat/guard-module-10

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Anonymous rooms need configurable protection against repeated pollution. The optional guard module rejects empty public messages, duplicate sends, bursts, and sustained floods through TNT's owner-granted moderation interface.

The policy counts source behavior across reconnects, preserves quiet anonymous reading, and retains recent empty-probe evidence privately. Nicknames do not classify clients. Private sends share a source budget through metadata without exposing their bodies.

Validation: module suites, nine policy tests, real SSH integration on macOS and Linux, AddressSanitizer flows, and production source-ban/unban checks. WebSocket account policy and cross-proxy attribution remain tracked in #10.

Requires TNT #123. Refs #10 and m1ngsama/TNT#122.

@m1ngsama
m1ngsama marked this pull request as ready for review November 17, 2026 02:58
@m1ngsama
m1ngsama merged commit b71fb3d into main Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant