Ticket #876. Add the ip to the respective files on ppp linkup event so the code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible.
Since the OpenVPN management is done via unix socket and not tcp, we no longer need to require the local_port be set in order to activate the daemon.
Reload cron after changes. Submitted-by: robiscool
Check for proper type.
Correct typo in file name. Also do not delete users just expire them.
Use foreach and check for type to avoid errors.
Start-up first check_reload_status than call rc.bootup since this is the new world order. This unbreaks booting and removes spurious messages during boot. While here for all binaries use full path for correctnes and avoid any 'strange' issues.
Expand alias for redirect target port and truncate to first port or range if destination port is not that same alias, since the translation port in PF does not accept lists.
Fix variable name typo in status_services.php and fix return value of is_pid_running. Fixes #877
Ticket #876. Reload gateways/apinger before filter_reload so the new ip/gateway is considered up from the beginning.
View revisions
Also available in: Atom