Commit Graph

  • 64749963be bouncer: improve the acceptKinds Yonle 2024-02-18 12:45:26 +07:00
  • 3cc41c47c2 http: no need to provide that long ass example. non-distraction one is fair enough. Yonle 2024-02-18 12:07:08 +07:00
  • 4716b56272 these codes is not needed as matchFilters already handles it. Yonle 2024-02-18 11:54:02 +07:00
  • b8e93b395d http: favicon. Yonle 2024-02-18 11:47:49 +07:00
  • 834cd595e5 bouncer: try put merged filters into memory instead of generating everytime Yonle 2024-02-18 11:41:32 +07:00
  • 743977a82e bouncer: filter in bouncer to handle filters, Manually. Yonle 2024-02-18 11:25:33 +07:00
  • 8cfc58d105 well. i forget to update the year in README for the license section Yonle 2024-02-18 08:03:52 +07:00
  • 9b6160fb66 Release: 2.0.5 Yonle 2024-02-18 00:42:23 +07:00
  • 8078466d4f bouncer: re-handle NIP-50 Yonle 2024-02-17 19:55:39 +07:00
  • 7fae06bc8c code: renaming & reworking as per nostr-tools Yonle 2024-02-17 19:35:33 +07:00
  • 8ba52b945e dependencies bump Yonle 2024-02-17 19:23:49 +07:00
  • 726273f256 bouncer: small recode of filter limit handler Yonle 2024-02-17 19:20:25 +07:00
  • b865fa1b65 bouncer: use matchFilters function from nostr-tools Yonle 2024-02-17 19:02:31 +07:00
  • c20430e756 bouncer: too many filter validations. Yonle 2024-02-17 18:42:57 +07:00
  • 15fe2e7dcd bouncer: bring these checkers back. Yonle 2024-02-17 17:46:25 +07:00
  • 579b800466 bouncer: check via readyState instead of the variable availability Yonle 2024-02-17 17:40:23 +07:00
  • d38852230d bouncer: as it requests with faked subscriptionID, these checks may not needed. Yonle 2024-02-17 17:19:55 +07:00
  • 1a5717a42e bouncer: session code reworking. Yonle 2024-02-17 15:33:15 +07:00
  • 27e27ffc2b bouncer: remove cache as it still consumes bandwidth anyway Yonle 2024-02-16 23:21:06 +07:00
  • 95bc83261a bouncer: remove eose_timeout Yonle 2024-02-16 23:07:24 +07:00
  • dbe7250965 bouncer: temporary remove orphan feature Yonle 2024-02-16 23:00:52 +07:00
  • 82e1838f2c bouncer: Relays handling rework Yonle 2024-02-16 22:55:49 +07:00
  • 34f9a02b85 README: suggest cloning stable branch instead Yonle 2024-02-16 22:52:05 +07:00
  • 1206f592f5 fix commit 568ea5b Yonle 2024-02-03 15:59:58 +07:00
  • 568ea5b428 bouncer: handle <filter.ids> the same way as handling <filter.limit> Yonle 2024-02-03 15:44:56 +07:00
  • 98626bc14b defaultconf: disable pause_on_limit. Yonle 2024-02-03 12:38:38 +07:00
  • 0ae02b1edd defaultconf: pause_on_limit is not technically brutal anymore Yonle 2024-01-31 20:58:14 +07:00
  • 356a985ede bouncer: small typo on handling aliases Yonle 2024-01-31 20:46:43 +07:00
  • 22486202e4 also handle after client close Yonle 2024-01-29 22:34:43 +07:00
  • 990c8b2202 also need to delete these aliases Yonle 2024-01-29 22:08:16 +07:00
  • 366905149f bouncer: In bouncer side, Try do different approach for REQ-ing. Yonle 2024-01-29 22:03:39 +07:00
  • 3429f449ad bouncer: disable eose_timeout by default or when unspecified Yonle 2024-01-29 21:41:52 +07:00
  • a46b56adad bouncer: close an already opened subscription Yonle 2024-01-29 21:36:20 +07:00
  • 5d6e35ae7e bouncer: also check for kinds filter Yonle 2024-01-27 23:12:11 +07:00
  • a0ec8bd2bc bouncer: do not keep unauthorized session. 2.0.4 Yonle 2024-01-27 22:57:41 +07:00
  • 67e44ffb84 http&bouncer: enable synchronousEvents & deflate compression by default. Yonle 2024-01-27 19:42:18 +07:00
  • 8f3689a1c7 bouncer: more cFilter handling. Yonle 2024-01-27 07:38:04 +07:00
  • 7a71bcd779 major bugfix: fix sock readyState handler Yonle 2024-01-27 07:33:15 +07:00
  • d0b040fbb9 bouncer: logger: no need to tell clearing orphan sessions when max_orphan_sess is 0. Yonle 2024-01-24 16:32:41 +07:00
  • 594fe63805 Release 2.0.4 Yonle 2024-01-24 16:25:51 +07:00
  • e166e0821b bouncer: show IP when disconnected. Yonle 2024-01-24 16:11:49 +07:00
  • c356fbfcf7 make socket termination faster and fix handling onClose Yonle 2024-01-23 22:49:43 +07:00
  • 9ed79a0892 fix strict syntax on http.js Yonle 2024-01-23 21:25:56 +07:00
  • ec773eebe4 use strict, reveal bostr version in user agent Yonle 2024-01-23 21:21:46 +07:00
  • a3b4c20567 add feature for ratelimits. Yonle 2024-01-23 21:12:06 +07:00
  • 120198d195 code improvement after PR #11 Yonle 2024-01-13 18:53:59 +07:00
  • 7970d00132
    Standalone HTTPS support (#11) Takuro Fukuda 2024-01-13 06:36:24 -05:00
  • 57717d9e5b
    Add session ticket key config to improve performance on HTTPS connection Takuro Fukuda 2024-01-13 06:16:28 -05:00
  • e837c75835
    Switching to more secure option Takuro Fukuda 2024-01-13 06:14:38 -05:00
  • 47a103a363
    Update config.js.example Takuro Fukuda 2024-01-13 05:50:27 -05:00
  • 4ddf58c85f
    Update config.js.example Takuro Fukuda 2024-01-13 05:47:18 -05:00
  • 94d0e10eb2 http.js: Tell explicitly whenever client was connecting with https or http. Yonle 2024-01-09 23:26:18 +07:00
  • 8863a73c65 http: favicon support. Yonle 2024-01-09 06:58:27 +07:00
  • d0b8a6b3da just a improvement on orphan session logging. 2.0.3 Yonle 2024-01-05 00:14:26 +07:00
  • d20cab9548 defaultconf: leave ratelimit disabled by default. Yonle 2024-01-05 00:06:26 +07:00
  • 224bf54133 log with user-agent. Yonle 2024-01-04 23:12:14 +07:00
  • e35b1ac584 autoclear lastConn Yonle 2024-01-04 22:15:50 +07:00
  • 5ba3980a9e feat: broadcast_ratelimit & incomming_ratelimit Yonle 2024-01-04 22:01:08 +07:00
  • 829974b893 fixbug on bouncer.js Yonle 2024-01-04 14:54:23 +07:00
  • 9815e5fecc no need for updateSess Yonle 2024-01-04 14:51:06 +07:00
  • a78d8370ec Release: 2.0.3 Yonle 2024-01-04 14:26:55 +07:00
  • 06ac5ed15c bouncer: updateSess() after client disconnect too. Yonle 2024-01-04 13:56:47 +07:00
  • 8b955f121f socket: use nodelay Yonle 2024-01-04 13:36:14 +07:00
  • 70b9e9327a another NIP-01 improvements. Yonle 2024-01-04 13:09:06 +07:00
  • 2a9abe64ea bouncer: send CLOSED to client as per recent NIP-01 Yonle 2024-01-04 12:26:48 +07:00
  • 91637c13f9 g r a m m a r 2.0.2 Yonle 2024-01-03 23:54:44 +07:00
  • 29cb8ab5ed properly clear orphaned session. Yonle 2024-01-03 22:42:38 +07:00
  • 53cf7a1562 fixbug Yonle 2024-01-03 22:30:05 +07:00
  • ca5f9f7a8e bouncer: count on orphans Yonle 2024-01-03 21:51:15 +07:00
  • 403c51c9ee Release: 2.0.2 Yonle 2024-01-03 17:32:10 +07:00
  • 80d87626fd defaultconf: enable orphan session by default Yonle 2024-01-03 17:24:53 +07:00
  • 26462d16df orphan sess: admin sess must destroyed Yonle 2024-01-03 17:15:41 +07:00
  • 7d0583791f fix another potential memory leak Yonle 2024-01-03 17:13:07 +07:00
  • d81cc497f8 fixbug Yonle 2024-01-03 16:52:32 +07:00
  • a404e79104 probably an fix for orphan sockets & fix potential memory leak Yonle 2024-01-03 16:51:23 +07:00
  • 75c39b6bf5 yeet Yonle 2024-01-03 16:27:40 +07:00
  • bcc5c46979 remove useless code. Yonle 2024-01-03 16:18:39 +07:00
  • 7d5ab86756 orphan: send CLOSE Yonle 2024-01-03 14:41:22 +07:00
  • 7df3a272af orphan socket is unreliable. Yonle 2024-01-03 14:23:59 +07:00
  • da562a335d feat: Orphan Session Yonle 2024-01-03 14:10:01 +07:00
  • 08684cfdbd defaultconf: leave pause_on_limit off by default Yonle 2024-01-01 18:42:55 +07:00
  • 6044eb2dba feat: add feature to only allow event from <approved_publishers> Yonle 2024-01-01 11:16:53 +07:00
  • 556f0edc82
    Switch to unauthorized state when invalid pubkey received in EVENT request Takuro Fukuda 2023-12-30 01:53:14 -05:00
  • 748967d25a
    Add write policy without requiring NIP-42, add verifying signature on post and add gitignore Takuro Fukuda 2023-12-30 01:02:18 -05:00
  • 478769f505
    Revert "Add write policy without requiring NIP-42, add verifying signature on post and add gitignore" Takuro Fukuda 2023-12-30 00:56:22 -05:00
  • 25827d1c44
    Add write policy without requiring NIP-42, add verifying signature on post and add gitignore Takuro Fukuda 2023-12-30 00:42:01 -05:00
  • a163e6a879 defaultconf: change default max_eose_score Yonle 2023-12-28 08:38:00 +07:00
  • 99a076865b
    several bug fixes (by ryogrid #7) 2.0.1 Ryo Kanbayashi 2023-12-25 23:12:26 +09:00
  • ee65c14ebc removed needless modification to README.md Ryo Kanbayashi 2023-12-25 11:08:36 +09:00
  • 15a3ee84a3 added some fix. Ryo Kanbayashi 2023-12-25 11:00:59 +09:00
  • 3483f821c9 Merge branch 'master' of https://github.com/ryogrid/bostr Ryo Kanbayashi 2023-12-25 10:49:56 +09:00
  • c400c3959d relayHandler: terminate immediately if user already disconnected. Yonle 2023-12-24 21:22:56 +07:00
  • c7d37b8531 PRfix: timeoutBeforeReconnHandler, and improvements in code Yonle 2023-12-24 21:16:44 +07:00
  • c976bf71a5 fixed around reconnection to relay. Ryo Kanbayashi 2023-12-24 19:12:04 +09:00
  • 374ea0587d added removing code of needless reconn_tout_handles map entries. Ryo Kanbayashi 2023-12-24 19:05:39 +09:00
  • 4096a0710e fixed a wrong if statement condition. Ryo Kanbayashi 2023-12-24 18:04:02 +09:00
  • 4b601e216f reverted needless change. Ryo Kanbayashi 2023-12-24 15:10:47 +09:00
  • 1177ef3a7d added removing needless reconnection timeout. Ryo Kanbayashi 2023-12-24 14:32:40 +09:00
  • 104e4e363a fixed typo on fix... Ryo Kanbayashi 2023-12-24 14:27:18 +09:00
  • 8a0dcd8644 addes some fix (maybe). Ryo Kanbayashi 2023-12-24 13:59:13 +09:00