Limit what a tracker can make the page do, recommend anti-framing headers
A tracker message over 64 KiB isn't parsed, before acceptance it rejects the tracker like a failure reason. Beyond 20 messages per 10 s the rest is dropped, so a tracker can't keep the page parsing and decrypting. What a tracker makes a socket log goes through one note: each line once, at most 10 per socket. The log keeps the last 1000 lines in a shallow ref and says how many went. index.html sets Referrer-Policy itself, the README recommends the headers a <meta> can't set: frame-ancestors, X-Frame-Options and nosniff. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b102e55495
commit
7f4811485a
7 files changed
+151
-31
No files matched your search
@@ -30,6 +30,10 @@
|
||||
"MAX_BUFFERED",
|
||||
"WINDOW",
|
||||
"TRACKER_TIMEOUT",
|
||||
"MAX_TRACKER_MESSAGE",
|
||||
"MAX_TRACKER_MESSAGES",
|
||||
"MESSAGE_WINDOW",
|
||||
"TRACKER_NOTES",
|
||||
"CONNECT_TIMEOUT",
|
||||
"MIN_INTERVAL",
|
||||
"PBKDF2_ITERATIONS",
|
||||
|
||||
Reference in new issue
Block a user