Syntax in Suricata YAML re: port ranges
-
I'm attempting to edit the Suricata template at /usr/local/pkg/suricata/suricata_yaml_template.inc to add some port variables in the "port-groups:" section for use in custom rules. Looking at the docs, it seems like I can't add a range of ports like in Snort (i.e. 0:500), but that I must enumerate each one?
Am I understanding this correctly? Am I going about this the right way? Snipped below,
# Holds the port group vars that would be passed in a Signature. port-groups: {$port_vars} Allowed: "[1,2,3,4]" NotAllowed: "[1:4]" -
Found a discussion on the subject here,
http://stackoverflow.com/questions/3337020/how-to-specify-ranges-in-yaml
For anyone happening upon this I gave up, because it looks unsupported, and just lived without the alias.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy