Project

General

Profile

Bug #476 ยป 0003-ssl-connection-error-message-event-added.-Remove-war.patch

Anoop Saldanha, 06/07/2012 08:53 AM

View differences:

src/app-layer-ssl.c
switch (ssl_state->curr_connp->content_type) {
case SSLV2_MT_ERROR:
SCLogWarning(SC_ERR_ALPARSER, "SSLV2_MT_ERROR msg_type received. "
"Error encountered in establishing the sslv2 "
"session, may be version");
AppLayerDecoderEventsSetEvent(ssl_state->f, TLS_DECODER_EVENT_INVALID_HANDSHAKE_MESSAGE);
SCLogDebug("SSLV2_MT_ERROR msg_type received. "
"Error encountered in establishing the sslv2 "
"session, may be version");
AppLayerDecoderEventsSetEvent(ssl_state->f, TLS_DECODER_EVENT_ERROR_MSG_ENCOUNTERED);
break;
src/app-layer-ssl.h
TLS_DECODER_EVENT_CERTIFICATE_UNKNOWN_ELEMENT,
TLS_DECODER_EVENT_CERTIFICATE_INVALID_LENGTH,
TLS_DECODER_EVENT_CERTIFICATE_INVALID_STRING,
TLS_DECODER_EVENT_ERROR_MSG_ENCOUNTERED,
};
/* Flag to indicate that server will now on send encrypted msgs */
    (1-1/1)