Skip to content

Commit

Permalink
updated tests with new tls/cert fields
Browse files Browse the repository at this point in the history
  • Loading branch information
awick committed Feb 3, 2015
1 parent 1cc6e7d commit 11ff53f
Show file tree
Hide file tree
Showing 11 changed files with 210 additions and 87 deletions.
21 changes: 15 additions & 6 deletions tests/pcap/https2-301-get.test
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
6641
],
"prot-term-cnt" : 2,
"tlsdstid-term" : [
"4fc128aa12f6c10f1b6f72c0d4447366fe600b41efff60c865e496ed7f838ba6"
],
"lpd" : 1385410274128,
"fp" : 1385410273,
"as2" : "AS36459 GitHub, Inc.",
Expand All @@ -75,31 +78,37 @@
"by1" : 1513,
"tls" : [
{
"notAfter" : 1441195200,
"sCn" : [
"github.com"
],
"alt" : [
"github.com",
"www.github.com"
],
"sOn" : "GitHub, Inc.",
"sn" : "047fbe2e4bde0084d2caf8e3ecfe7058",
"notBefore" : 1370822400,
"iOn" : "DigiCert Inc",
"altcnt" : 2,
"iCn" : [
"digicert high assurance ev ca-1"
]
],
"sOn" : "GitHub, Inc.",
"sn" : "047fbe2e4bde0084d2caf8e3ecfe7058",
"diffDays" : 814
},
{
"notAfter" : 1636502400,
"sCn" : [
"digicert high assurance ev ca-1"
],
"sOn" : "DigiCert Inc",
"sn" : "0337b928347c60a6aec5adb1217f3860",
"notBefore" : 1194609600,
"iOn" : "DigiCert Inc",
"iCn" : [
"digicert high assurance ev root ca"
]
],
"sOn" : "DigiCert Inc",
"sn" : "0337b928347c60a6aec5adb1217f3860",
"diffDays" : 5114
}
],
"p2" : 443,
Expand Down
21 changes: 15 additions & 6 deletions tests/pcap/https3-301-get.test
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
6440
],
"prot-term-cnt" : 2,
"tlsdstid-term" : [
"dddbfd5162689bb01e3f0ba158a586de9097b26cfc83599391cbb5e128d34b97"
],
"lpd" : 1385396821236,
"fp" : 1385396821,
"as2" : "AS36459 GitHub, Inc.",
Expand All @@ -76,31 +79,37 @@
"by1" : 1422,
"tls" : [
{
"notAfter" : 1441195200,
"sCn" : [
"github.com"
],
"alt" : [
"github.com",
"www.github.com"
],
"sOn" : "GitHub, Inc.",
"sn" : "047fbe2e4bde0084d2caf8e3ecfe7058",
"notBefore" : 1370822400,
"iOn" : "DigiCert Inc",
"altcnt" : 2,
"iCn" : [
"digicert high assurance ev ca-1"
]
],
"sOn" : "GitHub, Inc.",
"sn" : "047fbe2e4bde0084d2caf8e3ecfe7058",
"diffDays" : 814
},
{
"notAfter" : 1636502400,
"sCn" : [
"digicert high assurance ev ca-1"
],
"sOn" : "DigiCert Inc",
"sn" : "0337b928347c60a6aec5adb1217f3860",
"notBefore" : 1194609600,
"iOn" : "DigiCert Inc",
"iCn" : [
"digicert high assurance ev root ca"
]
],
"sOn" : "DigiCert Inc",
"sn" : "0337b928347c60a6aec5adb1217f3860",
"diffDays" : 5114
}
],
"p2" : 443,
Expand Down
26 changes: 19 additions & 7 deletions tests/pcap/openssl-ssl3.test
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
6248
],
"prot-term-cnt" : 2,
"tlsdstid-term" : [
"95c3c5ac6f647c1b7214c7bcf4387b6f34819f9f17095c690caafbdbcf6a36ec"
],
"lpd" : 1413337770679,
"fp" : 1413337769,
"as2" : "AS15169 Google Inc.",
Expand All @@ -94,25 +97,32 @@
"by1" : 1113,
"tls" : [
{
"notAfter" : 1534824000,
"sCn" : [
"geotrust global ca"
],
"sOn" : "GeoTrust Inc.",
"sn" : "12bbe6",
"iOn" : "Equifax"
"notBefore" : 1021953600,
"iOn" : "Equifax",
"diffDays" : 5936
},
{
"notAfter" : 1483228799,
"sCn" : [
"google internet authority g2"
],
"sOn" : "Google Inc",
"sn" : "023a76",
"notBefore" : 1365174955,
"iOn" : "GeoTrust Inc.",
"iCn" : [
"geotrust global ca"
]
],
"sOn" : "Google Inc",
"sn" : "023a76",
"diffDays" : 1366
},
{
"notAfter" : 1419292800,
"sCn" : [
"*.google.com"
],
Expand Down Expand Up @@ -167,13 +177,15 @@
"youtube.com",
"youtubeeducation.com"
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"notBefore" : 1411553285,
"iOn" : "Google Inc",
"altcnt" : 49,
"iCn" : [
"google internet authority g2"
]
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"diffDays" : 89
}
],
"p2" : 443,
Expand Down
23 changes: 16 additions & 7 deletions tests/pcap/openssl-tls1-tls1_2.test
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,32 @@
"by1" : 1220,
"tls" : [
{
"notAfter" : 1534824000,
"sCn" : [
"geotrust global ca"
],
"sOn" : "GeoTrust Inc.",
"sn" : "12bbe6",
"iOn" : "Equifax"
"notBefore" : 1021953600,
"iOn" : "Equifax",
"diffDays" : 5936
},
{
"notAfter" : 1483228799,
"sCn" : [
"google internet authority g2"
],
"sOn" : "Google Inc",
"sn" : "023a76",
"notBefore" : 1365174955,
"iOn" : "GeoTrust Inc.",
"iCn" : [
"geotrust global ca"
]
],
"sOn" : "Google Inc",
"sn" : "023a76",
"diffDays" : 1366
},
{
"notAfter" : 1419292800,
"sCn" : [
"*.google.com"
],
Expand Down Expand Up @@ -167,13 +174,15 @@
"youtube.com",
"youtubeeducation.com"
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"notBefore" : 1411553285,
"iOn" : "Google Inc",
"altcnt" : 49,
"iCn" : [
"google internet authority g2"
]
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"diffDays" : 89
}
],
"p2" : 443,
Expand Down
23 changes: 16 additions & 7 deletions tests/pcap/openssl-tls1.test
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,32 @@
"by1" : 1118,
"tls" : [
{
"notAfter" : 1534824000,
"sCn" : [
"geotrust global ca"
],
"sOn" : "GeoTrust Inc.",
"sn" : "12bbe6",
"iOn" : "Equifax"
"notBefore" : 1021953600,
"iOn" : "Equifax",
"diffDays" : 5936
},
{
"notAfter" : 1483228799,
"sCn" : [
"google internet authority g2"
],
"sOn" : "Google Inc",
"sn" : "023a76",
"notBefore" : 1365174955,
"iOn" : "GeoTrust Inc.",
"iCn" : [
"geotrust global ca"
]
],
"sOn" : "Google Inc",
"sn" : "023a76",
"diffDays" : 1366
},
{
"notAfter" : 1419292800,
"sCn" : [
"*.google.com"
],
Expand Down Expand Up @@ -167,13 +174,15 @@
"youtube.com",
"youtubeeducation.com"
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"notBefore" : 1411553285,
"iOn" : "Google Inc",
"altcnt" : 49,
"iCn" : [
"google internet authority g2"
]
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"diffDays" : 89
}
],
"p2" : 443,
Expand Down
23 changes: 16 additions & 7 deletions tests/pcap/openssl-tls1_1.test
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,32 @@
"by1" : 1172,
"tls" : [
{
"notAfter" : 1534824000,
"sCn" : [
"geotrust global ca"
],
"sOn" : "GeoTrust Inc.",
"sn" : "12bbe6",
"iOn" : "Equifax"
"notBefore" : 1021953600,
"iOn" : "Equifax",
"diffDays" : 5936
},
{
"notAfter" : 1483228799,
"sCn" : [
"google internet authority g2"
],
"sOn" : "Google Inc",
"sn" : "023a76",
"notBefore" : 1365174955,
"iOn" : "GeoTrust Inc.",
"iCn" : [
"geotrust global ca"
]
],
"sOn" : "Google Inc",
"sn" : "023a76",
"diffDays" : 1366
},
{
"notAfter" : 1419292800,
"sCn" : [
"*.google.com"
],
Expand Down Expand Up @@ -167,13 +174,15 @@
"youtube.com",
"youtubeeducation.com"
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"notBefore" : 1411553285,
"iOn" : "Google Inc",
"altcnt" : 49,
"iCn" : [
"google internet authority g2"
]
],
"sOn" : "Google Inc",
"sn" : "7a5b0bd895632f87",
"diffDays" : 89
}
],
"p2" : 443,
Expand Down
21 changes: 15 additions & 6 deletions tests/pcap/openssl-tls1_2-tls1.test
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
5935
],
"prot-term-cnt" : 2,
"tlsdstid-term" : [
"9938c44043b6f99f355b9381131c10d511608be1435144a0b0339d8d68aaf38e"
],
"lpd" : 1413338075560,
"fp" : 1413338074,
"as2" : "AS1668 AOL Transit Data Network",
Expand All @@ -93,17 +96,21 @@
"by1" : 1210,
"tls" : [
{
"notAfter" : 1636685477,
"sCn" : [
"entrust certification authority - l1c"
],
"sOn" : "Entrust, Inc.",
"sn" : "4c0e8c39",
"notBefore" : 1321026040,
"iOn" : "Entrust.net",
"iCn" : [
"entrust.net certification authority (2048)"
]
],
"sOn" : "Entrust, Inc.",
"sn" : "4c0e8c39",
"diffDays" : 3653
},
{
"notAfter" : 1497242632,
"sCn" : [
"www.aol.com"
],
Expand Down Expand Up @@ -171,13 +178,15 @@
"m.article.aol.com",
"hp.aol.ca"
],
"sOn" : "AOL Inc.",
"sn" : "4c235548",
"notBefore" : 1402510723,
"iOn" : "Entrust, Inc.",
"altcnt" : 62,
"iCn" : [
"entrust certification authority - l1c"
]
],
"sOn" : "AOL Inc.",
"sn" : "4c235548",
"diffDays" : 1096
}
],
"p2" : 443,
Expand Down
Loading

0 comments on commit 11ff53f

Please sign in to comment.