Project

General

Profile

Bug #6333

Bootup starts/restarts dpinger multiple times

Added by NOYB NOYB about 1 year ago. Updated 6 months ago.

Status:
Confirmed
Priority:
Normal
Category:
Gateway monitoring
Target version:
Start date:
05/08/2016
Due date:
% Done:

0%

Affected version:
2.3
Affected Architecture:

Description

The setup_gateways_monitor function is called multiple times during boot up by rc.boot, rc.newwanip, and rc.newwanipv6.

Each time stopping and restarting dpinger.

History

#1 Updated by Chris Buechler about 1 year ago

  • Category set to Gateway monitoring
  • Status changed from New to Confirmed
  • Target version set to 2.3.2

it ought to do a better job of reloading, rather than the "kill them all and restart" currently.

#2 Updated by Chris Buechler about 1 year ago

  • Target version changed from 2.3.2 to 2.4.0

#3 Updated by Luiz Otavio O Souza 11 months ago

  • Assignee set to Luiz Otavio O Souza

#4 Updated by Renato Botelho 8 months ago

Luiz, when you are touching it, it would be nice to add code on PHP side to deal with interface in tentative state so we can remove this patch from dpinger:

https://github.com/pfsense/FreeBSD-ports/blob/1301159156a8e3723307adf84c3941b0703b56e7/net/dpinger/files/patch-dpinger.c

#5 Updated by Renato Botelho 6 months ago

Renato Botelho wrote:

Luiz, when you are touching it, it would be nice to add code on PHP side to deal with interface in tentative state so we can remove this patch from dpinger:

https://github.com/pfsense/FreeBSD-ports/blob/1301159156a8e3723307adf84c3941b0703b56e7/net/dpinger/files/patch-dpinger.c

Nevermind, I've already changed it and removed the patch

Also available in: Atom PDF