Something like
srcip==192.168.0.0/16
doesn't seem to be working in a generic text filter.
Is it at all possible any way ?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
For generic text filter, please try this:
srcip ~ 192\.168\.[0-9]+\.[0-9]+
For generic text filter, please try this:
srcip ~ 192\.168\.[0-9]+\.[0-9]+
Thanks
Didn't realize this uses regexp syntax. Manuals really don't mention anything...
Good point. We have just made a note to update the section on Generic Text Filter to mention that it uses regex syntax.
kylezhang wrote:I would actually useFor generic text filter, please try this:
srcip ~ 192\.168\.[0-9]+\.[0-9]+
srcip ~ 192\.168\.[0-9]{1-3}\.[0-9]{1-3}
The difference is the original would accept one or more characters in the last two octets where the latter will accept between one and three in each. Just a bit more control but less chance for false positives.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1688 | |
1087 | |
752 | |
446 | |
226 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.