fluent-plugin-netflow 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 6d003c86faedb5f1e395e5e63934029813b05408
4
- data.tar.gz: b2e54ffe49638fe3cc05593c3f1723b63d4bf51e
3
+ metadata.gz: 007a11f7977c3cdc2b00f34f4d2faf064ce7469a
4
+ data.tar.gz: b8f32acc1788057a303fa6d2d73a32afc37b10fb
5
5
  SHA512:
6
- metadata.gz: d4423fd6f4a5ad09c68d0e068fbc198d0b22849477ba1aeab0d6d7013e1db903dba57fd6ef6a2583dfa67cd3ee468847636b648931c957a32b03959f48015ab4
7
- data.tar.gz: 98323e12c1f79816b195d5dcacfad31ddb320a345af396f1a411feaf1d76894ea5dd17098250893ccd554f878b1c313d2c43d9b171b432c6f9499e9d1f49dc52
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
- * Release as rubygem
28
+ - Support TCP protocol
29
+ - Use Fluentd feature instead of own handlers
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -34,7 +34,7 @@ module Fluent
34
34
  when 'udp'
35
35
  :udp
36
36
  else
37
- raise ConfigError, "syslog input protocol type should be 'tcp' or 'udp'"
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 syslog socket on #{@bind}:#{@port} with #{@protocol_type}"
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)
@@ -213,3 +213,6 @@
213
213
  83:
214
214
  - :string
215
215
  - :if_desc
216
+ 89:
217
+ - :uint8
218
+ - :forwarding_status
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.2
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-06-20 00:00:00.000000000 Z
11
+ date: 2014-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd