Commit Graph

  • a3ae67a2c4 bouncer: improve NIP-42 compatibilities Yonle 2024-04-28 21:20:25 +07:00
  • 07bca8d9cf feat: bouncer load balancer Yonle 2024-04-28 21:01:58 +07:00
  • ec6beb21aa packagejson: bump to revision 6 2.1.5-6 Yonle 2024-04-23 22:53:21 +07:00
  • 5bcb547586 defaultconf: disable deflate compression by default Yonle 2024-04-23 22:52:04 +07:00
  • 97e6293150 try to improve handling EOSE for cached relays Yonle 2024-04-23 19:54:44 +07:00
  • bc0ff44ad0 README: yo will den make wut? Yonle 2024-04-17 20:30:41 +07:00
  • 9b6533e068 README: instruction for docker users that runs bostr with different port Yonle 2024-04-17 20:18:10 +07:00
  • ee9f284b40 package.json: bump revision 2.1.5-5 Yonle 2024-04-16 02:26:50 +07:00
  • 1c20de4587 nostr-tools being randomly throw error in their own code. Put safety. Yonle 2024-04-16 02:25:10 +07:00
  • b0e7e7650e package.json: bump revision to 4 2.1.5-4 Yonle 2024-04-11 20:32:38 +07:00
  • 5743e540d4 noscraper: set to false by default Yonle 2024-04-11 20:32:19 +07:00
  • bd56384e3c bump to revision 3 2.1.5-3 Yonle 2024-04-11 12:51:34 +07:00
  • 31f0e97aec defaultconf: change desc Yonle 2024-04-11 12:51:20 +07:00
  • 34e8636e5c bump to revision 2 Yonle 2024-04-11 12:48:45 +07:00
  • 341c7d739c defaultconf: enable accurate mode by default. Yonle 2024-04-11 12:48:21 +07:00
  • e5ffe4f440 bump revision 2.1.5-1 Yonle 2024-04-10 15:42:37 +07:00
  • 14fe204fb7 for statistic, CLOSED may only counts when the closing reason has value in it Yonle 2024-04-10 15:19:35 +07:00
  • 0b729440a8 RELEASE: 2.1.5 2.1.5 Yonle 2024-04-09 10:42:21 +07:00
  • 06609b4370 statistic: oops. Yonle 2024-04-06 14:44:16 +07:00
  • 9621855efb statistic: make the legend description a bit clear Yonle 2024-04-06 14:40:31 +07:00
  • 7417f23fd5 statistic: add raw_rx Yonle 2024-04-06 14:38:06 +07:00
  • 19cc63cc81 bouncer: warn when config is still using approved_publishers Yonle 2024-04-05 14:24:45 +07:00
  • 7dc735171b http: make it a bit understandable Yonle 2024-04-05 10:35:00 +07:00
  • d8b2a8388b bouncer: count fail for unexpected status code too. Yonle 2024-04-05 10:30:18 +07:00
  • 83dc69bfd7 bouncer: fix ratelimit & stats handling Yonle 2024-04-04 21:52:10 +07:00
  • e9f79114d0 bouncer: forget to put rx into global statistics. Yonle 2024-04-04 21:37:58 +07:00
  • 63a404d3ae feat: add bouncer statistics Yonle 2024-04-04 21:33:11 +07:00
  • a9335bf52e RELEASE: 2.1.4 2.1.4 Yonle 2024-03-30 15:11:18 +07:00
  • 427777307a bouncer: fixbug on handling invalid relay response Yonle 2024-03-29 07:58:20 +07:00
  • 5a95821cc9 bouncer: change code on variable names, and handling iterate from relays instead of doing .forEach Yonle 2024-03-28 22:13:24 +07:00
  • d3eeb37717 bouncer: fix pendingEOSE being deleted before all relays sends EOSE Yonle 2024-03-28 08:33:44 +07:00
  • 7eaafe5906 packagejson: set new devel version Yonle 2024-03-28 08:33:01 +07:00
  • 857ad0ba05 defaultconf: add some note that nosvraper field also block unauthorized EVENT Yonle 2024-03-27 23:28:59 +07:00
  • 2972624c49 bouncer & defaultconf: change nobot to noscraper Yonle 2024-03-27 23:23:53 +07:00
  • dfdc5fbcc4 bouncer: if nobot is being set, don't perform request for bot/scraper/crawler/similiar. Yonle 2024-03-27 23:15:16 +07:00
  • 406dcecb63 defaultconf: new field: nobot Yonle 2024-03-27 23:14:09 +07:00
  • 6105dc86d6 RELEASE: 2.1.3 2.1.3 Yonle 2024-03-23 13:39:38 +07:00
  • be9b0698b8 bouncer: override opened subscription when requested. Yonle 2024-03-23 13:38:35 +07:00
  • 3ea250a248 RELEASE: 2.1.2 2.1.2 Yonle 2024-03-23 13:25:00 +07:00
  • 0e7fc38d45 exampleconfig: wording. Yonle 2024-03-23 12:11:16 +07:00
  • 4afe82b342 bouncer: just slam EOSE from cache relay. idc Yonle 2024-03-23 12:06:41 +07:00
  • cab31feb4f packagejson: set version as 2.1.2-dev for next release Yonle 2024-03-23 11:56:33 +07:00
  • 9d07840f67 bouncer: skip check if same event already transmitted & only store to cache relay if not received before Yonle 2024-03-23 11:55:14 +07:00
  • 6d9987486e bouncer: add caching feature back. Yonle 2024-03-22 23:54:37 +07:00
  • 0fbe970926 bog test-mergedfilter Yonle 2024-03-22 12:16:37 +07:00
  • 7ed25e3520 ACHOOOO Yonle 2024-03-22 12:05:40 +07:00
  • 4ccbccf142 bouncer: try to req with merged filters instead of separated filters. Yonle 2024-03-22 12:02:02 +07:00
  • 03fa26838a RELEASE: 2.1.1 2.1.1 Yonle 2024-03-21 22:20:27 +07:00
  • 7fa955dc25 bouncer: fix multiple EOSE being sent when received very new event. Yonle 2024-03-21 22:20:16 +07:00
  • 91efce8bbf RELEASE: 2.1.0 2.1.0 Yonle 2024-03-21 22:13:04 +07:00
  • 391c11f9b0 update README Yonle 2024-03-21 22:12:53 +07:00
  • db0c88a2b7 bouncer: log info about OK, NOTICE, and CLOSED message when log_about_relays is true Yonle 2024-03-21 22:12:31 +07:00
  • 63ee61a4e1 npmignore: don't include config.js Yonle 2024-03-21 21:47:08 +07:00
  • 9dc1f71d0e RELEASE: 2.0.11 Yonle 2024-03-21 21:45:04 +07:00
  • ae3f5888c2 bouncer: fix multiple EOSE bypassing when using save mode. Yonle 2024-03-21 17:54:06 +07:00
  • 948207806d feat(bouncer): add option for adjusting numbers of idle sessions. Yonle 2024-03-18 23:57:53 +07:00
  • b0b3d98c9e log: tell to logger if an IP is now known as something. Yonle 2024-03-18 20:56:21 +07:00
  • 99dc6bc6a2 fix bug on idle connection closing. Yonle 2024-03-18 20:53:58 +07:00
  • d6cfdcb6ad try to make idle session and wait for a client to take over it Yonle 2024-03-18 20:50:45 +07:00
  • 2bf62c6551 defaultconf: use only 1 cluster by default. Yonle 2024-03-18 22:51:02 +07:00
  • c23fb716ce RELEASE: 2.0.10 2.0.10 Yonle 2024-03-12 17:39:43 +07:00
  • f80f78bb95 Revert "bouncer: rehandle how handling EOSE works." Yonle 2024-03-12 17:37:12 +07:00
  • 148ae31b47 Revert "bouncer: try use Set() for connectedRelays counting instead." Yonle 2024-03-12 17:37:06 +07:00
  • 7a39b3aa26 RELEASE: 2.0.9 2.0.9 Yonle 2024-03-10 08:55:18 +07:00
  • 2bf91f8603 bouncer: try use Set() for connectedRelays counting instead. Yonle 2024-03-10 08:50:18 +07:00
  • 20aab1a79c bouncer: rehandle how handling EOSE works. Yonle 2024-03-10 08:13:42 +07:00
  • 348830c577 bouncer: absurd harmless bug that does not harm anyone but technically annoying Yonle 2024-03-02 18:07:30 +07:00
  • f148914ed8 bouncer: handle error on missing config field for blocked_publishers Yonle 2024-03-02 17:42:02 +07:00
  • ce0533cc6e RELEASE: 2.0.8 2.0.8 Yonle 2024-03-01 12:04:05 +07:00
  • 67f16ff247 feat(bouncer): Tell upstream relays the client IP address if needed. Yonle 2024-02-28 22:43:03 +07:00
  • bbdba8b1c9 feat(bouncer): blocked_publishers: Yet a way to block publishers to talk to your bouncer Yonle 2024-02-27 18:13:56 +07:00
  • 3572a4b54b bouncer: paused subs: even without filter.since, Pass any events that are new since the REQ command was taken Yonle 2024-02-27 18:00:19 +07:00
  • 114125242a bouncer: paused subs: pass paused sub if event is newer than <filter.since> Yonle 2024-02-27 17:41:07 +07:00
  • 6b4527164d handle CLOSED message properly. Yonle 2024-02-26 19:11:32 +07:00
  • 399bd18d55 it's rather "May consume lot of bandwidths" than it begin with "Will" Yonle 2024-02-25 00:48:55 +07:00
  • 35afe1de83 bouncer notice: tell what invalid command did the client execute in NOTICE 2.0.7 Yonle 2024-02-25 00:35:24 +07:00
  • 8c685be8dd release: 2.0.7 Yonle 2024-02-25 00:26:32 +07:00
  • 84b0421f4c http&bouncer: connection configured save mode Yonle 2024-02-25 00:23:09 +07:00
  • 7293893ab4 http&bouncer: connection configured accurateMode Yonle 2024-02-24 12:23:55 +07:00
  • aa2084d6b9 bouncer: a feature to override client limit Yonle 2024-02-23 13:11:00 +07:00
  • d589c034e2 code: apply use strict in js codes Yonle 2024-02-22 17:08:09 +07:00
  • 7ca2569001 2.0.6-npm 2.0.6 Yonle 2024-02-21 16:23:44 +07:00
  • e545f2e877 release: 2.0.6 Yonle 2024-02-21 16:17:50 +07:00
  • 6a851ecfe1 cli: fix spaces on check Yonle 2024-02-19 20:03:28 +07:00
  • 2dc4382788 remove orphan session as there seems no efficient way to implement it. Yonle 2024-02-19 19:58:28 +07:00
  • 21c72aa994 cli: fix error due to non-updated auth.js Yonle 2024-02-19 19:38:31 +07:00
  • d82eb099a5 fix readme. Yonle 2024-02-19 18:44:48 +07:00
  • c16028a7ae mention the way to run in background wirh tmux. Yonle 2024-02-19 18:42:24 +07:00
  • 9e2989c529 introducing: bostr cli Yonle 2024-02-19 18:37:50 +07:00
  • c66d158a76 config&http: allow blocking websocket connections from the specified hosts 2.0.5-a Yonle 2024-02-18 20:07:46 +07:00
  • b75f22a105 bouncer: rehandling on forwarding ws.my_events 2.0.5 Yonle 2024-02-18 19:55:51 +07:00
  • 5a20102226 oops. Yonle 2024-02-18 19:45:19 +07:00
  • f00e449036 bouncer: rework relay abandon func Yonle 2024-02-18 19:42:45 +07:00
  • b4eab0d2f4 bouncer: logger: log when user initialized first command Yonle 2024-02-18 19:40:56 +07:00
  • a6e7caa76b bouncer: only start connect after first relay command. Yonle 2024-02-18 19:37:59 +07:00
  • e97c9c0380 http: ANOTHER wording Yonle 2024-02-18 19:20:13 +07:00
  • fc3b329b94 http.js: another wordings. Yonle 2024-02-18 19:18:12 +07:00
  • f28efc87fe http.js: probably some wordings. Yonle 2024-02-18 19:13:41 +07:00
  • d798d7e3af it bypasses. now get it fix asap. Yonle 2024-02-18 13:08:16 +07:00
  • a9188ae160 auth: fix bug on using event validation Yonle 2024-02-18 12:56:00 +07:00