Loading src/main.c +1 −1 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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(); Loading src/proto-banner1.c +8 −1 Original line number Diff line number Diff line Loading @@ -328,6 +328,13 @@ int banner1_selftest() }*/ return 0; { int x = 0; x += banner_ssl.selftest(); x += banner_http.selftest(); return x; } } src/proto-banner1.h +5 −3 Original line number Diff line number Diff line Loading @@ -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 { Loading src/proto-ssl.c +1651 −10 File changed.Preview size limit exceeded, changes collapsed. Show changes src/proto-tcp.c +1 −0 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
src/main.c +1 −1 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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(); Loading
src/proto-banner1.c +8 −1 Original line number Diff line number Diff line Loading @@ -328,6 +328,13 @@ int banner1_selftest() }*/ return 0; { int x = 0; x += banner_ssl.selftest(); x += banner_http.selftest(); return x; } }
src/proto-banner1.h +5 −3 Original line number Diff line number Diff line Loading @@ -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 { Loading
src/proto-tcp.c +1 −0 Original line number Diff line number Diff line Loading @@ -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; Loading