trisulrp 3.2.38 → 3.2.40

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
  SHA256:
3
- metadata.gz: 7e81690eb6b433a050665549085082162302ece44c4aa05d19f9fba056cade77
4
- data.tar.gz: bbfde53d99a37693a2a84e62e37e408ddb7cc281eba4249bf5ab02600e0ec520
3
+ metadata.gz: 868b779b7deba6a8c9c239690d34adcb912360a4fb43a6fe62d8b5b32347eda4
4
+ data.tar.gz: 9805b8f51ec05d6e9842c46e08f08dae46724161e1f6f3d918693d0cd7fe845f
5
5
  SHA512:
6
- metadata.gz: 491e526f359cccff90fb803e0b09834e8905ec57a9cdb2c7707e25335dafd3c59d1a76740f75ddd57b1028b100a54647eed61ace93d909e1c67c41b8a88642fd
7
- data.tar.gz: d9dce46c4dabe46edcda67459064ce0e12e54f152b8bbbf6786360edca0094e8ff399ab6166e215d4970c7873e0eb120597e9cf5e3eb3ae93ad4bae6ab49bfca
6
+ metadata.gz: 43438f61a4dec68e321c1b29973f97d0e26ba47202993f230e3202f8057f84866c97944902914ddd9745ed2fd76f0a671dc5a9cfd7ecc31e76cf1e33f5bb1a97
7
+ data.tar.gz: 8b1c4551276d46bc357606e73b0c30ed46e30f68df7f69e053b932ab40c334063c4eae662d4dc5db69701b312fa1d2cac4006125f4fc3166b4afb4fc13a39123
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.38
1
+ 3.2.40
@@ -174,6 +174,8 @@ module TRP
174
174
  define :DOMAIN_PING, 142
175
175
  define :TOOL_INFO_REQUEST, 143
176
176
  define :TOOL_INFO_RESPONSE, 144
177
+ define :DDOS_REPORT_REQUEST, 153
178
+ define :DDOS_REPORT_RESPONSE, 154
177
179
  end
178
180
 
179
181
  end
@@ -317,6 +319,8 @@ module TRP
317
319
  end
318
320
 
319
321
  class RunToolResponse < ::Protobuf::Message; end
322
+ class DDosReportRequest < ::Protobuf::Message; end
323
+ class DDosReportResponse < ::Protobuf::Message; end
320
324
 
321
325
 
322
326
  ##
@@ -574,6 +578,8 @@ module TRP
574
578
  optional ::TRP::HAControlResponse, :ha_control_response, 151
575
579
  optional ::TRP::ToolInfoRequest, :tool_info_request, 152
576
580
  optional ::TRP::ToolInfoResponse, :tool_info_response, 153
581
+ optional ::TRP::DDosReportRequest, :ddos_report_request, 154
582
+ optional ::TRP::DDosReportResponse, :ddos_report_response, 155
577
583
  optional :string, :destination_node, 200
578
584
  optional :string, :probe_id, 201
579
585
  optional :bool, :run_async, 202
@@ -623,6 +629,7 @@ module TRP
623
629
  optional ::TRP::StatsArray, :minimums, 6
624
630
  optional ::TRP::StatsArray, :samples, 8
625
631
  optional ::TRP::StatsArray, :percentiles, 9
632
+ optional ::TRP::StatsArray, :latests, 10
626
633
  end
627
634
 
628
635
  class CounterGroupTopperRequest
@@ -757,6 +764,7 @@ module TRP
757
764
  repeated ::TRP::AggregateSessionsResponse::KeyTCount, :internal_ip, 19
758
765
  repeated ::TRP::AggregateSessionsResponse::KeyTCount, :external_ip, 20
759
766
  repeated ::TRP::AggregateSessionsResponse::TagGroup, :tag_group, 21
767
+ repeated ::TRP::AggregateSessionsResponse::KeyTCount, :conversation, 22
760
768
  end
761
769
 
762
770
  class UpdateKeyRequest
@@ -1270,5 +1278,27 @@ module TRP
1270
1278
  optional :string, :tool_output, 2
1271
1279
  end
1272
1280
 
1281
+ class DDosReportRequest
1282
+ required :string, :context_name, 1
1283
+ required :string, :report_name, 2
1284
+ optional :bool, :get_aggregations, 3
1285
+ optional :bool, :get_raw_flows, 4
1286
+ end
1287
+
1288
+ class DDosReportResponse
1289
+ required :string, :context_name, 1
1290
+ optional :string, :agg_router, 2
1291
+ optional :string, :agg_source_ip, 3
1292
+ optional :string, :agg_source_port, 4
1293
+ optional :string, :agg_source_protocol_port, 5
1294
+ optional :string, :agg_dest_ip, 6
1295
+ optional :string, :agg_dest_port, 7
1296
+ optional :string, :agg_protocol, 8
1297
+ optional :string, :agg_source_as, 9
1298
+ optional :string, :agg_dest_as, 10
1299
+ optional :string, :agg_if_in, 11
1300
+ optional :string, :agg_if_out, 12
1301
+ end
1302
+
1273
1303
  end
1274
1304
 
@@ -372,6 +372,8 @@ message Message {
372
372
  DOMAIN_PING=142;
373
373
  TOOL_INFO_REQUEST=143;
374
374
  TOOL_INFO_RESPONSE=144;
375
+ DDOS_REPORT_REQUEST=153;
376
+ DDOS_REPORT_RESPONSE=154;
375
377
 
376
378
  }
377
379
 
@@ -446,6 +448,8 @@ message Message {
446
448
  optional HAControlResponse ha_control_response=151;
447
449
  optional ToolInfoRequest tool_info_request=152;
448
450
  optional ToolInfoResponse tool_info_response=153;
451
+ optional DDosReportRequest ddos_report_request=154;
452
+ optional DDosReportResponse ddos_report_response=155;
449
453
  optional string destination_node=200; // todo move 2nd
450
454
  optional string probe_id=201; // todo move 3rd
451
455
  optional bool run_async=202; /// if run_async = true, then you will immediately get a AsynResponse with a token you can poll
@@ -514,6 +518,7 @@ message CounterItemResponse{
514
518
  optional StatsArray minimums=6; /// if volumes_only = 1 this contains MIN(..)
515
519
  optional StatsArray samples=8; /// if volumes_only = 1 this contains SAMPLES(..)
516
520
  optional StatsArray percentiles=9; /// if get_percentile > 0 this contains PERCENTILE(..) stream approx
521
+ optional StatsArray latests=10; /// if volumes_only = 1 this contains LATEST(..)
517
522
  }
518
523
 
519
524
 
@@ -672,6 +677,7 @@ message AggregateSessionsResponse {
672
677
  repeated KeyTCount internal_ip=19; /// internal IPs
673
678
  repeated KeyTCount external_ip=20; /// external IPs
674
679
  repeated TagGroup tag_group=21; /// tag groups
680
+ repeated KeyTCount conversation=22; /// conversation
675
681
  }
676
682
 
677
683
 
@@ -1364,3 +1370,29 @@ message RunToolResponse {
1364
1370
  optional string tool_output=2; /// cmd lines
1365
1371
  }
1366
1372
 
1373
+ /// DDosReportRequest : request DDOS report
1374
+ message DDosReportRequest {
1375
+ required string context_name=1; /// if not set all context get in
1376
+ required string report_name=2; /// which of these tools you want to run on node
1377
+ optional bool get_aggregations=3;
1378
+ optional bool get_raw_flows=4;
1379
+ }
1380
+
1381
+ /// DDosReportResponse
1382
+ message DDosReportResponse {
1383
+ required string context_name=1; /// if not set all context get in
1384
+
1385
+ optional string agg_router=2;
1386
+ optional string agg_source_ip=3;
1387
+ optional string agg_source_port=4;
1388
+ optional string agg_source_protocol_port=5;
1389
+ optional string agg_dest_ip=6;
1390
+ optional string agg_dest_port=7;
1391
+ optional string agg_protocol=8;
1392
+ optional string agg_source_as=9;
1393
+ optional string agg_dest_as=10;
1394
+ optional string agg_if_in=11;
1395
+ optional string agg_if_out=12;
1396
+
1397
+ }
1398
+
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.38 ruby lib
5
+ # stub: trisulrp 3.2.40 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trisulrp".freeze
9
- s.version = "3.2.38"
9
+ s.version = "3.2.40"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["vivek".freeze]
14
- s.date = "2022-06-14"
14
+ s.date = "2023-02-08"
15
15
  s.description = "This gem deals about the trisul remote protocol".freeze
16
16
  s.email = "vivek_rajagopal@yahoo.com".freeze
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.38
4
+ version: 3.2.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-14 00:00:00.000000000 Z
11
+ date: 2023-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protobuf