Feature #2269
openTLS: tls.version: allow negation or comparison
Description
According to the documentation it is possible to match on “1.0”, “1.1”, “1.2” with tls.version (http://suricata.readthedocs.io/en/latest/rules/tls-keywords.html).
I propose to
a) allow negation for this keyword, i.e. alert on all version that are NOT 1.2 for example
or
b) allow some kind of comparison with >, <, <=, >= (with would probably need some ordered table with the versions, as the version can also be SSL.
Also (at least in the case of b)) there should be a solution to cover tls.version "UNDETERMINED"
Updated by Andreas Herz almost 7 years ago
- Assignee set to Anonymous
- Target version set to TBD
Updated by Victor Julien about 6 years ago
- Effort set to low
- Difficulty set to low
Updated by Philippe Antoine over 3 years ago
- Status changed from New to In Review
Updated by Philippe Antoine over 3 years ago
- Target version changed from TBD to 7.0.0-beta1
Updated by Victor Julien almost 2 years ago
- Target version changed from 7.0.0-beta1 to 7.0.0-rc1
Updated by Victor Julien almost 2 years ago
I feel the version tracking needs review first. Version is currently not a single thing. E.g. we can have a connection starting with sslv2 upgrade to tls1. TLS 1.3 records look like TLS 1.2 initially iirc. The version field is also often updated. So I think a review of how it works is in order.
Updated by Victor Julien almost 2 years ago
- Status changed from In Review to New
- Target version changed from 7.0.0-rc1 to TBD
Updated by Philippe Antoine 11 months ago
- Related to Bug #3220: ssl_version keyword negation (!) not working added