ssl.pat 668 B

123456789101112131415
  1. # SSL and TLS - Secure Socket Layer / Transport Layer Security - RFC 2246
  2. # Pattern quality: good fast
  3. # Usually runs on port 443
  4. #
  5. # This is a superset validcertssl. For it to match, it must be first.
  6. #
  7. # This pattern has been tested and is believed to work well. If it does not
  8. # work for you, or you believe it could be improved, please post to
  9. # l7-filter-developers@lists.sf.net . This list may be subscribed to at
  10. # http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
  11. ssl
  12. # Client Hello | Server Hello with certificate
  13. # This allows SSL 3.X, which includes TLS 1.0, known internally as SSL 3.1
  14. ^(.?.?\x16\x03.*\x16\x03|.?.?\x01\x03\x01?.*\x0b)