Skip to content

Instantly share code, notes, and snippets.

View MikeN123's full-sized avatar

Mike Noordermeer MikeN123

  • Netherlands
  • 07:02 (UTC +01:00)
View GitHub Profile
--- zabbix-5.0.1.orig/src/zabbix_server/poller/checks_http.c
+++ zabbix-5.0.1/src/zabbix_server/poller/checks_http.c
@@ -168,8 +168,10 @@ static void http_output_json(unsigned ch
while (NULL != (line = zbx_http_get_header(&headers)))
{
- if (0 == json_content && 0 == strncmp(line, "Content-Type:",
- ZBX_CONST_STRLEN("Content-Type:")) &&
+ if (0 == json_content && ((0 == strncmp(line, "Content-Type:",
+ ZBX_CONST_STRLEN("Content-Type:"))) ||
import com.google.common.util.concurrent.Striped;
import org.infinispan.commons.api.BasicCache;
import org.infinispan.spring.provider.SpringCache;
import java.util.concurrent.Callable;
import java.util.concurrent.locks.Lock;
/**
* @see {@link LockingSpringEmbeddedCacheManager}
*/
configurations {
compileGwt
}
jar {
from {
compileGwt.buildDir
}
// Exclude GWT client code and resources
/*
* Eveoh MyTimetable, Web interface for timetables.
*
* Copyright (c) 2010 - 2016 Eveoh
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
keystoreFile="conf/keystore.jks" keystorePass="changeit" useServerCipherSuitesOrder="true"
ciphers="TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,
@MikeN123
MikeN123 / gist:fa71dcb594c8518ee242
Created March 20, 2015 09:21
Panic kernel 4.0-rc4
[75696.801396] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[75696.824026] IP: [<ffffffff8150dca2>] xfrm_input+0x3c2/0x5a0
[75696.826783] PGD 2d122067 PUD 2d11e067 PMD 0
[75696.828853] Oops: 0000 [#1] SMP
[75696.830427] Modules linked in: authenc hmac seqiv xfrm6_mode_tunnel xfrm4_mode_tunnel xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_hfsc sch_htb sch_ingress sch_sfq xt_statistic xt_CT nf_log_ipv4 nf_log_ipv6 nf_log_common xt_realm xt_LOG xt_connlimit xt_addrtype xt_comment xt_recent xt_nat ipt_REJECT nf_reject_ipv4 ipt_MASQUERADE nf_nat_masquerade_ipv4 ipt_ECN ipt_CLUSTERIP ipt_ah nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_pptp nf_nat_proto_gre xt_set ip_set nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre ts_kmp nf_
@MikeN123
MikeN123 / gist:686dab019d127f60f1b0
Created March 18, 2015 12:56
Panic kernel 3.18.9
[ 5212.009509] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[ 5212.027310] IP: [<ffffffff814f6fb2>] xfrm_input+0x3c2/0x5a0
[ 5212.029866] PGD 0
[ 5212.030865] Oops: 0000 [#1] SMP
[ 5212.032470] Modules linked in: seqiv xfrm6_mode_tunnel xfrm4_mode_tunnel xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_hfsc sch_htb sch_ingress sch_sfq xt_statistic xt_CT nf_log_ipv4 nf_log_ipv6 nf_log_common xt_LOG xt_realm xt_connlimit xt_addrtype xt_comment xt_nat xt_recent ipt_REJECT nf_reject_ipv4 ipt_MASQUERADE nf_nat_masquerade_ipv4 ipt_ECN ipt_CLUSTERIP ipt_ah nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 xt_set ip_set nf_nat_ftp nf_nat_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink ts_kmp nf_conntrack_amanda n
@MikeN123
MikeN123 / gist:fef5bf135a456c1d97c4
Created March 18, 2015 09:08
Panic 3.16.7 vanilla
[42680.819635] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[42680.837549] IP: [<ffffffff814e0302>] xfrm_input+0x3c2/0x5a0
[42680.839480] PGD 0
[42680.839817] Oops: 0000 [#1] SMP
[42680.840352] Modules linked in: seqiv xfrm6_mode_tunnel xfrm4_mode_tunnel ctr ghash_generic gf128mul cryptd gcm xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo ip6table_filter ip6_tables act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_htb sch_hfsc sch_ingress sch_sfq xt_statistic xt_CT xt_LOG xt_time xt_connlimit xt_realm xt_addrtype xt_comment xt_recent xt_policy xt_nat ipt_ULOG ipt_REJECT ipt_MASQUERADE ipt_ECN ipt_CLUSTERIP ipt_ah xt_set ip_set nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_udplite nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_con
[31202.487290] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[31202.499656] IP: [<ffffffff814e4a12>] xfrm_input+0x3d2/0x590
[31202.502444] PGD 0
[31202.503479] Oops: 0000 [#1] SMP
[31202.505121] Modules linked in: seqiv xfrm6_mode_tunnel xfrm4_mode_tunnel xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_hfsc sch_htb sch_ingress sch_sfq xt_statistic xt_CT xt_realm xt_LOG iptable_raw xt_connlimit xt_addrtype xt_comment xt_nat xt_recent ipt_ULOG ipt_REJECT ipt_MASQUERADE ipt_ECN ipt_CLUSTERIP ipt_ah nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp xt_set ip_set nf_nat_amanda nf_conntrack_tftp nf_conntrack_sip nf_conntrack_sane nf_conntrack_proto_udplite nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_irc ts_kmp nf_conntrack
Index: src/main/net/sourceforge/jtds/ssl/Ssl.java
===================================================================
--- src/main/net/sourceforge/jtds/ssl/Ssl.java (revision 1289)
+++ src/main/net/sourceforge/jtds/ssl/Ssl.java (working copy)
@@ -44,6 +44,8 @@
String SSL_AUTHENTICATE = "authenticate";
/** Size of TLS record header. */
int TLS_HEADER_SIZE = 5;
+ /** SSLv2 Client hello message */
+ int TYPE_SSLV2CLIENTHELLO = 0x80;