diff options
author | Maxime THIEBAUT <46688461+0xThiebaut@users.noreply.github.com> | 2024-05-01 22:16:03 +0200 |
---|---|---|
committer | Maxime THIEBAUT <46688461+0xThiebaut@users.noreply.github.com> | 2024-05-12 10:36:34 +0200 |
commit | 549089a970e39d1ea09c10af5eaf8f696dd19d40 (patch) | |
tree | c50e8e4ce30a714d70d36434ae9e51028bb6d77a /src/validators/port-range-exclude | |
parent | 91c1a8556eedc9e9aa50d8bf415b37e53d52cb7d (diff) | |
download | vyos-1x-549089a970e39d1ea09c10af5eaf8f696dd19d40.tar.gz vyos-1x-549089a970e39d1ea09c10af5eaf8f696dd19d40.zip |
suricata: T751: Initial support for suricata
Diffstat (limited to 'src/validators/port-range-exclude')
-rwxr-xr-x | src/validators/port-range-exclude | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/validators/port-range-exclude b/src/validators/port-range-exclude new file mode 100755 index 000000000..4c049e98f --- /dev/null +++ b/src/validators/port-range-exclude @@ -0,0 +1,7 @@ +#!/bin/sh +arg="$1" +if [ "${arg:0:1}" != "!" ]; then + exit 1 +fi +path=$(dirname "$0") +${path}/port-range "${arg:1}" |