• exec/load/ircd/core.js

    From Nigel Reed@VERT to Git commit to main/sbbs/master on Friday, July 07, 2023 20:33:49
    https://gitlab.synchro.net/main/sbbs/-/commit/f7f361c7ce2dde7a0336ae38
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Added RBL lookups on connection via DroneDL.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, July 07, 2023 20:33:49
    https://gitlab.synchro.net/main/sbbs/-/commit/430744100339c4c064a10ff5
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Merge branch 'add_rbl_to_ircd' into 'master'

    Added RBL lookups on connection via DroneDL.

    See merge request main/sbbs!297
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Friday, July 07, 2023 20:56:57
    https://gitlab.synchro.net/main/sbbs/-/commit/2c9771f26ae39e95abb3fe76
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Clean-up the DNSBL checking function a little bit and its call site.

    Always log (a notice-level log message) when there's a DNSBL match, along with the address it actually resolved to (indicates which list the IP address was found in).
    No log message otherwise.

    Note: resolve_ip() doesn't actually support IPv6 yet, so I don't think this IPv6 address parsing/reformatting logic has actually been tested.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Friday, July 07, 2023 23:00:14
    https://gitlab.synchro.net/main/sbbs/-/commit/e3b6119fc0318e8230f81250
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    DNSBL-exempt localhost (127.*) and private network (10.*, 192.168.*) addresses

    Someone should add IPv6 exempted addresses too

    Maybe perform a check against ctrl/dnsbl_exempt.cfg too?
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Thursday, August 31, 2023 20:02:06
    https://gitlab.synchro.net/main/sbbs/-/commit/3ed05836cfa5991345b416be
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Fix https://gitlab.synchro.net/main/sbbs/-/issues/601
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Wednesday, November 08, 2023 15:19:03
    https://gitlab.synchro.net/main/sbbs/-/commit/bff5a691f42cf64781bf41cf
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Add some verbosity to outbound connects to aid troubleshooting
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Friday, November 10, 2023 01:02:41
    https://gitlab.synchro.net/main/sbbs/-/commit/1e9c2c16a18d3f8a7e282bf5
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Add support for /STATS Q
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Friday, November 10, 2023 14:12:14
    https://gitlab.synchro.net/main/sbbs/-/commit/5ffa1bb062fafbdf7ac0db6b
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Log outbound initial handshake
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 15:44:28
    https://gitlab.synchro.net/main/sbbs/-/commit/5577b12b38421b6772df6fd3
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Don't show float in port number on STATS C
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 15:47:37
    https://gitlab.synchro.net/main/sbbs/-/commit/fa7a7201bb18facc915acf79
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    ..and don't try to stuff a string into %u
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 16:14:22
    https://gitlab.synchro.net/main/sbbs/-/commit/b3b3cc8061dd7fe0898a5009
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Be more verbose about where we've connected to
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 16:23:57
    https://gitlab.synchro.net/main/sbbs/-/commit/1d347d4a6d902a22944a4910
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Drop mention of ident we don't use
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, December 25, 2023 15:17:45
    https://gitlab.synchro.net/main/sbbs/-/commit/46fc3752fd5b2f2d49b45fbe
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Try a more friendly way of port validation in CONNECT
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Saturday, March 16, 2024 18:51:26
    https://gitlab.synchro.net/main/sbbs/-/commit/3333bdead432bbd228f0c09e
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    IPs listed in dnsbl_exmempt.cfg are exempt from RBL lookups
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, July 21, 2026 23:33:58
    https://gitlab.synchro.net/main/sbbs/-/commit/18d358405a119dcd3bc91d4a
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    ircd: restore the intended 4-commands-per-2-seconds client rate

    Recvq_Unthrottle() resumed each new window at num_sent = 3, one below the cap Process_Recvq() throttles on, so every window after the very first admitted a single command and then re-throttled for 2000ms. The sliding window in Process_Recvq() is written for 4 commands per 2 seconds; clients have been getting one per 2 seconds -- a 4x under-run -- since the throttle arrived in d7cb93923c (wave-27-oops), "IRCd 1.9b".

    Start the new window empty instead.

    The old rate did more than slow clients down. Anything sustaining more than
    0.5 commands/second built an unbounded recvq backlog, and once that backlog passed MAX_CLIENT_RECVQ (2560 bytes, exec/ircd.js) the client was killed for "Excess Flood" -- at traffic well under what the throttle was written to permit. Vertrauen's own GitLab announcement hook tripped exactly that on 2026-07-21 at 02:35:18 (2646 bytes) while pacing itself at one message per 700ms. Worse, the recvq is drained by a timer and outlives the socket, so the server kept relaying the dead client's backlog for another seven minutes, drawing a "non-existent origin" KILL from every peer for each relayed
    message, and the hook logged a send error for every message it still had to write.

    Measured by driving the real Recvq_Unthrottle()/Process_Recvq() out of this file on a virtual clock, with a continuously-backlogged queue: 1.11 commands per 2s window before, 4.44 after.

    MAX_CLIENT_RECVQ is deliberately left alone -- it is the actual flood guard, and it starts doing its job correctly once the drain rate is right.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to Git commit to main/sbbs/master on Saturday, August 01, 2026 20:08:56
    https://gitlab.synchro.net/main/sbbs/-/commit/7617c8a969e7b70713966b38
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    ircd: fix netsplit stack overflow on deep server topologies
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, August 01, 2026 20:08:56
    https://gitlab.synchro.net/main/sbbs/-/commit/3b2339e2874950166b478c01
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Merge branch 'ircd-netsplit-fix' into 'master'

    ircd: fix netsplit stack overflow on deep server topologies

    See merge request main/sbbs!714
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net