You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -581,6 +581,52 @@ To see the integration test coverage report open `.coverage/integration/lcov-rep
581
581
open .coverage/integration/lcov-report/index.html
582
582
```
583
583
584
+
585
+
## Security & Load Testing
586
+
587
+
Nostream includes a specialized security tester to simulate Slowloris-style connection holding and event flood (spam) attacks. This is used to verify relay resilience and prevent memory leaks.
Export all stored events to a [JSON Lines](https://jsonlines.org/) (`.jsonl`) file. Each line is a valid NIP-01 Nostr event JSON object. The export streams rows from the database using cursors, so it works safely on relays with millions of events without loading them into memory.
@@ -629,6 +675,7 @@ Delete only selected kinds older than N days:
629
675
By default, the script asks for explicit confirmation (`Type 'DELETE' to confirm`).
630
676
Use `--force` to skip the prompt.
631
677
678
+
632
679
## Configuration
633
680
634
681
You can change the default folder by setting the `NOSTR_CONFIG_DIR` environment variable to a different path.
0 commit comments