Go to the documentation of this file.
59 static int g_tls_subjectaltname_buffer_id = 0;
68 "sticky buffer to match the TLS Subject Alternative Name buffer";
70 "/rules/tls-keywords.html#tls-subjectaltname";
120 if (idx >= connp->cert0_sans_len) {
125 strlen(connp->cert0_sans[idx]));
int DetectSignatureSetAppProto(Signature *s, AppProto alproto)
SSLv[2.0|3.[0|1|2|3]] state structure.
#define SIGMATCH_INFO_STICKY_BUFFER
SigTableElmt * sigmatch_table
SSLStateConnp server_connp
int DetectBufferSetActiveList(DetectEngineCtx *de_ctx, Signature *s, const int list)
main detection engine ctx
void DetectBufferTypeSupportsMultiInstance(const char *name)
#define SIG_FLAG_TOCLIENT
int(* Setup)(DetectEngineCtx *, Signature *, const char *)
int DetectBufferTypeGetByName(const char *name)
@ DETECT_AL_TLS_SUBJECTALTNAME
void DetectAppLayerMultiRegister(const char *name, AppProto alproto, uint32_t dir, int progress, InspectionMultiBufferGetDataPtr GetData, int priority, int tx_min_progress)
void DetectTlsSubjectAltNameRegister(void)
Registration function for keyword: tls.subjectaltname.
#define SCReturnPtr(x, type)
#define DETECT_CI_FLAGS_SINGLE
void InspectionBufferSetupMulti(InspectionBuffer *buffer, const DetectEngineTransforms *transforms, const uint8_t *data, const uint32_t data_len)
setup the buffer with our initial data
InspectionBuffer * InspectionBufferMultipleForListGet(DetectEngineThreadCtx *det_ctx, const int list_id, const uint32_t local_id)
for a InspectionBufferMultipleForList get a InspectionBuffer
void DetectBufferTypeSetDescriptionByName(const char *name, const char *desc)