trisulrp 3.2.39 → 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: c5863ffee309bffc8f054f19f25a02d2803533517fefe53eb1dde66afcdcdd01
4
- data.tar.gz: 50a124a5d47ccdcc0332a443368a3d77d4e25f9cf2a96d0fdf1fa7ee02beb0a5
3
+ metadata.gz: 868b779b7deba6a8c9c239690d34adcb912360a4fb43a6fe62d8b5b32347eda4
4
+ data.tar.gz: 9805b8f51ec05d6e9842c46e08f08dae46724161e1f6f3d918693d0cd7fe845f
5
5
  SHA512:
6
- metadata.gz: ce9b0b1161d2af572e3f0bdac07c3d2d71c7a7d8024e3846d19aa0afe7cede75d917712244d414ad5c4ff5a0f11393539678a10470edb3f52f491dec81283939
7
- data.tar.gz: 3713aaae54eba9f3b1105f9637109b187327e7ff88ce5eaf8bf64320b2519d5cfd5e49c90fcbc5388cd7db0e36c6fb820a0fc171a108f7a2c016c262526127ca
6
+ metadata.gz: 43438f61a4dec68e321c1b29973f97d0e26ba47202993f230e3202f8057f84866c97944902914ddd9745ed2fd76f0a671dc5a9cfd7ecc31e76cf1e33f5bb1a97
7
+ data.tar.gz: 8b1c4551276d46bc357606e73b0c30ed46e30f68df7f69e053b932ab40c334063c4eae662d4dc5db69701b312fa1d2cac4006125f4fc3166b4afb4fc13a39123
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.39
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
@@ -758,6 +764,7 @@ module TRP
758
764
  repeated ::TRP::AggregateSessionsResponse::KeyTCount, :internal_ip, 19
759
765
  repeated ::TRP::AggregateSessionsResponse::KeyTCount, :external_ip, 20
760
766
  repeated ::TRP::AggregateSessionsResponse::TagGroup, :tag_group, 21
767
+ repeated ::TRP::AggregateSessionsResponse::KeyTCount, :conversation, 22
761
768
  end
762
769
 
763
770
  class UpdateKeyRequest
@@ -1271,5 +1278,27 @@ module TRP
1271
1278
  optional :string, :tool_output, 2
1272
1279
  end
1273
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
+
1274
1303
  end
1275
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
@@ -673,6 +677,7 @@ message AggregateSessionsResponse {
673
677
  repeated KeyTCount internal_ip=19; /// internal IPs
674
678
  repeated KeyTCount external_ip=20; /// external IPs
675
679
  repeated TagGroup tag_group=21; /// tag groups
680
+ repeated KeyTCount conversation=22; /// conversation
676
681
  }
677
682
 
678
683
 
@@ -1365,3 +1370,29 @@ message RunToolResponse {
1365
1370
  optional string tool_output=2; /// cmd lines
1366
1371
  }
1367
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.39 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.39"
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-10-07"
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.39
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-10-07 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