Get modulus keysize
Useful utility function when it's necessary to verify that existing keys meets current practices
Feature #6388 custom GUI preference settings per user
Handle more invalid IPv6 formats
Flush link-local IPs so we do not get stale data and do not waste time deleting IP if it is already set to fe80::1:1
Update include() to include_once()
For safety, use include_once() when including various "side" files.There are a couple of instances of include("guiconfig,inc") that Ichanges to use require_once() to be consistent with everywhere else.The remaining cases of include() are just (hundreds of) head.inc and...
Shorten gwifip if whole socket path exceeds 100 chars
dpinger stopps with an error when the socketname exceeds over(around) 100 characters. The dpinger will not start and not delivermonitoring results to the WebUI.
These long socket names can get created when using link-local addresses...
Use a different delimiter for dpinger socket names
Currently underscores are used to seperate gwifip, monitorip, etc, butunderscors are also used in vlan subinterfaces like em0_vlan10 andtherefore can't be used because the interface scope is appended to IPv6...
Set pipe_slot_limit to the maximum configured qlimit value. Move the set_sysctl out if the block where it only gets run if dummynet isn't already loaded. Ticket #6553
Clean up limiter text. Remove old commented out bit.
Fix matching of chars in IPv6 address segments
The existing regex here is wrong, it matches 0 or more of the hex digits but then there can be other rubbish in the string, in fact anything at all! It matches "az", "z", "qwerty" and so on. So the "return false" inside this "if" never happens....
View revisions
Also available in: Atom