Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next/sv/692/20250116/v1 #2237

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/ldap-abandon/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ldap.pcap: ldap.syn
flowsynth.py -f pcap -w $@ $^

9 changes: 9 additions & 0 deletions tests/ldap-abandon/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Test Purpose

Test that LDAP Abandon operation is parsed correctly.

## PCAP

This PCAP was generated with flowsynth using
this documentation as a reference:
https://ldap.com/ldapv3-wire-protocol-reference-abandon/
Binary file added tests/ldap-abandon/ldap.pcap
Binary file not shown.
2 changes: 2 additions & 0 deletions tests/ldap-abandon/ldap.syn
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
flow default tcp 1.1.1.1:5555 > 2.2.2.2:389 (tcp.initialize; mss:9000;);
default > (content:"\x30\x06\x02\x01\x06\x50\x01\x05";);
15 changes: 15 additions & 0 deletions tests/ldap-abandon/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
requires:
min-version: 8

args:
- -k none

pcap: ldap.pcap

checks:
- filter:
count: 1
match:
event_type: ldap
ldap.request.message_id: 6
ldap.request.operation: abandon_request
Loading