Gateway Monitor Advanced Settings

Exposes 3 additional apinger configuration options in the gateway monitor advanced section which can either be set manually, calculated based on interval, or use the hard coded defaults.
	1) Avg Delay Samples
	2) Avg Loss Samples
	3) Avg Loss Delay Samples

The current hard coded defaults are okay for a short interval such as the 1 second default.  But do not work well when a longer interval is required.
captive portal, don't generate rules for disabled portal
Gateway Monitor Advanced Settings

Recommended changes made to calculated value input behavior.
Restrict interval to integer of 1 or greater.
Replaced gethostbyname() with gethostbynamel() to get a list of all IPs associated with the dns name and add them to the allowed list
Pass the family to the get_real_interface function to retrieve the correct real interface. Might help Ticket #3357
Do not call rc.newwanip when pppoe gets a v6 ip.
Really need the interface where v6 is running toa dd the gateway/route rather than the one used for the configuration. This Fixes #3357
Revert "Pass the family to the get_real_interface function to retrieve the correct real interface. Might help Ticket #3357"

This reverts commit cb431dbf47c53b72119bd8feca0217e1c25d998b.
Merge pull request #904 from dv-user1/master

Replaced gethostbyname() with gethostbynamel() to get a list of all IPs ...
Merge pull request #890 from N0YB/Gateway_Monitor

Gateway Monitor Advanced Settings
Merge pull request #891 from PiBa-NL/captive_disable

captive portal, don't generate rules for a disabled portal
Do not do any operations on system libraries. Nowdays pbis are used and those do not break things by definition
Revert "Replaced gethostbyname() with gethostbynamel() to get a list of all IPs associated with the dns name and add them to the allowed list"

This change is not needed, filterdns will handle it.

This reverts commit d460371416d4e2cfef976d5a7616f63f6faa203f.
Fixes #3461. Remove any special char that can lead to shell/XSS compromises from submitted input.
Update priv.defs.inc
Merge pull request #927 from nagyrobi/patch-1

Update priv.defs.inc - add new NTP pages
Remove code that is commented
Fixes #3460. Ask for validation when real operation will be done and ask for the operation with POST to get protection from CRSF.