trisulrp 1.2.11 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,8 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
- gem "ruby-protocol-buffers", ">= 0.8.5"
3
+ gem "ruby-protocol-buffers"
6
4
 
7
5
  # Add dependencies to develop your gem here.
8
6
  # Include everything needed to run rake, tests, features, etc.
data/README.rdoc CHANGED
@@ -27,5 +27,5 @@ Key Features :
27
27
 
28
28
  == Copyright
29
29
 
30
- Copyright (c) 2010-11 Unleash Networks. See LICENSE.txt for further details.
30
+ Copyright (c) 2010-12 Unleash Networks. See LICENSE.txt for further details.
31
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.11
1
+ 1.4.2
@@ -3,9 +3,6 @@
3
3
 
4
4
  require 'protocol_buffers'
5
5
 
6
- # Reload support
7
- Object.__send__(:remove_const, :TRP) if defined?(TRP)
8
-
9
6
  module TRP
10
7
  # forward declarations
11
8
  class Timestamp < ::ProtocolBuffers::Message; end
@@ -103,7 +100,7 @@ module TRP
103
100
 
104
101
  class StatsTuple < ::ProtocolBuffers::Message
105
102
  required ::TRP::Timestamp, :ts, 1
106
- required :double, :val, 2
103
+ required :int64, :val, 2
107
104
 
108
105
  gen_methods! # new fields ignored after this point
109
106
  end
@@ -128,6 +125,7 @@ module TRP
128
125
  required :string, :key, 1
129
126
  optional :string, :label, 2
130
127
  optional :string, :description, 3
128
+ optional :int64, :metric, 4
131
129
 
132
130
  gen_methods! # new fields ignored after this point
133
131
  end
@@ -655,16 +653,17 @@ module TRP
655
653
  class Item < ::ProtocolBuffers::Message
656
654
  optional :int64, :sensor_id, 1
657
655
  required ::TRP::Timestamp, :time, 2
658
- optional :string, :source_ip, 3
659
- optional :string, :source_port, 4
660
- optional :string, :destination_ip, 5
661
- optional :string, :destination_port, 6
662
- required :string, :sigid, 7
663
- required :string, :classification, 8
664
- required :string, :priority, 9
665
- required ::TRP::Timestamp, :dispatch_time, 10
666
- required :string, :aux_message1, 11
667
- required :string, :aux_message2, 12
656
+ required ::TRP::AlertID, :alert_id, 3
657
+ optional :string, :source_ip, 4
658
+ optional :string, :source_port, 5
659
+ optional :string, :destination_ip, 6
660
+ optional :string, :destination_port, 7
661
+ required :string, :sigid, 8
662
+ required :string, :classification, 9
663
+ required :string, :priority, 10
664
+ required ::TRP::Timestamp, :dispatch_time, 11
665
+ required :string, :aux_message1, 12
666
+ required :string, :aux_message2, 13
668
667
 
669
668
  gen_methods! # new fields ignored after this point
670
669
  end
@@ -1,7 +1,7 @@
1
1
  // Trisul Remote Protocol (TRP) definition
2
2
  // Based on Google Protocol Buffers
3
3
  // (c) 2010-11, Unleash Networks (http://www.unleashnetworks.com)
4
- // $Rev: 3535 $
4
+ // $Rev: 3576 $
5
5
  package TRP;
6
6
 
7
7
  message Timestamp {
@@ -16,7 +16,7 @@ message TimeInterval {
16
16
 
17
17
  message StatsTuple {
18
18
  required Timestamp ts=1;
19
- required double val=2;
19
+ required int64 val=2;
20
20
  }
21
21
 
22
22
  message MeterValues {
@@ -35,6 +35,7 @@ message KeyDetails {
35
35
  required string key=1;
36
36
  optional string label=2;
37
37
  optional string description=3;
38
+ optional int64 metric=4;
38
39
  }
39
40
 
40
41
  message SessionID {
data/test/Demo_Client.crt CHANGED
@@ -1,71 +1,73 @@
1
1
  Certificate:
2
2
  Data:
3
3
  Version: 3 (0x2)
4
- Serial Number: 1 (0x1)
4
+ Serial Number: 2 (0x2)
5
5
  Signature Algorithm: sha1WithRSAEncryption
6
- Issuer: C=IN, ST=TN, L=Gowrivakkam, O=Unleash Networks Trisul Demo , OU=Trisul Demo CA, CN=trisuldemo
6
+ Issuer: C=IN, ST=TN, L=Gowrivakkam, O=UNLEASH NETWORKS, OU=TRISUL TESTING, CN=unleashnetworks.com/emailAddress=info@unleashnetworks.com
7
7
  Validity
8
- Not Before: Aug 23 06:21:57 2010 GMT
9
- Not After : Aug 23 06:21:57 2011 GMT
10
- Subject: C=IN, ST=TN, O=Unleash Networks Trisul Demo , CN=trisul_client_00
8
+ Not Before: Feb 27 13:23:33 2012 GMT
9
+ Not After : Feb 26 13:23:33 2013 GMT
10
+ Subject: C=US, ST=TN, O=Unleash Networks, OU=Trisul Client Test Cert, CN=unleashnetworks.com/emailAddress=info@unleashnetworks.com
11
11
  Subject Public Key Info:
12
12
  Public Key Algorithm: rsaEncryption
13
- RSA Public Key: (1024 bit)
14
- Modulus (1024 bit):
15
- 00:b7:f8:3e:5b:e5:a6:87:b6:e3:5d:91:ab:f1:e3:
16
- 60:74:78:d7:e7:39:51:c1:59:5f:29:42:e0:03:b6:
17
- d5:f0:36:ee:94:8e:df:36:02:9a:a3:95:2a:b8:e3:
18
- aa:7e:75:84:36:6a:67:b8:b8:c9:3d:cc:36:25:80:
19
- f3:64:9f:77:8a:f7:37:c1:ec:ba:b5:28:6a:61:b3:
20
- 54:26:a7:89:73:7b:47:8d:fc:67:00:da:35:91:62:
21
- 1e:ca:1d:33:54:b9:d2:1c:e8:e2:dc:99:8e:25:dc:
22
- 7b:de:21:e7:ce:a3:7e:68:07:ad:c9:3a:71:60:6d:
23
- 45:f2:34:f2:77:1c:31:8a:31
13
+ Public-Key: (1024 bit)
14
+ Modulus:
15
+ 00:bc:83:85:6a:12:97:9e:bd:07:cc:f0:ab:cd:97:
16
+ 03:fa:74:01:48:a5:51:d2:03:82:24:b9:33:5b:6f:
17
+ 55:24:3d:ae:bb:69:8d:f2:98:fc:d0:01:d7:f2:8c:
18
+ 1e:f9:67:ad:33:46:58:0f:d3:5d:f8:a6:00:7d:a5:
19
+ 4d:00:60:f5:46:a5:7a:0a:3c:8f:13:a8:4e:2f:cb:
20
+ 44:19:b0:f2:08:76:51:aa:fb:c4:5c:99:b7:2a:f8:
21
+ 0c:92:1a:62:aa:52:e6:3a:ff:a1:43:7e:36:c8:b3:
22
+ f5:ec:ac:1b:b9:4d:f4:61:2d:c7:9c:97:95:24:9a:
23
+ 5e:dc:1f:09:2c:ca:18:c3:87
24
24
  Exponent: 65537 (0x10001)
25
25
  X509v3 extensions:
26
26
  X509v3 Basic Constraints:
27
27
  CA:FALSE
28
28
  Netscape Comment:
29
- OpenSSL Generated Certificate For Trisul / Unsniff PKI
29
+ OpenSSL Generated Certificate For Trisul PKI
30
30
  X509v3 Subject Key Identifier:
31
- 22:2B:15:63:BD:55:2B:DB:3E:3B:10:08:E8:4B:53:ED:02:A5:83:FB
31
+ 26:43:4F:FD:80:2C:E9:FF:CF:58:25:61:1F:89:C0:2D:34:32:C0:20
32
32
  X509v3 Authority Key Identifier:
33
- keyid:61:D3:24:23:7E:D2:64:30:54:DB:A9:21:E2:33:BF:46:E0:79:00:2D
33
+ keyid:99:B6:6A:A4:7A:E7:C6:6F:ED:D3:6A:47:73:2A:99:60:5E:A5:D4:18
34
34
 
35
35
  Signature Algorithm: sha1WithRSAEncryption
36
- 04:22:51:df:8b:fb:ed:b5:bf:5d:ad:54:e8:e4:9a:cc:63:1b:
37
- 7a:e3:7e:d2:df:6d:79:44:5f:8f:ef:a0:35:05:2c:25:b8:4a:
38
- 82:f1:21:54:3a:ca:5f:2b:cb:a6:d8:40:1f:16:db:96:10:35:
39
- c8:c4:81:9c:b4:92:e4:0e:a9:76:ed:35:a1:f8:96:cf:65:53:
40
- 5c:c1:73:59:a3:7e:36:80:64:c2:64:78:58:b9:da:46:ae:44:
41
- be:5d:53:d5:37:67:9f:62:3b:53:57:71:9d:85:80:65:db:94:
42
- e4:7c:8d:7f:35:e3:c1:1c:4d:9d:0d:43:f9:ea:3f:1b:b0:0b:
43
- 73:fb:13:a8:20:fc:cb:56:ef:a4:45:42:a5:59:b0:46:57:16:
44
- 17:15:d3:dd:75:05:03:08:08:7f:e8:44:31:4d:e8:51:bc:fc:
45
- 44:05:e8:e9:49:aa:56:e2:ad:88:8b:92:cf:fc:90:21:8c:17:
46
- 4c:1b:ca:55:b5:cd:fb:7f:c8:eb:ef:41:91:7f:c5:7f:47:2e:
47
- 10:e8:0e:57:56:c4:1b:47:b3:66:cc:14:ea:de:4e:ab:b5:ad:
48
- 55:55:b8:78:95:b2:c4:05:8a:9c:90:f2:d4:7a:e7:16:42:d5:
49
- 0b:0f:45:af:83:85:37:bc:14:05:2e:10:b6:5e:58:e0:23:12:
50
- bb:08:35:4c
36
+ 8e:9a:81:0d:03:48:f4:ca:43:4a:c7:cb:ba:48:4a:41:dd:d3:
37
+ 9a:a9:22:38:56:03:6e:f7:b2:40:d4:b0:92:1f:63:23:ac:11:
38
+ de:e9:6c:42:6b:f0:5b:ac:18:8d:66:bd:e2:87:54:04:2b:74:
39
+ 67:33:ab:a8:aa:9f:ae:e0:47:ed:78:9f:df:98:e4:74:6e:00:
40
+ 2a:02:4d:a8:15:66:7b:1b:8c:99:40:f4:07:a0:1c:88:ad:28:
41
+ 6d:2f:5c:c8:ef:8c:a3:a0:e4:ec:7a:b2:48:bb:57:7a:65:3e:
42
+ ee:39:30:df:cd:dd:bf:8f:b0:17:ef:9a:fa:98:9e:6b:41:be:
43
+ 45:3b:8c:77:1f:73:70:74:de:21:e0:6d:4c:5d:6d:7b:bf:1a:
44
+ 9e:75:05:e5:29:f8:87:46:0d:cc:3a:5b:d1:f3:75:3c:f4:e0:
45
+ a6:18:34:3c:60:f2:4b:6d:03:43:90:7b:75:66:1a:d2:15:ee:
46
+ ba:21:0d:fe:7c:07:8a:95:55:3a:63:46:f2:c4:4f:d0:39:ce:
47
+ 78:bf:3f:bc:17:b7:0d:06:92:fe:b8:e8:0a:5d:6b:55:0c:f2:
48
+ d7:2e:24:04:39:4a:fa:00:dc:8f:b8:1a:f9:54:2c:cb:a9:22:
49
+ 11:d6:ca:b4:09:a7:6f:f3:66:c3:29:d6:24:d8:4d:0d:74:4b:
50
+ 32:7e:1c:04
51
51
  -----BEGIN CERTIFICATE-----
52
- MIIDcTCCAlmgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBhjELMAkGA1UEBhMCSU4x
53
- Cz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wSlcp9D
12
+ g66XTy472TytsZGM4c6phWLnhE5Ep3Yi5U2vTNYnzsZRw8Zw7+Qm4OdSMlp6g77X
13
+ uR5WhkcZh4QMyZOKw43ROJww6CC0qYuCZ9sNWhhhWVxqJqBLQnuea53x010ake/R
14
+ uEgSqnEKxg+sfvWAPWwfqQYDh1Xad13WQTEchyY0xgeF7o0hQl6PstaCyGGkG3eU
15
+ FbGumod2DNHfCCyWjVNPcQZtLc3KBL6FeuBEHEXimY2y9yEngyDi1DYi8hVVeWho
16
+ mAjeBVSsgYuoYp7n9ib46C5MUwjiTUrF37snyC4UQ6HP8NypcX68ifDl
17
+ -----END ENCRYPTED PRIVATE KEY-----
data/test/test_cg.rb ADDED
@@ -0,0 +1,36 @@
1
+ # Trisul Remote Protocol TRP Demo script
2
+ # Akhil.M & Dhinesh.K (c) 2010 Unleash Networks
3
+ # Testing change
4
+ require 'rubygems'
5
+
6
+ require './helper'
7
+ include TrisulRP::Protocol
8
+ include TrisulRP::Keys
9
+ include TrisulRP::Utils
10
+
11
+ class TestTrisulrp < Test::Unit::TestCase
12
+
13
+ def test_cg
14
+
15
+ target_guid = "{C51B48D4-7876-479E-B0D9-BD9EFF03CE2E}"
16
+
17
+ TrisulRP::Protocol.connect("127.0.0.1",12001,"Demo_Client.crt","Demo_Client.key") do |conn|
18
+
19
+ tmarr= TrisulRP::Protocol.get_available_time(conn)
20
+ req =TrisulRP::Protocol.mk_request(TRP::Message::Command::COUNTER_GROUP_REQUEST,
21
+ :counter_group => target_guid,
22
+ :time_interval => mk_time_interval(tmarr))
23
+
24
+ TrisulRP::Protocol.get_response(conn,req) do |resp|
25
+ p "Counter Group = #{resp.counter_group}"
26
+ p "Meter = #{resp.meter}"
27
+ resp.keys.each do |key|
28
+ p "Details = {Key=>#{key.key},Label=>#{key.label},Volume=>#{key.metric}"
29
+ end
30
+ end
31
+ end
32
+
33
+ end
34
+
35
+ end
36
+
data/trisulrp.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{trisulrp}
8
- s.version = "1.2.11"
8
+ s.version = "1.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["vivek"]
12
- s.date = %q{2011-03-08}
12
+ s.date = %q{2012-03-06}
13
13
  s.description = %q{This gem deals about the trisul remote protocol}
14
14
  s.email = %q{vivek_rajagopal@yahoo.com}
15
15
  s.extra_rdoc_files = [
@@ -37,6 +37,7 @@ Gem::Specification.new do |s|
37
37
  "test/helper.rb",
38
38
  "test/test_alerts.rb",
39
39
  "test/test_cap.rb",
40
+ "test/test_cg.rb",
40
41
  "test/test_grep.rb",
41
42
  "test/test_key.rb",
42
43
  "test/test_key_flows.rb",
@@ -55,6 +56,7 @@ Gem::Specification.new do |s|
55
56
  "test/helper.rb",
56
57
  "test/test_alerts.rb",
57
58
  "test/test_cap.rb",
59
+ "test/test_cg.rb",
58
60
  "test/test_grep.rb",
59
61
  "test/test_key.rb",
60
62
  "test/test_key_flows.rb",
@@ -67,14 +69,14 @@ Gem::Specification.new do |s|
67
69
  s.specification_version = 3
68
70
 
69
71
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
70
- s.add_runtime_dependency(%q<ruby-protocol-buffers>, [">= 0.8.5"])
72
+ s.add_runtime_dependency(%q<ruby-protocol-buffers>, [">= 0"])
71
73
  s.add_development_dependency(%q<shoulda>, [">= 0"])
72
74
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
73
75
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
74
76
  s.add_development_dependency(%q<rcov>, [">= 0"])
75
77
  s.add_runtime_dependency(%q<ruby-protocol-buffers>, [">= 0.8.5"])
76
78
  else
77
- s.add_dependency(%q<ruby-protocol-buffers>, [">= 0.8.5"])
79
+ s.add_dependency(%q<ruby-protocol-buffers>, [">= 0"])
78
80
  s.add_dependency(%q<shoulda>, [">= 0"])
79
81
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
80
82
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
@@ -82,7 +84,7 @@ Gem::Specification.new do |s|
82
84
  s.add_dependency(%q<ruby-protocol-buffers>, [">= 0.8.5"])
83
85
  end
84
86
  else
85
- s.add_dependency(%q<ruby-protocol-buffers>, [">= 0.8.5"])
87
+ s.add_dependency(%q<ruby-protocol-buffers>, [">= 0"])
86
88
  s.add_dependency(%q<shoulda>, [">= 0"])
87
89
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
88
90
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
+ - 4
7
8
  - 2
8
- - 11
9
- version: 1.2.11
9
+ version: 1.4.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - vivek
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-08 00:00:00 +05:30
17
+ date: 2012-03-06 00:00:00 +05:30
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -26,9 +26,7 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
28
  - 0
29
- - 8
30
- - 5
31
- version: 0.8.5
29
+ version: "0"
32
30
  type: :runtime
33
31
  prerelease: false
34
32
  version_requirements: *id001
@@ -133,6 +131,7 @@ files:
133
131
  - test/helper.rb
134
132
  - test/test_alerts.rb
135
133
  - test/test_cap.rb
134
+ - test/test_cg.rb
136
135
  - test/test_grep.rb
137
136
  - test/test_key.rb
138
137
  - test/test_key_flows.rb
@@ -153,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
152
  requirements:
154
153
  - - ">="
155
154
  - !ruby/object:Gem::Version
156
- hash: -671012269
155
+ hash: 253128015
157
156
  segments:
158
157
  - 0
159
158
  version: "0"
@@ -178,6 +177,7 @@ test_files:
178
177
  - test/helper.rb
179
178
  - test/test_alerts.rb
180
179
  - test/test_cap.rb
180
+ - test/test_cg.rb
181
181
  - test/test_grep.rb
182
182
  - test/test_key.rb
183
183
  - test/test_key_flows.rb