You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woikos
41a3b5c0a5
Fix OOM crash from corrupt compact event data
...
Add sanity bounds to prevent memory exhaustion when decoding corrupt
events with garbage varint values. Previously, corrupt data could cause
massive allocations (e.g., make([]byte, 2^60)) leading to OOM crashes.
- Add MaxTagsPerEvent (10000), MaxTagElements (100), MaxContentLength (10MB),
MaxTagElementLength (1MB) limits
- Return sentinel errors for corrupt data instead of logging
- Silently skip corrupt events (caller handles gracefully)
This fixes crash loops on archive.orly.dev where OOM during writes
left corrupt events in bbolt database.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2 days ago
.aiassistant/ rules
Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience.
3 months ago
.claude
Remove bunker (NIP-46) functionality from web UI (v0.44.7)
2 weeks ago
.gitea
Use Gitea API directly for release creation (v0.36.14)
3 weeks ago
.github/ workflows
Add issue templates, CI workflows, and decentralization plan
4 weeks ago
.plan
initial draft of hot reload policy
2 months ago
app
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
cmd
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
contrib/ stella
Add serve mode, fix binary tags, document CLI tools, improve Docker
2 months ago
docs
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
pkg
Fix OOM crash from corrupt compact event data
2 days ago
relay-tester
Refactor for interface clarity and dependency isolation.
1 month ago
scripts
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
.dockerignore
Add serve mode, fix binary tags, document CLI tools, improve Docker
2 months ago
.gitignore
Decompose handle-event.go into DDD domain services (v0.36.15)
3 weeks ago
BUG_REPORTS_AND_FEATURE_REQUEST_PROTOCOL.md
Add ORLY_POLICY_PATH for custom policy file location
4 weeks ago
CLAUDE.md
Add Neo4j memory tuning config and query result limits (v0.43.0)
2 weeks ago
CONTRIBUTING.md
Add issue templates, CI workflows, and decentralization plan
4 weeks ago
DDD_ANALYSIS.md
Decompose handle-event.go into DDD domain services (v0.36.15)
3 weeks ago
Dockerfile
Add serve mode, fix binary tags, document CLI tools, improve Docker
2 months ago
Dockerfile.relay-tester
Add serve mode, fix binary tags, document CLI tools, improve Docker
2 months ago
INDEX.md
Add comprehensive documentation for CLAUDE and Nostr WebSocket skills
2 months ago
LICENSE
Add initial project structure with README, LICENSE, and .gitignore config
5 months ago
README.md
Add documentation and improve BBolt import memory efficiency (v0.48.8)
5 days ago
conversation.md
fix policy to ignore all req/events without auth
2 months ago
docker-compose.yml
Interim release: documentation updates and rate limiting improvements
1 month ago
enable-policy.sh
fix silent fail of loading policy with panic, and bogus fallback logic
2 months ago
go.mod
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
go.sum
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
libsecp256k1.so
fully test and verify policy script functionality
2 months ago
main.go
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago
policyfixes.md
fix policy to ignore all req/events without auth
2 months ago
wasm_exec.js
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
5 days ago