split is deprecated move to explode
fix spelling of compression
Fixes #4182 by properly managing IPcomp on ipsec tunnels.Also retires IPsec force reloading advanced sysctl since its useless nowdays with strongswan and remove its call on rc.newipsecdns.
Fix #4146:
OpenVPN create the tun/tap interface and, when set an IP address toit, mark it as UP. In some scenarios, when TAP is set as bridge anddoesn't have an IP address set on it, it never goes up and tunneldoesn't work.
If rc.newwanip is called for this TAP interface, UP flag is set, but,...
Log PHP errors. Ticket #4143
Enforce subnet check here to avoid any issues resulting from function call.
Remove useless check, CARP does not depend of interface having another IP set before
Remove some extra spaces
Fix typo on variable name
Tighten and IPv6-ify gen_subnet() etc
Tightens, canonicalises and improves for IPv6, the functionsgen_subnet(), gen_subnetv6(), gen_subnet_max(), gen_subnetv6_max()
Changes are transparent to calling code.
Issues:
1) gen_subnet() and gen_subnet_max() will validate both IPv4 and IPv6 as valid args, but will then try to process an IPv6 subnet bitwise as x32 LONG without further checking, causing erroneous but apparently valid responses....
View revisions
Also available in: Atom