diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc index 10a6a5c7e..da41fac0e 100644 --- a/src/etc/inc/filter.inc +++ b/src/etc/inc/filter.inc @@ -212,7 +212,7 @@ function filter_configure_sync($verbose = false, $load_aliases = true) empty($config['nat']['outbound']['mode']) || in_array($config['nat']['outbound']['mode'], array("automatic", "hybrid")) ) { - // generate standard outbound rules when mode is automatic ot hybrid + // generate standard outbound rules when mode is automatic or hybrid $intfv4 = array(); foreach ($fw->getInterfaceMapping() as $intf => $intfcf) { if (!empty($intfcf['ifconfig']['ipv4']) && empty($intfcf['gateway'])) { diff --git a/src/etc/inc/xmlrpc.inc b/src/etc/inc/xmlrpc.inc index 7e8ed0f31..37b43da67 100644 --- a/src/etc/inc/xmlrpc.inc +++ b/src/etc/inc/xmlrpc.inc @@ -37,7 +37,7 @@ class XMLRPCServer /** * load publishable function from inc/xmlrpc/*.inc * every usable module should include a function to return its own registrable functions, using - * the following patten: + * the following pattern: * xmlrpc_publishable_{filename without .inc} * * when functions wrap around a local variant with the same name, suffix with _xmlrpc (which will be stripped off) diff --git a/src/etc/rc.filter_synchronize b/src/etc/rc.filter_synchronize index 213ce07cd..225a0350d 100755 --- a/src/etc/rc.filter_synchronize +++ b/src/etc/rc.filter_synchronize @@ -116,7 +116,7 @@ function remove_nosync(&$cnf_structure) /** * find config section by reference (dot notation) - * for example system.user.0 points to the first enty in xml config section + * for example system.user.0 points to the first entry in xml config section * @param array $cnf_structure_in pointer to config data * @param array $cnf_structure_out pointer to config data * @param string $reference reference pointer (system.user for example) diff --git a/src/man/man8/ifctl.8 b/src/man/man8/ifctl.8 index 211d5d85b..721c10a79 100644 --- a/src/man/man8/ifctl.8 +++ b/src/man/man8/ifctl.8 @@ -73,7 +73,7 @@ Note that .Sq Fl d will be executed first when given in the same command invoke. .It Fl c -Clear all registed data of the selected device. +Clear all registered data of the selected device. .It Fl d Delete the specified data of the selected device. .It Fl i Ar device diff --git a/src/man/man8/opnsense-crypt.8 b/src/man/man8/opnsense-crypt.8 index d2d5f4aef..4c1374732 100644 --- a/src/man/man8/opnsense-crypt.8 +++ b/src/man/man8/opnsense-crypt.8 @@ -29,7 +29,7 @@ .Os .Sh NAME .Nm opnsense-crypt -.Nd OPNsense configurtion encryption utility +.Nd OPNsense configuration encryption utility .Sh SYNOPSIS .Nm .Ar file @@ -41,13 +41,13 @@ utility will automatically encrypt or decrypt a given file using the matching supplied .Pa path/to/config.secret file. -After succesfull execution the original contents of +After successful execution the original contents of .Pa path/to/config.xml will be replaced by the resulting contents of the respective operation. .Pp Please be aware that encrypting .Pa /conf/config.xml -in a running system will invalidate and eventually reject this configuation. +in a running system will invalidate and eventually reject this configuration. Use with care. .Sh EXIT STATUS .Ex -std diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php b/src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php index bc1e7c178..0d6abdcac 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php @@ -323,7 +323,7 @@ class ApiControllerBase extends ControllerRoot */ public function afterExecuteRoute($dispatcher) { - // exit when reponse headers are already set + // exit when response headers are already set if ($this->response->getHeaders()->get("Status") != null) { return false; } else { diff --git a/src/opnsense/mvc/app/controllers/OPNsense/DHCPv6/Api/LeasesController.php b/src/opnsense/mvc/app/controllers/OPNsense/DHCPv6/Api/LeasesController.php index 088f671a5..4614daa09 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/DHCPv6/Api/LeasesController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/DHCPv6/Api/LeasesController.php @@ -146,7 +146,7 @@ class LeasesController extends ApiControllerBase $done = false; /* We infer the MAC from NDP data if available, otherwise we extract it out * of the DUID. However, RFC8415 section 11 states that an attempt to parse - * a DUID to obtain a client's link-layer addresss is unreliable, as there is no + * a DUID to obtain a client's link-layer address is unreliable, as there is no * guarantee that the client is still using the same link-layer address as when * it generated its DUID. Therefore, if we can link it to a manufacturer, chances * are fairly high that this is a valid MAC address, otherwise we omit the MAC diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasUtilController.php b/src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasUtilController.php index 428e422a2..61f685845 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasUtilController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasUtilController.php @@ -268,7 +268,7 @@ class AliasUtilController extends ApiControllerBase * API handler to look up in which rules an IP is used (either explicitly or included in a range). * * @return array Array with indexes 'status' (whether the call succeeded) and 'matches' (which rules match this IP, - * only present if the call was succesful.) + * only present if the call was successful.) * @throws \Exception */ public function findReferencesAction() diff --git a/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogConnection.xml b/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogConnection.xml index 64905bcb5..4a4f73dc2 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogConnection.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogConnection.xml @@ -87,7 +87,7 @@ As an initiator, the first non-range/non-subnet is used to initiate the connection from. As a responder the local destination address must match at least to one of the specified addresses, subnets or ranges. If FQDNs are assigned, they are resolved every time a configuration lookup is done. - If DNS resolution times out, the lookup is delayed for that time. When left empty %any is choosen as default. + If DNS resolution times out, the lookup is delayed for that time. When left empty %any is chosen as default. diff --git a/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogSPD.xml b/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogSPD.xml index 615154c65..85ee036b9 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogSPD.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogSPD.xml @@ -34,7 +34,7 @@ spd.destination text - destination network, leave empty to use the networks propogated in the child sa + destination network, leave empty to use the networks propagated in the child sa spd.description diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Syslog/forms/dialogDestination.xml b/src/opnsense/mvc/app/controllers/OPNsense/Syslog/forms/dialogDestination.xml index 34524a555..48f2e3a1c 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Syslog/forms/dialogDestination.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/Syslog/forms/dialogDestination.xml @@ -53,7 +53,7 @@ destination.rfc5424 checkbox - Use rfc5424 formated messages for this destination. + Use rfc5424 formatted messages for this destination. destination.description diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php b/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php index 998cdb2d6..e5b7a4d10 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/AuthenticationFactory.php @@ -208,7 +208,7 @@ class AuthenticationFactory return true; } else { // since checkConstraints() is defined on the service, who doesn't know about the - // authentication method. We can safely asume we cannot authenticate. + // authentication method. We can safely assume we cannot authenticate. syslog(LOG_WARNING, sprintf( "user %s could not authenticate for %s, failed constraints on %s authenticated via %s", $username, diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/Base.php b/src/opnsense/mvc/app/library/OPNsense/Auth/Base.php index bc29f672b..ebd8ef0c0 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/Base.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/Base.php @@ -140,7 +140,7 @@ abstract class Base /** * update user group membership * @param string $username username - * @param string $memberof list (\n seperated) of groups + * @param string $memberof list (\n separated) of groups * @param array $scope list of groups that should be considered * @param boolean $createuser create user when it does not exist */ diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php b/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php index 2f0e0d490..1c21a2230 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/TOTP.php @@ -82,7 +82,7 @@ trait TOTP } /** - * @param int $moment timestemp + * @param int $moment timestamp * @param string $secret secret to use * @return calculated token code */