trisulrp 3.2.6 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec6459fab014c77c8e4b04f2ed3ea824105a072f
4
- data.tar.gz: 7d29e381ff4e9986c1238c1368a2896fb82562c6
3
+ metadata.gz: fbf90b4511b00deb1a6b0961f2f7703f6615c8df
4
+ data.tar.gz: 965ffcff041dd20dabab129a6a01bdc2764b67e8
5
5
  SHA512:
6
- metadata.gz: ddea5ad6b5693fc9f77979751fbd9191e853b8b39f24371fb42ff2259efcb0ad29eb0935a1cdc668f91299bc119a63e636c1f1c40718b34d6234ff0a947b8c39
7
- data.tar.gz: 44ee2214f588aaa4f0347cb815258b5734a0a9cc8f79e74df547ca53c8bc26133313330b9f907d7380176db670fba1b1f550314c37e35308af2d8a8636b776f6
6
+ metadata.gz: 5964e44c84a06a2b21c64fe1265aa6a709d0ce3b3b3522de9eb3ccc95b5a5426a40d07eeba1a884c528b148e30e72fef342a4a7a95548fe40053b36593bd3bd1
7
+ data.tar.gz: 0301d0f32c0f079d735929f4d7de2dc03c463b068fc5d05c92e62c7f60678e0fd819212921cc60526bd4cf277dc4ad12a5f952fd7bef5f15f6cd842ada914c0e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.6
1
+ 3.2.7
@@ -686,11 +686,13 @@ module TRP
686
686
  optional :int64, :maxitems, 4, :default => 100
687
687
  repeated ::TRP::KeySpaceRequest::KeySpace, :spaces, 5
688
688
  optional :bool, :resolve_keys, 6, :default => true
689
+ optional :bool, :totals_only, 7, :default => false
689
690
  end
690
691
 
691
692
  class KeySpaceResponse
692
693
  optional :string, :counter_group, 2
693
694
  repeated ::TRP::KeyT, :hits, 3
695
+ optional :int64, :total_hits, 4
694
696
  end
695
697
 
696
698
  class TopperTrendRequest
@@ -888,7 +890,7 @@ module TRP
888
890
  class ContextStartRequest
889
891
  required :string, :context_name, 1
890
892
  optional :string, :mode, 2
891
- optional :bool, :background, 3
893
+ optional :bool, :background, 3, :default => true
892
894
  optional :string, :pcap_path, 4
893
895
  optional :string, :run_tool, 5
894
896
  optional :string, :tool_ids_config, 6
@@ -660,14 +660,16 @@ message KeySpaceRequest {
660
660
  required KeyT to_key=2; /// end of key space
661
661
  }
662
662
 
663
- repeated KeySpace spaces=5;
664
- optional bool resolve_keys=6[default=true];
663
+ repeated KeySpace spaces=5; /// space1 OR space2 OR ..
664
+ optional bool resolve_keys=6[default=true]; /// resolve names
665
+ optional bool totals_only=7[default=false]; /// if set, only totals returned
665
666
  }
666
667
 
667
668
  /// KeySpaceResponse
668
669
  message KeySpaceResponse {
669
- optional string counter_group=2;
670
+ optional string counter_group=2; /// counter group
670
671
  repeated KeyT hits=3; /// array of keys in the requested space
672
+ optional int64 total_hits=4; /// if totals_only() this contains total(hits)
671
673
  }
672
674
 
673
675
  /// TopperTrendRequest - raw top-K at each topper snapshot interval
@@ -938,7 +940,7 @@ message ContextDeleteRequest {
938
940
  message ContextStartRequest {
939
941
  required string context_name=1; /// if not set all context get in
940
942
  optional string mode=2; /// same as trisul cmdline run mode
941
- optional bool background=3;
943
+ optional bool background=3[default=true];
942
944
  optional string pcap_path=4;
943
945
  optional string run_tool=5; /// snort, suricata supported..
944
946
  optional string tool_ids_config=6;
data/trisulrp.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: trisulrp 3.2.6 ruby lib
5
+ # stub: trisulrp 3.2.7 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trisulrp"
9
- s.version = "3.2.6"
9
+ s.version = "3.2.7"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["vivek"]
14
- s.date = "2018-01-15"
14
+ s.date = "2018-02-21"
15
15
  s.description = "This gem deals about the trisul remote protocol"
16
16
  s.email = "vivek_rajagopal@yahoo.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trisulrp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-15 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protobuf