Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Synchronet Synchronet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This GitLab instance has migrated as of Nov-5-2022 to a new server: hardware, OS, SSH key

The v3.20a development branch has now been merged to the master branch. Sysops upgrading from earlier versions must run 'jsexec update'

  • MainMain
  • SynchronetSynchronet
  • Issues
  • #271
Closed
Open
Issue created Jun 08, 2021 by Nigel Reed@nelginDeveloper

malformed ip causes ircd to crash

Running ircd standalone.

Jun 8 08:11:29 bbs ircd[4150972]: [eotlbbs.synchro.net<-rampage]: PING LAG1623107889547589 Jun 8 08:11:29 bbs ircd[4150972]: [eotlbbs.synchro.net->rampage]: PONG eotlbbs.synchro.net :LAG1623107889547589 Jun 8 08:11:44 bbs ircd[4150972]: [eotlbbs.synchro.net<-nelgin]: ISON jtbane Jun 8 08:11:44 bbs ircd[4150972]: [eotlbbs.synchro.net->nelgin]: 303 nelgin Jun 8 08:11:44 bbs ircd[4150972]: Accepting new connection on port 6667 Jun 8 08:11:44 bbs ircd[4150972]: 0022 Accepted new connection: <unknown address family: 0> port 0 Jun 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.js Jun 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.conf Jun 8 08:11:45 bbs ircd[4150972]: Creating new socket object on port 6667 Jun 8 08:11:45 bbs ircd[4150972]: 0017 !ERROR 98 binding IRCd socket to port 6667: Address already in use Jun 8 08:11:45 bbs ircd[4150972]: !Error Error: Unable to add host to socket set creating listening socket on port 6667

I'm getting about 6-7 of these per second which fills the logfiles pretty quick if I don't catch it.

Assignee
Assign to
Time tracking