summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-02-24vyos-op-run: T8306: add error messages for system exceptionsDaniil Baturin
2026-02-24vyos-op-run: T8306: improve execution logic loggingDaniil Baturin
2026-02-23vyos-op-run: T8301: improve the security of UID check and setuid logicDaniil Baturin
2025-12-19T8110: "list_interfaces --bondable" must not return VLAN subinterfacesChristian Breunig
Inspired by the regex used for "set interfaces ethernet" adjust the regex to match for interfaces acting as a bond member interface. This has been changed to also include (in addition to eth) lan, eno, ens prefixed physical interfaces.
2025-12-04vyos-op-run: T7901: skip permission checks if the user is rootDaniil Baturin
2025-11-11vyos-op-run: T8005: sanitize environment variablesDaniil Baturin
to prevent malicious variable injection
2025-10-06T7899: virtual-ethernet interfaces support broadcastsChristian Breunig
The Linux Kernel treats virtual-ethernet interfaces like regular ethernet interfaces. As ethernet interfaces support broadcasts and we have a completion helper for broadcast interfaces, this must be extended for virtual-ethernet interfaces. vyos@vyos# ${vyos_completion_dir}/list_interfaces --broadcast eth0 eth0.10 eth0.201 eth1 eth2 eth3 veth101 veth102 veth201 veth202
2025-08-28T7758: add missing case to allow repeated option --typeJohn Estabrook
2025-08-28Merge pull request #42 from jestabro/list-interfaces-multiple-typesJohn Estabrook
T7758: allow repeated option --type in list_interfaces
2025-08-28T7758: allow repeated option --type in list_interfacesJohn Estabrook
2025-08-28vyos-op-run: T7745: add a command permission checking mechanismDaniil Baturin
2025-08-12Merge pull request #40 from dmbaturin/T7583-op-mode-runnerDaniil Baturin
op-mode: T7583: add a new operational command runner
2025-08-07op-mode: T7583: add a new operational command runnerDaniil Baturin
2025-06-29validators: T6622: Radix-aware numeric validationAndrew Topp
* Adding support for hex, octal and binary integers (decimal-only floats) * Defaults retain current parameter and parsing behaviour * Any radix option overrides default assumption of "--decimal" * Radix options are inclusive together * As number_of_string is used for parameters, param parsing is overridden to always allow un-prefixed decimals, for convenience.
2025-05-15validators: T7450: remove debug lineJohn Estabrook
2025-05-13validators: T7450: use PCRE2 instead of the outdated original PCREDaniil Baturin
2024-12-17T6792: Autocomplete for "show arp interface" interfaceskhramshinr
extended filter for possible broadcast-capable interfaces
2024-05-22T6380: Move list_interfaces code to a dedicated dir for completion helpersDaniil Baturin
2024-05-22T6380: Move validators to a dedicated subdirectoryDaniil Baturin
2024-05-21T5940: relax regex of uri user information for 1.3.x compatibilityJohn Estabrook
2023-12-31T5882: use Dune as build systemJohn Estabrook
2023-10-06numeric: T5638: add --require-rangeDaniil Baturin
2023-10-06numeric: T5638: Do not complain about range arguments in check_not_value ↵Daniil Baturin
when it's not necessary (i.e., when no actual --not-value options are given)
2023-09-26numeric: T5617: add --not-value to the numeric validatorDaniil Baturin
2023-08-02T5430: vxlan mus tbe listed as bridgable in completion helperChristian Breunig
2023-07-31T5421: add arg to filter out subinterfacesJohn Estabrook
2023-02-05T4952: add wrapper to getifaddrs for completion helper list_interfacesJohn Estabrook
2022-12-29T4761: fix typoJohn Estabrook
2022-12-29Merge branch 'master' into url-validatorDaniil Baturin
2022-12-29T4761: add support for literal IP addresses in URL'sJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@baturin.org>
2022-12-12validators: T4875: add option lookup-path to cat with file/dir argJohn Estabrook
2022-11-06T4798: add a file path validatorDaniil Baturin
2022-11-04T4761: add a URL value validatorDaniil Baturin
2022-09-22T4669: disallow range arguments to numeric unless explicitly allowedDaniil Baturin
with --allow-range option
2022-09-06numeric: T4669: extend numeric.ml for inverted and range valuesJohn Estabrook
2022-06-17numeric: T4467: add support for relative values: +/-NJohn Estabrook
Add option '--relative' to check that value is of the form '+/-N' for some numeric N (e.g. +10' or '-30'), interpreted as a relative increment or decrement, rather than a signed integer/float. This may be combined with any other option, which will be applied to the value stripped of the leading modifier. Testing this extension revealed that negative values are being interpreted as options, whether quoted or not; to address that, an Arg.Rest keyword '--' is introduced, which will need to be passed along with the option in interface definitions using the above. For example: <validator name="numeric" argument="--relative --"/>
2022-05-10T4421: only allow numbers that look like an integer part with an optional ↵Daniil Baturin
fractional part
2022-05-10T4421: add support for floating point number in the numeric validatorDaniil Baturin
2021-12-04T4047: use full string match in the regex validatorDaniil Baturin
2021-06-13T3574: refactor for clarityJohn Estabrook
2021-06-08T3574: add support for --grp argumentJohn Estabrook
Add support for --grp argument, which joins the arguments following (up until the next --grp) with logical and; arguments preceding a group, and other groups following, are joined by logical or.
2021-04-18Consistent formatting in validate-value.mlDaniil Baturin
2021-02-18T2759: collect output from validators in a buffer and print it only if ↵Daniil Baturin
validation fails.
2020-06-19T1901: quote the value to avoid having the shell interpret anything as a ↵Daniil Baturin
part of the command.
2020-05-20T2434: use correct bigint comparison.Daniil Baturin
2020-05-06Initial import.Daniil Baturin