fluent-plugin-netflow 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/fluent/plugin/netflow.yaml +9 -0
- data/lib/fluent/plugin/parser_netflow.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f00a79e330b95a820a1e610b73140c3106589048
|
4
|
+
data.tar.gz: 2176c672024bd62156dc91b6159d3cecd3a10614
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5326a6cc3a6dbcd71e3a5b5935060d3020584360393f03bf87322cc83d73fcb2dd9beff3c3b8abc6b208e0139b71373dd856b5b7d15235a72f33de2487d88786
|
7
|
+
data.tar.gz: 5ccb2149be8e1cb1d35a70b3b515a912ce89aa8b656e8386be62bf40d1768400ba6fb48defb21e2b7c53998ac7c5460401029cef5e994cec9633a959bbffe9b3
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
@@ -282,6 +282,20 @@ module Fluent
|
|
282
282
|
end
|
283
283
|
end
|
284
284
|
|
285
|
+
class MplsLabel < BinData::Primitive
|
286
|
+
bit20 :label
|
287
|
+
bit3 :exp
|
288
|
+
bit1 :bottom
|
289
|
+
def set(val)
|
290
|
+
self.label = val >> 4
|
291
|
+
self.exp = (val & 0b1111) >> 1
|
292
|
+
self.bottom = val & 0b1
|
293
|
+
end
|
294
|
+
def get
|
295
|
+
self.label
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
285
299
|
class Header < BinData::Record
|
286
300
|
endian :big
|
287
301
|
uint16 :version
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-netflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|