fluent-plugin-netflow 0.0.2 → 0.0.3
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 +4 -4
- data/README.md +3 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/in_netflow.rb +2 -2
- data/lib/fluent/plugin/netflow.yaml +3 -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: 007a11f7977c3cdc2b00f34f4d2faf064ce7469a
|
|
4
|
+
data.tar.gz: b8f32acc1788057a303fa6d2d73a32afc37b10fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43b360bfaf49486f72d960429528f248dfc5b5ae0b7fe2c24bbcf9dc8afa5cdab2c150767daf6a20e4f675e0a270fc1e508b59037d0232ee5b5e1634069be946
|
|
7
|
+
data.tar.gz: 3aafdd003478c5e03f90b0869c3b0102caeaf50e2018ec9eaab22735c9611c1474209e86b8de137a87f8cf9d20cbe7835016c9b893748a8962e8942b3bf97a60
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Accept Netflow logs.
|
|
|
6
6
|
|
|
7
7
|
Use RubyGems:
|
|
8
8
|
|
|
9
|
-
gem install fluent-plugin-netflow
|
|
9
|
+
fluent-gem install fluent-plugin-netflow
|
|
10
10
|
|
|
11
11
|
## Configuration
|
|
12
12
|
|
|
@@ -25,4 +25,5 @@ Use RubyGems:
|
|
|
25
25
|
|
|
26
26
|
## TODO
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
- Support TCP protocol
|
|
29
|
+
- Use Fluentd feature instead of own handlers
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
|
@@ -34,7 +34,7 @@ module Fluent
|
|
|
34
34
|
when 'udp'
|
|
35
35
|
:udp
|
|
36
36
|
else
|
|
37
|
-
raise ConfigError, "
|
|
37
|
+
raise ConfigError, "netflow input protocol type should be 'udp'"
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
@@ -89,7 +89,7 @@ module Fluent
|
|
|
89
89
|
private
|
|
90
90
|
|
|
91
91
|
def listen(callback)
|
|
92
|
-
log.debug "listening
|
|
92
|
+
log.debug "listening netflow socket on #{@bind}:#{@port} with #{@protocol_type}"
|
|
93
93
|
if @protocol_type == :udp
|
|
94
94
|
@usock = SocketUtil.create_udp_socket(@bind)
|
|
95
95
|
@usock.bind(@bind, @port)
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Masahiro Nakagawa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|