• exec/load/ircd/core.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Apr 2 13:56:08 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/efb5c18ac79ef17a1f5d9146
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Fix ReferenceError: theuser is not definedLooks like a typo, in Scan_For_Banned_Clients()
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to Git commit to main/sbbs/master on Fri Jul 7 20:33:49 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f7f361c7ce2dde7a0336ae38
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Added RBL lookups on connection via DroneDL.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Fri Jul 7 20:33:49 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Fri Jul 7 20:56:57 2023
    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 withthe address it actually resolved to (indicates which list the IP address wasfound in).No log message otherwise.Note: resolve_ip() doesn't actually support IPv6 yet, so I don't think thisIPv6 address parsing/reformatting logic has actually been tested.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Fri Jul 7 23:00:14 2023
    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.*) addressesSomeone should add IPv6 exempted addresses tooMaybe perform a check against ctrl/dnsbl_exempt.cfg too?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Thu Aug 31 20:02:06 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Wed Nov 8 15:19:03 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Fri Nov 10 01:02:41 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1e9c2c16a18d3f8a7e282bf5
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Add support for /STATS Q
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Fri Nov 10 14:12:14 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/5ffa1bb062fafbdf7ac0db6b
    Modified Files:
    exec/load/ircd/core.js
    Log Message:
    Log outbound initial handshake
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Mon Nov 13 15:44:28 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Mon Nov 13 15:47:37 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Mon Nov 13 16:14:22 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Mon Nov 13 16:23:57 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to Git commit to main/sbbs/master on Mon Dec 25 15:17:45 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Mar 16 18:51:26 2024
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue Jul 21 23:33:58 2026
    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.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)