pstream 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pstream.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f9f1cfb35a08539f17c632728cd96c6998bc2e4
|
4
|
+
data.tar.gz: 06af26e98fb959678f1a7727ce5cbbbcefb0f499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f21a0762f0ffe0086564d190fb9b83348a82e792dd6d89d19c53d542ab09a88d1082c7274c486952f8ec856dd5e61881311789af7c18f09b5e8a5737b963f60
|
7
|
+
data.tar.gz: 7c95139bb07f71f1d657092e9400e66a0e4d0f18ff89b0b0062de66ba7ab8aaefa3257501ec5501bd00221314f2fe4e549f68ba7aa510fa2d86bccd9e3bdfa95
|
data/lib/pstream.rb
CHANGED
@@ -43,9 +43,13 @@ class PStream
|
|
43
43
|
when /^Cipher Suites Length:/
|
44
44
|
m = line.match(/Cipher Suites Length: ([0-9]+)$/)
|
45
45
|
negotiation.length = m[1].to_i
|
46
|
-
when /^Handshake Protocol
|
46
|
+
when /^Handshake Protocol: [^ ]+ Hello$/
|
47
47
|
m = line.match(/Handshake Protocol: ([^ ]+) Hello$/)
|
48
48
|
hello = m[1]
|
49
|
+
when /^Handshake Protocol: Certificate$/
|
50
|
+
# TODO extract cert info
|
51
|
+
when /^Handshake Protocol: Server Key Exchange$/
|
52
|
+
# TODO extract key info
|
49
53
|
when /^Internet Protocol Version/
|
50
54
|
if (negotiation)
|
51
55
|
id = "#{negotiation.src} <-> #{negotiation.dst}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pstream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '0.1'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.1.
|
42
|
+
version: 0.1.3
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '0.1'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.1.
|
52
|
+
version: 0.1.3
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: scoobydoo
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|