Commit 90811105 authored by Robert David Graham's avatar Robert David Graham
Browse files

ssl

parent c8127a29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1380,6 +1380,7 @@ int main(int argc, char *argv[])
         */
        {
            int x = 0;
            x += banner1_selftest();
            x += output_selftest();
            x += siphash24_selftest();
            x += snmp_selftest();
@@ -1392,7 +1393,6 @@ int main(int argc, char *argv[])
            x += pixie_time_selftest();
            x += rte_ring_selftest();
            x += smack_selftest();
            x += banner1_selftest();
            x += mainconf_selftest();
            x += zeroaccess_selftest();

+8 −1
Original line number Diff line number Diff line
@@ -328,6 +328,13 @@ int banner1_selftest()
    }*/


    return 0;
    {
        int x = 0;

        x += banner_ssl.selftest();
        x += banner_http.selftest();

        return x;
    }
}
+5 −3
Original line number Diff line number Diff line
@@ -27,10 +27,12 @@ struct SSL_SERVER_HELLO {
struct SSL_SERVER_CERT {
    unsigned state;
    unsigned remaining;
    unsigned cert_remaining;
    unsigned cert_state;
    unsigned b64x;
    unsigned banner_offset_start;
    struct {
        unsigned remaining;
        unsigned state;
        unsigned b64x;
    } sub;
};

struct SSLRECORD {
+1651 −10

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -829,6 +829,7 @@ tcpcon_handle(struct TCP_ConnectionTable *tcpcon, struct TCP_Control_Block *tcb,
            case 2096:  /* cPanel webmail - SSL */
            case 8443:  /* Plesk Control Panel - SSL */
            case 9050:  /* Tor */
            case 8140:  /* puppet */
                tcb->banner1_state.is_sent_sslhello = 1;
                x = (const unsigned char *)banner_ssl.hello;
                x_len = banner_ssl.hello_length;