- 17 Apr, 2017 1 commit
-
-
Ad Schellevis authored
firewall, work in progress, refactor gateway logic, only extends new plugin -> filterrule classes, doesn't change the internals yet.
-
- 05 Nov, 2016 1 commit
-
-
Franco Fichtner authored
-
- 01 Nov, 2016 1 commit
-
-
Ad Schellevis authored
-
- 30 Oct, 2016 1 commit
-
-
Ad Schellevis authored
-
- 28 Oct, 2016 1 commit
-
-
Ad Schellevis authored
Te idea is simple, start parsing rules in a uniform way, so we're eventually able to display and alter all auto generated rules. Because of the large set of legacy code rules, we're going to migrate step by step, leaving the current setup intact.
-
- 24 Oct, 2016 1 commit
-
-
Ad Schellevis authored
-
- 30 Sep, 2016 1 commit
-
-
https://github.com/opnsense/core/issues/993Ad Schellevis authored
simple start, wrap anchor registration into plugin system, use miniupnpd as an example. use registerAnchor() to register new anchors for pf into the main firewall script, we've hooked head/tail options and the different anchor types. anchorToText() will extract the registered anchors back for the specified types and place in the script (head/tail) in text format for pf. our new codebase was already hooked using legacy_bindings.inc, no additional includes needed to construct \OPNsense\Firewall\Plugin().
-
- 22 Aug, 2016 1 commit
-
-
Ad Schellevis authored
-
- 15 Aug, 2016 4 commits
-
-
Franco Fichtner authored
-
Ad Schellevis authored
-
Ad Schellevis authored
-
https://github.com/opnsense/core/issues/272Ad Schellevis authored
Constraints hook into the default validations, new constraints should derive from BaseConstraint. This commit contains the code needed to add constraints to our model and a unittest for the UniqueConstraint option. Add the following to a model field, to force uniqueness for a combination of keys: <Constraints> <check001> <!--validation name, unique within this field--> <message>number should be unique</message> <!--the message to output on validation failure --> <type>OPNsense\Base\Constraints\UniqueConstraint</type> <!--the class to construct, derived from OPNsense\Base\Constraints\BaseConstraint --> <addFields> <!--optional additional fields for the equation, defined in UniqueConstraint --> <field1>optfield</field1> </addFields> </check001> </Constraints>
-
- 28 Apr, 2016 2 commits
-
-
Franco Fichtner authored
This reverts commit ed81dd30. The state of digit validation is highly controversial. I give up. :)
-
Franco Fichtner authored
Needs a bit of observation, but as far as I can see the only difference is that is_numeric() will also take int values and return true for them, ctype_digit() will only return true for string values that have digits.
-
- 13 Oct, 2015 1 commit
-
-
Ad Schellevis authored
-
- 22 Sep, 2015 1 commit
-
-
Ad Schellevis authored
-
- 29 Apr, 2015 2 commits
-
-
Ad Schellevis authored
-
Ad Schellevis authored
-
- 11 Mar, 2015 1 commit
-
-
Franco Fichtner authored
-
- 25 Feb, 2015 1 commit
-
-
Ad Schellevis authored
-
- 23 Feb, 2015 1 commit
-
-
Ad Schellevis authored
-
- 06 Feb, 2015 1 commit
-
-
Ad Schellevis authored
-
- 05 Feb, 2015 1 commit
-
-
Ad Schellevis authored
-
- 28 Jan, 2015 1 commit
-
-
Ad Schellevis authored
* initial model implementation using Phalcon validators and custom binding to config object Still a lot to dow here, no impact on current install base
-
- 24 Jan, 2015 1 commit
-
-
Franco Fichtner authored
-
- 21 Jan, 2015 1 commit
-
-
Ad Schellevis authored
-
- 20 Jan, 2015 1 commit
-
-
Ad Schellevis authored
-