Skip to content

Commit

Permalink
ldap: add test for STARTTLS extended operation
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Nov 13, 2024
1 parent b195d4b commit 48e7aed
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Binary file added tests/ldap-starttls/input.pcap
Binary file not shown.
27 changes: 27 additions & 0 deletions tests/ldap-starttls/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
requires:
min-version: 8

args:
- -k none

pcap: input.pcap

checks:
- filter:
count: 1
match:
event_type: ldap
ldap.request.message_id: 1
ldap.request.operation: extended_request
ldap.request.extended_request.name: "1.3.6.1.4.1.1466.20037"
- filter:
count: 1
match:
event_type: tls
tls.from_proto: ldap
tls.issuerdn: CN=LDAP SSL test
tls.notafter: '2025-01-28T02:18:29'
tls.notbefore: '2015-01-31T02:18:29'
tls.serial: 00:8A:07:E0:8D:4A:B5:0A:7B
tls.subject: CN=LDAP SSL test
tls.version: TLS 1.2

0 comments on commit 48e7aed

Please sign in to comment.