| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Implements #935
The RADIUS server must populate the Class attribute with a string, semicolon-separated, of user groups. Similar to LDAP, local groups must exist with matching names, and privileges are determined by the local matching groups.
|
|
|
|
| |
/etc/version all around
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
don't want to check peer ID.
Conflicts:
usr/local/www/vpn_ipsec_phase1.php
|
|
|
|
|
| |
Conflicts:
usr/local/www/vpn_ipsec_phase1.php
|
|
|
|
| |
vpn.inc for callers there that haven't already included it.
|
|
|
|
| |
them too.
|
| |
|
|
|
| |
To be consistent with the checks in the rest of this code.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If the Advanced Settings are saved before any other IPsec is set up then $config['ipsec'] can be just the empty string. As a result you can get:
a) If you select some debug settings then those are not saved. The code to save those settings was only executed when $config['ipsec'] was already an array. Actually the code already did the necessary "if isset() then unset()" stuuf. So I just took the the "if is_array()" away from the code block.
b) Some potential unset() can go wrong with errors like:
Fatal error: Cannot unset string offsets in /usr/local/www/vpn_ipsec_settings.php on line 168
This is corrected by adding more "if (isset())" checks.
Fixes Redmine #4865
|
|
|
|
|
| |
when acquiring the interface data. In particular the media information
can have commas in it already as reported in Redmine bug #4859
|
| |
|
|
|
|
| |
exec.php. Setup a link to download the status output.tgz in status.php
|
| |
|
|
|
| |
Clarify that this applies to DNS Resolver as well. Update the translations template.
|
|
|
| |
Clarify that this applies to DNS Resolver as well.
|
|
|
| |
Clarify that this applies to DNS Resolver as well.
|
|\ |
|
| | |
|
| |
| |
| |
| | |
As suggested by Renato.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1) A disabled gateway can always be enabled - no extra validation
needed.
2) When disabling an enabled gateway, check to see that the gateway is
not used in any gateway group or enabled static route (similar tests to
what is already checked before deleting a gateway).
3) A static route can always be disabled - no extra checks needed.
4) When enabling a static route, check that the selected gateway is
enabled - you cannot have a static route enabled on a disabled gateway.
5) Do the address family cross-check between static route and gateway
even when the static route is disabled - we do not want to save
mismatched IP address families in any case.
This covers all the cases I can see to ensure that the enable/disable
status combinations of Gateways and Static Routes is always valid.
|
| |
| |
| | |
The GUI should show descriptions according to what's selected from the dropdown, but currently does not for URL Table (IPs) and URL Table (Ports) type of aliases.
|
|\ \ |
|
| | |
| | |
| | | |
Improve this a little more to match only alpha after /dev/cua (/dev/cuau for example)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It originally coped with things like cuau1 cuau1.1
Then I made it cope with things like cuau1 cuau11 but it stopped working for cuau1.1
This one copes with:
cuau1
cuau1.1
cuau1.11
cuau11
cuau11.1
cuau11.11
That should allow for all sorts of reasonable device name files without matching other stuff in /dev (like cuau1.init cuau1.lock) that we need to ignore.
Please think if I have covered the bases here.
|
| | |
| | |
| | |
| | | |
This reverts commit 0e19c4bba659a5f4d28f9c8b20c80717a90964b9.
|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
usr/local/www/vpn_ipsec_phase1.php
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
If you open firewall_aliases_import and enter just an invalid Alias Name (e.g. a$b) and press save or press save with all fields empty, then the screen redraws but the input error(s) is not displayed.
This fixes it.
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
If you click "+" to add an alias, then press Save without entering anything, you get:
Warning: Invalid argument supplied for foreach() in /usr/local/www/firewall_aliases_edit.php on line 402
as well as the various messages related to $input_errors.
This change ensures that $input_addresses array always exists (even if it has no real entries) so that the foreach() warning does not happen.
|
|\ \ \ |
|
| |/ /
| | |
| | | |
Make the required fields be correct and match thier text names, which should each have their own gettext() cal so as to build a proper array at line 81. Basically it was all broken and the errors displayed when field/s were left empty were rubbish.
|
|\ \ \ |
|