Your Name
6b20452fab
v1.2.39 - Fix IP Bans page: convert rows+columns SQL response format to objects for display
2026-02-25 06:53:50 -04:00
Your Name
3d7aa2196f
v1.2.37 - Fix: executeSqlQueryRaw uses relayPool/sendAdminCommand instead of undefined pool variable
2026-02-25 06:43:29 -04:00
Your Name
a416c3f275
v1.2.36 - Fix: don't reset relay connection state when external relays time out in subscription onclose
2026-02-25 06:33:25 -04:00
Your Name
d17f1dd8d5
v1.2.30 - Temporarily bypass admin verification on API page (idle timeout fix pending)
2026-02-24 14:55:39 -04:00
Your Name
207a949835
v1.2.29 - Added idle connection ban system - bans IPs that connect but never send REQ/EVENT (idle timeout or early disconnect) with separate rate limiting from auth failures
2026-02-24 14:18:27 -04:00
Your Name
fe7304ac7f
v1.2.25 - Add NIP-42 AUTH support to web UI: onauth callback in subscribeMany and publish calls
2026-02-23 18:03:29 -04:00
Your Name
0de491382e
v1.2.16 - Fix auth rules UI: change label/placeholder/errors from nsec to npub (public key, not private key)
2026-02-23 14:36:19 -04:00
Your Name
3148bbbee7
v1.2.15 - Admin verification: show 'Waiting for response' with status updates, 60s timeout, no premature access denied
2026-02-23 14:26:02 -04:00
Your Name
3965ba04d8
v1.2.14 - Handle late admin verification response: grant access even if timeout already fired and access-denied overlay was shown
2026-02-23 14:24:55 -04:00
Your Name
89c8248013
v1.2.12 - Increase admin verification timeout from 5s to 30s; continue waiting after publish timeout under heavy load
2026-02-23 14:16:56 -04:00
Your Name
1adabdbc4e
v1.2.5 - Add nip17_admin_enabled config toggle (default off) to prevent OOM from NIP-17 gift wrap decryption flood
2026-02-23 08:58:10 -04:00
Your Name
c0051b22be
v1.1.7 - Add per-connection database query tracking for abuse detection
...
Implemented comprehensive database query tracking to identify clients causing
high CPU usage through excessive database queries. The relay now tracks and
displays query statistics per WebSocket connection in the admin UI.
Features Added:
- Track db_queries_executed and db_rows_returned per connection
- Calculate query rate (queries/minute) and row rate (rows/minute)
- Display stats in admin UI grouped by IP address and WebSocket
- Show: IP, Subscriptions, Queries, Rows, Query Rate, Duration
Implementation:
- Added tracking fields to per_session_data structure
- Increment counters in handle_req_message() and handle_count_message()
- Extract stats from pss in query_subscription_details()
- Updated admin UI to display IP address and query metrics
Use Case:
Admins can now identify abusive clients by monitoring:
- High query rates (>50 queries/min indicates polling abuse)
- High row counts (>10K rows/min indicates broad filter abuse)
- Query patterns (high queries + low rows = targeted, high both = crawler)
This enables informed decisions about which IPs to blacklist based on
actual resource consumption rather than just connection count.
2026-02-01 16:26:37 -04:00
Your Name
73fb681118
v1.0.0 - Version 1.0.0)
2025-10-31 10:39:06 -04:00
Your Name
09dff8e91f
v0.8.1 - added screenshots
2025-10-29 07:39:08 -04:00
Your Name
2bff4a5f44
v0.7.41 - Fix SQL query routing in admin API - add missing sql_query case to handle_kind_23456_unified
2025-10-26 13:34:16 -04:00
Your Name
edb73d50cf
v0.7.40 - Removed event_broadcasts table and related code to fix FOREIGN KEY constraint failures preventing event insertion
2025-10-25 15:26:31 -04:00
Your Name
3dc09d55fd
v0.7.39 - Set dm's back 2 days to adjust for timestamp ramdomization of giftwraps.
2025-10-23 18:43:45 -03:00
Your Name
079fb1b0f5
v0.7.38 - Fixed error upon startup with existing db
2025-10-23 11:17:16 -04:00
Your Name
17b2aa8111
v0.7.37 - Enhanced admin interface with sliding sidebar navigation, moved dark mode and logout to sidebar footer, improved button styling consistency
2025-10-22 12:43:09 -04:00
Your Name
78d484cfe0
v0.7.36 - Implement sliding side navigation menu with page switching for admin sections
2025-10-22 11:01:30 -04:00
Your Name
9179d57cc9
v0.7.34 - We seemed to maybe finally fixed the monitoring error?
2025-10-22 10:19:43 -04:00
Your Name
9cb9b746d8
v0.7.33 - Refactor monitoring system to use subscription-based activation with ephemeral events - fixes recursive crash bug
2025-10-19 10:26:09 -04:00
Your Name
838ce5b45a
v0.7.30 - Update increment and push script
2025-10-18 15:04:45 -04:00
Your Name
48890a2121
v0.7.26 - Tidy up api
2025-10-18 14:48:16 -04:00
Your Name
e312d7e18c
v0.7.25 - Implement SQL Query Admin API
...
- Move non-NIP-17 admin functions from dm_admin.c to api.c for better architecture
- Add NIP-44 encryption to send_admin_response() for secure admin responses
- Implement SQL query validation and execution with safety limits
- Add unified SQL query handler for admin API
- Fix buffer size for encrypted content to handle larger responses
- Update function declarations and includes across files
- Successfully test frontend query execution through web interface
2025-10-16 15:41:21 -04:00
Your Name
6c38aaebf3
v0.7.24 - Fix admin API subscription issues: NIP-17 historical events and relay pubkey timing
2025-10-16 06:27:01 -04:00
Your Name
18b0ac44bf
v0.7.23 - Remove sticky positioning from main header to prevent floating behavior
2025-10-15 19:22:42 -04:00
Your Name
b6749eff2f
v0.7.22 - Fix compiler warnings in c_utils_lib version.c by adding proper includes for popen/pclose functions
2025-10-15 19:20:14 -04:00
Your Name
c73a103280
v0.7.21 - Remove manual relay connection UI and implement automatic background connection with seamless data loading
2025-10-15 16:50:22 -04:00
Your Name
a5d194f730
v0.7.20 - Fix automatic relay connection for restored authentication state
2025-10-15 15:47:02 -04:00
Your Name
6320436b88
v0.7.19 - Implement automatic relay connection after login with authentication error handling
2025-10-15 15:41:18 -04:00
Your Name
87325927ed
v0.7.18 - Fixed duplicate login modal bug and improved header layout
2025-10-15 15:31:44 -04:00
Your Name
e833dcefd4
v0.7.16 - Fixed blacklist authentication system - removed redundant action/parameters columns, added active=1 filtering, added comprehensive debug tracing, and identified that auth must be enabled for blacklist to work
2025-10-14 13:07:19 -04:00
Your Name
29680f0ee8
v0.7.15 - Fixed race condition in subscription management causing intermittent core dumps and format truncation warning
2025-10-14 11:34:55 -04:00
Your Name
62e17af311
v0.7.13 - -t
2025-10-13 16:35:26 -04:00
Your Name
49ffc3d99e
v0.7.11 - Got api back working after switching to static build
2025-10-12 14:54:02 -04:00
Your Name
34bb1c34a2
v0.7.10 - Fixed api errors in accepting : in subscriptions
2025-10-12 10:31:03 -04:00
Your Name
5a916cc221
Reupload
2025-10-09 10:43:42 -04:00
Your Name
dcf421ff93
v0.4.13 - DM system appears fully functional
2025-10-08 07:11:22 -04:00
Your Name
d655258311
v0.4.12 - Refactor NIP-17 admin commands: eliminate ~400 lines of duplicated code with unified helper functions, fix SQL query bugs, and remove unused parameters
2025-10-06 18:49:25 -04:00
Your Name
f6d13d4318
v0.4.11 - Fixed nasty DM bug
2025-10-06 10:06:24 -04:00
Your Name
d5350d7c30
v0.4.10 - api
2025-10-05 14:35:09 -04:00
Your Name
64b418a551
v0.4.8 - Implement web server functionality for embedded admin interface - serve HTML/CSS/JS from /api/ endpoint with proper MIME types, CORS headers, and performance optimizations
2025-10-04 12:45:35 -04:00
Your Name
c3bab033ed
v0.4.1 - Fixed startup bug
2025-10-01 17:23:50 -04:00
Your Name
f7b463aca1
Fixing whitelist and blacklist functionality
2025-09-30 15:02:49 -04:00
Your Name
c1a6e92b1d
v0.3.19 - last save before major refactoring
2025-09-30 10:47:11 -04:00
Your Name
eefb0e427e
v0.3.18 - index.html improvements
2025-09-30 07:51:23 -04:00
Your Name
c23d81b740
v0.3.17 - Embedded login button
2025-09-30 06:47:09 -04:00
Your Name
6dac231040
v0.3.16 - Admin system getting better
2025-09-30 05:32:23 -04:00
Your Name
6fd3e531c3
v0.3.15 - How can administration take so long
2025-09-27 15:50:42 -04:00