OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Reboot: inetd not starting
« previous next »
  • Print
Pages: [1]

Author Topic: Reboot: inetd not starting  (Read 6367 times)

phoenix

  • Hero Member
  • *****
  • Posts: 510
  • Karma: 57
    • View Profile
Reboot: inetd not starting
« on: January 11, 2016, 12:14:00 pm »
I'm running a script via inetd for monitoring the OPNsense server and after a recent update it's stopped working after a reboot. I have the following in rc.conf:

Code: [Select]
inetd_enable=yes
inetd_flags=-wW
This was working OK a version or two back but in the current 15.7.23 it requires me to start it manually. I can't see anything obvious in the logs about this and I'll check again later today with the 15.7.24 version to see if it's still a problem, is there any way to increase the logging for this service?

Hmmm, still not working after the latest update. It's not that inetd is not starting it's the fact that inetd needs to be restarted to get it seen by my monitoring server. I'm using the following instructions to make the modifications to the specified files: https://mathias-kettner.de/checkmk_freebsd.html
« Last Edit: January 11, 2016, 01:34:08 pm by phoenix »
Logged
Regards


Bill

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Reboot: inetd not starting
« Reply #1 on: January 11, 2016, 02:54:26 pm »
Hey Bill, NAT reflection rules seem to use inetd, it might clobber your manual setup of it. Are you aware of any changes in your configuration in that regard?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Reboot: inetd not starting
« Reply #2 on: January 11, 2016, 02:56:27 pm »
For custom purposes, we could add this to the packages to avoid clashing of inetd setups:

https://www.freebsd.org/cgi/man.cgi?query=xinetd&apropos=0&sektion=8&manpath=FreeBSD+10.2-RELEASE+and+Ports&arch=default&format=html
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 510
  • Karma: 57
    • View Profile
Re: Reboot: inetd not starting
« Reply #3 on: January 11, 2016, 03:08:00 pm »
Hi Franco,

Quote from: franco on January 11, 2016, 02:54:26 pm
Hey Bill, NAT reflection rules seem to use inetd, it might clobber your manual setup of it. Are you aware of any changes in your configuration in that regard?
I thought that there weren't any changes to my rules, I've just checked and I didn't realise that using squid set a NAT reflection rule all by itself - I guess that's what is causing it? If you add the xinetd package would that still suffer from the reflection rule problem?

Quote from: franco on January 11, 2016, 02:56:27 pm
For custom purposes, we could add this to the packages to avoid clashing of inetd setups:

https://www.freebsd.org/cgi/man.cgi?query=xinetd&apropos=0&sektion=8&manpath=FreeBSD+10.2-RELEASE+and+Ports&arch=default&format=html
That would be good for me, I assume that if this were implemented the config files would remain after any updates?
Logged
Regards


Bill

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: Reboot: inetd not starting
« Reply #4 on: January 11, 2016, 04:35:57 pm »
This seems related, but it dates back to 15.1.10, way back:

https://github.com/opnsense/core/commit/87f2fc9711a1dfe

Resulting in inetd always starting even if it isn't being used. Maybe it has to do with the redirection rule, but I'm not entirely sure. I'll report back soon.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Reboot: inetd not starting
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2