• malformed ip causes ircd to crash

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Tue Jun 8 08:15:09 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/271

    Running ircd standalone.Jun 8 08:11:29 bbs ircd[4150972]: [eotlbbs.synchro.net<-rampage]: PING LAG1623107889547589Jun 8 08:11:29 bbs ircd[4150972]: [eotlbbs.synchro.net->rampage]: PONG eotlbbs.synchro.net :LAG1623107889547589Jun 8 08:11:44 bbs ircd[4150972]: [eotlbbs.synchro.net<-nelgin]: ISON jtbaneJun 8 08:11:44 bbs ircd[4150972]: [eotlbbs.synchro.net->nelgin]: 303 nelginJun 8 08:11:44 bbs ircd[4150972]: Accepting new connection on port 6667Jun 8 08:11:44 bbs ircd[4150972]: 0022 Accepted new connection: <unknown address family: 0> port 0Jun 8 08:11:44 bbs ircd[4150972]: [UNREG] Resolving IP: <unknown address family: 0>Jun 8 08:11:44 bbs ircd[4150972]: !JavaScript /sbbs/exec/load/dns.js line 764: Error: Malformed IP address <unknown address family: 0>Further more, when this happens ircd is unable to restart:Jun 8 08:11:45 bbs ircd[4150972]: Re-running: /sbbs/exec/ircd.jsJun 8 08:11:45 bbs ircd[4150972]: SynchronetIRCd-1.9b started.Jun 8 08:11:45 bbs ircd[4150972]: Trying to read configuration from: /sbbs/ctrl/ircd.confJun 8 08:11:45 bbs ircd[4150972]: Creating new socket object on port 6667Jun 8 08:11:45 bbs ircd[4150972]: 0017 !ERROR 98 binding IRCd socket to port 6667: Address already in useJun 8 08:11:45 bbs ircd[4150972]: !Error Error: Unable to add host to socket set creating listening socket on port 6667I'm getting about 6-7 of these per second which fills the logfiles pretty quick if I don't catch it.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Tue Jun 8 12:49:39 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/271#note_2018

    Same issue here - ircd locking up every few days with same errors:0015 Accepted new connection: <unknown address family: 0> port 0!JavaScript /sbbs/exec/load/dns.js line 764: Error: Malformed IP address <unknown address family: 0>!JavaScript /sbbs/exec/load/dns.js line 764: Error: Malformed IP address <unknown address family: 0>/sbbs/exec/ircd.js executed in 25377.39 secondsFollowed by this repeated error which fills up the ircd.log with gigs of the same error:Reading script from /sbbs/exec/ircd.js/sbbs/exec/ircd.js compiled in 0.00 secondsSynchronetIRCd-1.9b started.Trying to read configuration from: /sbbs/ctrl/ircd.conf0012 !ERROR 98 binding IRCd socket to port 6667: Address already in use0012 !ERROR 98 binding IRCd socket to port 6667: Address already in use!Error Error: Unable to add host to socket set creating listening socket on port 6667!Error Error: Unable to add host to socket set creating listening socket on port 6667/sbbs/exec/ircd.js executed in 0.02 seconds!Module (/sbbs/exec/ircd.js) set exit_code: 1!Module (/sbbs/exec/ircd.js) set exit_code: 1JavaScript: Destroying contextJavaScript: Destroying runtimeRestarting ircd brings the service back up, but it dies again within hours.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Sat Jun 12 17:57:19 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/271#note_2042

    Hsa this issue been assigned to Cyan?
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Sat Jun 12 18:01:25 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/271#note_2043

    Yes. When i created it. I also mentioned it twice, at least, on irc but nothing has been done yet. Enjoy your ircd crashing.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Sat Jun 12 18:05:27 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/271#note_2044

    Update via the #synchronet irc:<Cyan> Keyop: the bug you filed on github is for dns.js, and Deuce is the author of that<Cyan> I'm going to talk to him about it the next time I see him, but he hasn't been online for a while<Keyop> Thanks Cyan :)<Keyop> I've just tagged you in the nelgin post, should I tag Deuce instead?<Cyan> nah it's fine, I can bring it up with him and help him test it with the ircd<Keyop> Ah coolio - thanks Cyan :)<Cyan> just wanted to let you know why there hasn't been much action on it (yet)
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Tue Jun 15 10:54:40 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/271#note_2046

    Based on the conversation above, I've reassigned to Deuce.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to GitLab issue in main/sbbs on Wed Jul 6 17:19:52 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/271
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Randy Sommerfeld@1:103/705 to GitLab note in main/sbbs on Wed Jul 6 17:19:52 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/271#note_2684

    Workaround is in ircd and the issue itself was fixed in dns.js, the issue hasn't appeared in a long time so I'm closing this.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)