trisulrp 3.2.39 → 3.2.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5863ffee309bffc8f054f19f25a02d2803533517fefe53eb1dde66afcdcdd01
4
- data.tar.gz: 50a124a5d47ccdcc0332a443368a3d77d4e25f9cf2a96d0fdf1fa7ee02beb0a5
3
+ metadata.gz: d4c55e949893c95fb96c1d41ebfd1002c3bec106e5167719f29f54690e3869b1
4
+ data.tar.gz: a73c0661f11418e344710ae578d41ee19a55d9950a63ed669bf2aa8a88ce2897
5
5
  SHA512:
6
- metadata.gz: ce9b0b1161d2af572e3f0bdac07c3d2d71c7a7d8024e3846d19aa0afe7cede75d917712244d414ad5c4ff5a0f11393539678a10470edb3f52f491dec81283939
7
- data.tar.gz: 3713aaae54eba9f3b1105f9637109b187327e7ff88ce5eaf8bf64320b2519d5cfd5e49c90fcbc5388cd7db0e36c6fb820a0fc171a108f7a2c016c262526127ca
6
+ metadata.gz: 74895b5f748ff780385ae844173bade0f7adcf52f9e791646f295b2613f86c780ae08809131c766b462d7d56477a81ef0c922c9c522c8e4cbb44552f671935eb
7
+ data.tar.gz: 3de5a005bc95533c9ad1fd86d9ec1b046164d9612a2340469532a6eba3b0fbb2803405f1ace37f635ac324c3e5c11dc5b00065ec636e5996e090b9bb7f6ab7ee
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.39
1
+ 3.2.41
@@ -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
@@ -226,11 +228,13 @@ module TRP
226
228
  define :ST_ALERT, 1
227
229
  define :ST_FLOW, 2
228
230
  define :ST_TOPPER, 3
231
+ define :ST_ALL, 4
229
232
  end
230
233
 
231
234
  class CtlType < ::Protobuf::Enum
232
235
  define :CT_SUBSCRIBE, 0
233
236
  define :CT_UNSUBSCRIBE, 1
237
+ define :CT_CLEARALL, 2
234
238
  end
235
239
 
236
240
  end
@@ -317,6 +321,8 @@ module TRP
317
321
  end
318
322
 
319
323
  class RunToolResponse < ::Protobuf::Message; end
324
+ class DDosReportRequest < ::Protobuf::Message; end
325
+ class DDosReportResponse < ::Protobuf::Message; end
320
326
 
321
327
 
322
328
  ##
@@ -574,6 +580,8 @@ module TRP
574
580
  optional ::TRP::HAControlResponse, :ha_control_response, 151
575
581
  optional ::TRP::ToolInfoRequest, :tool_info_request, 152
576
582
  optional ::TRP::ToolInfoResponse, :tool_info_response, 153
583
+ optional ::TRP::DDosReportRequest, :ddos_report_request, 154
584
+ optional ::TRP::DDosReportResponse, :ddos_report_response, 155
577
585
  optional :string, :destination_node, 200
578
586
  optional :string, :probe_id, 201
579
587
  optional :bool, :run_async, 202
@@ -758,6 +766,7 @@ module TRP
758
766
  repeated ::TRP::AggregateSessionsResponse::KeyTCount, :internal_ip, 19
759
767
  repeated ::TRP::AggregateSessionsResponse::KeyTCount, :external_ip, 20
760
768
  repeated ::TRP::AggregateSessionsResponse::TagGroup, :tag_group, 21
769
+ repeated ::TRP::AggregateSessionsResponse::KeyTCount, :conversation, 22
761
770
  end
762
771
 
763
772
  class UpdateKeyRequest
@@ -1271,5 +1280,27 @@ module TRP
1271
1280
  optional :string, :tool_output, 2
1272
1281
  end
1273
1282
 
1283
+ class DDosReportRequest
1284
+ required :string, :context_name, 1
1285
+ required :string, :report_name, 2
1286
+ optional :bool, :get_aggregations, 3
1287
+ optional :bool, :get_raw_flows, 4
1288
+ end
1289
+
1290
+ class DDosReportResponse
1291
+ required :string, :context_name, 1
1292
+ optional :string, :agg_router, 2
1293
+ optional :string, :agg_source_ip, 3
1294
+ optional :string, :agg_source_port, 4
1295
+ optional :string, :agg_source_protocol_port, 5
1296
+ optional :string, :agg_dest_ip, 6
1297
+ optional :string, :agg_dest_port, 7
1298
+ optional :string, :agg_protocol, 8
1299
+ optional :string, :agg_source_as, 9
1300
+ optional :string, :agg_dest_as, 10
1301
+ optional :string, :agg_if_in, 11
1302
+ optional :string, :agg_if_out, 12
1303
+ end
1304
+
1274
1305
  end
1275
1306
 
@@ -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
 
@@ -856,12 +861,14 @@ message SubscribeCtl {
856
861
  ST_ALERT=1;
857
862
  ST_FLOW=2;
858
863
  ST_TOPPER=3;
864
+ ST_ALL=4;
859
865
  }
860
866
 
861
867
  enum CtlType
862
868
  {
863
869
  CT_SUBSCRIBE=0;
864
870
  CT_UNSUBSCRIBE=1;
871
+ CT_CLEARALL=2;
865
872
  }
866
873
 
867
874
  required string context_name=1;
@@ -1365,3 +1372,29 @@ message RunToolResponse {
1365
1372
  optional string tool_output=2; /// cmd lines
1366
1373
  }
1367
1374
 
1375
+ /// DDosReportRequest : request DDOS report
1376
+ message DDosReportRequest {
1377
+ required string context_name=1; /// if not set all context get in
1378
+ required string report_name=2; /// which of these tools you want to run on node
1379
+ optional bool get_aggregations=3;
1380
+ optional bool get_raw_flows=4;
1381
+ }
1382
+
1383
+ /// DDosReportResponse
1384
+ message DDosReportResponse {
1385
+ required string context_name=1; /// if not set all context get in
1386
+
1387
+ optional string agg_router=2;
1388
+ optional string agg_source_ip=3;
1389
+ optional string agg_source_port=4;
1390
+ optional string agg_source_protocol_port=5;
1391
+ optional string agg_dest_ip=6;
1392
+ optional string agg_dest_port=7;
1393
+ optional string agg_protocol=8;
1394
+ optional string agg_source_as=9;
1395
+ optional string agg_dest_as=10;
1396
+ optional string agg_if_in=11;
1397
+ optional string agg_if_out=12;
1398
+
1399
+ }
1400
+
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.41 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.41"
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-06-06"
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.41
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-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protobuf