logstash-codec-netflow 4.2.1 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTORS +2 -1
- data/LICENSE +199 -10
- data/README.md +1 -1
- data/lib/logstash/codecs/netflow/ipfix.yaml +138 -2
- data/lib/logstash/codecs/netflow.rb +7 -4
- data/logstash-codec-netflow.gemspec +3 -1
- data/spec/codecs/netflow_spec.rb +0 -2
- metadata +190 -177
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 44a4360fe38904bcf752af4e42ed4224fbf9c6fffc7c344809f099a5b0e4a213
|
4
|
+
data.tar.gz: 9924b95954c9080fd4a0837218cb161b7914527f51678e230551922b457c06f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 217326f435859d4eeb4fb27b5b6b04693510e5394dc7ce5b8d23406ddb19b5498306b28e8d6451e93c47bbb29c5b15c58d042aa3715bacff7338133d95cc2ccc
|
7
|
+
data.tar.gz: 22edde29971b3d624ef43c7bba6e80f62cdc899a3df4aab23fc0009991e9437dec43575975c29c3ebefb8363abe82cfad46a115b5a039c368069ff197945a2b8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 4.3.0
|
2
|
+
- Added Gigamon ipfix definitions [#199](https://github.com/logstash-plugins/logstash-codec-netflow/pull/199)
|
3
|
+
|
4
|
+
## 4.2.2
|
5
|
+
- Feat: leverage event_factory support [#195](https://github.com/logstash-plugins/logstash-codec-netflow/pull/195)
|
6
|
+
- Test: remove redundant asserts (to get the CI green)
|
7
|
+
|
1
8
|
## 4.2.1
|
2
9
|
|
3
10
|
- Fix sub-second timestamp math
|
data/CONTRIBUTORS
CHANGED
@@ -18,6 +18,7 @@ Contributors:
|
|
18
18
|
* Jason Liu (JasonLZJ)
|
19
19
|
* James Park-Watt (jimmypw)
|
20
20
|
* Jason Keller (jasonkeller)
|
21
|
+
* Jayme Johnston
|
21
22
|
* Jeremy Foran (jeremyforan)
|
22
23
|
* Jordan Sissel (jordansissel)
|
23
24
|
* Jorrit Folmer (jorritfolmer)
|
@@ -53,7 +54,7 @@ Contributors:
|
|
53
54
|
* zwirk
|
54
55
|
|
55
56
|
Maintainer:
|
56
|
-
*
|
57
|
+
* -
|
57
58
|
|
58
59
|
Note: If you've sent us patches, bug reports, or otherwise contributed to
|
59
60
|
Logstash, and you aren't on the list above and want to be, please let us know
|
data/LICENSE
CHANGED
@@ -1,13 +1,202 @@
|
|
1
|
-
Copyright (c) 2012-2018 Elasticsearch <http://www.elastic.co>
|
2
1
|
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
6
5
|
|
7
|
-
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright 2020 Elastic and contributors
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
|
-
[![Travis Build Status](https://travis-ci.
|
3
|
+
[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-codec-netflow.svg)](https://travis-ci.com/logstash-plugins/logstash-codec-netflow)
|
4
4
|
|
5
5
|
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
6
6
|
|
@@ -3631,8 +3631,7 @@
|
|
3631
3631
|
4321:
|
3632
3632
|
- :uint64
|
3633
3633
|
- :viptelaVPNId
|
3634
|
-
# List below taken from Procera PacketLogic product guide 15.1 - Not publicly available
|
3635
|
-
# Further updates / additional fields may be present with versions 16/17+
|
3634
|
+
# List below taken from Procera PacketLogic product guide 15.1 and 20.30 - Not publicly available
|
3636
3635
|
15397:
|
3637
3636
|
1:
|
3638
3637
|
- :string
|
@@ -3769,6 +3768,69 @@
|
|
3769
3768
|
47:
|
3770
3769
|
- :string
|
3771
3770
|
- :proceraTemplateName
|
3771
|
+
49:
|
3772
|
+
- :uint8
|
3773
|
+
- :proceraIncomingDscp
|
3774
|
+
50:
|
3775
|
+
- :uint8
|
3776
|
+
- :proceraOutgoingDscp
|
3777
|
+
51:
|
3778
|
+
- :uint16
|
3779
|
+
- :proceraIncomingDot1qVlanIdLevel1
|
3780
|
+
52:
|
3781
|
+
- :uint16
|
3782
|
+
- :proceraIncomingDot1qVlanIdLevel2
|
3783
|
+
53:
|
3784
|
+
- :uint16
|
3785
|
+
- :proceraIncomingDot1qVlanIdLevel3
|
3786
|
+
54:
|
3787
|
+
- :uint16
|
3788
|
+
- :proceraIncomingDot1qVlanIdLevel4
|
3789
|
+
55:
|
3790
|
+
- :uint16
|
3791
|
+
- :proceraOutgoingDot1qVlanIdLevel1
|
3792
|
+
56:
|
3793
|
+
- :uint16
|
3794
|
+
- :proceraOutgoingDot1qVlanIdLevel2
|
3795
|
+
57:
|
3796
|
+
- :uint16
|
3797
|
+
- :proceraOutgoingDot1qVlanIdLevel3
|
3798
|
+
58:
|
3799
|
+
- :uint16
|
3800
|
+
- :proceraOutgoingDot1qVlanIdLevel4
|
3801
|
+
59:
|
3802
|
+
- :int8
|
3803
|
+
- :proceraIncomingDot1qPriorityLevel1
|
3804
|
+
60:
|
3805
|
+
- :int8
|
3806
|
+
- :proceraIncomingDot1qPriorityLevel2
|
3807
|
+
61:
|
3808
|
+
- :int8
|
3809
|
+
- :proceraIncomingDot1qPriorityLevel3
|
3810
|
+
62:
|
3811
|
+
- :int8
|
3812
|
+
- :proceraIncomingDot1qPriorityLevel4
|
3813
|
+
63:
|
3814
|
+
- :int8
|
3815
|
+
- :proceraOutgoingDot1qPriorityLevel1
|
3816
|
+
64:
|
3817
|
+
- :int8
|
3818
|
+
- :proceraOutgoingDot1qPriorityLevel2
|
3819
|
+
65:
|
3820
|
+
- :int8
|
3821
|
+
- :proceraOutgoingDot1qPriorityLevel3
|
3822
|
+
66:
|
3823
|
+
- :int8
|
3824
|
+
- :proceraOutgoingDot1qPriorityLevel4
|
3825
|
+
67:
|
3826
|
+
- :int32
|
3827
|
+
- :proceraInternalJitter
|
3828
|
+
69:
|
3829
|
+
- :string
|
3830
|
+
- :proceraServiceObject
|
3831
|
+
70:
|
3832
|
+
- :string
|
3833
|
+
- :proceraRemoteGeoIP
|
3772
3834
|
10704:
|
3773
3835
|
1:
|
3774
3836
|
- :uint32
|
@@ -3962,3 +4024,77 @@
|
|
3962
4024
|
194:
|
3963
4025
|
- :ip4_addr
|
3964
4026
|
- :ixiaThreatIPv6
|
4027
|
+
# Gigamon (26866)
|
4028
|
+
26866:
|
4029
|
+
106:
|
4030
|
+
- :string
|
4031
|
+
- :ssl_validity_not_after
|
4032
|
+
2531:
|
4033
|
+
- :uint32
|
4034
|
+
- :ssl_server_hello_extension_type
|
4035
|
+
2532:
|
4036
|
+
- :uint32
|
4037
|
+
- :ssl_request_size
|
4038
|
+
2533:
|
4039
|
+
- :uint32
|
4040
|
+
- :ssl_handshake_type
|
4041
|
+
2535:
|
4042
|
+
- :uint32
|
4043
|
+
- :ssl_client_hello_extension_type
|
4044
|
+
101:
|
4045
|
+
- :string
|
4046
|
+
- :ssl_common_name
|
4047
|
+
112:
|
4048
|
+
- :string
|
4049
|
+
- :ssl_server_name
|
4050
|
+
107:
|
4051
|
+
- :string
|
4052
|
+
- :ssl_serial_number
|
4053
|
+
105:
|
4054
|
+
- :string
|
4055
|
+
- :ssl_validity_not_before
|
4056
|
+
2548:
|
4057
|
+
- :string
|
4058
|
+
- :ssl_server_name_raw
|
4059
|
+
2539:
|
4060
|
+
- :string
|
4061
|
+
- :ssl_server_name_raw
|
4062
|
+
2545:
|
4063
|
+
- :string
|
4064
|
+
- :ssl_issuer
|
4065
|
+
2228:
|
4066
|
+
- :string
|
4067
|
+
- :http2_header_raw
|
4068
|
+
2238:
|
4069
|
+
- :string
|
4070
|
+
- :http2_mime_type
|
4071
|
+
2237:
|
4072
|
+
- :string
|
4073
|
+
- :http2_method
|
4074
|
+
2250:
|
4075
|
+
- :string
|
4076
|
+
- :http2_user_agent
|
4077
|
+
2250:
|
4078
|
+
- :string
|
4079
|
+
- :http2_user_agent
|
4080
|
+
4676:
|
4081
|
+
- :string
|
4082
|
+
- :http_host
|
4083
|
+
1958:
|
4084
|
+
- :string
|
4085
|
+
- :dns_query
|
4086
|
+
4681:
|
4087
|
+
- :string
|
4088
|
+
- :http_uri_raw
|
4089
|
+
4745:
|
4090
|
+
- :string
|
4091
|
+
- :http_uri
|
4092
|
+
4721:
|
4093
|
+
- :string
|
4094
|
+
- :http_uri_full
|
4095
|
+
3:
|
4096
|
+
- :string
|
4097
|
+
- :http_user_agent
|
4098
|
+
4702:
|
4099
|
+
- :string
|
4100
|
+
- :http_server_agent
|
@@ -5,9 +5,12 @@ require "logstash/timestamp"
|
|
5
5
|
#require "logstash/json"
|
6
6
|
require "json"
|
7
7
|
|
8
|
-
|
8
|
+
require 'logstash/plugin_mixins/event_support/event_factory_adapter'
|
9
9
|
|
10
10
|
class LogStash::Codecs::Netflow < LogStash::Codecs::Base
|
11
|
+
|
12
|
+
include LogStash::PluginMixins::EventSupport::EventFactoryAdapter
|
13
|
+
|
11
14
|
config_name "netflow"
|
12
15
|
|
13
16
|
# Netflow v9/v10 template cache TTL (minutes)
|
@@ -147,7 +150,7 @@ class LogStash::Codecs::Netflow < LogStash::Codecs::Base
|
|
147
150
|
end
|
148
151
|
end
|
149
152
|
|
150
|
-
|
153
|
+
event_factory.new_event(event)
|
151
154
|
rescue BinData::ValidityError, IOError => e
|
152
155
|
@logger.warn("Invalid netflow packet received (#{e})")
|
153
156
|
end
|
@@ -269,7 +272,7 @@ class LogStash::Codecs::Netflow < LogStash::Codecs::Base
|
|
269
272
|
end
|
270
273
|
end
|
271
274
|
|
272
|
-
events <<
|
275
|
+
events << event_factory.new_event(event)
|
273
276
|
flowcounter += 1
|
274
277
|
end
|
275
278
|
else
|
@@ -355,7 +358,7 @@ class LogStash::Codecs::Netflow < LogStash::Codecs::Base
|
|
355
358
|
end
|
356
359
|
end
|
357
360
|
|
358
|
-
events <<
|
361
|
+
events << event_factory.new_event(event)
|
359
362
|
end
|
360
363
|
else
|
361
364
|
@logger.warn("Unsupported flowset id #{record.flowset_id}")
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-codec-netflow'
|
4
|
-
s.version = '4.
|
4
|
+
s.version = '4.3.0'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Reads Netflow v5, Netflow v9 and IPFIX data"
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
@@ -21,6 +21,8 @@ Gem::Specification.new do |s|
|
|
21
21
|
|
22
22
|
# Gem dependencies
|
23
23
|
s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
|
24
|
+
s.add_runtime_dependency 'logstash-mixin-event_support', '~> 1.0'
|
25
|
+
|
24
26
|
s.add_runtime_dependency 'bindata', ['>= 1.5.0']
|
25
27
|
s.add_development_dependency 'logstash-devutils', ['>= 1.0.0']
|
26
28
|
end
|
data/spec/codecs/netflow_spec.rb
CHANGED
@@ -3054,8 +3054,6 @@ describe LogStash::Codecs::Netflow, 'missing templates, no template caching conf
|
|
3054
3054
|
|
3055
3055
|
it "can not / should not decode any data" do
|
3056
3056
|
expect(decode.size).to eq(0)
|
3057
|
-
expect{decode[0].get("[netflow][version]")}.to raise_error(NoMethodError, /undefined method .get. for nil:NilClass/)
|
3058
|
-
expect{JSON.parse(decode[0].to_json)}.to raise_error(JSON::ParserError)
|
3059
3057
|
end
|
3060
3058
|
|
3061
3059
|
it "should report missing templates" do
|
metadata
CHANGED
@@ -1,55 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-codec-netflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: logstash-core-plugin-api
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- - ~>
|
16
|
+
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: '2.0'
|
20
|
-
|
19
|
+
name: logstash-core-plugin-api
|
21
20
|
prerelease: false
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: bindata
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
32
|
+
version: '1.0'
|
33
|
+
name: logstash-mixin-event_support
|
34
|
+
prerelease: false
|
34
35
|
type: :runtime
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.5.0
|
47
|
+
name: bindata
|
35
48
|
prerelease: false
|
49
|
+
type: :runtime
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- -
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: 1.5.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: logstash-devutils
|
43
56
|
requirement: !ruby/object:Gem::Requirement
|
44
57
|
requirements:
|
45
|
-
- -
|
58
|
+
- - ">="
|
46
59
|
- !ruby/object:Gem::Version
|
47
60
|
version: 1.0.0
|
48
|
-
|
61
|
+
name: logstash-devutils
|
49
62
|
prerelease: false
|
63
|
+
type: :development
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: 1.0.0
|
55
69
|
description: This gem is a Logstash plugin required to be installed on top of the
|
@@ -60,48 +74,78 @@ executables: []
|
|
60
74
|
extensions: []
|
61
75
|
extra_rdoc_files: []
|
62
76
|
files:
|
77
|
+
- CHANGELOG.md
|
78
|
+
- CONTRIBUTORS
|
79
|
+
- Gemfile
|
80
|
+
- LICENSE
|
81
|
+
- NOTICE.TXT
|
82
|
+
- README.md
|
83
|
+
- RFC_COMPLIANCE_IPFIX.md
|
84
|
+
- RFC_COMPLIANCE_NETFLOW_v9.md
|
85
|
+
- docs/index.asciidoc
|
86
|
+
- lib/logstash/codecs/netflow.rb
|
63
87
|
- lib/logstash/codecs/netflow/iana2yaml.rb
|
88
|
+
- lib/logstash/codecs/netflow/ipfix.yaml
|
64
89
|
- lib/logstash/codecs/netflow/netflow.yaml
|
65
90
|
- lib/logstash/codecs/netflow/util.rb
|
66
|
-
-
|
67
|
-
-
|
91
|
+
- logstash-codec-netflow.gemspec
|
92
|
+
- spec/codecs/benchmarks/ACLidASA.rb
|
93
|
+
- spec/codecs/benchmarks/IP6Addr.rb
|
94
|
+
- spec/codecs/benchmarks/IPAddr.rb
|
95
|
+
- spec/codecs/benchmarks/MacAddr.rb
|
96
|
+
- spec/codecs/benchmarks/benchmark_fields.rb
|
97
|
+
- spec/codecs/benchmarks/flowStartMilliseconds.rb
|
98
|
+
- spec/codecs/benchmarks/ipfix_bench_sonicwall.py
|
99
|
+
- spec/codecs/benchmarks/ipfix_bench_yaf.py
|
100
|
+
- spec/codecs/benchmarks/netflow_bench_cisco_asa.py
|
101
|
+
- spec/codecs/benchmarks/netflow_bench_cisco_asr.py
|
68
102
|
- spec/codecs/ipfix.dat
|
103
|
+
- spec/codecs/ipfix_stress.py
|
104
|
+
- spec/codecs/ipfix_test_barracuda_data256.dat
|
105
|
+
- spec/codecs/ipfix_test_barracuda_extended_uniflow_data256.dat
|
106
|
+
- spec/codecs/ipfix_test_barracuda_extended_uniflow_tpl256.dat
|
107
|
+
- spec/codecs/ipfix_test_barracuda_tpl.dat
|
108
|
+
- spec/codecs/ipfix_test_ixia_tpldata256.dat
|
109
|
+
- spec/codecs/ipfix_test_ixia_tpldata271.dat
|
110
|
+
- spec/codecs/ipfix_test_juniper_mx240_junos151r6s3_data512.dat
|
111
|
+
- spec/codecs/ipfix_test_juniper_mx240_junos151r6s3_opttpl512.dat
|
112
|
+
- spec/codecs/ipfix_test_mikrotik_data258.dat
|
113
|
+
- spec/codecs/ipfix_test_mikrotik_data259.dat
|
114
|
+
- spec/codecs/ipfix_test_mikrotik_tpl.dat
|
115
|
+
- spec/codecs/ipfix_test_netscaler_data.dat
|
116
|
+
- spec/codecs/ipfix_test_netscaler_tpl.dat
|
117
|
+
- spec/codecs/ipfix_test_nokia_bras_data256.dat
|
118
|
+
- spec/codecs/ipfix_test_nokia_bras_tpl.dat
|
69
119
|
- spec/codecs/ipfix_test_openbsd_pflow_data.dat
|
70
120
|
- spec/codecs/ipfix_test_openbsd_pflow_tpl.dat
|
121
|
+
- spec/codecs/ipfix_test_procera_data52935.dat
|
122
|
+
- spec/codecs/ipfix_test_procera_tpl52935.dat
|
123
|
+
- spec/codecs/ipfix_test_viptela_data257.dat
|
124
|
+
- spec/codecs/ipfix_test_viptela_tpl257.dat
|
125
|
+
- spec/codecs/ipfix_test_vmware_vds_data264.dat
|
126
|
+
- spec/codecs/ipfix_test_vmware_vds_data266.dat
|
127
|
+
- spec/codecs/ipfix_test_vmware_vds_data266_267.dat
|
128
|
+
- spec/codecs/ipfix_test_vmware_vds_tpl.dat
|
129
|
+
- spec/codecs/ipfix_test_yaf_data45841.dat
|
130
|
+
- spec/codecs/ipfix_test_yaf_data45873.dat
|
131
|
+
- spec/codecs/ipfix_test_yaf_data53248.dat
|
132
|
+
- spec/codecs/ipfix_test_yaf_tpl45841.dat
|
133
|
+
- spec/codecs/ipfix_test_yaf_tpls_option_tpl.dat
|
71
134
|
- spec/codecs/netflow5.dat
|
72
135
|
- spec/codecs/netflow5_test_invalid01.dat
|
73
136
|
- spec/codecs/netflow5_test_invalid02.dat
|
74
137
|
- spec/codecs/netflow5_test_juniper_mx80.dat
|
75
138
|
- spec/codecs/netflow5_test_microtik.dat
|
139
|
+
- spec/codecs/netflow9_cisco_asr1001x_tpl259.dat
|
140
|
+
- spec/codecs/netflow9_test_0length_fields_tpl_data.dat
|
141
|
+
- spec/codecs/netflow9_test_cisco_1941K9.dat
|
142
|
+
- spec/codecs/netflow9_test_cisco_aci_data256.dat
|
143
|
+
- spec/codecs/netflow9_test_cisco_aci_tpl256-258.dat
|
76
144
|
- spec/codecs/netflow9_test_cisco_asa_1_data.dat
|
77
145
|
- spec/codecs/netflow9_test_cisco_asa_1_tpl.dat
|
78
146
|
- spec/codecs/netflow9_test_cisco_asa_2_data.dat
|
79
147
|
- spec/codecs/netflow9_test_cisco_asa_2_tpl_26x.dat
|
80
148
|
- spec/codecs/netflow9_test_cisco_asa_2_tpl_27x.dat
|
81
|
-
- spec/codecs/netflow9_test_invalid01.dat
|
82
|
-
- spec/codecs/netflow9_test_macaddr_data.dat
|
83
|
-
- spec/codecs/netflow9_test_macaddr_tpl.dat
|
84
|
-
- spec/codecs/netflow9_test_nprobe_data.dat
|
85
|
-
- spec/codecs/netflow9_test_nprobe_tpl.dat
|
86
|
-
- spec/codecs/netflow9_test_softflowd_tpl_data.dat
|
87
|
-
- spec/codecs/netflow9_test_valid01.dat
|
88
|
-
- spec/codecs/netflow9_test_ubnt_edgerouter_tpl.dat
|
89
|
-
- spec/codecs/netflow9_test_ubnt_edgerouter_data1024.dat
|
90
|
-
- spec/codecs/netflow9_test_ubnt_edgerouter_data1025.dat
|
91
|
-
- spec/codecs/ipfix_test_netscaler_data.dat
|
92
|
-
- spec/codecs/ipfix_test_netscaler_tpl.dat
|
93
|
-
- spec/codecs/ipfix_test_vmware_vds_data264.dat
|
94
|
-
- spec/codecs/ipfix_test_vmware_vds_data266.dat
|
95
|
-
- spec/codecs/ipfix_test_vmware_vds_data266_267.dat
|
96
|
-
- spec/codecs/ipfix_test_vmware_vds_tpl.dat
|
97
|
-
- spec/codecs/ipfix_test_barracuda_data256.dat
|
98
|
-
- spec/codecs/ipfix_test_barracuda_tpl.dat
|
99
|
-
- spec/codecs/ipfix_test_mikrotik_data258.dat
|
100
|
-
- spec/codecs/ipfix_test_mikrotik_data259.dat
|
101
|
-
- spec/codecs/ipfix_test_mikrotik_tpl.dat
|
102
|
-
- spec/codecs/ipfix_test_nokia_bras_tpl.dat
|
103
|
-
- spec/codecs/netflow9_test_0length_fields_tpl_data.dat
|
104
|
-
- spec/codecs/netflow_spec.rb
|
105
149
|
- spec/codecs/netflow9_test_cisco_asr9k_data256.dat
|
106
150
|
- spec/codecs/netflow9_test_cisco_asr9k_data260.dat
|
107
151
|
- spec/codecs/netflow9_test_cisco_asr9k_opttpl256.dat
|
@@ -112,138 +156,127 @@ files:
|
|
112
156
|
- spec/codecs/netflow9_test_cisco_nbar_data262.dat
|
113
157
|
- spec/codecs/netflow9_test_cisco_nbar_opttpl260.dat
|
114
158
|
- spec/codecs/netflow9_test_cisco_nbar_tpl262.dat
|
115
|
-
- spec/codecs/
|
159
|
+
- spec/codecs/netflow9_test_cisco_wlc_8510_tpl_262.dat
|
116
160
|
- spec/codecs/netflow9_test_cisco_wlc_data261.dat
|
117
161
|
- spec/codecs/netflow9_test_cisco_wlc_tpl.dat
|
162
|
+
- spec/codecs/netflow9_test_field_layer2segmentid_data.dat
|
163
|
+
- spec/codecs/netflow9_test_field_layer2segmentid_tpl.dat
|
118
164
|
- spec/codecs/netflow9_test_fortigate_fortios_521_data256.dat
|
119
165
|
- spec/codecs/netflow9_test_fortigate_fortios_521_data257.dat
|
120
166
|
- spec/codecs/netflow9_test_fortigate_fortios_521_tpl.dat
|
121
|
-
- spec/codecs/
|
122
|
-
- spec/codecs/
|
123
|
-
- spec/codecs/
|
124
|
-
- spec/codecs/
|
125
|
-
- spec/codecs/
|
126
|
-
- spec/codecs/ipfix_test_yaf_data45873.dat
|
127
|
-
- spec/codecs/ipfix_test_yaf_data53248.dat
|
128
|
-
- spec/codecs/ipfix_test_yaf_tpl45841.dat
|
129
|
-
- spec/codecs/ipfix_test_yaf_tpls_option_tpl.dat
|
130
|
-
- spec/codecs/netflow9_cisco_asr1001x_tpl259.dat
|
131
|
-
- spec/codecs/netflow9_test_cisco_1941K9.dat
|
132
|
-
- spec/codecs/netflow9_test_cisco_wlc_8510_tpl_262.dat
|
133
|
-
- spec/codecs/netflow9_test_paloalto_panos_data.dat
|
134
|
-
- spec/codecs/netflow9_test_paloalto_panos_tpl.dat
|
135
|
-
- spec/codecs/netflow_stress.py
|
136
|
-
- spec/codecs/ipfix_test_viptela_tpl257.dat
|
137
|
-
- spec/codecs/ipfix_test_viptela_data257.dat
|
138
|
-
- spec/codecs/ipfix_test_nokia_bras_data256.dat
|
139
|
-
- spec/codecs/netflow9_test_field_layer2segmentid_data.dat
|
140
|
-
- spec/codecs/ipfix_test_procera_tpl52935.dat
|
141
|
-
- spec/codecs/ipfix_test_procera_data52935.dat
|
142
|
-
- spec/codecs/ipfix_test_barracuda_extended_uniflow_tpl256.dat
|
143
|
-
- spec/codecs/benchmarks/ACLidASA.rb
|
144
|
-
- spec/codecs/benchmarks/MacAddr.rb
|
145
|
-
- spec/codecs/benchmarks/IPAddr.rb
|
146
|
-
- spec/codecs/benchmarks/netflow_bench_cisco_asa.py
|
147
|
-
- spec/codecs/benchmarks/ipfix_bench_sonicwall.py
|
148
|
-
- spec/codecs/benchmarks/ipfix_bench_yaf.py
|
149
|
-
- spec/codecs/benchmarks/netflow_bench_cisco_asr.py
|
150
|
-
- spec/codecs/benchmarks/flowStartMilliseconds.rb
|
151
|
-
- spec/codecs/benchmarks/IP6Addr.rb
|
152
|
-
- spec/codecs/benchmarks/benchmark_fields.rb
|
153
|
-
- spec/codecs/ipfix_test_barracuda_extended_uniflow_data256.dat
|
167
|
+
- spec/codecs/netflow9_test_fortigate_fortios_542_appid_data258_262.dat
|
168
|
+
- spec/codecs/netflow9_test_fortigate_fortios_542_appid_tpl258-269.dat
|
169
|
+
- spec/codecs/netflow9_test_h3c_data3281.dat
|
170
|
+
- spec/codecs/netflow9_test_h3c_netstream_varstring_data3281.dat
|
171
|
+
- spec/codecs/netflow9_test_h3c_netstream_varstring_tpl3281.dat
|
154
172
|
- spec/codecs/netflow9_test_h3c_tpl3281.dat
|
155
|
-
- spec/codecs/netflow9_test_field_layer2segmentid_tpl.dat
|
156
|
-
- spec/codecs/netflow9_test_huawei_netstream_tpl.dat
|
157
173
|
- spec/codecs/netflow9_test_huawei_netstream_data.dat
|
158
|
-
- spec/codecs/
|
174
|
+
- spec/codecs/netflow9_test_huawei_netstream_tpl.dat
|
175
|
+
- spec/codecs/netflow9_test_invalid01.dat
|
159
176
|
- spec/codecs/netflow9_test_iptnetflow_reduced_size_encoding_tpldata260.dat
|
160
|
-
- spec/codecs/
|
161
|
-
- spec/codecs/
|
162
|
-
- spec/codecs/
|
163
|
-
- spec/codecs/
|
164
|
-
- spec/codecs/
|
177
|
+
- spec/codecs/netflow9_test_juniper_srx_tplopt.dat
|
178
|
+
- spec/codecs/netflow9_test_macaddr_data.dat
|
179
|
+
- spec/codecs/netflow9_test_macaddr_tpl.dat
|
180
|
+
- spec/codecs/netflow9_test_nprobe_data.dat
|
181
|
+
- spec/codecs/netflow9_test_nprobe_dpi.dat
|
182
|
+
- spec/codecs/netflow9_test_nprobe_tpl.dat
|
165
183
|
- spec/codecs/netflow9_test_paloalto_81_data257_1flowset_in_large_zerofilled_packet.dat
|
166
184
|
- spec/codecs/netflow9_test_paloalto_81_tpl256-263.dat
|
167
|
-
- spec/codecs/
|
168
|
-
- spec/codecs/
|
169
|
-
- spec/codecs/
|
170
|
-
- spec/codecs/
|
171
|
-
- spec/codecs/
|
172
|
-
- spec/codecs/
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
-
|
179
|
-
- Gemfile
|
180
|
-
- LICENSE
|
181
|
-
- NOTICE.TXT
|
182
|
-
- docs/index.asciidoc
|
185
|
+
- spec/codecs/netflow9_test_paloalto_panos_data.dat
|
186
|
+
- spec/codecs/netflow9_test_paloalto_panos_tpl.dat
|
187
|
+
- spec/codecs/netflow9_test_softflowd_tpl_data.dat
|
188
|
+
- spec/codecs/netflow9_test_streamcore_tpl_data256.dat
|
189
|
+
- spec/codecs/netflow9_test_streamcore_tpl_data260.dat
|
190
|
+
- spec/codecs/netflow9_test_ubnt_edgerouter_data1024.dat
|
191
|
+
- spec/codecs/netflow9_test_ubnt_edgerouter_data1025.dat
|
192
|
+
- spec/codecs/netflow9_test_ubnt_edgerouter_tpl.dat
|
193
|
+
- spec/codecs/netflow9_test_unknown_tpl266_292_data.dat
|
194
|
+
- spec/codecs/netflow9_test_valid01.dat
|
195
|
+
- spec/codecs/netflow_spec.rb
|
196
|
+
- spec/codecs/netflow_stress.py
|
183
197
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
184
198
|
licenses:
|
185
199
|
- Apache License (2.0)
|
186
200
|
metadata:
|
187
201
|
logstash_plugin: 'true'
|
188
202
|
logstash_group: codec
|
189
|
-
post_install_message:
|
203
|
+
post_install_message:
|
190
204
|
rdoc_options: []
|
191
205
|
require_paths:
|
192
206
|
- lib
|
193
207
|
required_ruby_version: !ruby/object:Gem::Requirement
|
194
208
|
requirements:
|
195
|
-
- -
|
209
|
+
- - ">="
|
196
210
|
- !ruby/object:Gem::Version
|
197
211
|
version: '0'
|
198
212
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
213
|
requirements:
|
200
|
-
- -
|
214
|
+
- - ">="
|
201
215
|
- !ruby/object:Gem::Version
|
202
216
|
version: '0'
|
203
217
|
requirements: []
|
204
|
-
|
205
|
-
|
206
|
-
signing_key:
|
218
|
+
rubygems_version: 3.1.6
|
219
|
+
signing_key:
|
207
220
|
specification_version: 4
|
208
221
|
summary: Reads Netflow v5, Netflow v9 and IPFIX data
|
209
222
|
test_files:
|
223
|
+
- spec/codecs/benchmarks/ACLidASA.rb
|
224
|
+
- spec/codecs/benchmarks/IP6Addr.rb
|
225
|
+
- spec/codecs/benchmarks/IPAddr.rb
|
226
|
+
- spec/codecs/benchmarks/MacAddr.rb
|
227
|
+
- spec/codecs/benchmarks/benchmark_fields.rb
|
228
|
+
- spec/codecs/benchmarks/flowStartMilliseconds.rb
|
229
|
+
- spec/codecs/benchmarks/ipfix_bench_sonicwall.py
|
230
|
+
- spec/codecs/benchmarks/ipfix_bench_yaf.py
|
231
|
+
- spec/codecs/benchmarks/netflow_bench_cisco_asa.py
|
232
|
+
- spec/codecs/benchmarks/netflow_bench_cisco_asr.py
|
210
233
|
- spec/codecs/ipfix.dat
|
234
|
+
- spec/codecs/ipfix_stress.py
|
235
|
+
- spec/codecs/ipfix_test_barracuda_data256.dat
|
236
|
+
- spec/codecs/ipfix_test_barracuda_extended_uniflow_data256.dat
|
237
|
+
- spec/codecs/ipfix_test_barracuda_extended_uniflow_tpl256.dat
|
238
|
+
- spec/codecs/ipfix_test_barracuda_tpl.dat
|
239
|
+
- spec/codecs/ipfix_test_ixia_tpldata256.dat
|
240
|
+
- spec/codecs/ipfix_test_ixia_tpldata271.dat
|
241
|
+
- spec/codecs/ipfix_test_juniper_mx240_junos151r6s3_data512.dat
|
242
|
+
- spec/codecs/ipfix_test_juniper_mx240_junos151r6s3_opttpl512.dat
|
243
|
+
- spec/codecs/ipfix_test_mikrotik_data258.dat
|
244
|
+
- spec/codecs/ipfix_test_mikrotik_data259.dat
|
245
|
+
- spec/codecs/ipfix_test_mikrotik_tpl.dat
|
246
|
+
- spec/codecs/ipfix_test_netscaler_data.dat
|
247
|
+
- spec/codecs/ipfix_test_netscaler_tpl.dat
|
248
|
+
- spec/codecs/ipfix_test_nokia_bras_data256.dat
|
249
|
+
- spec/codecs/ipfix_test_nokia_bras_tpl.dat
|
211
250
|
- spec/codecs/ipfix_test_openbsd_pflow_data.dat
|
212
251
|
- spec/codecs/ipfix_test_openbsd_pflow_tpl.dat
|
252
|
+
- spec/codecs/ipfix_test_procera_data52935.dat
|
253
|
+
- spec/codecs/ipfix_test_procera_tpl52935.dat
|
254
|
+
- spec/codecs/ipfix_test_viptela_data257.dat
|
255
|
+
- spec/codecs/ipfix_test_viptela_tpl257.dat
|
256
|
+
- spec/codecs/ipfix_test_vmware_vds_data264.dat
|
257
|
+
- spec/codecs/ipfix_test_vmware_vds_data266.dat
|
258
|
+
- spec/codecs/ipfix_test_vmware_vds_data266_267.dat
|
259
|
+
- spec/codecs/ipfix_test_vmware_vds_tpl.dat
|
260
|
+
- spec/codecs/ipfix_test_yaf_data45841.dat
|
261
|
+
- spec/codecs/ipfix_test_yaf_data45873.dat
|
262
|
+
- spec/codecs/ipfix_test_yaf_data53248.dat
|
263
|
+
- spec/codecs/ipfix_test_yaf_tpl45841.dat
|
264
|
+
- spec/codecs/ipfix_test_yaf_tpls_option_tpl.dat
|
213
265
|
- spec/codecs/netflow5.dat
|
214
266
|
- spec/codecs/netflow5_test_invalid01.dat
|
215
267
|
- spec/codecs/netflow5_test_invalid02.dat
|
216
268
|
- spec/codecs/netflow5_test_juniper_mx80.dat
|
217
269
|
- spec/codecs/netflow5_test_microtik.dat
|
270
|
+
- spec/codecs/netflow9_cisco_asr1001x_tpl259.dat
|
271
|
+
- spec/codecs/netflow9_test_0length_fields_tpl_data.dat
|
272
|
+
- spec/codecs/netflow9_test_cisco_1941K9.dat
|
273
|
+
- spec/codecs/netflow9_test_cisco_aci_data256.dat
|
274
|
+
- spec/codecs/netflow9_test_cisco_aci_tpl256-258.dat
|
218
275
|
- spec/codecs/netflow9_test_cisco_asa_1_data.dat
|
219
276
|
- spec/codecs/netflow9_test_cisco_asa_1_tpl.dat
|
220
277
|
- spec/codecs/netflow9_test_cisco_asa_2_data.dat
|
221
278
|
- spec/codecs/netflow9_test_cisco_asa_2_tpl_26x.dat
|
222
279
|
- spec/codecs/netflow9_test_cisco_asa_2_tpl_27x.dat
|
223
|
-
- spec/codecs/netflow9_test_invalid01.dat
|
224
|
-
- spec/codecs/netflow9_test_macaddr_data.dat
|
225
|
-
- spec/codecs/netflow9_test_macaddr_tpl.dat
|
226
|
-
- spec/codecs/netflow9_test_nprobe_data.dat
|
227
|
-
- spec/codecs/netflow9_test_nprobe_tpl.dat
|
228
|
-
- spec/codecs/netflow9_test_softflowd_tpl_data.dat
|
229
|
-
- spec/codecs/netflow9_test_valid01.dat
|
230
|
-
- spec/codecs/netflow9_test_ubnt_edgerouter_tpl.dat
|
231
|
-
- spec/codecs/netflow9_test_ubnt_edgerouter_data1024.dat
|
232
|
-
- spec/codecs/netflow9_test_ubnt_edgerouter_data1025.dat
|
233
|
-
- spec/codecs/ipfix_test_netscaler_data.dat
|
234
|
-
- spec/codecs/ipfix_test_netscaler_tpl.dat
|
235
|
-
- spec/codecs/ipfix_test_vmware_vds_data264.dat
|
236
|
-
- spec/codecs/ipfix_test_vmware_vds_data266.dat
|
237
|
-
- spec/codecs/ipfix_test_vmware_vds_data266_267.dat
|
238
|
-
- spec/codecs/ipfix_test_vmware_vds_tpl.dat
|
239
|
-
- spec/codecs/ipfix_test_barracuda_data256.dat
|
240
|
-
- spec/codecs/ipfix_test_barracuda_tpl.dat
|
241
|
-
- spec/codecs/ipfix_test_mikrotik_data258.dat
|
242
|
-
- spec/codecs/ipfix_test_mikrotik_data259.dat
|
243
|
-
- spec/codecs/ipfix_test_mikrotik_tpl.dat
|
244
|
-
- spec/codecs/ipfix_test_nokia_bras_tpl.dat
|
245
|
-
- spec/codecs/netflow9_test_0length_fields_tpl_data.dat
|
246
|
-
- spec/codecs/netflow_spec.rb
|
247
280
|
- spec/codecs/netflow9_test_cisco_asr9k_data256.dat
|
248
281
|
- spec/codecs/netflow9_test_cisco_asr9k_data260.dat
|
249
282
|
- spec/codecs/netflow9_test_cisco_asr9k_opttpl256.dat
|
@@ -254,61 +287,41 @@ test_files:
|
|
254
287
|
- spec/codecs/netflow9_test_cisco_nbar_data262.dat
|
255
288
|
- spec/codecs/netflow9_test_cisco_nbar_opttpl260.dat
|
256
289
|
- spec/codecs/netflow9_test_cisco_nbar_tpl262.dat
|
257
|
-
- spec/codecs/
|
290
|
+
- spec/codecs/netflow9_test_cisco_wlc_8510_tpl_262.dat
|
258
291
|
- spec/codecs/netflow9_test_cisco_wlc_data261.dat
|
259
292
|
- spec/codecs/netflow9_test_cisco_wlc_tpl.dat
|
293
|
+
- spec/codecs/netflow9_test_field_layer2segmentid_data.dat
|
294
|
+
- spec/codecs/netflow9_test_field_layer2segmentid_tpl.dat
|
260
295
|
- spec/codecs/netflow9_test_fortigate_fortios_521_data256.dat
|
261
296
|
- spec/codecs/netflow9_test_fortigate_fortios_521_data257.dat
|
262
297
|
- spec/codecs/netflow9_test_fortigate_fortios_521_tpl.dat
|
263
|
-
- spec/codecs/
|
264
|
-
- spec/codecs/
|
265
|
-
- spec/codecs/
|
266
|
-
- spec/codecs/
|
267
|
-
- spec/codecs/
|
268
|
-
- spec/codecs/ipfix_test_yaf_data45873.dat
|
269
|
-
- spec/codecs/ipfix_test_yaf_data53248.dat
|
270
|
-
- spec/codecs/ipfix_test_yaf_tpl45841.dat
|
271
|
-
- spec/codecs/ipfix_test_yaf_tpls_option_tpl.dat
|
272
|
-
- spec/codecs/netflow9_cisco_asr1001x_tpl259.dat
|
273
|
-
- spec/codecs/netflow9_test_cisco_1941K9.dat
|
274
|
-
- spec/codecs/netflow9_test_cisco_wlc_8510_tpl_262.dat
|
275
|
-
- spec/codecs/netflow9_test_paloalto_panos_data.dat
|
276
|
-
- spec/codecs/netflow9_test_paloalto_panos_tpl.dat
|
277
|
-
- spec/codecs/netflow_stress.py
|
278
|
-
- spec/codecs/ipfix_test_viptela_tpl257.dat
|
279
|
-
- spec/codecs/ipfix_test_viptela_data257.dat
|
280
|
-
- spec/codecs/ipfix_test_nokia_bras_data256.dat
|
281
|
-
- spec/codecs/netflow9_test_field_layer2segmentid_data.dat
|
282
|
-
- spec/codecs/ipfix_test_procera_tpl52935.dat
|
283
|
-
- spec/codecs/ipfix_test_procera_data52935.dat
|
284
|
-
- spec/codecs/ipfix_test_barracuda_extended_uniflow_tpl256.dat
|
285
|
-
- spec/codecs/benchmarks/ACLidASA.rb
|
286
|
-
- spec/codecs/benchmarks/MacAddr.rb
|
287
|
-
- spec/codecs/benchmarks/IPAddr.rb
|
288
|
-
- spec/codecs/benchmarks/netflow_bench_cisco_asa.py
|
289
|
-
- spec/codecs/benchmarks/ipfix_bench_sonicwall.py
|
290
|
-
- spec/codecs/benchmarks/ipfix_bench_yaf.py
|
291
|
-
- spec/codecs/benchmarks/netflow_bench_cisco_asr.py
|
292
|
-
- spec/codecs/benchmarks/flowStartMilliseconds.rb
|
293
|
-
- spec/codecs/benchmarks/IP6Addr.rb
|
294
|
-
- spec/codecs/benchmarks/benchmark_fields.rb
|
295
|
-
- spec/codecs/ipfix_test_barracuda_extended_uniflow_data256.dat
|
298
|
+
- spec/codecs/netflow9_test_fortigate_fortios_542_appid_data258_262.dat
|
299
|
+
- spec/codecs/netflow9_test_fortigate_fortios_542_appid_tpl258-269.dat
|
300
|
+
- spec/codecs/netflow9_test_h3c_data3281.dat
|
301
|
+
- spec/codecs/netflow9_test_h3c_netstream_varstring_data3281.dat
|
302
|
+
- spec/codecs/netflow9_test_h3c_netstream_varstring_tpl3281.dat
|
296
303
|
- spec/codecs/netflow9_test_h3c_tpl3281.dat
|
297
|
-
- spec/codecs/netflow9_test_field_layer2segmentid_tpl.dat
|
298
|
-
- spec/codecs/netflow9_test_huawei_netstream_tpl.dat
|
299
304
|
- spec/codecs/netflow9_test_huawei_netstream_data.dat
|
300
|
-
- spec/codecs/
|
305
|
+
- spec/codecs/netflow9_test_huawei_netstream_tpl.dat
|
306
|
+
- spec/codecs/netflow9_test_invalid01.dat
|
301
307
|
- spec/codecs/netflow9_test_iptnetflow_reduced_size_encoding_tpldata260.dat
|
302
|
-
- spec/codecs/
|
303
|
-
- spec/codecs/
|
304
|
-
- spec/codecs/
|
305
|
-
- spec/codecs/
|
306
|
-
- spec/codecs/
|
308
|
+
- spec/codecs/netflow9_test_juniper_srx_tplopt.dat
|
309
|
+
- spec/codecs/netflow9_test_macaddr_data.dat
|
310
|
+
- spec/codecs/netflow9_test_macaddr_tpl.dat
|
311
|
+
- spec/codecs/netflow9_test_nprobe_data.dat
|
312
|
+
- spec/codecs/netflow9_test_nprobe_dpi.dat
|
313
|
+
- spec/codecs/netflow9_test_nprobe_tpl.dat
|
307
314
|
- spec/codecs/netflow9_test_paloalto_81_data257_1flowset_in_large_zerofilled_packet.dat
|
308
315
|
- spec/codecs/netflow9_test_paloalto_81_tpl256-263.dat
|
309
|
-
- spec/codecs/
|
310
|
-
- spec/codecs/
|
311
|
-
- spec/codecs/
|
312
|
-
- spec/codecs/
|
313
|
-
- spec/codecs/
|
314
|
-
- spec/codecs/
|
316
|
+
- spec/codecs/netflow9_test_paloalto_panos_data.dat
|
317
|
+
- spec/codecs/netflow9_test_paloalto_panos_tpl.dat
|
318
|
+
- spec/codecs/netflow9_test_softflowd_tpl_data.dat
|
319
|
+
- spec/codecs/netflow9_test_streamcore_tpl_data256.dat
|
320
|
+
- spec/codecs/netflow9_test_streamcore_tpl_data260.dat
|
321
|
+
- spec/codecs/netflow9_test_ubnt_edgerouter_data1024.dat
|
322
|
+
- spec/codecs/netflow9_test_ubnt_edgerouter_data1025.dat
|
323
|
+
- spec/codecs/netflow9_test_ubnt_edgerouter_tpl.dat
|
324
|
+
- spec/codecs/netflow9_test_unknown_tpl266_292_data.dat
|
325
|
+
- spec/codecs/netflow9_test_valid01.dat
|
326
|
+
- spec/codecs/netflow_spec.rb
|
327
|
+
- spec/codecs/netflow_stress.py
|