|
|
|
@ -18,8 +18,8 @@
|
|
|
|
use super::ldap::{LdapTransaction, ALPROTO_LDAP};
|
|
|
|
use super::ldap::{LdapTransaction, ALPROTO_LDAP};
|
|
|
|
use crate::core::{STREAM_TOCLIENT, STREAM_TOSERVER};
|
|
|
|
use crate::core::{STREAM_TOCLIENT, STREAM_TOSERVER};
|
|
|
|
use crate::detect::uint::{
|
|
|
|
use crate::detect::uint::{
|
|
|
|
detect_match_uint, detect_parse_uint_enum, DetectUintData, SCDetectU32Free, SCDetectU32Parse,
|
|
|
|
detect_match_uint, detect_parse_uint_enum, DetectUintData, DetectUintIndex, SCDetectU32Free,
|
|
|
|
SCDetectU8Free,
|
|
|
|
SCDetectU32Parse, SCDetectU8Free,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::detect::{helper_keyword_register_sticky_buffer, SigTableElmtStickyBuffer};
|
|
|
|
use crate::detect::{helper_keyword_register_sticky_buffer, SigTableElmtStickyBuffer};
|
|
|
|
use crate::ldap::types::*;
|
|
|
|
use crate::ldap::types::*;
|
|
|
|
@ -36,13 +36,6 @@ use std::ffi::CStr;
|
|
|
|
use std::os::raw::{c_int, c_void};
|
|
|
|
use std::os::raw::{c_int, c_void};
|
|
|
|
use std::str::FromStr;
|
|
|
|
use std::str::FromStr;
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, PartialEq)]
|
|
|
|
|
|
|
|
enum DetectUintIndex {
|
|
|
|
|
|
|
|
Any,
|
|
|
|
|
|
|
|
All,
|
|
|
|
|
|
|
|
Index(i32),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, PartialEq)]
|
|
|
|
#[derive(Debug, PartialEq)]
|
|
|
|
struct DetectLdapRespOpData {
|
|
|
|
struct DetectLdapRespOpData {
|
|
|
|
/// Ldap response operation code
|
|
|
|
/// Ldap response operation code
|
|
|
|
|